[PythonCE] Weird Error
Voidspace
mike at pcblokes.com
Fri Oct 24 10:15:52 EDT 2003
Why does python 2.3 on the pocketPC think that 'w' is an invalid IO mode ?
\AAA\utils1.py:178: SyntaxWarning: import * only allowed at module level
def miniwritefile(filename, fullreport, skillreport):
No config file was specified. Using the default file "config.txt"
opened file config.txt
Traceback (most recent call last):
File "\Program Files\Python\lib\pcceshell.py", line 545, in RunCode
File "\AAA\AAAcontroller.py", line 307, in ?
standard_out=StandOut(verbose,outputpath,logmode) # Creating
the output object
File "\AAA\utils1.py", line 25, in __init__
self.outputfile=open(outputpath,'w')
IOError: invalid mode: w
Python 2.3 (#0, Oct 13 2003, 17:16:10) [MSC v.1200 32 bit (Unknown)] on
Pocket PC
>>>
--
http://www.Voidspace.org.uk
The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more.
---
http://groups.yahoo.com/group/atlantis_talk/
The Atlantibot coding message group.
---
http://www.atlantibots.org.uk
http://www.learnlandrover.com
http://www.fuchsiashockz.co.uk
http://groups.yahoo.com/group/void-shockz
---
Everyone has talent. What is rare is the courage to follow talent
to the dark place where it leads. -Erica Jong
Ambition is a poor excuse for not having sense enough to be lazy.
-Milan Kundera
More information about the PythonCE
mailing list