Python Basics:
One
1. Installation and installation of environment
Installing a Linux system on a Windows system
① Installing virtual machines VMware workstation--> Baidu See Tutorial (Virtual machine install Linux (ENTOS7 SSH is installed by default))
②windows install Xshell and SECURECRT 8.1 remote software to operate the Linux system in the virtual machine
2. Install Python
Install the PY environment on the ①win system:
Official website Download puthon3.0
Installing python3.0
Configuring Environment variables
3. Running Code
Python e:\hello.txt
Second, Linux Basic command:
PWD up one step
CD to Directory
Ls View Directory
Ls-l listing the current directory detail file information
Cd.. Return to previous level directory
LS-LH Expand file Information in detail
Ls-a Viewing hidden files
Vim. Text Create a hidden file
Ls-a Show hidden files
Vim For_tao into the black window-"Press the I key to enter the editing mode-" Press ESC exit-"shift+:--" input wq--> Enter to save
Cat For_tao Viewing file contents
More For_tao View file Contents Space Key page
MkDir zu Creating a directory
MV For_tao zu/Move For_tao to the Zu directory.
Cd.. /.. /.. /.. /Once back to level four directory
Mkdir-p cn/hubei/wuhan/huangang/t Creating a directory recursively
Ls CN view CN under Directory
Tree CN Displays the structure of the CN directory
Vim For_tao Open content file editing
Python Basics —————— Linux basic commands