Re: [Tutor] Help me to debug this script .. I tried but ....

2006-11-05 Thread Danny Yoo
On Sun, 5 Nov 2006, Asrarahmed Kadri wrote: > When I am running the script from the command line, its working fine but > when I am trying to run from Pythonwin, its giving me error. > > Can anyone explain the reason? Hi Asrarahmed, Did you see Kent's reply? He mentioned: >> Something strange

Re: [Tutor] Help me to debug this script .. I tried but ....

2006-11-05 Thread Asrarahmed Kadri
When I am running the script from the command line, its working fine but when I am trying to run from Pythonwin, its giving me error.   Can anyone explain the reason?   Regards, Asrarahmed  On 11/5/06, Kent Johnson <[EMAIL PROTECTED]> wrote: Dustin J. Mitchell wrote:> Asrarahmed Kadri wrote:>> "C:\

Re: [Tutor] Help me to debug this script .. I tried but ....

2006-11-05 Thread Dustin J. Mitchell
Kent Johnson wrote: > Dustin J. Mitchell wrote: >> Asrarahmed Kadri wrote: >>> "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", >>> line 310, in RunScript >>> exec codeObject in __main__.__dict__ >>> File "C:\project stuff-programs\Scriptdate.py", line 18, in ? >>>

Re: [Tutor] Help me to debug this script .. I tried but ....

2006-11-05 Thread Kent Johnson
Dustin J. Mitchell wrote: > Asrarahmed Kadri wrote: >> "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", >> line 310, in RunScript >> exec codeObject in __main__.__dict__ >> File "C:\project stuff-programs\Scriptdate.py", line 18, in ? >> t1 = my_version_datecheck.

Re: [Tutor] Help me to debug this script .. I tried but ....

2006-11-05 Thread Dustin J. Mitchell
Asrarahmed Kadri wrote: > "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", > line 310, in RunScript > exec codeObject in __main__.__dict__ > File "C:\project stuff-programs\Scriptdate.py", line 18, in ? > t1 = my_version_datecheck.dateCheck(dt1,0) > File "my_ver

[Tutor] Help me to debug this script .. I tried but ....

2006-11-05 Thread Asrarahmed Kadri
Hi Folks,   I have a function defined in a module. I am using this module in a script but its giving me error: the traceback is as follows:     29/2/2003['29', '2', '2003']Traceback (most recent call last):  File "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, i