I am looking for a way to discover which classes a module contains from
"inside". I am building a testing class that should, when instatntiated
within any module, locate certain classes within the containing module.
Words of wisdom? Anybody?
--
http://mail.python.org/mailman/listinfo/python-list
Sion Arrowsmith wrote:
> volcano <[EMAIL PROTECTED]> wrote:
> >I am looking for a way to discover which classes a module contains from
> >"inside". I am building a testing class that should, when instatntiated
> >within any module, locate certain classes with
Hello, folks!
Script I am creating has to format a device - USB flash drive. I have
tried using regular DOS "format" through "os.system" - did not work
well, because DOS format requires input from user. And the script
should run without user interference.
I have taken a look at ActivePython "win32.
weir wrote:
> this may help, you need ctypes module.
>
> ##
> from ctypes import *
>
> fm = windll.LoadLibrary('fmifs.dll')
>
> def myFmtCallback(command, modifier, arg):
> print command
> return 1 # TRUE
>
> FMT_CB_FUNC = WINFUNCTYPE(c_int, c_int, c_int, c_voi
OK, it worked. Obviosly, quick format was a bad choice.
Thanks a lot for your help!
Mark
--
http://mail.python.org/mailman/listinfo/python-list
Hello, folks!
A trivial question - I have a working Python script that I have to
invoke from C++ code. No fancy stuff - just run the whole script with
its parameters. No callbacks, no signalling - nada, just
stupid,primitive, straightforward call.
And while there is a lot of help on embedding, I c
Gerard Flanagan wrote:
> volcano wrote:
> > Hello, folks!
> > A trivial question - I have a working Python script that I have to
> > invoke from C++ code. No fancy stuff - just run the whole script with
> > its parameters. No callbacks, no signalling - nada
Gerard Flanagan wrote:
> volcano wrote:
> > Gerard Flanagan wrote:
> > > volcano wrote:
> > > > Hello, folks!
> > > > A trivial question - I have a working Python script that I have to
> > > > invoke from C++ code. No fancy stuff - jus
volcano wrote:
> Hello, folks!
> A trivial question - I have a working Python script that I have to
> invoke from C++ code. No fancy stuff - just run the whole script with
> its parameters. No callbacks, no signalling - nada, just
> stupid,primitive, straightforward call.
>
>
Can it be done, and if yes - how?
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 11, 2:21 pm, Maël Benjamin Mettler <[EMAIL PROTECTED]> wrote:
> volcano schrieb:
>
> > Can it be done, and if yes - how?
>
> Define address. Are you talking about URLs? File paths? Postal
> addresses? Memory addresses? Whatever addresses?
> I'm afraid the
On Feb 11, 2:46 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]>, volcano wrote:
> > On Feb 11, 2:21 pm, Maël Benjamin Mettler <[EMAIL PROTECTED]> wrote:
> >> volcano schrieb:
>
> >> > Can it be done, a
On Feb 11, 3:46 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> volcano wrote:
> > On Feb 11, 2:46 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> [...]
> >> What's your goal? What do you expect at the memory address you want to
> &
I am desperately looking for an info how to combine a testing
application with decent GUI interface - the way most xUnits do. I
believe I have seen something about using Tkinter, but I do not
remember - where.
I am working on a complex testing application built over unittest
module, and I need GUI
Miki, toda, but it did not work for me. BTW, I have forgotten to
mention - the implementation I develop should be multi-platform.If
anything else comes to you mind - I'll be more than gateful to hear.
Regards,
Mark
--
http://mail.python.org/mailman/listinfo/python-list
Hi, folks,
I have a Python script that is invoked by a shell script. I uses
sys.exit() with a parameter within python.
The calling script is using this line to get the return code:
exit_code = !$
but it fails to get it. What's wrong here? (I am no Linux guru)
Thanks in advance
Mark
--
http://ma
On Sep 23, 8:01 pm, Donn wrote:
> On Wednesday 23 September 2009 18:51:29 volcano wrote:> exit_code = !$
>
> I think it's $? to get the code.
> \d
> --
> home:http://otherwise.relics.co.za/
> 2D vector animation :https://savannah.nongnu.org/projects/
17 matches
Mail list logo