Python Forum
Seeking Advice: Multiple workstations for one project
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Seeking Advice: Multiple workstations for one project
#1
Hi everyone,



A bit of background. I'm new to python and I've started doing the Kaggle.com "competitions" (only the ones for knowledge/learning). My current set up is a Windows desktop and a macbook. Ideally, I'd like to be able to work on the same project on both computers so my question is for programmers here to see if I can get some direction. 

Do you work on multiple work stations for your projects? I suppose this would be the same as having a team work on one project.

Is Github my best route? Obviously the file paths on my mac and PC won't be the same so I'm trying to see if Github or another site/program will host my raw data files. 

Has anyone used Jupyter notebooks to collaborate? Or is this mostly reserved for individual use?

Any help and advice would be much appreciated.

Thanks!
Reply
#2
1) You can upload your project at GitHub with their desktop tool from your windows
https://desktop.github.com/

2) i work with Linux,Mac and Windows.

3) for os specific paths i intend to write an abstract OSlib which it will handle internal the paths, openfile etc
and the user will see a simple interface to handle files. But so far i haven't written it.

For details about os and path manipulation see
https://docs.python.org/2/library/os.path.html

You can find some path manipulation libs like http://rpaths.readthedocs.io/en/0.12/ or https://pypi.python.org/pypi/betterpath/0.2.2 or https://github.com/mikeorr/Unipath

or you can create your own
Reply
#3
(Oct-16-2016, 07:09 PM)mfayler Wrote: Do you work on multiple work stations for your projects? I suppose this would be the same as having a team work on one project.

Is Github my best route? Obviously the file paths on my mac and PC won't be the same so I'm trying to see if Github or another site/program will host my raw data files.
I initially learned and used github for this sole purpose. It makes it really easy to work on multiple computers. For example, ill make a program to work in linux, upload to github, then pull from a windows desktop 2 feet away, test it to make sure it works in windows OK, etc. The same if i upload my code from my desktop to my repo...then take my netbook and have access to it, etc. 

Also by using it you'll start to learn git and and its other features that make it crucial if you plan on working with others in the future. Even features by yourself are useful.
Recommended Tutorials:
Reply
#4
i work with only Linux and i have 117 virtual desktops to work on my projects with.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#5
Thanks for the responses. So if I upload my raw data to Github, can I run code referencing the files on Github or do I need to reference my local drive? The reason I ask, is if I write my code referencing local files, when I push it back to Github, won't it still try to reference my local drive and not the Github files?
Reply
#6
You dont run anything on github. Everything is ran on your local hard drive. When you "pull" your are downloading the changes, when you "push" you are uploading the changes, etc.
Recommended Tutorials:
Reply
#7
(Oct-18-2016, 08:08 PM)mfayler Wrote: So if I upload my raw data to Github, can I run code referencing the files on Github or do I need to reference my local drive?
Watch this video Make Your First Contribution on GitHub.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  seeking names for my functions Skaperen 0 993 Sep-25-2022, 10:56 PM
Last Post: Skaperen
  March Madness - Please give advice on my project thought PrasadPython 2 2,477 Mar-20-2019, 12:59 AM
Last Post: PrasadPython
  SEEKING BETA TESTERS W/ PYTHON EXPERIENCE ltarshis 0 1,677 Feb-19-2019, 06:24 PM
Last Post: ltarshis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020