/usr/lib64/python2.6/site-packages/pynche
NameSizeModeActions
X/-0755rm
ChipViewer.py49980644editdlrm
ChipViewer.pyc55050644editdlrm
ChipViewer.pyo55050644editdlrm
ColorDB.py89410644editdlrm
ColorDB.pyc97510644editdlrm
ColorDB.pyo97510644editdlrm
DetailsViewer.py101150644editdlrm
DetailsViewer.pyc106410644editdlrm
DetailsViewer.pyo106410644editdlrm
html40colors.txt2450644editdlrm
ListViewer.py66480644editdlrm
ListViewer.pyc72220644editdlrm
ListViewer.pyo72220644editdlrm
Main.py64000644editdlrm
Main.pyc63410644editdlrm
Main.pyo63410644editdlrm
namedcolors.txt57160644editdlrm
pyColorChooser.py37680644editdlrm
pyColorChooser.pyc44530644editdlrm
pyColorChooser.pyo44530644editdlrm
pynche1790755editdlrm
PyncheWidget.py105010644editdlrm
PyncheWidget.pyc111460644editdlrm
PyncheWidget.pyo111460644editdlrm
README157840644editdlrm
StripViewer.py154650644editdlrm
StripViewer.pyc139040644editdlrm
StripViewer.pyo137480644editdlrm
Switchboard.py48170644editdlrm
Switchboard.pyc60910644editdlrm
Switchboard.pyo60910644editdlrm
TextViewer.py68690644editdlrm
TextViewer.pyc74100644editdlrm
TextViewer.pyo74100644editdlrm
TypeinViewer.py61020644editdlrm
TypeinViewer.pyc64700644editdlrm
TypeinViewer.pyo64700644editdlrm
webcolors.txt30880644editdlrm
websafe.txt17490644editdlrm
__init__.py470644editdlrm
__init__.pyc1400644editdlrm
__init__.pyo1400644editdlrm
Edit: /usr/lib64/python2.6/site-packages/pynche/Main.pyc (6341B)
Ñò «gc@s.dZdZddkZddkZddkZddkZddklZddklZddklZddk l Z ddk l Z ei d Z d Z d Zd d eiieid dƒgZd„Zdd„Zd„Zdddddd„Zd„Zd„Zedjo eƒndS(sPynche -- The PYthon Natural Color and Hue Editor. Contact: %(AUTHNAME)s Email: %(AUTHEMAIL)s Version: %(__version__)s Pynche is based largely on a similar color editor I wrote years ago for the SunView window system. That editor was called ICE: the Interactive Color Editor. I'd always wanted to port the editor to X but didn't feel like hacking X and C code to do it. Fast forward many years, to where Python + Tkinter provides such a nice programming environment, with enough power, that I finally buckled down and implemented it. I changed the name because these days, too many other systems have the acronym `ICE'. This program currently requires Python 2.2 with Tkinter. Usage: %(PROGRAM)s [-d file] [-i file] [-X] [-v] [-h] [initialcolor] Where: --database file -d file Alternate location of a color database file --initfile file -i file Alternate location of the initialization file. This file contains a persistent database of the current Pynche options and color. This means that Pynche restores its option settings and current color when it restarts, using this file (unless the -X option is used). The default is ~/.pynche --ignore -X Ignore the initialization file when starting up. Pynche will still write the current option settings to this file when it quits. --version -v print the version number and exit --help -h print this message initialcolor initial color, as a color name or #RRGGBB format s1.4.1iÿÿÿÿN(t PyncheWidget(t Switchboard(t StripViewer(t ChipViewer(t TypeinVieweris Barry Warsawsbarry@python.orgs/usr/openwin/lib/rgb.txts/usr/lib/X11/rgb.txts X/rgb.txtcCs ttƒS(N(t__doc__tglobals(((s1/usr/lib64/python2.6/site-packages/pynche/Main.pyt docstringSstcCs)tƒGH|o |GHnti|ƒdS(N(Rtsystexit(tcodetmsg((s1/usr/lib64/python2.6/site-packages/pynche/Main.pytusageWs cCs¥|d„}||ƒ\}}}|djo|d|ƒ\}}}n|djo"dG|GH|dƒ\}}}n|djotddƒn|||fS(NcSsxy|i|ƒ\}}}WnLtij o=yti|ƒ\}}}Wqktij odSXnX|||fS(N(NNN(t find_bynametColorDBtBadColortrrggbb_to_triplettNone(tstcolordbtrtgtb((s1/usr/lib64/python2.6/site-packages/pynche/Main.pyt scan_coloras t#s Bad initial color, using gray50:tgray50is#Cannot find an initial color to use(RR (RRRRRR((s1/usr/lib64/python2.6/site-packages/pynche/Main.pyt initial_color_s     cCst| o|ƒ}|djo|iƒidƒ}nd}t}|djo|iƒ}nxm|djo_yti|ƒ}Wntt fj onX|djo|pPn|idƒ}qgqgW|pt ddƒn|i |ƒt t |d|ƒ}|iƒ} |it|| ƒƒ|it|| ƒƒ|it|| ƒƒ|djo€|iƒ} | idƒ} | idƒ} | idƒ} | djp| djp | djotd |ƒ\} } } qnt||ƒ\} } } |i| | | ƒ||fS( NtDBFILEiis0No color database file found, see the -d option.tmastertREDtGREENtBLUEtgrey50(RRtoptiondbtgettRGB_TXTtpopRt get_colordbtKeyErrortIOErrorR t set_colordbRt __version__twindowtadd_viewRRRRt update_views(Rt initialcolortinitfiletignoretdbfileRRtfilestapptwR"tredtgreentblue((s1/usr/lib64/python2.6/site-packages/pynche/Main.pytbuild{sF        ' cCs(y|iƒWntj onXdS(N(tstarttKeyboardInterrupt(R3R((s1/usr/lib64/python2.6/site-packages/pynche/Main.pytrun¯sc Cs¦y5titidddddddgƒ\}}Wn%tij o}td|ƒnXt|ƒdjo d}n,t|ƒdjo|d}n tdƒt}d}ti i d ƒ}xž|D]–\}}|djotdƒqÊ|djodt ƒGHti dƒqÊ|djo |}qÊ|djo t }qÊ|djo |}qÊqÊWtd|d|d|d|ƒ\} } t| | ƒ| iƒdS(Nishd:i:Xvs database=s initfile=R0thelptversionis ~/.pynches-hs--helps-vs --versionsxPynche -- The PYthon Natural Color and Hue Editor. Contact: %(AUTHNAME)s Email: %(AUTHEMAIL)s Version: %(__version__)ss-ds --databases-Xs--ignores-is --initfileR.R/R1(s-hs--help(s-vs --version(s-ds --database(s-Xs--ignore(s-is --initfile(tgetoptR targvterrorR tlenRtFalsetostpatht expanduserRR tTrueR8R;t save_views( toptstargsR R.R0R1R/topttargR3tsb((s1/usr/lib64/python2.6/site-packages/pynche/Main.pytmain·sD "             t__main__(RR*R RCR>RRRRRRR?tPROGRAMtAUTHNAMEt AUTHEMAILRDtjoinR$RR RRR8R;RMt__name__(((s1/usr/lib64/python2.6/site-packages/pynche/Main.pyt/s2          3  -