首页 > 技术文章 > pycharm 安装

zyqy 2018-06-27 20:18 原文

pycharm

1、模板

  file->setting->Editor->file and code template->python script->右上方

    #!/usr/bin/env python

    #-*- coding:utf-8 -*-

  OK

2、文字大小

  file->settings->editor->color and font->font->save as .. ->18

3、运行

  a、点击要运行的文件,右键 run

  b、

    view=>toolbar

    选中要执行的文件

    点击 > 运行

    c、在当前文件空白处,右键,run

 

4、切换py版本

  file->settings->project interpreter->选择版本

 

推荐阅读