Summary:
Robert Marchetti has created two videos showing you how to use his PAMIE
tool to interactively drive Internet Explorer for web development and
testing:
http://showmedo.com/videos/series?name=pythonMarchettiPamieSeries
Detail:
The first PAMIE video covers driving IE interactively
Ben Finney wrote:
David Goodger [EMAIL PROTECTED] writes:
Look at the results again. Jira and RoundUp tied for functionality,
but Jira has a hosting/admin offer behind it. That's huge. But
rather than declaring Jira the outright winner, which they could
have done, the committee has allowed
[EMAIL PROTECTED] wrote:
d = {}
for line in [l[:-1] for l in file('test.txt', 'rU') if len(l)1]:
k,v = line.split()
d.setdefault(k,[]).append(v)
Try that with a test.txt where the last line has no newline.
Peter
--
http://mail.python.org/mailman/listinfo/python-list
Steve Holden wrote:
You appear to be prepared to go to any length short of providing effort
to support the open source tracker.
http://www.userland.com/whatIsStopEnergy
/F
--
http://mail.python.org/mailman/listinfo/python-list
Terry Reedy wrote:
Ben Finney [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
The whole point of moving *from* SF *to* another bug tracker is to
improve the situation, surely.
The current situation is that the limitations and intermittant failures of
the SF tracker
At Wednesday 4/10/2006 21:03, goyatlah wrote:
I'm trying to figure out how to get the exact opened url after a
urlopen in urllib2.
Say you have a link : http://myhost/mypath : what do I get back,
- the file mypath on myhost
- the file index.html on myhost/mypath,
- or maybe something else.
At Wednesday 4/10/2006 21:43, [EMAIL PROTECTED] wrote:
I'm wondering how/where the syntax for, e.g., 1j is defined. Is it
something I can define myself? In particular, I make very heavy use of
Nope - it's hardcoded inside the parser (see tokenizer.c)
a complex unit other than j (I'll call
Fredrik Lundh wrote:
Steve Holden wrote:
you're not on the infrastructure list, I hear. python.org could still need a
few more roundup volunteers, but it's not like nobody's prepared to con-
tribute manhours. don't underestimate the community.
No, I'm not on the infrastructure list, but I
Ilias Lazaridis wrote:
Giovanni Bajo wrote:
Hello,
I just read this mail by Brett Cannon:
http://mail.python.org/pipermail/python-dev/2006-October/069139.html
where the PSF infrastracture committee, after weeks of evaluation,
recommends
using a non open source tracker (called JIRA - never
Steve Holden wrote:
Excellent. I've just complained elsewhere in this thread that those
dissenting didn't appear to want to rectify the situation by offering
their time. It would be nice to be wrong about that.
the dissenting won't contribute a thing, of course. they never ever do.
but
Steve Holden [EMAIL PROTECTED] writes:
And I'd prefer it if you'd drop this subject. So, if you have
nothing new to say, kindly leave it.
I'm happy to, but:
You appear to be prepared to go to any length short of providing
effort to support the open source tracker.
This was addressed in a
At Thursday 5/10/2006 01:54, Wijaya Edward wrote:
One can do the following with Perl
$ perldoc -f chomp
$ perldoc -f function_name
or
$ perldoc List::MoreUtils
$ perldoc Some::Module
Can we do the same thing in Python?
s/perl/py/g
See the pydoc module.
Gabriel Genellina
Softlab SRL
[Ben Finney]
I don't see why you're being so obtuse
[Terry Reedy]
I think name calling is out of line here.
Name calling is always out of line on comp.lang.python. Unless it's
done by Guido. Then it's OK. Anyone else, just remind them that even
Hitler had better manners. That always calms
Clodoaldo Pinto Neto schrieb:
http://webpython.codepoint.net
Great tutorial -- Thanks a lot!!!
:D
--
Gerold Penz - bcom - Programmierung
[EMAIL PROTECTED] | http://gerold.bcom.at | http://sw3.at
Ehrliche,
Hi,
I'm writing a python program to analyse and export volumetric data. To
make development and extension easier, and to make it more useful to the
public when it is released (LGPL), I would like to enable users to place
their own python files in a user_extensions directory. These files
Hi All,
I want to do verification in my scripts. So for that what i am doing
here are shown below:
1. Telnet to one router.
2. Configure router.
3. Configure routing.
Now after doing all these i have to check showinterfaces. So i execute
command show interface and saved the output in one file.
On Wed, 04 Oct 2006 20:02:56 +0200, Hendrik van Rooyen
[EMAIL PROTECTED] wrote:
Eric Brunel [EMAIL PROTECTED] wrote:
I know the problem happens sometimes on one of my Tkinter applications,
but I never succeeded in reproducing it systematically. I've browsed the
tcl bugs, but didn't find
Ben Finney wrote:
Steve Holden [EMAIL PROTECTED] writes:
And I'd prefer it if you'd drop this subject. So, if you have
nothing new to say, kindly leave it.
I'm happy to, but:
You appear to be prepared to go to any length short of providing
effort to support the open source tracker.
Eric Brunel wrote:
AFAIK, Tkinter is not thread safe. Using some kind of lock to serialize
the calls from different threads may seem to work (I never tested it
actually), but the safest way I found to use threads with Tkinter was to
call it only from the thread where the main loop
Jorgen Grahn [EMAIL PROTECTED] wrote:
On Mon, 02 Oct 2006 16:36:24 +0100, Steve Holden [EMAIL PROTECTED] wrote:
I'd appreciate it if all
concerned would close this thread now.
I think you are overreacting. This was a thread with three (3) postings, in
a high-volume newsgroup, with no
hiroc [EMAIL PROTECTED] wrote:
s.send(abc) # send test string
I need to send hex:10 06 00 0f 02 bc d1 instead of abc
hoW?
One ugly way is
s.send( \x10\x06\x00\x0f\x02\xbc\xd1 )
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza Boekelheide, Inc.
--
At Thursday 5/10/2006 04:09, vmalhotra wrote:
Now the problem which i am facing is how to do assertion from that
output. e.g output is something like this
eth0 is up
OSPF not enabled on this interface
eth1 is up
Internet Address 192.168.1.2/24, Area 0.0.0.0
Router ID 192.168.1.2, Network
hiroc [EMAIL PROTECTED] writes:
s.send(abc) # send test string
I need to send hex:10 06 00 0f 02 bc d1 instead of abc
See the binascii module:
import binascii
# a2b_hex stands for ascii to binary conversion, hex format
# you must remove the spaces
binary = binascii.a2b_hex
On Thu, 05 Oct 2006 02:33:54 +0200, Dustan [EMAIL PROTECTED] wrote:
I don't know if this is because of Tkinter (ie Tk) itself or the
Windows default way of handling things, but when I create a very long
menu (my test is shown below), the way it displays is rather sucky; the
menu stretches
Wildemar Wildenburger [EMAIL PROTECTED] wrote:
Jorgen Grahn wrote:
- the wildcard object, which compares equal to everything else
- infinite xrange()s
- the black hole function 'def f(*args): pass'
- the identity function 'def f(x): return x'
Any use cases for these?
I guess the first
Hi,
I wonder, if there is a site with a collection
of written TkInter programs.
I did not find any summary.
for pyGtk there exist for example:
http://www.pygtk.org/applications.html
and for wxPython:
http://wiki.wxpython.org/index.cgi/wxPythonPit_Apps
--
Franz Steinhaeusler
--
gord wrote:
As a complete novice in the study of Python, I am asking myself where this
language is superior or better suited than others. For example, all I see in
the tutorials are lots of examples of list processing, arithmetic
calculations - all in a DOS-like environment.
Ilias Lazaridis wrote:
Giovanni Bajo wrote:
Hello,
I just read this mail by Brett Cannon:
http://mail.python.org/pipermail/python-dev/2006-October/069139.html
where the PSF infrastracture committee, after weeks of evaluation,
recommends
using a non open source tracker (called JIRA - never
Russell E. Owen [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED],
Hendrik van Rooyen [EMAIL PROTECTED] wrote:
Hi,
I get the following:
[EMAIL PROTECTED]:~/Controller/lib python display.py
UpdateStringProc should not be invoked for type font
Aborted
...
Everything seems to
Hendrik van Rooyen [EMAIL PROTECTED] wrote:
Eric Brunel [EMAIL PROTECTED] wrote:
On Wed, 04 Oct 2006 10:33:55 +0200, Hendrik van Rooyen
[EMAIL PROTECTED] wrote:
Hi,
I get the following:
[EMAIL PROTECTED]:~/Controller/lib python display.py
UpdateStringProc should not be
Georg Brandl wrote:
The python foundation suggests a non-python non-open-source bugtracking
tool for python.
Actually, it suggests two bugtracking tools, one of them written in
Python.
the announcemant's subject line said recommendation for a new issue
tracker, though; not we need the
Fredrik Lundh wrote:
Georg Brandl wrote:
The python foundation suggests a non-python non-open-source bugtracking
tool for python.
Actually, it suggests two bugtracking tools, one of them written in
Python.
the announcemant's subject line said recommendation for a new issue
tracker,
Hendrik van Rooyen [EMAIL PROTECTED] writes:
I am not sure how to do this - once I have called the Tkinter
mainloop - that main thread is essentially event driven - and
figuring out how to get it to poll a queue for content is not
obvious - I suppose I could arrange some external wake up event
[EMAIL PROTECTED] wrote:
I'm developing a library at the moment that involves many classes, some
of which have exposed capabilities. I'm trying to design a nice
interface for both exposing those capabilities, and inspecting
instances to find out what capabilities they have.
At the moment,
Hi all
I have been working on some new code that embeds python in an C
application. The embedding is working fine under Linux but crashing
under Windows (XP) when I reach the following step.
PyRun_AnyFile(f,name);
If there's some python exception being thrown by the PyRun_AnyFile call,
how
Wijaya Edward wrote:
One can do the following with Perl
$ perldoc -f chomp
$ perldoc -f function_name
$ pydoc dir
$ pydoc function_name
or
$ pydoc math
$ pydoc module_name
Richard
--
http://mail.python.org/mailman/listinfo/python-list
Martin v. Löwis wrote:
In fact, are you absolutely positive that you need so much effort to
maintain an existing bugtracker installation? I know for sure that
GCC's Bugzilla installation is pretty much on its own; Daniel Berlin
does some maintainance every once in a while (upgrading when new
Hi,
our applications can have plugins as subpackages and I'd like to allow
them to use their own logger as well as it's configuration. I thought
that best way will be their own configuration file passed to
fileConfig.
However, I run into problems...
1) It seems that I cannot refer to something
John Pye wrote:
I have been working on some new code that embeds python in an C
application. The embedding is working fine under Linux but crashing
under Windows (XP) when I reach the following step.
PyRun_AnyFile(f,name);
If there's some python exception being thrown by the PyRun_AnyFile
the contents and the layout of the FILE structure isn't defined
isn't standardized, that is.
/F
--
http://mail.python.org/mailman/listinfo/python-list
limodou wrote:
On 4 Oct 2006 13:11:15 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
limodou wrote:
here is my program
d = {}
for line in file('test.txt'):
line = line.strip()
if line:
k, v = line.strip().split()
d.setdefault(k, []).append(v)
Fredrik Lundh [EMAIL PROTECTED] wrote:
Eric Brunel wrote:
AFAIK, Tkinter is not thread safe. Using some kind of lock to serialize
the calls from different threads may seem to work (I never tested it
actually), but the safest way I found to use threads with Tkinter was to
call it only
[EMAIL PROTECTED] wrote:
for line in (l.rstrip(\n) for l in file(test.txt, rU) if l[0] !=
\n):
k, v = line.split()
d.setdefault(k, []).append(v)
Note that this snippet will produce the same output with or without the
rstrip() method call.
Peter
--
gord wrote:
As a complete novice in the study of Python, I am asking myself where this
language is superior or better suited than others.
I use it, and see it primarily, as a Perl killer. It also does for Ruby
and our infernal shell scripts.
I've never considered using Python instead of VB.
The memory manager in the latest Python release 2.5 does return freed
memory to the underlying system, if possible. For more details, see the
5th bullet on this page
http://docs.python.org/whatsnew/ports.html.
/Jean Brouwers
[EMAIL PROTECTED] wrote:
The workaround I went with made use of
Paul Rubin http://[EMAIL PROTECTED] wrote:
Hendrik van Rooyen [EMAIL PROTECTED] writes:
I am not sure how to do this - once I have called the Tkinter
mainloop - that main thread is essentially event driven - and
figuring out how to get it to poll a queue for content is not
obvious - I
Ok, not really python focused, but it feels like the people here could
explain it for me :)
Now, I started programming when I was 8 with BBC Basic.
I never took any formal classes however, and I have never become an
expert programmer. I'm an average/hobbyist programmer with quite a few
languages
Eric Brunel wrote:
On Thu, 05 Oct 2006 02:33:54 +0200, Dustan [EMAIL PROTECTED] wrote:
I don't know if this is because of Tkinter (ie Tk) itself or the
Windows default way of handling things, but when I create a very long
menu (my test is shown below), the way it displays is rather sucky;
Do whichever makes you happy I'd say
The only real difference is coding style and the formatting options of
the %s way that I can see.
%s is negligibly slower in my tests, but we're talking the tiniest
fraction of a second over thousands of iterations, not worth considering...
-h
Hari Sekhon
Hendrik van Rooyen wrote:
Fredrik Lundh [EMAIL PROTECTED] wrote:
Eric Brunel wrote:
AFAIK, Tkinter is not thread safe. Using some kind of lock to serialize
the calls from different threads may seem to work (I never tested it
actually), but the safest way I found to use threads with Tkinter
[Matthew Warren]
| Now, I started programming when I was 8 with BBC Basic.
Hey, likewise! (Except I was 12 when it came out!)
| I learned over the years to do things like the following, and I like
| doing it like this because of readability, something Python seems to
| focus on :-
|
| Print
Matthew Warren wrote:
I learned over the years to do things like the following, and I like
doing it like this because of readability, something Python seems to
focus on :-
Print There are +number+ ways to skin a +furryanimal
But nowadays, I see things like this all over the place;
In [EMAIL PROTECTED], Matthew Warren
wrote:
I learned over the years to do things like the following, and I like
doing it like this because of readability, something Python seems to
focus on :-
Print There are +number+ ways to skin a +furryanimal
But nowadays, I see things like this all
Matthew Warren [EMAIL PROTECTED] wrote:
Print There are +number+ ways to skin a +furryanimal
But nowadays, I see things like this all over the place;
print(There are %s ways to skin a %s % (number, furryanimal))
Now I understand there can be additional formatting benefits when
dealing
If I want to test if an object, x, is an integer, I can call
isinstance(x, int).
But what do I do if I want to test if x is a function?
I can do this:
if isinstance(x, type(lambda: None)): ...
But it does not seem very elegant to me.
Surely there is a simpler way to specify a type object
Claus Tondering wrote:
But what do I do if I want to test if x is a function?
I can do this:
if isinstance(x, type(lambda: None)): ...
But it does not seem very elegant to me.
Surely there is a simpler way to specify a type object that is the type
of a function.
if callable(x):
I've tried the sample code you provided but it seems to just hang, it
must be doing something but unfortunately it must take too long, by
which time a second control-c gives an awful dual traceback message
showing the original traceback and the new one from the tbiter() func.
I've tried a few
| Now, I started programming when I was 8 with BBC Basic.
Hey, likewise! (Except I was 12 when it came out!)
I think it came out before I was 8, and I started out with print and
input. Not sure if that's 'real' programming - I don't think I graduated
to ifs and thens and gotos and gosubs
On Wed, 04 Oct 2006 11:00:28 -0400, Leif K-Brooks [EMAIL PROTECTED] wrote:
Jorgen Grahn wrote:
- infinite xrange()s
itertools.count()?
Oops! You're right. The itertools documentation even refers to the SML and
Haskell languages. And it contains itertools.izip(), another thing on my
wish
Also, having a variable of type str called 'number' seems
perverse (and
probably error prone), so I suspect I might need something like:
And not something I would normally do, but for hastily written contrived
examples I might :)
print There are +str(number)+ ways to skin a
Duncan Booth wrote:
print There are+number+ways to skin a+furryanimal
or at least something equivalent to it. If I try to make the same mistake
with a format string it jumps out to me as wrong:
There are%sways to skin a%s % (number, furryanimal)
Related to this, formatting with
Fredrik Lundh wrote:
if callable(x):
Perfect. Thank you.
--
Claus Tondering
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the pointer, I've now got this giving me the right line
number when an exception occurs, although I still get an empty stack
trace from
print "Stack Trace:\n%s\n" % str(traceback.print_exc(2))
inside the excepthook.
Any ideas why this is?
Is there no traceback since the
Le jeudi 05 octobre 2006 13:16, Ivan Voras a écrit :
print '+var1+','+var2'+,+var3
the above is much more readable as
print '%s', '%s', %s % (var1, var2, var3)
It feels not IMO, one proof I see is that you forgot the spaces after periods
in your first example, and it's even not easy to
Duncan Booth wrote:
print There are+number+ways to skin a+furryanimal
or at least something equivalent to it. If I try to make
the same mistake
with a format string it jumps out to me as wrong:
There are%sways to skin a%s % (number, furryanimal)
Related to this, formatting
I know that python doesn't allow extending built-in objects like the
str class; but you can subclass them using a class of the same name and
thus shadow them to get the same general effect (albeit you have to use
the explicit constructor rather than literals).
class str(str):
def display(self):
[Matthew Warren]
| Blame outlook and AutoCaps. If number were a number I would write
|
| print There are,number,ways to skin a +furryanimal
You see now that strikes me as a bit mixed up. Why not simply use?
print a, number, c, string
| altho' print is slated for replacement by a function in
On Thu, 05 Oct 2006 00:02:51 +0200, Wildemar Wildenburger [EMAIL PROTECTED]
wrote:
Jorgen Grahn wrote:
Any use cases for these?
- the wildcard object, which compares equal to everything else
Like someone else wrote, for quick-and-dirty comparisons or lists and
dictionaries where I don't
Peter Otten wrote:
[EMAIL PROTECTED] wrote:
for line in (l.rstrip(\n) for l in file(test.txt, rU) if l[0] !=
\n):
\001\001\001k,\001v\001=\001line.split()
\001\001\001d.setdefault(k,\001[]).append(v)
Note that this snippet will produce the same output with or without the
rstrip()
MonkeeSage wrote:
I know that python doesn't allow extending built-in objects like the
str class; but you can subclass them using a class of the same name and
thus shadow them to get the same general effect (albeit you have to use
the explicit constructor rather than literals).
class
[Matthew Warren]
| Blame outlook and AutoCaps. If number were a number I would write
|
| print There are,number,ways to skin a +furryanimal
You see now that strikes me as a bit mixed up. Why not simply use?
print a, number, c, string
Habit (not always a good thing..), and it helps
I hope I have not overlooked a solution already posted, but I seem to
be unable to suss out a way to achieve both multiple console-less
executions of a given (console) application and gathering the return
code from the application.
What I have found:
code
import subprocess
# gives back return
Steve Holden wrote:
Unfortunately the literals are interpreted during bytecode generation,
before the compiled program is available, and your modifications to
__builtns__ haven't been made, so the answer is no, I'm afraid.
Ah! That makes sense. I guess the only way to do it would be to add an
Le jeudi 05 octobre 2006 14:20, Steve Holden a écrit :
Unfortunately the literals are interpreted during bytecode generation,
before the compiled program is available, and your modifications to
__builtns__ haven't been made, so the answer is no, I'm afraid.
But what prevents to interpret
utabintarbo wrote:
pid = subprocess.Popen([app] + lstArgs).pid
Check out the poll() method and the returncode attribute:
http://docs.python.org/lib/node533.html
Regards,
Jordan
--
http://mail.python.org/mailman/listinfo/python-list
Hi Fredrik,
Thanks very much for that reply. Your suggestion sounds feasible, I
guess. Taking what you said, and thinking about how I could avoid adding
an additional intepreter step, I thought that I could try the following:
pyfile = PyFile_FromString(name,r);
if(pyfile==NULL){
- Python 2.5 introduced a dictionary type with automatic
creation of values,
ala Perl:
===
from collections import defaultdict
d = defaultdict(list)
for line in fl:
k, v = line.strip().split()
d[k].append(v)
for k,v in
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
rg] On Behalf Of Giovanni Bajo
Sent: 04 October 2006 15:17
To: python-list@python.org
Subject: Re: dictionary of list from a file
[EMAIL PROTECTED] wrote:
while(IN){
@info=split(/ +/,$_);
Dennis Lee Bieber wrote:
On Wed, 04 Oct 2006 22:36:10 -0400, John Salerno
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
John Machin wrote:
4. Have you done a full virus and spy-ware scan? Do you regularly
install Windows updates from Microsoft?
Well, this is certainly the
Maric Michaud wrote:
Le jeudi 05 octobre 2006 14:20, Steve Holden a écrit :
Unfortunately the literals are interpreted during bytecode generation,
before the compiled program is available, and your modifications to
__builtns__ haven't been made, so the answer is no, I'm afraid.
But what
Jean-Paul Calderone wrote:
On 4 Oct 2006 19:31:38 -0700, SpreadTooThin [EMAIL PROTECTED] wrote:
client:
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((192.168.1.101, 8080))
print 'Connected'
s.send('ABCD')
Here you didn't check the return value of send
Ben This thread was started on the shock of realising that a non-free
Ben tool was even being *considered* for the new Python bug
Ben tracker. Those are the terms on which I've been arguing.
Of course, the candidate trackers have been known for months. Messages have
been posted to
How do I read an Excel file in Python?
I have found a package to read excel file, which can be used on any
platform.
http://www.lexicon.net/sjmachin/xlrd.htm
I installed and working on the examples, I found its printing of cell's
contents in a different manner.
import xlrd
Hello,
I am working with comtypes to interface Microsoft's DirectShow library.
First, I found a Type Library on the internet that was created for
accessing DirectShow from .NET. It seems that DirectShow only comes
with IDL files and no type library.
This got me started.
The following line
MonkeeSage wrote:
utabintarbo wrote:
pid = subprocess.Popen([app] + lstArgs).pid
Check out the poll() method and the returncode attribute:
http://docs.python.org/lib/node533.html
Thanks for the reply.
If I understand your meaning, I should do something like this (given I
wish to run an
On 2006-10-04, Fredrik Lundh [EMAIL PROTECTED] wrote:
Georg Brandl wrote:
This is an issue in most Python documentation: you're not told
if the described function is implemented in C, and if it is
keyword arg-enabled. The arguments must be given names though,
to be able to document them.
On 5 Oct 2006 07:01:50 -0700, SpreadTooThin [EMAIL PROTECTED] wrote:
[snip]
Jean-Paul many thanks for this and your effort.
but why is it every time I try to do something with 'stock' python I
need another package?
Maybe you are trying to do things that are too complex :)
By the time I've
Le jeudi 05 octobre 2006 15:52, Steve Holden a écrit :
But what prevents to interpret literals as a call to __builtins__ objects
and functions ? optimization ? what else ?
When are literals interpreted? During translation into bytecode.
agreed, but what's the problem with this ?
We can
Following a discussion with an associate at work about various ways to
build strings from variables in python, I'd like to hear your opinions
and preferred methods. The methods we discussed are:
1. some_string = cd %s ; %s %d %s %s % ( working_dir, ssh_cmd,
some_count, some_param1, some_param2)
Hi,
I need to export an Oracle database to a DDL-formated file. On the Web, I
found a Python script that did exactly this for a MS Access database, but
not one for Oracle databases.
Does anyone know of such a tool or Python script.
regards tores
--
Hi,
the M2Crypto library overrides the urllib.URLopener.open_https method,
causing a urllib.urlopen to a https: server to fail in my
case. My python is not that strong, so is there a way to set
urllib.URLopener.open_https back to the original code? I prefer not to
modify M2Crypto.
Thanks,
Bruno Desthuilliers wrote:
[EMAIL PROTECTED] wrote:
I'm developing a library at the moment that involves many classes, some
of which have exposed capabilities. I'm trying to design a nice
interface for both exposing those capabilities, and inspecting
instances to find out what
Martin v. Löwis wrote:
Harold Trammel schrieb:
Does anyone know the status of a version of MySQLdb that will work with
Python 2.5?
AFAICT, MySQLdb 1.2.1 builds and works just fine.
Regards,
Martin
Hi Martin,
What is your setup as I am receiving a number of Cannot open ...
errors
kath wrote:
How do I read an Excel file in Python?
I have found a package to read excel file, which can be used on any
platform.
Hi Sudhir,
So far, so good :-)
http://www.lexicon.net/sjmachin/xlrd.htm
I installed and working on the examples, I found its printing of cell's
contents in a
[EMAIL PROTECTED] schrieb:
Hello,
I am working with comtypes to interface Microsoft's DirectShow library.
Cool, another one using comtypes!
First, I found a Type Library on the internet that was created for
accessing DirectShow from .NET. It seems that DirectShow only comes
with IDL
Le jeudi 05 octobre 2006 17:18, [EMAIL PROTECTED] a écrit :
I guess my solution is slightly less elegant because
it requires this ugly explicit init call outside the classes that it
actually deals with, however it is more efficient because the dir()
pass happens once on module load, instead of
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
rg] On Behalf Of Gal Diskin
Sent: 05 October 2006 16:01
To: python-list@python.org
Subject: building strings from variables
Following a discussion with an associate at work about various ways to
build
If you're on a POSIX system, you could use the usual fork/exec/wait:
import os
for lstArgs in pileOflstArgs:
pid = os.fork()
if not pid:
os.execv( app, lstArgs )
for i in range(len(pileOflstArgs)):
pid, status = os.wait()
Of couse, os.wait() will block until a child exits.
Cameron Walsh wrote:
Hi,
I'm writing a python program to analyse and export volumetric data. To
make development and extension easier, and to make it more useful to the
public when it is released (LGPL), I would like to enable users to place
their own python files in a user_extensions
Matthew Warren [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I learned over the years to do things like the following, and I like
doing it like this because of readability, something Python seems to
focus on :-
Print There are +number+ ways to skin a +furryanimal
In python:
1 - 100 of 238 matches
Mail list logo