> I think winpdb ( nothing todo with windows-OS ) can do that and much more.
The problem with winpdb (which I played with a long time ago) is that
it's much heavier than the built-in pdb--it's a GUI debugger. It
requires the beast called wx, which I do not use for web (or GUI)
development. I'm do
Daniel wrote:
Is there a way with pdb to set a breakpoint in another module directly
using a command similar to set_trace() ? For example, I'd like to do
something like this in my source code:
import pdb
pdb.setbreak(42, "/path/to/universe.py", "name == 'hitchhiker'")
I think winpdb ( nothi
Is there a way with pdb to set a breakpoint in another module directly
using a command similar to set_trace() ? For example, I'd like to do
something like this in my source code:
import pdb
pdb.setbreak(42, "/path/to/universe.py", "name == 'hitchhiker'")
Is there a way to do (something like) that
"Rob Wolfe" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Imbaud Pierre <[EMAIL PROTECTED]> writes:
>
>> I am willing to retrieve the file an imported module came from;
>> module.__file__, or inspect.getfile(module) only gives me the
>> relative file name. How do I determine
Imbaud Pierre a écrit :
> I am willing to retrieve the file an imported module came from;
> module.__file__, or inspect.getfile(module) only gives me the
> relative file name. How do I determine the path?
> Its obviously possible from python: ipython displays the information
> (interactively: *modu
I am willing to retrieve the file an imported module came from
module.__file__, or inspect.getfile(module) only gives me the
relative file name. How do I determine the path?
Its obviously possible from python: ipython displays the information
(interactively: *module?*).
NB: I saw the discussion abo
Imbaud Pierre <[EMAIL PROTECTED]> writes:
> I am willing to retrieve the file an imported module came from;
> module.__file__, or inspect.getfile(module) only gives me the
> relative file name. How do I determine the path?
>>> import os
>>> os.path.abspath(module.__file__)
--
HTH,
Rob
--
http:
I am willing to retrieve the file an imported module came from;
module.__file__, or inspect.getfile(module) only gives me the
relative file name. How do I determine the path?
Its obviously possible from python: ipython displays the information
(interactively: *module?*).
Python 2.4 on Suse 9.3 (clu
Dennis Lee Bieber <[EMAIL PROTECTED]> writes:
> On Thu, 03 Mar 2005 12:29:58 +0100, Olivier Ravard
> <[EMAIL PROTECTED]> declaimed the following in
> comp.lang.python:
>
>>
>> So, what is the solution ?
>>
>>
> As the old joke concludes... "... stop doing that".
>
> I don't think Wi
Le lundi 28 fÃvrier 2005 Ã 17:08 +, Dennis Lee Bieber a Ãcrit :
> On Mon, 28 Feb 2005 16:43:45 +0100, Olivier Ravard
> <[EMAIL PROTECTED]> declaimed the following in
> comp.lang.python:
>
> >
> > Remark : This problem does not exist under Linux.
> >
> I think Linux just masks the situat
Hi everybody,
My application enables the developpment of new C++
modules that are dynamically loaded in this
application.
My problem is that (under Windows) I can't delete a
module that have been already imported. I must
exiting the application (which is not a good idea for
a developpment en
No non-printing characters.
However, I just tried copying the file (from a windows cmd prompt), and
the copy was cut off at the same point the interpreter is getting to.
When I edit the file with vim, though, the whole thing comes through.
I think this is a pretty strong indication that this monke
Lonnie Princehouse wrote:
I've run into some eccentric behavior... It appears that one of my
modules is being cut off at exactly 2^14 characters when I try to
import it. Has anyone else encountered this? I can't find any mention
of such a bug, and stranger yet, other modules that exceed 16384
ch
I've run into some eccentric behavior... It appears that one of my
modules is being cut off at exactly 2^14 characters when I try to
import it. Has anyone else encountered this? I can't find any mention
of such a bug, and stranger yet, other modules that exceed 16384
characters seem to work just
14 matches
Mail list logo