Did anyone has a method to quick get the color tuples (like 255,0,0 for 'red') from DrPython ? Or do you have a ColorPicker written in Python ? I would like to mess around with the source code of DrPython to include such an ColorPicker but i have yet to find (or write) a good one. Any suggestions/links ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for the hints. I did not know about and i find them interesting. Meanwhile i could solve my initial problem with DrScript:
os.startfile("c:\\Python24\\Tools\\pynche\\pynche.pyw")
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did anyone has a method to quick get the color tuples (like 255,0,0 for 'red') from DrPython ? Or do you have a ColorPicker written in Python ? I would like to mess around with the source code of DrPython to include such an ColorPicker but i have yet to find (or write) a good one. Any suggestions/links ?
1) Do you know the pycolourhooser?
Windows:
wx-2.621-msw-ansi\wx\lib\colourchooser\pycolourchooser.py
2) or the ColorDialog in "Common Controls" in wxPython?
3)if you type in the shell for example
wx.RED
you get
wx.Colour(255, 0, 0)
Thank you for the hints. I did not know about and i find them interesting. Meanwhile i could solve my initial problem with DrScript:
os.startfile("c:\\Python24\\Tools\\pynche\\pynche.pyw")
Ah, of course starting with DrScript is a good solution.
Only now I know, what you meant.
I didn't know about Pynche, but it looks very interesting.