roaches? Or should I not expect memory to be released?
--
Benjamin Rutt
--
http://mail.python.org/mailman/listinfo/python-list
t see why that
extra space is getting there in the first version. Using the code
module seems a little dirty, when sys.stdin is available. This is
python 2.4 on a Linux platform. Thank you,
--
Benjamin Rutt
--
http://mail.python.org/mailman/listinfo/python-list
ing it safe for me to modify the script after
I know it has started?"[1]
Thank you,
Footnotes:
[1] how would I know that it is started? For example, at least one
print statement I am expecting has been executed.
--
Benjamin Rutt
--
http://mail.python.org/mailman/listinfo/python-list
"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> Benjamin Rutt wrote:
>
>> If I did the following in an infinite loop, would the host system/user
>> account soon run out of file descriptors? (I'm thinking no, since I'd
>> imagine that a file object
/* tp_getattr */
0, /* tp_setattr */
0, /* tp_compare */
(reprfunc)file_repr,/* tp_repr */
0, /* tp_as_number */
[...]
Thanks,
--
Benjamin Rutt
--
http://mail.python.org/mailman/listinfo/python-list
Does anyone know how to disable a Pmw.Counter? (make it so it cannot
be changed, but you can still call the get() function to see its
current value?)
Thanks,
--
Benjamin Rutt
--
http://mail.python.org/mailman/listinfo/python-list
.upak/installed/tcltk/lib -L/usr/X11R6/lib -ltk8.4 -ltcl8.4 -lX11
-lpthread -ldl -lutil
The purpose of this posting is to see if anyone jumps in and says
"hey, you missed a variable called ...". Thanks,
--
Benjamin Rutt
--
http://mail.python.org/mailman/listinfo/python-list
"/tmp/bar"?
Thanks,
--
Benjamin Rutt
--
http://mail.python.org/mailman/listinfo/python-list
ting what in the code what is for the GUI, what is for the Web
server, and what does the introspection. I have actually borrowed the
ModuleScanner class already, to build the list of modules. It is just
inspecting those modules further where I'm having trouble.
thanks,
--
Benjamin Rutt
--
http://mail.python.org/mailman/listinfo/python-list
27;somefunction', )]
trying istraceback: []
I was trying to use inspect.getmembers(foo, ) with an
appropriate predicate ("is" function). it looks like I am able to
discover that 'someclass' is a class, and that 'somefunction' is a
function (and also a routine, apparently). However, I cannot seem to
discover that 'someglobal' is a global. How to do so? Thanks,
--
Benjamin Rutt
--
http://mail.python.org/mailman/listinfo/python-list
cgitb mailcap smtplib
[...]
I want to do the same (get all such modules in a python list); how can
I do so? Or where is the code for the REPL for help() itself so I can
find out myself?
This is to build a code introspection tool BTW. Thanks,
--
Benjamin Rut
root.after() would be safe? I'm doing this in a
GUI without any problems, so far. Thanks,
--
Benjamin Rutt
--
http://mail.python.org/mailman/listinfo/python-list
Martin Franklin <[EMAIL PROTECTED]> writes:
> text.yview_pickplace("end")
Thank you, works perfectly!
--
Benjamin Rutt
--
http://mail.python.org/mailman/listinfo/python-list
I have a tkinter 'Text' and 'Scrollbar' connected and working
normally. When a new line of text is inserted (because I'm monitoring
an output stream), I'd like the text and scrollbar to be scrolled to
the bottom, so the latest line of text is always shown. How to
this helps:
#!/bin/sh
exec python $HOME/opt/python-2.3/lib/python2.3/pdb.py "$@"
--
Benjamin Rutt
--
http://mail.python.org/mailman/listinfo/python-list
15 matches
Mail list logo