r/learnpython • u/[deleted] • Jun 09 '20
Github as a beginner
As a beginner learning python, is it too early to create and start coding simple projects on Github. and how do I transfer these codes (simple calculators) to a website I build subsequently?
401
Upvotes
9
u/Rusca8 Jun 09 '20
Not sure on what you mean by "transfer to a website". But with git you can copy stuff from one place to another (you can have different copies of the same code in different places and upload or download whenever you make changes.
You're looking for
clonethe first time you copy it, and thenpushorpullto upload or download (typically to github or from github, if you use github as the way to connect everything).I have a website made with flask in pythonanywhere and I do exactly that: I work at my laptop in pycharm and upload (
push) stuff to github, and then from the pythonanywhere console I download (pull) those changes from github.