Feedback

2008-11-22 Thread Ali art

I am using Windows XP professional version 2002 Service pack 3. AMD 
Athlon(TM)XP 2400+ 2.00GHz 992MB RAM.I have download Windows x86 MSI Instaler 
(3.0rc2) Python 3.0rc2 Release: 06-Nov-2008. 
I want to use source code file from Python Command line but I could not.
 
Firstly i opened IDLE and clicked on File → New Window and pasted  
#!/usr/bin/python #Filename: helloworld.py print('Hello World')
and saved  "helloworld.py" without quotes.Then i invoced pyton command line.
Python 3.0rc2 (r30rc2:67141, Nov  7 2008, 11:43:46) [MSC v.1500 32 bit 
(Intel)]on win32Type "help", "copyright", "credits" or "license" for more 
information.>>> python helloworld.py 
and pressed enterBut it did not work gives the error
 Python 3.0rc2 (r30rc2:67141, Nov  7 2008, 11:43:46) [MSC v.1500 32 bit 
(Intel)]on win32Type "help", "copyright", "credits" or "license" for more 
information.>>> python helloworld.py  File "", line 1python 
helloworld.py^SyntaxError: invalid syntax>>>
Did i meke any misteke? I tried Control Panel -> System -> Advanced -> 
Environment Variables. System Variables -> C:\Python30
but it still gives same error.
_
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE--
http://mail.python.org/mailman/listinfo/python-list


UnicodeEncodeError

2008-12-15 Thread Ali art

Hello!
I am using Windows XP professional version 2002 Service pack 3. AMD 
Athlon(TM)XP 2400+ 2.00GHz 992MB RAM.
I have downloaded Windows x86 MSI Instaler Python 3.0 (sig) (r30:67507, Dec  3 
2008, 20:14:27) [MSC v.1500 32 bit (Intel)] on win32 
Control Panel -> System -> Advanced -> Environment Variables. System Variables 
-> Path -> edit C:\Windows\System32\Wbem;C:\Python30
start -> programs -> python 3.0 -> IDLE(Python GUI) 
-> IDLE 3.0 -> File -> New Window -> i wrote "print('ğüşçöı')" without qutes-> 
File -> Save -> Python30 -> i gave file name "d2.py" without qutes-> and Run -> 
Run Module -> it gives error "invalid character in identifier"
then i tried second method
start -> run -> cmd -> d2.py and enter it gives the error
C:\>d2.pyTraceback (most recent call last):  File "C:\Python30\d2.py", line 4, 
in print('\u011fü\u015fçö\u0131')  File "C:\Python30\lib\io.py", 
line 1491, in writeb = encoder.encode(s)  File 
"C:\Python30\lib\encodings\cp437.py", line 19, in encodereturn 
codecs.charmap_encode(input,self.errors,encoding_map)[0]UnicodeEncodeError: 
'charmap' codec can't encode character '\u011f' in position0: character maps to 

C:\>
But if i write in Phyton Shell -> >>> print('ğüşçöı') and pressed enter -> 
gives 'ğüşçöı' it works.
What is wrong?
all the best
_
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline--
http://mail.python.org/mailman/listinfo/python-list