python设置黑色主题_Python背景色与语法高亮主题配置
使用python idle的人恐怕都无法忍受默认的白色背景,及其语法高亮主题。
大家更倾向于使用黑色背景。
下面介绍Obsidian, Desert, 和Tango三种主题配置
在 用户目录 的.idlerc 目录下新建名为 config-highlight.cfg 文件,并加入如下内容
[tango]
definition-foreground = #fce94f
error-foreground = #fa8072
string-background = #2e3436
keyword-foreground = #8cc4ff
normal-foreground = #ffffff
comment-background = #2e3436
hit-foreground = #ffffff
break-foreground = #000000
builtin-background = #2e3436
stdout-foreground = #eeeeec
cursor-foreground = #fce94f
hit-background = #2e3436
comment-foreground = #73d216
hilite-background = #edd400
definition-background = #2e3436
stderr-background = #2e3436
break-background = #2e3436
console-foreground = #87ceeb
normal-background = #2e3436
builtin-foreground = #ad7fa8
stdout-background = #2e3436
console-background = #2e3436
stderr-foreground = #ff3e40
keyword-background = #2e3436
string-foreground = #e9b96e
hilite-foreground = #2e3436
error-background = #2e3436
[desert]
definition-foreground = #98fb98
error-foreground = #ff0000
string-background = #333333
keyword-foreground = #cc6600
normal-foreground = #f0e68c
comment-background = #333333
hit-foreground = #ffffff
break-foreground = black
builtin-background = #333333
stdout-foreground = #eeeeee
cursor-foreground = #ffcc00
hit-background = #333333
comment-foreground = #87ceeb
hilite-background = gray
definition-background = #333333
stderr-background = #333333
break-background = #ffff55
console-foreground = #87ceeb
normal-background = #333333
builtin-foreground = #519e51
stdout-background = #333333
console-background = #333333
stderr-foreground = #ff3e40
keyword-background = #333333
string-foreground = #ffa0a0
hilite-foreground = #000000
error-background = #000000
[Obsidian]
definition-foreground = #678CB1
error-foreground = #FF0000
string-background = #293134
keyword-foreground = #93C763
normal-foreground = #E0E2E4
comment-background = #293134
hit-foreground = #E0E2E4
builtin-background = #293134
stdout-foreground = #678CB1
cursor-foreground = #E0E2E4
break-background = #293134
comment-foreground = #66747B
hilite-background = #2F393C
hilite-foreground = #E0E2E4
definition-background = #293134
stderr-background = #293134
hit-background = #000000
console-foreground = #E0E2E4
normal-background = #293134
builtin-foreground = #E0E2E4
stdout-background = #293134
console-background = #293134
stderr-foreground = #FB0000
keyword-background = #293134
string-foreground = #EC7600
break-foreground = #E0E2E4
error-background = #293134
重启IDLE,依次选 Options -> Configure IDLE -> Highlighting 如下图
本文原创发布php中文网,转载请注明出处,感谢您的尊重!
python设置黑色主题_Python背景色与语法高亮主题配置相关推荐
- python代码颜色搭配_修改Python IDLE代码配色及语法高亮主题
文章1 原出处:http://wangye.org/blog/archives/634/ 文章2 原出处:http://huacnlee.com/blog/share-someting-python- ...
- python配色_[转]修改Python IDLE代码配色及语法高亮主题
转自:https://wangye.org/blog/archives/634/ 初学Python,想必大家拿来练习最多的IDE就是Python自带的IDLE了,但是默认的代码配色及语法高亮主题确实很 ...
- python设置环境变量_Python设置环境变量
python设置环境变量 We can set an environment variable in Python using os module. Python os module environ ...
- 设置nesC在vim中的语法高亮
默认的vim没有支持nesC语法高亮,给阅读源码带来不便.不过可以通过装NesC Syntax Highlighting插件来解决这个问题,具体操作如下: 步骤一:下载插件 在http://www.v ...
- Question2Answer的安装和语法高亮的配置
最近在工作感觉同事之间交流时总是会问一些相同的问题,于是给我们部门老大建议搭建一个论坛或者问答形式的网站来提高效率 老大很快就答应了,于是我就开始选择选用什么来搭建了,做网站虽然和我目前的工作无关,但 ...
- python设置文件权限_Python os.chmod() 方法
Python os.chmod() 方法 概述 os.chmod() 方法用于更改文件或目录的权限. 语法 chmod()方法语法格式如下: os.chmod(path, mode) 参数 path ...
- python设置窗口焦点_Python Tkinter PanedWindow窗口布局管理
PanedWindow小部件的作用类似于Container小部件,其中包含一个或多个水平或垂直排列的子窗口小部件(窗格).通过使用鼠标移动称为框格的分隔线,用户可以调整子窗格的大小. 每个窗格仅包含一 ...
- python设置excel自动换行_python操作excel
python操作Excel openpyxl模块 0.介绍 openpyxl是一个Python库,用于读取/写入Excel 2010 xlsx / xlsm / xltx / xltm文件. 它的诞生 ...
- python标识符的特点_Python语言基础-语法特点、保留字与标识符、变量、基本数据类型、运算符、基本输入输出、Python2.X与Python3.X区别...
Python语言基础 1.Python语法特点 注释: 单行注释:# #注释 单行注释分为两种情况, 例:第一种 #用于计算bim数值 bim=weight/(height*height) 第二种: ...
最新文章
- 启动 ServiceFabric Windows服务报1053
- AngularJs快速上手掌握
- 释放skb buffer指针引出的指针传递问题
- win7下删除提示没权限删除文件的方法
- nginx php空白页 fastcgi_param
- 吴恩达机器学习作业(1):线性回归
- daily scrum 12.2
- mybatis关于factorybean疑问
- 在一起计时器_奇妙物理·高中篇:打点计时器基本介绍
- ST-Link系列usb驱动器下载
- python实现A星算法(寻路)
- 优启通制作系统u盘_IT天空优启通(U盘PE制作助手)制作U盘PE启动图文教程
- 价格操控:大数据“杀熟”和算法合谋
- c语言地址符作用,理解C语言取地址符
- python转化时区
- 80个让你笑爆肚皮的程序员段子,不好笑算我输!
- vue报错:vue.js:634 [Vue warn]: Cannot find element: #app
- Vue.js devtools官网最新下载 中文,绿色版Vue.js devtools下载谷歌插件
- 手机端网站服务器软件,手机端远程连接服务器的软件
- 做游戏,不加班行不行?
热门文章
- CTS 2019 Pearl
- @codeforces - 553E@ Kyoya and Train
- 微软Power BI报表服务器学习总览
- [转]SQL中的case when then else end用法
- bzoj 1070: [SCOI2007]修车【最小费用最大流】
- Educational Codeforces Round 25 E. Minimal Labelshdu1258
- 数据库设计 Assignment 02
- 各个页面样子的实现与演示
- js-sdk探索之微信网页分享
- Ext.chart.Chart 显示图标 -- 本地数据