I made a small wxPython app that retrieves web data; for visual
logging I use a TextCtrl widget, and stdout is redirected to it,
something like this:
class RedirectOutput:
def __init__(self, objectTxtCtrl):
self.out = objectTxtCtrl
def write(self, string):
self.out.WriteTe
Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'm new to wxpython, and the following code is my first serious
attempt:
#~ start code
import wx
class MyPanel(wx.Panel):
def __init__(self, parent, id):
wx.Panel.__init__(self, parent, id)
self.parent = parent
button = wx.Button(self, -1, "Refresh")
butt
Bjoern Schliessmann wrote:
> But you could technically achieve this with standard python too
> (just write python source and spawn a python process executing it).
The code I try to execute is Windows specific and it is binary, not
python. Furthermore, it is stored in a variable within the parent
Chris Mellon wrote:
> Writing to a temp file will be at least 3 times as easy and twice as
> reliable as any other method you come up with.
I'm not disputing that, but I want to keep a piece of code (a parser
for Oracle binary dumps, that I didn't wrote) out of foreign hands, as
much as possible.
Larry Bates wrote:
> What you are asking is a virus/trojan "like" program. There's no reason
> you shouldn't be able to write the code to TEMP directory and execute it.
>
> -Larry
No, it is not about a trojan, but I guess it's pointless to try to
convince you otherwise.
It's not about being ab
Is it possible to execute a binary string stored within a python script
as executable code ?
The script is run under Windows, and the binary code (a full executable
file) is stored in a variable in the script.
I know I can use os.system() or os.popen() to run an external file, but
these functions
Hi All,
Is there a way to set a timeout interval when executing with a
re.search ? Sometimes (reason being maybe a "bad" pattern), the search
takes forever and beyond...
--
http://mail.python.org/mailman/listinfo/python-list