3

I write some scripts in Python with PyScripter and want to be able to created versions of my .py files without creating copies of the files on disk and managing them manually.

I know that there are some software used for that such GIT, SVN and some others. I have never used any version control software before. I don't have access to any server-based solution and want to be able to do this just on my local machine. It can be rather simple piece of software with no advanced functionality. Switching between different versions of code is a must, but it would be nice having a tool for finding differences in the code since last commit and alike.

I have access to Microsoft TFS though, but I was not able to find any way to connect PyScripter to TFS. I may consider using another Python IDE if there is comprehensive support for such a version control software I described above.

Alex Tereshenkov
  • 3,340
  • 8
  • 36
  • 61
  • 2
    Well, pyscripter is poor in features compared to the pay-for IDEs (for example PyCharm or WingIDE). What I would recommend is to just use local GIT repository, which integrates well with most IDEs and is easy to set-up. – Tymoteusz Paul Mar 05 '14 at 14:58
  • 2
    Git and Mercurial both fit the bill, though I'm not sure if either can be integrated with PyScripter (but see http://stackoverflow.com/q/10588298/395760). This isn't necessary to be productive though. Also, the question *which* tool to use is decidedly off-topic. –  Mar 05 '14 at 15:02
  • 1
    `git` runs just fine without a server, and runs just fine on Windows. http://msysgit.github.io/ – bgporter Mar 05 '14 at 15:02
  • @delnan, can I use TortoiseGIT just on my machine (=without connecting to the github on the Web?) – Alex Tereshenkov Mar 05 '14 at 15:06
  • 2
    @AlexTereshenkov Absolutely, and TortoiseHG too. And the non-tortoise versions of both. "Offline/local" is the default mode of operation in all *distributed* version control systems. –  Mar 05 '14 at 15:08
  • @delnan, alright, I got you. Would you mind wrapping the answer which I could accept later on? – Alex Tereshenkov Mar 05 '14 at 15:11

1 Answers1

2

I would strongly recommend using mercurial - it is easier to get the hang of than git and is itself written in python.

There are also both a GUI, TortoiseHg, and a web server, (hg serve or start from thg), with the web interface built in.

Steve Barnes
  • 27,618
  • 6
  • 63
  • 73
  • I've checked their website, it seems as one is supposed to operate the software with CMD-like commands. Is there a GUI for this guy? – Alex Tereshenkov Mar 05 '14 at 15:03
  • 3
    @AlexTereshenkov: TortoiseHG. (there's even a link from the Mercurial downloads page) – Wooble Mar 05 '14 at 15:04
  • EasyMercurial is a very basic GUI but largely sufficient for first time use and most importantly, simpler than TortoiseHG – Ben K. Mar 05 '14 at 16:41