mirror of https://github.com/python/cpython.git
Moved the main pynche.py file to Main.py. Added minimal driver
scripts pynche.py and pynche.pyw for Unix and Windows startup respectively. Document the .pyw file in the README.
This commit is contained in:
parent
c958043233
commit
0926deacd5
|
@ -1,5 +1,3 @@
|
|||
#! /usr/bin/env python
|
||||
|
||||
"""Pynche: The PYthon Natural Color and Hue Editor.
|
||||
|
||||
Pynche is based largely on a similar color editor I wrote years ago for the
|
||||
|
|
|
@ -101,7 +101,7 @@ def parent(self):
|
|||
return self.__root
|
||||
|
||||
def __popup_about(self, event=None):
|
||||
from pynche import __version__
|
||||
from Main import __version__
|
||||
tkMessageBox.showinfo('About Pynche ' + __version__,
|
||||
'''\
|
||||
Pynche %s
|
||||
|
|
|
@ -25,8 +25,7 @@ this reason, but you can use a different file with the -d option. The
|
|||
file xlicense.txt contains the license only for rgb.txt.
|
||||
|
||||
Pynche is pronounced `Pinch-ee'. Start it by running the pynche.py
|
||||
driver. On Windows, you probably want to rename pynche.py to
|
||||
pynche.pyw so that it doesn't bring up a console window.
|
||||
driver. On Windows, run pynche.pyw to inhibit the console window.
|
||||
|
||||
The top part of the main Pynche window contains the "variation
|
||||
strips". Each strip contains a number of "color chips". The strips
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#! /usr/bin/env python
|
||||
|
||||
"""Run this file under Unix, or when debugging under Windows.
|
||||
Run the file pynche.pyw under Windows to inhibit the console window.
|
||||
"""
|
||||
import Main
|
||||
Main.main()
|
|
@ -0,0 +1,7 @@
|
|||
#! /usr/bin/env python
|
||||
|
||||
"""Run this file under Windows to inhibit the console window.
|
||||
Run the file pynche.py under Unix or when debugging under Windows.
|
||||
"""
|
||||
import Main
|
||||
Main.main()
|
Loading…
Reference in New Issue