r/learnpython • • 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

111 comments sorted by

View all comments

10

u/zealseeker_yang Jun 09 '20

Never be too early to use GitHub (GitLab or other platform). But understand Git first.

2

u/peeledbananna Jun 09 '20

Does the git command also work for gitlab also, Or do I need a seperate tool for it.

4

u/caveat_cogitor Jun 10 '20

Yea pretty much any git-based site/tool like Github/Gitlab allows you to use standard git command line protocol to interact with it. So you can just use the core git functionality the same between these tools, and then each of them also provides their own GUI and tools/features on top of that base functionality. It is a great idea to start learning git and integrate it into your project so that you don't have a near-finished project while you are just barely learning git. Also it can provide some safety from making mistakes in your code, since you can version-control it and roll back and view previous versions in case you broke or accidentally deleted something.

1

u/peeledbananna Jun 10 '20

Thanks for the through explanation. It's good to know I can use one command. But from what I understand I can create my own gitlab and just host it at home for private use. So maybe I'll look into gitlab a little more.