User Profile
Collapse
-
dshimer, Thanks for the link, thats exactly what i was looking for -
daemonizing python
So I'm trying to daemonize a python script , I've got the following already
Code:if os.fork(): sys.exit()
-
i've tried using py_compile , it converts most of the file to byte code but it still leaves the strings that i need unreadable readable.
thanks for the suggestion about py2exe , that will save me some time down the roadLeave a comment:
-
obfuscating python
My company is looking to launch a program i've written in python commercially , really the main problem we've run into is how to hide an encryption key , is there any way to obfuscate python ? -
the chunk of code that i have up there is working exactly as i want it to....Leave a comment:
-
so after subclassing hbox i made the realization that i could just add widgets right into my subclass, so i now have the following for code
Code:class ComboButton(gtk.HBox): def __init__(self,menuitems): gtk.HBox.__init__(self,False,0) """ if( !(isinstance(menuitems,types.TupleType) or isinstance(menuitems,type.ListType))):
Leave a comment:
-
i just tried subclass HBox instead of widget, i dont get any compile or runtime errors now, but the button and entry dont show upLeave a comment:
-
pygtk and custom widgets
I've been trying to write a custom widget for a project, however when i try to run code that uses it i get the following error
[sbox-SDK_PC: ~/code/nokia/trunk] > ./nokiagui.py
Traceback (most recent call last):
File "/home/jubei/code/nokia/trunk/nokiagui.py", line 427, in ?
gui = NewGui()
File "/home/jubei/code/nokia/trunk/nokiagui.py", line 193, in __init__
button...
No activity results to display
Show More
Leave a comment: