> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dick Moores > Sent: Tuesday, October 03, 2006 12:41 PM > To: [email protected] > Subject: Re: [Tutor] What is a Python "project"? > > At 10:01 AM 10/3/2006, Mike Hansen wrote: > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of Dick Moores > > > Sent: Tuesday, October 03, 2006 12:52 AM > > > To: [email protected] > > > 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 - [email protected] > > > 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 > >programs. > > 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? > > >http://docs.python.org/tut/node8.html > > 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 > >modules... > > 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? > > Thanks, Mike. > > Dick >
I use Komodo and VIM. With Komodo, a project is just a collection of related files. I'd imagine that WingIDE does something similar. You set up a project and add files to them. It's just a way to keep organized. As far as the python modules in my project, they are ones that I've written not 3rd party stuff. If the day comes that I use my own modules in more than one application/project, I'll probably move them to site packages. Mike _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
