Python
Linux系统安装Python
wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz
cp Python-3.6.4.tgz /usr/local/src/
cd /usr/local/src/
tar -zxvf Python-3.6.4.tgz
cd ./Python-3.6.4
./configure --prefix=/usr/local/python3.6
make && make install
ln -s /usr/local/python/bin/python3.6 /usr/bin/python3
Windows系统安装Python
C:\Users\FlyWu\AppData\Local\Programs\Python\Python36-32
C:\Users\FlyWu\AppData\Local\Programs\Python\Python36-32\Scripts
PyCharm
专业版激活:
https://blog.csdn.net/u014044812/article/details/78727496
Ctrl + c 复制,如果没有选中则复制整行
Ctrl + x 剪贴,如果没有选中则剪贴整行
shift + enter 直接从中间切换到下一行
Ctrl + d 快速复制并粘贴这一行
Ctrl + shif + n 查找
Ctrl + shif + f 查找文件
Ctrl + 鼠标左键 查看块的源码
Ctrl + alt + 方向左/右键 注意和系统屏幕设置的快捷键冲突
Ctrl + a;
ctrl + alt + l
Alt + enter
Ctrl + / 添加注释
Ctrl + \ 取消注释
Tab shift +tab
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2018/3/28 23:23
# @Author : flywyu
# @File : test1.py
name = input("print input your name: ")
print("hello " + name)