|||
ArcGIS在安装时就已经默认在本机安装了Python。可是,Python Shell的界面看起来太亮了,对眼睛不太好啊,如图 1。
图 1
在网上搜索一番,之前也有和我同样问题的帖子,不过,时间有点久了,具体的设置还是有点变化,我在下面再叙述一下。
Installing:
1.Close IDLE (if open)
2.Add the lines below to ~ArcGIS10.2/Lib/idlelib/config-highlight.def
3.Start IDLE
4.Click Options -> Configure IDLE
5.Click the Highlighting tab
6.Select a Built-in Theme, convert IDLE New to desert
7.Select desert
8.Click OK
代码:
[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
(对于自定义有兴趣的同学,还可以将以上的颜色进行修改,注意这些颜色都是十六进制的(Hex),RGB2Hex)
最终的结果:
图 2
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-6-3 22:06
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社