IDLE设置主题

来源:互联网 发布:时间碎片交友软件 编辑:程序博客网 时间:2024/06/07 09:09

步骤1

1.1 自己创建cfg文件

在路径为:C:\Users\<用户名>.idlerc\文件夹目录下创建config-highlight.cfg文件。
如果找不到.idlerc\目录,可以使用everything软件搜索关键字找到该目录。

打开cmd,进入到.idlerc\文件夹,写入config-highlight.cfg文件:

dir>config-highlight.cfg

打开新建的config-highlight.cfg文件,输入以下代码:

[Obsidian]definition-foreground = #678CB1error-foreground = #FF0000string-background = #293134keyword-foreground = #93C763normal-foreground = #E0E2E4comment-background = #293134hit-foreground = #E0E2E4builtin-background = #293134stdout-foreground = #678CB1cursor-foreground = #E0E2E4break-background = #293134comment-foreground = #66747Bhilite-background = #2F393Chilite-foreground = #E0E2E4definition-background = #293134stderr-background = #293134hit-background = #000000console-foreground = #E0E2E4normal-background = #293134builtin-foreground = #E0E2E4stdout-background = #293134console-background = #293134stderr-foreground = #FB0000keyword-background = #293134string-foreground = #EC7600break-foreground = #E0E2E4error-background = #293134[tango]definition-foreground = #fce94ferror-foreground = #fa8072string-background = #2e3436keyword-foreground = #8cc4ffnormal-foreground = #ffffffcomment-background = #2e3436hit-foreground = #ffffffbreak-foreground = #000000builtin-background = #2e3436stdout-foreground = #eeeeeccursor-foreground = #fce94fhit-background = #2e3436comment-foreground = #73d216hilite-background = #edd400definition-background = #2e3436stderr-background = #2e3436break-background = #2e3436console-foreground = #87ceebnormal-background = #2e3436builtin-foreground = #ad7fa8stdout-background = #2e3436console-background = #2e3436stderr-foreground = #ff3e40keyword-background = #2e3436string-foreground = #e9b96ehilite-foreground = #2e3436error-background = #2e3436

保存退出,跳到步骤2,设置主题

拷贝cfg文件

  1. 下载config-highlight.cfg文件
  2. 链接:http://pan.baidu.com/s/1i3HBbLV 密码:120x
  3. 跳到步骤2,设置主题

步骤2 设置主题

Python自带的IDLE配色:打开IDLE -> option -> configure IDLE
这里写图片描述

0 0
原创粉丝点击