Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: UTF-8 -*-
- from __future__ import print_function, division
- print("Content-Type: text/html") # HTML is following.
- print() # Blank line, end of headers.
- print("testing")
- #!/usr/bin/env python3
- # -*- coding: UTF-8 -*-
- print("Content-Type: text/html") # HTML is following.
- print() # Blank line, end of headers.
- print("testing")
- env: python3: No such file or directory
- Premature end of script headers: test_cgi.py
- /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
- /usr/bin/python
- /usr/bin/python-config
- /usr/bin/python2.5 -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5
- /usr/bin/python2.5-config -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5-config
- /usr/bin/python2.6 -> ../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
- /usr/bin/python2.6-config -> ../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6-config
- /usr/bin/python2.7 -> ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
- /usr/bin/python2.7-config -> ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config
- /usr/bin/pythonw
- /usr/bin/pythonw2.5 -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/pythonw2.5
- /usr/bin/pythonw2.6 -> ../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw2.6
- /usr/bin/pythonw2.7 -> ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw2.7
- /usr/local/bin/python3 -> ../Cellar/python3/3.3.3/bin/python3
- /usr/local/bin/python3.3 -> ../Cellar/python3/3.3.3/bin/python3.3
- /usr/local/bin/python3.3-config -> ../Cellar/python3/3.3.3/bin/python3.3-config
- /usr/local/bin/pythonw3.3 -> ../Cellar/python3/3.3.3/bin/pythonw3.3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement