Message6270

Author sensagent
Recipients sensagent
Date 2010-12-07.08:21:59
SpamBayes Score 1.4595692e-07
Marked as misclassified No
Message-id <1291710119.97.0.938477128003.issue1683@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-12-07 08:22:00sensagentsetrecipients: + sensagent
2010-12-07 08:21:59sensagentsetmessageid: <1291710119.97.0.938477128003.issue1683@psf.upfronthosting.co.za>
2010-12-07 08:21:59sensagentlinkissue1683 messages
2010-12-07 08:21:59sensagentcreate