please help me!!

danissim asd at asd.it
Thu Oct 23 12:07:56 EDT 2003


thanks a lot !
i have  win xp
and i've installed python 2.3
this is my first work with python
i must to do somthing that rename the files into a folder
for example in to a folder "work" i have the files "asd.jpg" "dsa.jpg" and
"esd.jpg"
now i must to rename the pictures to "workF.jpg""workR.jpg""workD.jpg"

sorry but i'm a virgin with python...

"Peter Hansen" <peter at engcorp.com> ha scritto nel messaggio
news:3F97E7D2.B591C96F at engcorp.com...
> danissim wrote:
> >
> > help!!
> > hi people
> > could you to tell me how can i execute a program after i wrote the
code???
>
> If you program is saved in a file named "mycode.py", you would execute the
> following command at a command prompt: "python mycode.py"
>
> This will work only if your computer is properly configured.  You need
> the folder containing the Python executable (e.g. python.exe on Windows)
> to be in your PATH environment variable, for example.
>
> You haven't included enough information for anyone to help more.  What
> platform/operating system are you using.  How do you write your code?
> Using an IDE, such as IDLE or PythonWin, or using another text editor?
> Have you installed Python yet?
>
> Also, have you done the online tutorial yet?  It gives useful background
> that might help you out.
>
> See http://www.python.org/doc/current/tut/tut.html
>
> -Peter






More information about the Python-list mailing list