> import listen
>
> You can use the __import__ function if you want, but generally you
> want the import statement as above. The equivalent to 'import listen'
> is:
>
> listen = __import__('listen')
>
> See the tutorial here: http://docs.python.org/tutorial/modules.html
you also have to ma
2009/3/20 andré palma :
> Hi \o
> I'm asking if there is any #include( C) like or any include('File.php')
> (php) like in python.
> I have 2 files: "usbconnection.py" and "listen.py", And i want to use some
> classes avaiable in "listen.py" on my main file "usbconnection.py". I've
> tryed to do __i
Hi \o
I'm asking if there is any #include( C) like or any include('File.php')
(php) like in python.
I have 2 files: "usbconnection.py" and "listen.py", And i want to use
some classes avaiable in "listen.py" on my main file "usbconnection.py".
I've tryed to do __import__("listen.py") but obvious
What is meant by "The arguments are the same as for the Popen
constructor.", in Convenience Functions? In fact, what is such a
function? This notation seems odd to me:
class subprocess.Popen(args,
bufsize=0, executable=None, stdin=None, stdout=None,
stderr=None, preexec_fn=None, close_fds=False
"Wayne Watson" wrote
As I understand it, there are three geometry managers:
Grids, Pack and Place. Only the first two are of interest.
Yes and a new Form one coming in the next Tk release...
Is it possible to mix them? I don't think so,
Yes but not in a single Frame.
But my normal appro
With respect to grid and pack, all siblings must use the same manager. Do
otherwise and your application will hang. Children/parents may use different
managers. I don't believe there are any restrictions on place, as it doesn't
do any negotiation.
Cheers
_
Hello, list! I hope it's not too much out of place to ask this
question in the Tutor list.
I'm trying to process some information from email messages that goes
in a folder called: "SysAdmin". I could reproduce the recipe from
Python Programming on Win32 sucessfully to read the subject line of
the i
Title: Signature.html
As I understand it, there are three geometry managers: Grids, Pack and
Place. Only the first two are of interest.
Is it possible to mix them? I don't think so, but maybe I'm missing
something. Generally, they seem to apply with respect to a Frame, so I
would think only o
Title: Signature.html
I'm amazed that after years of not using DOS or Linux that I still
recall how to use the > for output to a file. I put the output in
the cmdHELP.txt file so I could more easily read it.
ALAN GAULD wrote:
>>You
have to turn that on, see the CMD help page for the reg
Good. See my follow up to Alan's post for more details on what I'm
doing. Apparently, not SWIG. Thanks for the Alan link.
Martin Walsh wrote:
Wayne Watson wrote:
If you can execute a C program compiled on a Linux with SWIG, then
that's what I'm looking for. There's really no RH de
Title: Signature.html
ALAN GAULD wrote:
>
It was a bit hard to verify your code, since when I copied it,
> it had
different indentation and I may not have assembled it
> properly. Was the
only change to the code?
> See "nevertheless" comment below.
> root = Tk()
> DialogProt
> likely will allow the user to enter the
12 or so parameters
> on the command line, and execute the program as
though
> I had entered it at a Linux prompt.
OK, In that case you only need the call() convenience function from
the subprocess module. Capture the arguments in your GUI and build
t
Title: Signature.html
"I think it this
case it requires executing the program command line with parameters
then executing it." That is, I likely will allow the user to enter the
12 or so parameters on the command line, and execute the program as
though I had entered it at a Linux prompt. The pr
"Wayne Watson" wrote
If you can execute a C program compiled on a Linux with SWIG,
then that's what I'm looking for.
Nope, you need the suprocess module not SWIG.
What SWIG does (fairly easily!) is allow you to build a wrapper
around your C program that python can import and call the C
fun
14 matches
Mail list logo