On Tue, Mar 29, 2011 at 6:14 PM, monkeys paw wrote:
> How do i delete a module namespace once it has been imported?
>
> I use
>
> import banner
>
> Then i make a modification to banner.py. When i import it again,
> the new changes are not reflected. Is there a global variable i can
> modify?
> --
I would look into Flask or Pyramid.
Just my $0.02.
On Fri, Feb 25, 2011 at 7:03 AM, Daniel Fetchinson
wrote:
>>> >I have developed one big Machine Learning software a Machine
>>> >Translation system in Python.
>>> >Now, I am thinking to make a User Interface of it and upload it in a
>>> >web sit
Hello
cmd is already a list after cmd.split().
So,
suprocess.Popen(cmd, )
On Mon, Feb 21, 2011 at 8:33 AM, Rita wrote:
> Hello,
>
> I have been using shell for a "long" time and I decided to learn python
> recently. So far I am liking it a lot especially the argparse module which
> makes m
Hi
According to the docs at, http://docs.python.org/library/select.html
Low level interface to kevent
* changelist must be an iterable of kevent object or None
* max_events must be 0 or a positive integer
* timeout in seconds (floats possible)
I am not sure I underst
Indeed, I was facing that issue.
Appplying the patch to the select26 module now works.
Also, I had to change:
kq.control([]...)
to
kq.control(ev, ...)
Not sure what happens when you pass None as the first parameter.
On Tue, Sep 1, 2009 at 5:47 AM, wrote:
> On 07:51 am, rite...@gmail.com wro
Hi
I am trying to use kqueue. Since, I am on v2.5, I use the baclport:
http://pypi.python.org/pypi/select26/0.1a3.
Following the example at:
http://julipedia.blogspot.com/2004/10/example-of-kqueue.html (which
works perfectly as it tells all events), I tried to port it to Python:
http://www.bpast
Hello
So I have a wxPython GUI app. I have two independent modules which are
command line are more of a daemon app which does separate but related
processing for the whole system.
Now, I am able to spawn the daemons and even close it when my wxPython app
closes.
But what I want is that if the da
Hello All
So my sourcecode has the following structure:
/
- app.py
- commonlib.py
- app.cnf
- module/
- module/submodule/
- module/submodule/app2.py
Commonlib is generally used for one method:
def GetConfValue(section, item):
config = ConfigParser.ConfigParser()
config.read( "app.cnf" )