Learn Python
Today (24.04.2021) I start learning Python (Python 3.9 _ 64-bit).so first of all we need to install python using official website i.e. https://www.python.org/downloads/
and download Visual Studio code using their official website i.e. https://www.code.visualstudio.com/
Basic commands are given below which we need to know before making any project in python:-
- # comment out anything (ctrl+/)
- Ctrl+\ :- to make multi open tabs in VS CODE
- PWD:- Print work directory
- CD:- Change Directory
- LS:-
- MKDIR:- Make directory
- CLEAR:- Clear all previous commands
- TOUCH:- make any new file
- RM:- Remove any file
- RRM:- Remove any folder
- MV:- Rename ‘current name’ ‘new name’
- MV:- Move and file from one folder to another ‘file name’ ‘new path’
- RRM:- Folder remove
- CP:- Copy
- . :- Single dot #current path to next folder
- .. :- Double dot # one step back
- Print ("Hello World") :- Parenthesis
Escape Sequence
- \' :- Single Quote
- \":- Double Quote
- \\ :- Backslash
- \n :- New Line
- \t :- Tab
- \b :- Backspace
Comments
Post a Comment