Message4973
Test program:
if __name__ == '__main__':
print "Hello from __run__.py"
else:
print "__main__ not defined when __run__.py is executed"
I put this __run__.py file into the root of the stand-alone jython.jar
Command line:
java -jar jython.jar -jar jython.jar
Printed result:
__main__ not defined when __run__.py is executed
This is not what is expected of a main program's startup script, and
has resulted in at least one confused email to the jython mailing
list asking why their startup script wouldn't run. |
|
Date |
User |
Action |
Args |
2009-07-31 19:17:33 | dhandy | set | recipients:
+ dhandy |
2009-07-31 19:17:33 | dhandy | set | messageid: <1249067853.27.0.67985111095.issue1418@psf.upfronthosting.co.za> |
2009-07-31 19:17:33 | dhandy | link | issue1418 messages |
2009-07-31 19:17:32 | dhandy | create | |
|