Structure of program development

BartC bc at freeuk.com
Mon Jul 4 12:56:42 EDT 2016


On 04/07/2016 17:07, Michael Smolen wrote:
> Folks:
>
> I am new to this programming adventure. I've gotten past the introductory chapters in 'How to..." books and now want to start developing a much more complicated program that I will use repeated for different applications. When I worked in Perl there was an option to write a program in a text editor, save it, and then run in with Perl. Is such a thing possible in Python? If not, how do I develop a 500+ lines of code?
>
> A second question of the basic design. If I write a program, can I move it to a computer that is without any Python software, or does that machine have to download the Python software? Does Python products contain all parts of a developed program or is it a series of 'call' statements?

It can work the same way. Write the 500-line program in, say, prog.py 
using any text editor.

Then run it using:

     python prog.py


-- 
Bartc




More information about the Python-list mailing list