Re: [Tutor] Python workspace - IDE and version control
"Kent Johnson" wrote in message news:1c2a2c591001190905u28db4464hc1d1461ad26e9...@mail.gmail.com... On Tue, Jan 19, 2010 at 9:12 AM, Andreas Kostyrka wrote: The cool part about git that I've not yet replicated with hg is git add -p which allows you to seperate out different changes in the same file. Sounds like the record and crecord extensions come close, anyway: http://mercurial.selenic.com/wiki/RecordExtension http://mercurial.selenic.com/wiki/CrecordExtension TortoiseHg's commit GUI allows this. -Mark ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Python workspace - IDE and version control
> >>> I use plain old RCS for version control because its just me working >> I prefer RCS - two commands is all you need (ci/co) :-) > > Certainly, OTOH, you get only file based commits, no upgrade path > should you ever decide that you need to go multiuser > (and multiuser can be just you with two different places, Well, you get tags which allow you to check in/out a whole project at a time if need be. And RCS does allow multi user and server based working (just by locating the RCS folder there!). In fact the biggest project I ever worked on had around 3.5 million lines of C++ in 10,000 source files in over 200 folders and it was all controlled using RCS and makefiles. And branching and merging are all standard features too. (We had over 400 developers working off the repositories with 4 or 5 branches active at any one time - but CVS would have been much easier if it had been available at the time - v1.0 was just released the same year we started work - 1990!) But modern tools are much better I agree. And at work, as I said, we use subversion (and CVS on older projects). In my time I've also used several heavyweight version and configuration control tools - ranging in price from a few hundred pounds to several hundred thousand dollars. The best by a long shot is ClearCase on Unix, although Aide de Camp is also good. But these both cost For my home use, the biggest Python project I've done had less than 10 files in a single folder plus some imported modules from my personal collection so RCS is more than adequate. Alan G. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Python workspace - IDE and version control
"Kent Johnson" wrote I use plain old RCS for version control because its just me working on the code. hg init # create a repository md RCS in rcs hg st # show what will be checked in hg add # mark new files as to be added Don't need any of that stuff hg ci -m "Initial checkin" # the actual checkin ci foo.py in rcs and voila! you have a version-controlled project! I prefer RCS - two commands is all you need (ci/co) :-) Alan G. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Python workspace - IDE and version control
On Tue, Jan 19, 2010 at 9:12 AM, Andreas Kostyrka wrote: > The cool part about git that I've not yet replicated with hg is git add -p > which allows you to seperate out > different changes in the same file. Sounds like the record and crecord extensions come close, anyway: http://mercurial.selenic.com/wiki/RecordExtension http://mercurial.selenic.com/wiki/CrecordExtension Kent ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Python workspace - IDE and version control
On Mon, Jan 18, 2010 at 4:17 PM, Alan Gauld wrote: > I use plain old RCS for version control because its just me working on the > code. Wow. You should take a look at Mercurial. It is so easy to set up a Mercurial repository for a local project - just hg init # create a repository hg st # show what will be checked in hg add # mark new files as to be added hg ci -m "Initial checkin" # the actual checkin and voila! you have a version-controlled project! Kent ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Python workspace - IDE and version control
I am using Netbeans, it has many features. The following IDEs i used before Netbeanse Anjuta, Komodo, python IDLE, etc.. There is a python plugin in Netbease and also it has subversion integrated. On Tue, Jan 19, 2010 at 5:59 AM, Alan Gauld wrote: > > "Matthew Lee" wrote > > > I usually just use NetBeans or the Python IDLE. >> I prefer to use NetBeans because it's easier to change and modify code and >> test. And also because I like to use Jython. >> >> Anything wrong with my setup? >> > > If it works for you then its fine. > IDEs, editors etc are all very personal choices and everyone is different. > I used Netbeans for a while and preferred it to Eclipse at the time, but I > use > Eclipse because its what we have to use at work and consistency outweighs > the slight advantages I found in Netneans. If you don;t have that > constraint > use whatever you find works best for you! > > > Alan G > > ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > -- Thanks & Best Regards, Muhamed Niyas C (NuCore Software Solutions Pvt Ltd) Mobile: +91 9447 468825 URL: www.nucoreindia.com Email: ni...@nucoreindia.com ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Python workspace - IDE and version control
"Matthew Lee" wrote I usually just use NetBeans or the Python IDLE. I prefer to use NetBeans because it's easier to change and modify code and test. And also because I like to use Jython. Anything wrong with my setup? If it works for you then its fine. IDEs, editors etc are all very personal choices and everyone is different. I used Netbeans for a while and preferred it to Eclipse at the time, but I use Eclipse because its what we have to use at work and consistency outweighs the slight advantages I found in Netneans. If you don;t have that constraint use whatever you find works best for you! Alan G ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Python workspace - IDE and version control
I usually just use NetBeans or the Python IDLE. I prefer to use NetBeans because it's easier to change and modify code and test. And also because I like to use Jython. Anything wrong with my setup? On Tue, Jan 19, 2010 at 8:17 AM, Alan Gauld wrote: > > wrote > > > order to create an efficient and productive Python programming workspace: >> IDE and Version Control. >> > > Both important, although an IDE is perhaps a generous > description of vim! :-) > > > Obviously, no tool can think for you. The real programming work of course >> is going on in your brain. I am curious what combination of IDE and Version >> Control System you use and also perhaps, what other tools I should be >> looking at as well. >> > > I tend to use vim under cygwin (which gives me all the Unix tools) as the > IDE. > > I use plain old RCS for version control because its just me working on the > code. > > At work where we have parallel streams I use SVN (used to be Borland > $tarTeam) > Because we use Eclipse at work I increasingly use Eclipse with PyDev as my > IDE for larger projects - its project support is very effective and I like > the debugger. Also, since I often integrate Java and Jython, Eclipse is > ideal for > integrating a multi-source project, especially with a UML modelling plugin > added to capture the design. > > Finally, I use Subclipse to integrate Eclipse with SVN. > > Alan G. > > ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Python workspace - IDE and version control
wrote order to create an efficient and productive Python programming workspace: IDE and Version Control. Both important, although an IDE is perhaps a generous description of vim! :-) Obviously, no tool can think for you. The real programming work of course is going on in your brain. I am curious what combination of IDE and Version Control System you use and also perhaps, what other tools I should be looking at as well. I tend to use vim under cygwin (which gives me all the Unix tools) as the IDE. I use plain old RCS for version control because its just me working on the code. At work where we have parallel streams I use SVN (used to be Borland $tarTeam) Because we use Eclipse at work I increasingly use Eclipse with PyDev as my IDE for larger projects - its project support is very effective and I like the debugger. Also, since I often integrate Java and Jython, Eclipse is ideal for integrating a multi-source project, especially with a UML modelling plugin added to capture the design. Finally, I use Subclipse to integrate Eclipse with SVN. Alan G. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
[Tutor] Python workspace - IDE and version control
I want to share a couple of insights that I had getting started with Python that I did not come across in the literature all that often. I am discovering that there are two primary supporting tools needed in order to create an efficient and productive Python programming workspace: IDE and Version Control. I didn't realize at first how important these supporting tools for Python would be. If Python is your first programming language, you will have to learn how to use a good text editor or IDE (Integrated Development Environment). If you use textpad, it gets old very fast. I have chosen vim as my IDE and I added a few key plugins that I think help a lot (snipMate, surround, nerd-tree, and repeat). I believe that snipMate is a plugin made specifically for Python users on vim. Among other features, it auto indents your code which is very nice. So now that I can do some Python scripting, I started to notice that my scripts were not very organized. Collaboration of code is difficult. I had multiple copies of the same script in different directories on my computer, and I did not have a good way to really keep track. This is the wrong way. Version Control Systems are tried and true technologies for collaborating with others (or even yourself) on your code. After some research, I have decided to go with Git. I have never used version control before, so I don't know the distinctions of the various systems out there. I chose Git mainly because github.com is really great. Some MAJOR open source (and closed) projects are happening on there and you can download the open source code so very easily. I am told Mercurial is good too, Bazaar and SVN also came up in my research. Obviously, no tool can think for you. The real programming work of course is going on in your brain. I am curious what combination of IDE and Version Control System you use and also perhaps, what other tools I should be looking at as well. Thanks. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor