Archive: 2019/8
Modules and Packages
1. Modules A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py appended. Within a module, the module’s name (as a string) is ava
Network Configuration and Troubleshooting
1. ifconfig commandifconfig (interface configurator) command is use to initialize an interface, assign IP Address to interface and enable or disable interface on demand. 12345678910111213141516171
python installer
Installerubuntumethod 1123456789# To enable universe repository> sudo add-apt-repository universe> sudo add-apt-repository main> sudo add-apt-repository restricted> sudo add-apt-reposito
python virtualenv
VirtualenvInstallation1> pip install virtualenv User Guide1. use the same version12# 虚拟Python环境 ENV is path> virtual ENV 2. different python version123# PYTHON: 指定使用Python版本(C:\Python27\pyth
Jupyter Notebook
Basic指定端口运行1> jupyter notebook --port portnum(9999) 指定启动目录1> jupyter notebook --notebook-dir dir_path 开启Notebook,不默认打开browser1> jupyter notebook --no-browser HELP1> jupyter notebook -