Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 383 Bytes

File metadata and controls

17 lines (9 loc) · 383 Bytes

Function

Some points about function:

  1. Must add : by the end of the function name with ().

    functionName(): function() // above ':' is very necessary

  2. Using the right PATH of python intepreter for Python.

     #!/usr/bin/env python
    

if you don't use it, then you will not run correct unless using python xxx.py, instead of ./xxx.py