Message6270
TempConverter.py doesn't work
On windows platform, you get :
Jython 2.5.2rc2 ...
>>> import os
>>> os.chdir('Demo')
>>> os.chdir('bean')
>>> import TempConverter
>>> TempConverter.main()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'main'
>>>
But the __main__ is well finishing the script as it possible to check it:
if __name__ == "__main__":
c = TempConverter()
print c |
|
Date |
User |
Action |
Args |
2010-12-07 08:22:00 | sensagent | set | recipients:
+ sensagent |
2010-12-07 08:21:59 | sensagent | set | messageid: <1291710119.97.0.938477128003.issue1683@psf.upfronthosting.co.za> |
2010-12-07 08:21:59 | sensagent | link | issue1683 messages |
2010-12-07 08:21:59 | sensagent | create | |
|