Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #111087 > unrolled thread

Re: Structure of program development

Started byAlan Evangelista <alanoe@linux.vnet.ibm.com>
First post2016-07-04 13:40 -0300
Last post2016-07-04 13:40 -0300
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Structure of program development Alan Evangelista <alanoe@linux.vnet.ibm.com> - 2016-07-04 13:40 -0300

#111087 — Re: Structure of program development

FromAlan Evangelista <alanoe@linux.vnet.ibm.com>
Date2016-07-04 13:40 -0300
SubjectRe: Structure of program development
Message-ID<mailman.74.1467652375.2295.python-list@python.org>
> 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. You can do it for every programming language I know, otherwise development would be impossible.

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

The target system must have the Python interpreter and standard library, which are always installed 
together.

A software developed in Python must contain the method calls to the Python standard library, 3rd 
party libraries
and/or custom code. It may or not contain the Python runtime environment (interpreter and std 
library). In Linux,
for instance, it is standard to not include dependencies (eg Python runtime environment) in an 
application, but
reuse the one already installed in the target system.


Regards

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web