【pycharm编辑器】python的pycharm编辑器

Pycharm

  1丶模板

  设置模板的位置:file -> settings -> Editor -> file and code template -> python script -> 右上方

    设置python文件的默认模板内容

    #!/usr/bin/env python

    # -*- coding:utf-8 -*-
    点击OK
  2丶设置文字大小
    file->settings -> Editor -> color and font -> save as .. -> 要设置的大小
  3丶运行
    a.点击要运行的文件,右键run
    b.view->toolbar
     选中要执行的文件
      点击运行
    c.当前文件的空白处,右键,run
  4丶切换py版本
    file ->   settiing ->project interpreter ->选择版本
posted @ 2017-05-31 14:11  丰study  阅读(185)  评论(0)    收藏  举报