3 Simple Questions About Python/IDLE

Claudio Grondi claudio.grondi at freenet.de
Thu Sep 7 16:04:37 CEST 2006

Omar wrote:
> 1) why don't python / idle use numbered lines in their scripting, like
> basic?  how do you keep track of large batches of code without them?
> 2) in IDLE, how do you save a program such that it can be run, say from
> windows the "run" function?
> 3) are most of you doing your script editing in IDLE or something more
> fully featured?
> 4) how are you importing previously written blocks of code into your
> code?  cut and paste?  what is the best way to organize snippets of
> code?
> thanks, peeps
1) Python is very different from what you expect being experienced in 
programming with Basic. My recommendation: don't hesitate to take the 
time to read the Python manual.
2) Double click on saved Python script (hope you are able to save a 
file? Haven't you detected that you can edit and run a file in IDLE?)
3) Plain text editor or IDLE are good. For more see Python website - 
there are plenty options to choose from.
4) using 'import' (see recommendation in 1))

Claudio Grondi

More information about the Python-list mailing list