Newbie Question
Gerrit Holl
gerrit at nl.linux.org
Wed May 28 04:53:41 EDT 2003
M5B schreef op maandag 26 mei om 23:48:04 +0000:
> I just started with Python, and have read through several books on the
> language. I installed Python 2.0 and PythonWin32.
I recommend to get Python 2.2 or Python 2.3. You can get it at
http://www.python.org/2.2.3/
http://www.python.org/2.3/
> In all of the things that I have read there does not seem to be a clear
> explanation of how to save a program to disk, or how to retrieve it either to
> run or to work on further at a later time.
A Python program consists of one of more files. You can edit a file with
any text editor: notepad, dos edit, vim, nedit, etc. When you are finished
editing the file, you can save it.
> When I simply try to save the program, it fails to show up in the folder to
> which I thought I had saved it.
Maybe you have not saved it at the right place. Have you tried to search
it using the find utility (I assume you use Windows)?
> When I try to retrieve it, it's not there. On
> one occasion it somehow got stored (correctly, I can only assume) but when I
> try to open it, it's not there, and when I click on its icon I get only a brief
> flash on a black screen, then nothing.
You need to make it executable, though I don't know how to do that ik windows.
Does the name end in .py?
> When am I doing wrong? Better, what should I be doing right? Help!
I'm not sure...
yours,
Gerrit.
--
181. If a father devote a temple-maid or temple-virgin to God and give
her no present: if then the father die, she shall receive the third of a
child's portion from the inheritance of her father's house, and enjoy its
usufruct so long as she lives. Her estate belongs to her brothers.
-- Hammurabi, Code of Law
--
Asperger Syndroom - een persoonlijke benadering:
http://people.nl.linux.org/~gerrit/
Het zijn tijden om je zelf met politiek te bemoeien:
http://www.sp.nl/
More information about the Python-list
mailing list