Re: [Tutor] MP3Info class usage

2008-12-19 Thread Terry Carroll
On Fri, 19 Dec 2008, Terry Carroll wrote: > configure is s shell script. You'll need a version os shell that runs on > windows. > make, too, I'll bet. > > I run Cygwin on windows, which is a pretty good thing to have apart from > this. It's free and avaliable from http://www.cygwin.com/ ... >

Re: [Tutor] MP3Info class usage

2008-12-19 Thread Terry Carroll
On Thu, 18 Dec 2008, Gareth at Serif wrote: > I've not installed it, I've just imported it in my main program. How do you > install eyeD3, there's no installation package? I read the readme, which > talks about executing 'configure', but that just reports back that it is not > recognized as an i

Re: [Tutor] py_compile and chmod +x

2008-12-19 Thread Emad Nawfal (عماد نوفل)
Thank you so much. This has been very helpful. On Fri, Dec 19, 2008 at 12:21 PM, Andreas Kostyrka wrote: > Am Fri, 19 Dec 2008 09:01:24 -0500 > schrieb "Emad Nawfal (عماد نوفل)" : > > You are not supposed to compile the main script. > > pyc files are automatically generated when you import the py

Re: [Tutor] py_compile and chmod +x

2008-12-19 Thread Emad Nawfal (عماد نوفل)
Thank you so much everybody. I was just curious. This has been very useful. On Fri, Dec 19, 2008 at 12:21 PM, Andreas Kostyrka wrote: > Am Fri, 19 Dec 2008 09:01:24 -0500 > schrieb "Emad Nawfal (عماد نوفل)" : > > You are not supposed to compile the main script. > > pyc files are automatically gen

Re: [Tutor] Looping, and Win32com.client

2008-12-19 Thread Andreas Kostyrka
Am Fri, 19 Dec 2008 15:57:49 + schrieb Tim Golden : > Eduardo Vieira wrote: > > Hello, this is my first post in this list and I'm not a programmer, > > but am enjoying learning python. > > I'm trying to make a script to add worksheets to excel files: > > I managed to implement this code: > >

Re: [Tutor] py_compile and chmod +x

2008-12-19 Thread Andreas Kostyrka
Am Fri, 19 Dec 2008 09:01:24 -0500 schrieb "Emad Nawfal (عماد نوفل)" : You are not supposed to compile the main script. pyc files are automatically generated when you import the py file (but not execute it), if you are allowed to write them beside the py file. When a pyc file exists, and it's ne

Re: [Tutor] py_compile and chmod +x

2008-12-19 Thread bob gailer
Emad Nawfal (عماد نوفل) wrote: Hi Tutors, #! /usr/bin/env python print "Hello Tutors" I have this script saved as hello.py. Why can I execute it, but not the compiled version? or am I doing something wrong? Just curious. Any help appreciated. There are 2 issues here. 1 - The shell inspect

Re: [Tutor] Looping, and Win32com.client

2008-12-19 Thread Tim Golden
Tim Golden wrote: Eduardo Vieira wrote: Hello, this is my first post in this list and I'm not a programmer, but am enjoying learning python. I'm trying to make a script to add worksheets to excel files: I managed to implement this code: import os folder = 'C:\\Personal\\oldxlsformat\\' from win

Re: [Tutor] Looping, and Win32com.client

2008-12-19 Thread Eduardo Vieira
Thank you, now it worked! I made these changes to my code: for ficheiro in os.listdir(folder): file = os.path.join(folder, ficheiro) #added this if ficheiro.endswith('.xls'): wb = xl.Workbooks.Open(file, 2) # changed this On Fri, Dec 19, 2008 at 8:57 AM, Tim Golden wrote: > Eduard

Re: [Tutor] Looping, and Win32com.client

2008-12-19 Thread Tim Golden
Eduardo Vieira wrote: Hello, this is my first post in this list and I'm not a programmer, but am enjoying learning python. I'm trying to make a script to add worksheets to excel files: I managed to implement this code: import os folder = 'C:\\Personal\\oldxlsformat\\' from win32com.client import

[Tutor] Looping, and Win32com.client

2008-12-19 Thread Eduardo Vieira
Hello, this is my first post in this list and I'm not a programmer, but am enjoying learning python. I'm trying to make a script to add worksheets to excel files: I managed to implement this code: import os folder = 'C:\\Personal\\oldxlsformat\\' from win32com.client import Dispatch xl = Dispatch(

[Tutor] py_compile and chmod +x

2008-12-19 Thread Emad Nawfal (عماد نوفل)
Hi Tutors, #! /usr/bin/env python print "Hello Tutors" I have this script saved as hello.py. Why can I execute it, but not the compiled version? or am I doing something wrong? Just curious. Any help appreciated. For example : e...@emad-laptop:~/Desktop/Programming/Haskell$ chmod +x hello.py