[Tutor] What is a Python "project"?
rdm at rcblue.com
Tue Oct 3 20:41:16 CEST 2006
At 10:01 AM 10/3/2006, Mike Hansen wrote:
> > -----Original Message-----
> > From: tutor-bounces at python.org
> > [mailto:tutor-bounces at python.org] On Behalf Of Dick Moores
> > Sent: Tuesday, October 03, 2006 12:52 AM
> > To: tutor at python.org
> > Subject: [Tutor] What is a Python "project"?
> > I tried out Wing IDE Personal
> > (<http://wingware.com/wingide-personal>) off and on for 30 days, and
> > then, finding it easy to use (probably because it's designed for
> > Python), decided to buy it. I'm happy with it, and very pleased with
> > the fast response from technical support available by email.
> > I've never written anything in Python other than single-file scripts.
> > WingIDE has the ability to handle "projects", which apparently
> > consist of files and "packages". But what is a project? What does a
> > project have that can't be put into a single .py file script?
> > Thanks,
> > Dick Moores
> > _______________________________________________
> > Tutor maillist - Tutor at python.org
> > http://mail.python.org/mailman/listinfo/tutor
>When your apps start getting larger, you'll find that you want to put
>common functions into modules that you can hopefully reuse for other
Yes, I already have done this. But in scripts I write I simply import
the functions I want from that module. I don't think in terms of
making a project. Maybe I've missed your point?
Now, that page has a lot of stuff I didn't know. Thanks! Maybe I
should read the whole tutorial. I see that's it's been updated for
2.5. And it's by GvR. http://docs.python.org/tut/tut.html
>I've been doing some web programming, so my "projects" consist of
>cheetah template files, CSS, config files, a handful of python
Why do you make python modules part of a project? They can be used
without copying them around, can't they? Or is it that by a project
is meant in part a list of pointers to all the files you mean for
that program to use, and you don't actually have to copy or move them
so they are all in the same folder/directory?
More information about the Tutor