Python Practice Project
in your command prompt check if python is installed py --version
to download visit https://www.python.org/downloads/ click download python
you will get one .exe file click it to install that's it.
open command prompt and check again py --version
========================================== Python Tutorial URL https://docs.python.org/3.11/tutorial/index.html
========================================== Download Pycharm Destination Folder installs at C:\Program Files\JetBrains\PyCharm Community Edition 2022.2.4 Select all check box and click next
====
Open pycharm >> New Project Location: C:\Users\rites\PycharmProjects\pythonProject
Python Interpreter - New Environment Using Virtualenv
Location C:\Users\rites\PycharmProjects\pythonProject\venv Base interpreter - python exe location
===
Moving your code to github repository for first time (existing project to GIT)
First Initialize your project to a git repository locally Go into the directory containing the project. Open Git bash Type git init (initialized git repository) Type git add . (adds all files) Type git commit -m "Initializing Python Project"
Then Go to github UI Go to github. Log in to your account. Click Repositories -> Click the new repository button in the top-right. You’ll have an option there to initialize the repository with a README file, but I don’t. Click the “Create repository” button. https://github.com/riteshGM/pythonProject.git
In your git bash $ git remote add origin https://github.com/riteshGM/pythonProject.git $ git push -u -f origin master
========