using os.execl to call a java application
Kragen Sitaker
kragen at pobox.com
Mon Mar 25 04:36:26 EST 2002
Louis Luangkesorn <lluang at northwestern.edu> writes:
> File "C:\docs\gmcode\prob4.py", line 74, in findrqsim
> os.path('c:\\docs\\ibmmodelswitch')
> TypeError: object of type 'module' is not callable
os.path is a module. I think you meant os.chdir, not os.path.
You should consider writing your paths as 'c:/docs/ibmmodelswitch' so
you don't have to double backslash.
More information about the Python-list
mailing list