Sertac
Sertac

Reputation: 93

Accesing Python code (project) with two different machines

First of all I am relatively new in Python and maybe missing something about setting up a project in PyDev. I use PyDev with eclipse and windows OS.

I am trying to work on the same project with two different machines. Basically my code is situated in a shared folder on Dropbox. I would like to access the same project (not necessarily simultaneously) on both machines.

When I try to import the files in the project folder, PyDev on my second machine creates another file that is specific to it. Thus not the same file but a copy of the original project.

I am proficient in MATLAB and I expect, probably mistakenly, the same file instances to be read on both machines.

I feel the answer is quite simple but could bot bump into it after an hour of googling.

Thanks for your help in advance...

Upvotes: 0

Views: 130

Answers (2)

jadkik94
jadkik94

Reputation: 7068

If you are thinking of sharing code between multiple machines, you'd be better off using tools made specifically for that. They're called revision control system. You can read/try SVN and Git. You can probably get started with Github easily if you don't mind your code being public.

As for the project in Eclipse, there is a checkbox you can uncheck that moves the content of the project to your workspace, which is not what you want since you want to keep it in the Dropbox folder. I think it's called "Copy project into workspace".

Upvotes: 0

Nicholas Smith
Nicholas Smith

Reputation: 456

Have you thought of using GIT? You can create the project on one machine and clone it on the other. If you can't network the machines, sign up for github for bitbucket. It really a huge jump from using drop box. You can also use subversion from Unfuddled, which I don't recommend. You get one account for free with Unfuddled.

Upvotes: 1

Related Questions