User Profile

Collapse

Profile Sidebar

Collapse
jubei
jubei
Last Activity: Feb 27 '07, 03:37 PM
Joined: Dec 21 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jubei
    replied to daemonizing python
    dshimer, Thanks for the link, thats exactly what i was looking for
    See more | Go to post

    Leave a comment:


  • jubei
    started a topic daemonizing python

    daemonizing python

    So I'm trying to daemonize a python script , I've got the following already

    Code:
     if os.fork():
       sys.exit()
    i'm not sure how to handle closing and then reopening stdin,stdout,st derr, or if its even needed in python
    See more | Go to post

  • jubei
    replied to obfuscating python
    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 road
    See more | Go to post

    Leave a comment:


  • jubei
    started a topic obfuscating python

    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 ?
    See more | Go to post

  • jubei
    replied to pygtk and custom widgets
    the chunk of code that i have up there is working exactly as i want it to....
    See more | Go to post

    Leave a comment:


  • jubei
    replied to pygtk and custom widgets
    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))):
    ...
    See more | Go to post

    Leave a comment:


  • jubei
    replied to pygtk and custom widgets
    i just tried subclass HBox instead of widget, i dont get any compile or runtime errors now, but the button and entry dont show up
    See more | Go to post

    Leave a comment:


  • jubei
    started a topic pygtk and custom widgets

    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...
    See more | Go to post
No activity results to display
Show More
Working...