Structure of program development

Chris Warrick kwpolska at gmail.com
Mon Jul 4 12:55:49 EDT 2016


On 4 July 2016 at 18:07, Michael Smolen <8smolen at tds.net> 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?

Yes, the same way it works in Perl. Use the .py file extension and run
the `python` interpreter from command line, or use an IDE that would
help you with that.

> 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?

You must either install a Python interpreter on that machine, or
distribute one with your program.

-- 
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16



More information about the Python-list mailing list