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.ClickOptions ->Configure IDLE
5.Click the Highlighting tab
6.Selecta Built-in Theme,convertIDLE Newtodesert
7.Selectdesert
8.ClickOK
代码:
[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
转载本文请联系原作者获取授权,同时请注明本文来自李旭科学网博客。
链接地址:http://blog.sciencenet.cn/blog-1148346-802805.html
上一篇:ArcGIS10.2:Add X Y Data
下一篇:Python:win32com