Welcome to GitHub Pages to start writing python codes
Terminal(Mac)/Command Prompt(Windows)
To upgrade pip in python use the command:
python -m pip install –upgrade pip
To install a module in the Terminal(Mac)/Command Prompt(Windows), e.g. numpy write:
python3.8 -m pip install numpy
helpful functions in the Terminal(Mac)/Command Prompt(Windows)
pip –help
It list helpful functions
run the script analysisscript.py in Python then will the program run the two scripts simulatedata.py and simplefct.py.
mac: obtain the path by write $pwd$ use $cd$ add to the path use $ls$ will tell what the folder contain files and subfolders
write $python3.8 filename.py$ to excite the command
pc: use $cd$ to change the path use $dir$ will tell what the folder contain files and subfolders
write $python filename.py$ to excite the command