Answer the question
In order to leave comments, you need to log in
Synchronizing Python folders across computers?
Now I'm learning python. I try it a little at home, then at work. Naturally, I import third-party packages from PyPI into Python, etc. The situation is that I now have C:\Python33 folders of different contents on different computers (at home and at work). With the help of SugarSync I want to try to synchronize them. Will such a chip work? Will python programs start and run correctly on both computers in this case?
Answer the question
In order to leave comments, you need to log in
I would advise using virtualenv + requirements.txt and not thinking about synchronization.
Of course, I did not work with SugarSync, but you can definitely use DropBox. Moreover, you are learning to program in python, so make a simple copy script from the dropbox folder.
And if the bitness is different, then I can advise you to still install pip (probably under windows you need to somehow add it to PATH, or call python pip install PACKAGE), and synchronize the tree of installed packages. In structured python code that can be modified, you can get a list of installed packages like this:
import pkgutil
for i in pkgutil.iter_modules():
print i
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question