[FRPythoneers] pyo question
kkinder at tridog.com
Thu May 3 14:49:20 MDT 2001
I'm trying to run pyo files directly. I created a simple python file
print "Content-type: text/html"
print "Hello, World!"
(CGI) and no, it's not indented like that.
And when I compile it like this:
[kkinder at test cgi-bin]$ sudo python2.1 -OO
Python 2.1 (#1, Apr 21 2001, 18:56:55)
[GCC 2.96 20000731 (Red Hat Linux 7.0)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import foo
Then run it, I get this:
[kkinder at test cgi-bin]$ sudo python2.1 -OO -S foo.pyo
run_pyc_file: nested_scopes: 0
How do I get the "run_pyc_file: nested_scopes: 0" out?
Tridog Interactive, Inc.
More information about the FRPythoneers