Re: pyinstaller

2009-06-21 Thread Arlie
Content of warnmyprog.txt: W: no module named posix (conditional import by os) W: no module named optik.__all__ (top-level import by optparse) W: no module named readline (delayed, conditional import by cmd) W: no module named readline (delayed import by pdb) W: no module named pwd (delayed, condi

Re: pyinstaller

2009-06-21 Thread Arlie
Imported files in myprog.py: import MySQLdb import os # works on Windows or Linux, also Vista import os.path import time import mp3 ~~~ Content of mp3.py: # -*- coding: utf-8 -*- #Michel Claveau import time from ctypes import windll, c_buffer class mci: def __init__(self): sel

Re: pyinstaller

2009-06-21 Thread Arlie
Renamed the project directory. from ... File "D:\PROJECTS\python.paging.system.client \buildpaging_system_client\out1.p ... to ... File "D:\PROJECTS\pyproject \buildpyproject\out1.p ... -- http://mail.python.org/mailman/listinfo/python-list

pyinstaller

2009-06-21 Thread Arlie
Newbie here using Python 2.6.2 on MS WinXP Pro SP3. I'm trying create an frozen exec and was able to generate and exe file. python D:\pyinstaller-1.3\Makespec.py -F myprog.py python D:\pyinstaller-1.3\Build.py myprog.spec --paths=D: \pyinstaller-1.3;D:\PROJECTS\pyproject but when I ran "myprog.ex

Re: Play MP3s from Windows

2009-06-19 Thread Arlie
On Jun 20, 8:48 am, MRAB wrote: > Arlie wrote: > > Hi, > > > Newbie here. I copied and pasted the code below. But when I ran it I > > got this error: > > > D:\>python mp3.py > > Duree du fichier :  298919  millisecondes > > Traceback (most rec

Re: Play MP3s from Windows

2009-06-19 Thread Arlie
On Jun 20, 8:07 am, Tim Harig wrote: > On 2009-06-19, Arlie wrote: > > > print 'Duree du fichier : ',buf,' millisecondes' > > You can obviously make sure that 'buf' can be accessed as a string. > > > time.sleep(int(buf)/1000) > &g

Re: Play MP3s from Windows

2009-06-19 Thread Arlie
On Jun 20, 7:16 am, Arlie wrote: > Hi, > > Newbie here. I copied and pasted the code below. But when I ran it I > got this error: > > D:\>python mp3.py > Duree du fichier :  298919  millisecondes > Traceback (most recent call last): >   File "mp3.py", lin

Play MP3s from Windows

2009-06-19 Thread Arlie
Hi, Newbie here. I copied and pasted the code below. But when I ran it I got this error: D:\>python mp3.py Duree du fichier : 298919 millisecondes Traceback (most recent call last): File "mp3.py", line 37, in time.sleep(int(buf)/1000) ValueError: invalid literal for int() with base 10: '