• 在Github上申请token

Github Personal access tokens

  • pycharm 设置github token
    Preferences->Version Control->GIthub

  • pycharm上新建project,名字 python_crawler。

1
2
3
4
5
cd /Users/jinlong/PycharmProjects/python_crawler

pipenv --python=/Users/jinlong/.pyenv/versions/3.6.3/bin/python

sed -i "" "s/python.org/douban.com/g" Pipfile
  • 设置pycharm的python解释器
    Preferences->Project:python_crawler->Project Interpreter

  • 设置pycharm下的github

VCS->Import into Version Control->Share Project On Github

PyCharm 配置

  • Tab键设置成4个空格
    Preferences->Editor->Code Style->Python->Use tab character 取消勾选

  • 调整字母长度分割线
    Preferences->Editor->Code Style->Right margin(columns) 设置为80

  • 文件模板
    Preferences->Editor->File and Code Templates

    Enable Live Templates

1
2
3
4
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'ovwane'
__date__ = '$DATE $HOUR:$MINUTE'

Pycharm安装、设置、优化

Google 开源项目风格指南-Python 风格指南 - 内容目录

PyCharm插件

Mongo Plugin

Markdown Navigator
Markdown support

Python工具

nmap
pip install python-nmap

×

纯属好玩

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

文章目录
  1. 1. PyCharm 配置
  2. 2. PyCharm插件
  3. 3. Python工具
,