Today I find the web of CS50's class which I should take at the first time in python. The content is about VSC:Visual Studio Code for CS50. I click the linkage and my VSC code space has something that change like CS50 class's.
Bascically, I will learn some terminal command:
1)
ls: list all of the files int your current folder.
cp: allow you to copy a file from one place to another.
mv: allow you to move file or really rename it from one name to another.
rm: for remove, which allow you to delete a file.
mkdir: make dir or mkdir which allow you to make a directory that is a folder.
cd: which allow you to change directories from one folder to another.
rmdir:which allow you to remove a directory.
clear: clear your terminal window.
2)
ls
cd ''folder_name''/
mv farewall.py ..
⬆️1·list all of the files int your current folder. 2· take the ''folder_name''file. 3· move it to farewall.py .
(dot,dot is a symbolic representation of whatever the parent directory is,no matter what its name is.)
3)cd .. #Go back to parent directory.
4)cd#you want to go back to the default dirctory in which you began when you logged in, just type CD then Enter.
5)redir ''floder name'' #remove folder directly.
6)Python can use the most mathmaticaly assign: <——>
7)Pythonic Expression:
<——>
<—— --->
<——>
8)match technique(similar like switch case in C).
8.1
8.2) _ is means NULL(C type) in Python