Python Programming on Win32

kentj kentj at tadboise.com
Mon Apr 2 16:51:12 EDT 2001


I am trying to learn Python. Have I done something wrong with the
demodata1.py file?

File "c:\python\pythonwin\pywin\framework\scriptutils.py", line 394, in
ImportFile
    exec codeObj in __main__.__dict__
  File "<auto import>", line 1, in ?
  File "C:\Python\doubletalk\demodata1.py", line 9, in ?
    from doubletalk.transac import *
  File "c:\python\doubletalk\transac.py", line 23, in ?
    from dates import *
  File "c:\python\doubletalk\dates.py", line 53, in ?
    LATE = mktime(2038,1,15,0,0,0,0,0,0)   #nearly the last day in Unix
time system
TypeError: mktime requires exactly 1 argument; 9 given
>>> bs = demodata1.getdata()
Traceback (innermost last):
  File "<interactive input>", line 1, in ?
NameError: There is no variable named 'demodata1'
>>>





More information about the Python-list mailing list