404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.222.162.161: ~ $
�
��^c@s,dZdZddlZddlZddlZddlZddlmZddlmZddlmZddl	m	Z	ddl
m
Z
ejd	Zd
Z
dZdd
ejjejd	d�gZd�Zdd�Zd�Zdddddd�Zd�Zd�Zedkr(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(tSwitchboard(tStripViewer(t
ChipViewer(tTypeinViewerisBarry Warsawsbarry@python.orgs/usr/openwin/lib/rgb.txts/usr/lib/X11/rgb.txts	X/rgb.txtcCstt�S(N(t__doc__tglobals(((s1/usr/lib64/python2.7/site-packages/pynche/Main.pyt	docstringSstcCs't�GH|r|GHntj|�dS(N(Rtsystexit(tcodetmsg((s1/usr/lib64/python2.7/site-packages/pynche/Main.pytusageWscCs�|d�}||�\}}}|dkrI|d|�\}}}n|dkrvdG|GH|d�\}}}n|dkr�tdd�n|||fS(NcSsty|j|�\}}}WnHtjk
rfytj|�\}}}Wqgtjk
rbdSXnX|||fS(N(NNN(tfind_bynametColorDBtBadColortrrggbb_to_triplettNone(tstcolordbtrtgtb((s1/usr/lib64/python2.7/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.7/site-packages/pynche/Main.pyt
initial_color_s	cCs	t|o
|�}|dkr7|j�jd�}nd}t}|dkr_|j�}nxe|dkr�ytj|�}Wntt	fk
r�nX|dkrb|s�Pn|jd�}qbqbW|s�t
dd�n|j|�tt
|d|�}|j�}	|jt||	��|jt||	��|jt||	��|dkr�|j�}
|
jd�}|
jd�}|
jd�}
|dks�|
dks�|dkr�td	|�\}}}
q�nt||�\}}}
|j|||
�||fS(
NtDBFILEiis0No color database file found, see the -d option.tmastertREDtGREENtBLUEtgrey50(RRtoptiondbtgettRGB_TXTtpopRtget_colordbtKeyErrortIOErrorR
tset_colordbRt__version__twindowtadd_viewRRRRtupdate_views(RtinitialcolortinitfiletignoretdbfileRRtfilestapptwR"tredtgreentblue((s1/usr/lib64/python2.7/site-packages/pynche/Main.pytbuild{sD
$cCs&y|j�Wntk
r!nXdS(N(tstarttKeyboardInterrupt(R3R((s1/usr/lib64/python2.7/site-packages/pynche/Main.pytrun�s
c	Cs�y5tjtjdddddddg�\}}Wn#tjk
rZ}td|�nXt|�dkrvd}n)t|�dkr�|d}n
td�t}d}tj	j
d	�}x�|D]�\}}|dkr�td�q�|dkrdt�GHtjd�q�|dkr&|}q�|dkr;t
}q�|dkr�|}q�q�Wtd|d|d|d|�\}	}
t|	|
�|
j�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.7/site-packages/pynche/Main.pytmain�sB
"	


		

t__main__(RR*R	RCR>RRRRRRR?tPROGRAMtAUTHNAMEt	AUTHEMAILRDtjoinR$RR
RRR8R;RMt__name__(((s1/usr/lib64/python2.7/site-packages/pynche/Main.pyt<module>/s2
		3		-

Filemanager

Name Type Size Permission Actions
X Folder 0755
ChipViewer.py File 4.88 KB 0644
ChipViewer.pyc File 5.37 KB 0644
ChipViewer.pyo File 5.37 KB 0644
ColorDB.py File 8.73 KB 0644
ColorDB.pyc File 9.46 KB 0644
ColorDB.pyo File 9.46 KB 0644
DetailsViewer.py File 9.88 KB 0644
DetailsViewer.pyc File 10.32 KB 0644
DetailsViewer.pyo File 10.32 KB 0644
ListViewer.py File 6.49 KB 0644
ListViewer.pyc File 7.03 KB 0644
ListViewer.pyo File 7.03 KB 0644
Main.py File 6.25 KB 0644
Main.pyc File 6.14 KB 0644
Main.pyo File 6.14 KB 0644
PyncheWidget.py File 10.25 KB 0644
PyncheWidget.pyc File 10.84 KB 0644
PyncheWidget.pyo File 10.84 KB 0644
README File 15.41 KB 0644
StripViewer.py File 15.1 KB 0644
StripViewer.pyc File 13.54 KB 0644
StripViewer.pyo File 13.4 KB 0644
Switchboard.py File 4.7 KB 0644
Switchboard.pyc File 5.92 KB 0644
Switchboard.pyo File 5.92 KB 0644
TextViewer.py File 6.71 KB 0644
TextViewer.pyc File 7.19 KB 0644
TextViewer.pyo File 7.19 KB 0644
TypeinViewer.py File 5.96 KB 0644
TypeinViewer.pyc File 6.26 KB 0644
TypeinViewer.pyo File 6.26 KB 0644
__init__.py File 47 B 0644
__init__.pyc File 140 B 0644
__init__.pyo File 140 B 0644
html40colors.txt File 245 B 0644
namedcolors.txt File 5.58 KB 0644
pyColorChooser.py File 3.68 KB 0644
pyColorChooser.pyc File 4.32 KB 0644
pyColorChooser.pyo File 4.32 KB 0644
pynche File 182 B 0755
webcolors.txt File 3.02 KB 0644
websafe.txt File 1.71 KB 0644