zoukankan      html  css  js  c++  java
  • Python The standard programe tructure

    代码
    """
    Copyright, Version information and Declaration Here!
    """

    __author__ = "Allen"
    __version__ = "$Revision: 1.0 $"
    __date__ = "$Date: 2010/08/19 9:57:19 $"
    __copyright__ = "Copyright (c) 2010 Allen"
    __license__ = "Python"

    def ProgarmeName(params):
    """
    ******This funciton's descripton here******
    """
    return
    if __name__ == "__main__":
    ProgarmeName(params)

     Note that the keyword def starts the function declaration, followed by the function name, followed by the arguments in parentheses. Multiple arguments (not shown here) are separated with commas.

    Also note that the function doesn't define a return datatype. Python functions do not specify the datatype of their return value; they don't even specify whether or not they return a value. In fact, every Python function returns a value; if the function ever executes a return statement, it will return that value, otherwise it will return None, the Python null value.

    Work for fun,Live for love!
  • 相关阅读:
    Combox小问题
    数据库登录名,用户,角色以及权限分配
    UDP初识
    AJax 无刷新构建DataTable
    批量修改数据库构架SQL
    Jquery Ajax
    Linq中使用Group By
    对象的消息模型
    P2P网络技术概览与实现原理
    ajax(1)
  • 原文地址:https://www.cnblogs.com/allenblogs/p/1803211.html
Copyright © 2011-2022 走看看