Re: Can Python write foreign characters to the console?

2005-12-15 Thread Do Re Mi chel La Si Do
Hi! On windows, you MUST also configure the console. Use CHCP for to force the good code-page. And, right-click + property + font, for to choice the good font. With that, I can visu french accents, cyrillic, etc. @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/pyth

Re: Can Python write foreign characters to the console?

2005-12-16 Thread Do Re Mi chel La Si Do
Hi! That depends on what we call "console". Python console? or Windows console? @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: Python on Nintendo DS

2005-12-21 Thread Do Re Mi chel La Si Do
Hi! Super mega cool. Thanks! MCI -- http://mail.python.org/mailman/listinfo/python-list

Re: Vaults of Parnassus hasn't been updated for months

2005-12-23 Thread Do Re Mi chel La Si Do
Hi! >>> Just a poll: Who misses the Vaults of Parnassus like me? Me (+1) @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

KixForm, a (little) GUI for Python + PyWin32 ?

2005-12-29 Thread Do Re Mi chel La Si Do
Hi! I had found (since only 2 hours) that KixForm can to do used by Python + PyWin32 At the end of the message, a very small example It's an Active-X, in one file (.DLL), and one help-file (.CHM) It is limited, but simple Download here : http://www.kixforms.org/assets/files/kixforms/KiXform

Re: Python interpreter in Basic or a Python-2-Basic translator.

2005-05-01 Thread Do Re Mi chel La Si Do
Hi ! VBA is at the end of his lifetime. The next MS-Office will not have VBA (because dotNet). You should really adopt Python. @-salutations -- Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

To circumvent the bug cp1252

2005-05-15 Thread Do Re Mi chel La Si Do
Hi ! *** for information *** There is a bug in Python 2.4, worsened with the 2.4.1, for scripts, if they are: - large - with larges lines - prefixed (coded) with # -*- coding: cp1252 -*- - on windows (XP & S2003) - perhaps, also, other conditions... This bug announces, wrongly, of

Re: Self-modifying Code

2005-05-19 Thread Do Re Mi chel La Si Do
Hi, you, also ! A view, with a little difference : def titi(par): if par>222: return par*2 else: return par*10 print titi(123) print titi(1234) #now, change the function, "on instant" txt="""def titi(par): if par>222: return str(par)*2 else: retu

Re: Memory errors with large zip files

2005-05-20 Thread Do Re Mi chel La Si Do
Hi I had make this test (try) : - create 12 txt's files of 100 MB (exactly 102 400 000 bytes) - create the file "tst.zip" who contains this 12 files (but the file result is only 1 095 965 bytes size...) - delete the 12 txt's files - try your code And... it's OK for me. But : the compress

Re: Self-modifying Code

2005-05-22 Thread Do Re Mi chel La Si Do
Hi ! I often use the auto-modification of code, to allow the users to adapt software to the evolution of their needs. When this technique is controlled, and framed well, it presents only few problems. AMHA, to speak about danger, it is the result of a lack of practice and tests. It is a litt

Re: no win32com.client

2005-05-23 Thread Do Re Mi chel La Si Do
Hi ! Or : http://sourceforge.net/project/showfiles.php?group_id=78018 @-salutations -- Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: Just remember that Python is sexy

2005-05-24 Thread Do Re Mi chel La Si Do
:-) -- http://mail.python.org/mailman/listinfo/python-list

Re: Determine if windows drive letter is hard drive or optical from python?

2005-05-27 Thread Do Re Mi chel La Si Do
Hi ! You can use WMI, for that. Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: write to the same file from multiple processes at the same time?

2005-05-28 Thread Do Re Mi chel La Si Do
Hi ! On windows, with PyWin32, to read this little sample-code : import time import win32file, win32con, pywintypes def flock(file): hfile = win32file._get_osfhandle(file.fileno()) win32file.LockFileEx(hfile, win32con.LOCKFILE_EXCLUSIVE_LOCK, 0, 0x, pywintypes.OVERLAPPED()) def f

<    1   2