Re: personal library

2013-10-31 Thread rusi
On Wednesday, October 30, 2013 10:18:20 AM UTC+5:30, Chris Angelico wrote: > On Wed, Oct 30, 2013 at 3:33 PM, Ben Finney wrote: > > Chris Angelico writes: > >> *Definitely* use source control. > > +1, but prefer to call it a “version control system” which is (a) more > > easily searched on the in

Re: personal library

2013-10-31 Thread patrick vrijlandt
Chris Angelico wrote: > On Thu, Oct 31, 2013 at 7:19 AM, Tim Delaney > But yeah. Either git or hg will serve you well, and Bazaar (bzr) also > has its advocates. Getting to know all three (or at least git/hg) to > at least some extent will serve you well - at least be comfortable > enough with the

Re: personal library

2013-10-30 Thread Tim Delaney
On 31 October 2013 08:43, Tim Delaney wrote: > On 31 October 2013 08:31, Chris Angelico wrote: > >> On Thu, Oct 31, 2013 at 7:19 AM, Tim Delaney >> wrote: >> > What it comes down to for me is that Mercurial usage fits in my head >> and I >> > rarely have to go to the docs, whereas with Git I ha

Re: personal library

2013-10-30 Thread Tim Delaney
On 31 October 2013 08:31, Chris Angelico wrote: > On Thu, Oct 31, 2013 at 7:19 AM, Tim Delaney > wrote: > > What it comes down to for me is that Mercurial usage fits in my head and > I > > rarely have to go to the docs, whereas with Git I have to constantly go > to > > the docs for anything but

Re: personal library

2013-10-30 Thread Chris Angelico
On Thu, Oct 31, 2013 at 7:19 AM, Tim Delaney wrote: > What it comes down to for me is that Mercurial usage fits in my head and I > rarely have to go to the docs, whereas with Git I have to constantly go to > the docs for anything but the most trivial usage - even when it's something > I've done ma

Re: personal library

2013-10-30 Thread Grant Edwards
On 2013-10-30, Mark Lawrence wrote: > On 30/10/2013 20:52, Antoon Pardon wrote: > >> So start a small project and try to use a number of them simultaneously >> and then decide which feels more natural to you. > > And if the worst comes to the worst there's always Visual Source Safe. > Starts runn

Re: personal library

2013-10-30 Thread paul . nospam
patrick vrijlandt writes: > Thanks. Do you all agree that Mercurial is the way to go, or is there > another "distributed version control system" that I should shortlist? git is popular too. In the long run it's probably worth getting experience with both. -- https://mail.python.org/mailman/li

Re: personal library

2013-10-30 Thread Mark Lawrence
On 30/10/2013 20:52, Antoon Pardon wrote: Op 30-10-13 21:02, patrick vrijlandt schreef: Chris Angelico wrote: On Wed, Oct 30, 2013 at 3:33 PM, Ben Finney wrote: Chris Angelico writes: *Definitely* use source control. +1, but prefer to call it a “version control system” which is (a) more

Re: personal library

2013-10-30 Thread Antoon Pardon
Op 30-10-13 21:02, patrick vrijlandt schreef: > Chris Angelico wrote: >> On Wed, Oct 30, 2013 at 3:33 PM, Ben Finney >> wrote: >>> Chris Angelico writes: >>> *Definitely* use source control. >>> >>> +1, but prefer to call it a “version control system” which is (a) more >>> easily searched

Re: personal library

2013-10-30 Thread Ben Finney
patrick vrijlandt writes: > Thanks. Do you all agree that Mercurial is the way to go, or is there > another "distributed version control system" that I should shortlist? My vote is for Bazaar http://bazaar.canonical.com/> for its excellent user interface and workflow support. -- \ “

Re: personal library

2013-10-30 Thread Tim Delaney
On 31 October 2013 07:02, patrick vrijlandt wrote: > Chris Angelico wrote: > > On Wed, Oct 30, 2013 at 3:33 PM, Ben Finney > wrote: > >> Chris Angelico writes: > >> > >>> *Definitely* use source control. > >> > >> +1, but prefer to call it a “version control system” which is (a) more > >> easil

Re: personal library

2013-10-30 Thread patrick vrijlandt
Chris Angelico wrote: > On Wed, Oct 30, 2013 at 3:33 PM, Ben Finney > wrote: >> Chris Angelico writes: >> >>> *Definitely* use source control. >> >> +1, but prefer to call it a “version control system” which is (a) more >> easily searched on the internet, and (b) somewhat more accurate. > >

Re: personal library

2013-10-30 Thread Paul Rudin
Chris Angelico writes: > On Wed, Oct 30, 2013 at 1:00 PM, Dave Angel wrote: >> First, I haven't seen any mention of a source control system. Get one, >> learn it, and use it. That should always hold your master copy. And >> the actual repository should be on a system you can access from any o

Re: personal library

2013-10-29 Thread Chris Angelico
On Wed, Oct 30, 2013 at 3:33 PM, Ben Finney wrote: > Chris Angelico writes: > >> *Definitely* use source control. > > +1, but prefer to call it a “version control system” which is (a) more > easily searched on the internet, and (b) somewhat more accurate. Right. I've picked up some bad habits, a

Re: personal library

2013-10-29 Thread Ben Finney
Chris Angelico writes: > *Definitely* use source control. +1, but prefer to call it a “version control system” which is (a) more easily searched on the internet, and (b) somewhat more accurate. -- \“This sentence contradicts itself — no actually it doesn't.” | `\

Re: personal library

2013-10-29 Thread Chris Angelico
On Wed, Oct 30, 2013 at 1:00 PM, Dave Angel wrote: > First, I haven't seen any mention of a source control system. Get one, > learn it, and use it. That should always hold your master copy. And > the actual repository should be on a system you can access from any of > the others. > > Then, once

Re: personal library

2013-10-29 Thread Dave Angel
On 29/10/2013 17:29, patrick vrijlandt wrote: > Hello list, > > Python has been a hobby for me since version 1.5.2. Over the years I > accumulated quite a lot of reusable code. It is nicely organised in > modules, directories and subdirectories. With every project, the library > grows and is devel

personal library

2013-10-29 Thread patrick vrijlandt
Hello list, Python has been a hobby for me since version 1.5.2. Over the years I accumulated quite a lot of reusable code. It is nicely organised in modules, directories and subdirectories. With every project, the library grows and is developed further. I would like to ask your advice for two prob

Re: How do I define the search path for personal library

2004-12-19 Thread les_ander
Yes, this is exactly what I wanted--just like in perl I can add search path to @inc. thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I define the search path for personal library

2004-12-19 Thread richardshea
If i understand correctly what you're after I think another option is import sys sys.path.append('http://mail.python.org/mailman/listinfo/python-list

Re: How do I define the search path for personal library

2004-12-18 Thread Peter Hansen
[EMAIL PROTECTED] wrote: Dear all, i have a simple question. Suppose I have my classes such as myClass1.py myClass2.py etc which I keep in a special folder ~/py_libs Now suppose I have a program that is not in py_libs but I want to do import myClass1 # note: myClass1 is not in the current directory

How do I define the search path for personal library

2004-12-18 Thread les_ander
Dear all, i have a simple question. Suppose I have my classes such as myClass1.py myClass2.py etc which I keep in a special folder ~/py_libs Now suppose I have a program that is not in py_libs but I want to do import myClass1 # note: myClass1 is not in the current directory how can I set the sear