How to publish a Python project on Github?

ACHF

Junior Member
Joined
Mar 20, 2021
Messages
112
Reaction score
70
Hello.

So I just finished my little project in Python. I'm learning PySimpleGUI and I'm coding little examples to learn it better. I want to keep all my projects on my Github, but I don't know which files should go and which files should stay. Do I just upload autoPassGen.py or is there any more magic tricks?

This is the project folder.

out.png


And this is the inside of autoPAssGenerator folder:

in.png


So which files should I upload to my Github repo?

Thanks.
 
1) install the GIT program.
2) Go to github and create a new repo.
3) Push the green button that says Code and copy the link, example: h****://github.com/***/***.git
4) go to the command line and run the next command:
git clone <put the address obtained in the point 3>
5) and copy this folder together with the folder of your project.
6), then go (using the command line) to the new folder and runs the next command:
got push
 
1) install the GIT program.
2) Go to github and create a new repo.
3) Push the green button that says Code and copy the link, example: h****://github.com/***/***.git
4) go to the command line and run the next command:
git clone <put the address obtained in the point 3>
5) and copy this folder together with the folder of your project.
6), then go (using the command line) to the new folder and runs the next command:
got push

That was what I exactly need. Tysm mate.
 
didnt you think of searching this question on google?
 
That was what I exactly need. Tysm mate.
Other way do it manually from commandline like:

Code:
git init
git remote add origin https://github.com/yourRepo
git commit -m "Commit text"
git push
 
Use Pycharm, it support auto push project to Github via VCS control
 
Back
Top