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
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)