Jason's Notes
Pages
Home
Feb 6, 2016
Execute python code using ./
Step1: add
#!/usr/local/bin/python
in the first line of the code
Step2: in the bash, type
chmod +x myscript.py
Step3: type
./myscript.py
to execute the python code
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment