On Aug 11, 5:40 am, Mensanator <[EMAIL PROTECTED]> wrote:
> On Aug 10, 11:18 pm, ssecorp <[EMAIL PROTECTED]> wrote:
>
> > Is there a syntax for looping through 2 iterables at the same time?
>
> > for x in y:
> > for a in b:
>
> > is not what I want.
>
> > I want:
> > for x in y and for a in b:
>
>
ssecorp schrieb:
If I have an expression like "bob marley" and I want to match
everything with one letter wrong, how would I do?
so "bob narely" and "vob marley" should match etc.
Fuzzy matching is better done using Levensthein-distance [1] or
n-gram-matching [2].
Diez
[1] http://en.wikip
On Aug 10, 11:14 pm, ssecorp <[EMAIL PROTECTED]> wrote:
> On Aug 11, 6:40 am, Mensanator <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Aug 10, 11:18 pm, ssecorp <[EMAIL PROTECTED]> wrote:
>
> > > Is there a syntax for looping through 2 iterables at the same time?
>
> > > for x in y:
> > > for a in b:
>
>
On Sun, 10 Aug 2008 23:14:50 -0700, ssecorp wrote:
> I know zip but lets say I have a word "painter" and I want to compare it
> to a customer's spelling, he might have written "paintor" and I want to
> check how many letters are the same.
>
> Now I know how I could do this, it is not hard. I am j
Joseph schrieb:
Hi all,
My shared host provides python 2.3. Since it is a shared hosting, he
is not willing to upgrade to a newer version.
He doesn't need to upgrade, he can install in parallel.
I am looking for option to upload 2.5 on my own. Is this possible and
if so, can anyone please pro
hypermonkey2 wrote:
> In any case, I shelve into a file "test.txt". I notice that when i try
> running the program on a different computer (by either emailing or
> transfering the file "test.txt" via USB key), the program is unable to
> load the shelve file.
You might find the 3rd party module 'sh
Hi all,
I am not altogether experienced in Python, but I haven't been able to
find a good example of the syntax that I'm looking for in any tutorial
that I've seen. Hope somebody can point me in the right direction.
This should be pretty simple: I have two dictionaries, foo and bar.
I am certai
for k in foo:
foo[k] += bar.get(k, 0)
On Mon, Aug 11, 2008 at 3:27 AM, Brandon <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am not altogether experienced in Python, but I haven't been able to
> find a good example of the syntax that I'm looking for in any tutorial
> that I've seen. Hope somebody
Others have replied to your original question. As an aside, just a few
stylistic notes:
class Score:
def __init__(self, name_, score_):
self.name = name_
self.score = score_
These trailing underscores look like a habit from another language. They
are unneeded in Pyth
On 11 ago, 04:34, "SPE - Stani's Python Editor"
<[EMAIL PROTECTED]> wrote:
> On 10 aug, 20:42, [EMAIL PROTECTED] wrote:
>
>
>
> > Hello,
>
> > I've installed Eclipse, Python 2.5 and wxPython on Ubuntu 8.04. The
> > problem is that I can't get code completion for wx module. I don't
> > know if it oc
On Aug 10, 10:10 pm, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> jlist wrote:
> > I think what makes more sense is to compare the code one most
> > typically writes. In my case, I always use range() and never use psyco.
> > But I guess for most of my work with Python performance hasn't been
> > a is
On Aug 11, 6:24 pm, "Calvin Spealman" <[EMAIL PROTECTED]> wrote:
> for k in foo:
> foo[k] += bar.get(k, 0)
An alternative:
for k in bar:
foo[k] += bar[k]
The OP asserts that foo keys are a superset of bar keys. If that
assertion is not true (i.e. there are keys in bar that are not in foo,
y
On Aug 11, 10:55 am, [EMAIL PROTECTED] wrote:
> On Aug 10, 10:10 pm, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>
> > jlist wrote:
> > > I think what makes more sense is to compare the code one most
> > > typically writes. In my case, I always use range() and never use psyco.
> > > But I guess for mo
Serge:
in your code i believe that you did one read of your whole input file, and then
you emitted that to the dc with textout. textout's use is actually
(x,y,string).
hence one line got printed (actually the whole file got printed but
truncated)
you will have to detect all the end of lines
Hi all
I'm developing an application with some reports and we're looking for
advice. This reports should be openoffice.org .odf files, pdf files,
and perhaps microsoft word files (.doc, .docx?) and must be digitally
signed. Is out there some kind of libraries to ease this tasks?
* Access to the l
Kay Schluehr wrote:
P4D = E4X style embedded DSL for Python but without E and X.
The main feature of P4D 1.2 are *Bytelets*. While the primary purpose
of P4D 1.1 was the support textual data which can be considered as
isomorphic to XML the new release is focussed on binary data. Bytelets
are P4D
[EMAIL PROTECTED] wrote:
> On Aug 10, 10:10 pm, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>> jlist wrote:
>> > I think what makes more sense is to compare the code one most
>> > typically writes. In my case, I always use range() and never use psyco.
>> > But I guess for most of my work with Python
On Aug 11, 2:09 pm, [EMAIL PROTECTED] wrote:
> On Aug 11, 10:55 am, [EMAIL PROTECTED] wrote:
>
>
>
> > On Aug 10, 10:10 pm, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>
> > > jlist wrote:
> > > > I think what makes more sense is to compare the code one most
> > > > typically writes. In my case, I alw
How to execute commands in internal zones of solaris using python
running from the global zone ?
i tried --
1> os.popen("zlogin ")
2> os.popen("zonename")
the 2nd command executes back into the global zone and not into the
internal zone
can anyone help?
Hishaam
--
http://mail.python.org/mailman
Apologies for any multiple copies received. We would appreciate it if
you could distribute the following call for papers to any relevant mailing
lists you know
of.
---
I want to realize a list of numbers. They follow pareto distribution.
For instance, the average value is 10 and alpha is 1.0
I do not know how to use the function of paretovariate(alpha). It only provides
alpha parameter. How should I set the average value?
--
http://mail.python.org/mailman/list
James Brady was kind enough to say:
> Hi all,
> I'm looking for a python library that lets me execute shell commands
> on remote machines.
>
> I've tried a few SSH utilities so far: paramiko, PySSH and pssh;
> unfortunately all been unreliable, and repeated questions on their
> respective mailing
Peter Otten wrote:
[EMAIL PROTECTED] wrote:
On Aug 10, 10:10 pm, Kris Kennaway <[EMAIL PROTECTED]> wrote:
jlist wrote:
I think what makes more sense is to compare the code one most
typically writes. In my case, I always use range() and never use psyco.
But I guess for most of my work with Pyt
James Brady wrote:
Hi all,
I'm looking for a python library that lets me execute shell commands
on remote machines.
I've tried a few SSH utilities so far: paramiko, PySSH and pssh;
unfortunately all been unreliable, and repeated questions on their
respective mailing lists haven't been answered..
Please chat with me by www.mall-aol.comto get the price and more
photos, we take paypal payment $28/pairs as payment. please see the
photo album below for our product list.
jordan shoes paypal payment $28/pairs www.mall-aol.com (
http://photo.163.com/photos/huayuexiehang/118447112/ )
jordan k
On Aug 11, 3:14 am, "zhjchen" <[EMAIL PROTECTED]> wrote:
> I want to realize a list of numbers. They follow pareto distribution.
> For instance, the average value is 10 and alpha is 1.0
> I do not know how to use the function of paretovariate(alpha). It only
> provides
> alpha parameter. How shoul
for similar tasks, I use pexpect http://pypi.python.org/pypi/pexpect.
spawning bash process and simulate an interactive session. Here sending ls
command, retrieving results and exiting. In the spawned process ssh or any
other command, is just another command.
actual session
On Sun, 10 Aug 2008 21:25:38 -0700 (PDT), James Brady <[EMAIL PROTECTED]> wrote:
Hi all,
I'm looking for a python library that lets me execute shell commands
on remote machines.
I've tried a few SSH utilities so far: paramiko, PySSH and pssh;
unfortunately all been unreliable, and repeated quest
sounds like *soundex* is what you are looking for. google soundex
regards
Edwin
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Marc 'BlackJack' Rintsch
Sent: Monday, August 11, 2008 3:09 AM
To: python-list@python.org
Subject: Re: for x,y in word1, word2
Hi All,
This is a bit off-topic but may be of interest to some
people. I have just found a website that looks interesting. It lets
companies register their products for beta testing, and testers
specify what sort of products that they would like to test.
Sort of a beta testing dating
Could someone suggest me ways to convert PDF files to HTML files??
Does Python have any modules to do that job??
Thanks,
Srini
Unlimited freedom, unlimited storage. Get it now, on
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
--
http://mail.python.org/mailman/listin
I use pexpect.
On Mon, Aug 11, 2008 at 7:22 AM, Jean-Paul Calderone <[EMAIL PROTECTED]>wrote:
> On Sun, 10 Aug 2008 21:25:38 -0700 (PDT), James Brady <
> [EMAIL PROTECTED]> wrote:
>
>> Hi all,
>> I'm looking for a python library that lets me execute shell commands
>> on remote machines.
>>
>> I'v
If isMult is slow then:
if len(str(a)) == len(str(r)) and isMult(a, r):
trues.append((a, r))
will be much faster than:
if isMult(a, r) and len(str(a)) == len(str(r)):
trues.append((a, r))
right? seems obvious but there is no magic going on that wouldn't
make thi
On Aug 11, 3:03 pm, maestro <[EMAIL PROTECTED]> wrote:
> If isMult is slow then:
>
> if len(str(a)) == len(str(r)) and isMult(a, r):
> trues.append((a, r))
>
> will be much faster than:
>
> if isMult(a, r) and len(str(a)) == len(str(r)):
> trues.append((a, r))
>
> ri
"Bill McClain" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 2008-08-09, dusans <[EMAIL PROTECTED]> wrote:
>> Is there a py module, which would get me information of a movie file:
>> - resolution
>> - fps
>
> I don't know of one. I use the transcode utilities for this and parse
Hi,
how can I combine some dynamically generated html code (using python) with the
output of a urllib.openurl() call?
I have tried to use the StringIO() class with .write functions, but it did not
work. Below is the code that does not work.
[CODE]
f=StringIO.StringIO()
f.write('data analysis')
[EMAIL PROTECTED] wrote:
Hi,
how can I combine some dynamically generated html code (using python) with the
output of a urllib.openurl() call?
I have tried to use the StringIO() class with .write functions, but it did not
work. Below is the code that does not work.
Help us help you. "Does n
On Mon, Aug 11, 2008 at 9:15 AM, <[EMAIL PROTECTED]> wrote:
> [CODE]
> f=StringIO.StringIO()
> f.write('data analysis')
> f.write(urllib.urlopen("http://localhost/path2Libs/myLibs.py";,
> urllib.urlencode(TheData)))
> f.write("")
>
> print "Content-type: text/html\n"
> print f.read()
> f.close()
srinivasan srinivas wrote:
Could someone suggest me ways to convert PDF files to HTML files??
Does Python have any modules to do that job??
Thanks,
Srini
Unless there is some recent development, the answer is no, it's not
possible. Getting text out of PDF is difficult (to say the least) and a
Google does'nt allow use of their API's anymore, I belive Yahoo has one or
you could do something like below.
searchstring = 'stuff here'
x = os.popen('lynx -dump http://www.google.com/search?q=%s' %
searchstring).readlines()
-Original Message-
From: Steven D'Aprano [mailto:[EMAIL PRO
Hello group,
i am running a web server on cherrypy 2.2.0 using python2.5 and
turbogears1.0. I have a client application in C#.NET which uploads
the
data on to web server over HTTP.
Very frequently i encounter error logs on my client application which
says -- "Unable to read data from trans
WP a écrit :
Hello, here are some new things I've problems with. I've made a program
that opens and reads a text file. Each line in the file contains a name
and a score. I'm assuming the file has the correct format. Each
name-score pair is used to instantiate a class Score I've written. This
w
Before I set out to reinvent the wheel.
I want a dictionary-like structure for which most lookups will be on a
key that is not in the "dictionary"; in which case I want a key/value
returned which is the closest key that is less than the search term.
The batch solution of matching the values
slais-www, a BK-tree maybe isn't right what you need but it may be
enough:
http://code.activestate.com/recipes/572156/
Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list
You might try subprocess, first of all. Use it to launch zlogin and
then treat it like a shell and write 'zonename\n' to its stdin, to
simulate running it as a user. This is a good bet, but I don't have
either available to try it. The subprocess documentation covers
invoking a process and writing t
On Aug 11, 9:18 am, slais-www <[EMAIL PROTECTED]> wrote:
> Before I set out to reinvent the wheel.
>
> I want a dictionary-like structure for which most lookups will be on a
> key that is not in the "dictionary"; in which case I want a key/value
> returned which is the closest key that is less than
hello,
I'm trying to make an editor with an integrated Shell.
>>So when type:
2+5
>>I want the answer on the next line:
7
>>When I type:
myvar = 55
myvar
>>I want the value of myvar:
55
So AFAIK, sometimes I've to use eval and sometimes I need exec,
so I use the following code (global / local
Sorry, my fault...
I am trying to build a web application for data analysis. Basically some data
will be read from a database and passed to a python script (myLibs.py) to build
an image as follows.
[CODE]
f=urllib.urlopen("http://localhost/path2Libs/myLibs.py",urllib.urlencode(TheData))
print "
On Sun, Aug 10, 2008 at 9:54 PM, <[EMAIL PROTECTED]> wrote:
> I'm looking for a version of Python for Blackberry mobile phones - has
> anyone heard of such a thing? I've been googling this topic without success.
>
> Thanks,
> Malcolm
My understanding is that the BB's run Java, so there *may* be s
On Sun, Aug 10, 2008 at 9:10 PM, ssecorp <[EMAIL PROTECTED]> wrote:
> If I have an expression like "bob marley" and I want to match
> everything with one letter wrong, how would I do?
> so "bob narely" and "vob marley" should match etc.
At one point I needed something like this so did a straight p
My first thought is that you should be looking at implementations of
Hamming Distance. If you are actually looking for something like
SOUNDEX you might also want to look at the double metaphor algorithm,
which is significantly harder to implement but provides better
matching and is less susceptibl
if you need a good python ide with great code completition, then why
don't you try WingIde.
On 11 kol, 10:49, [EMAIL PROTECTED] wrote:
> On 11 ago, 04:34, "SPE - Stani's Python Editor"
>
>
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > On 10 aug, 20:42, [EMAIL PROTECTED] wrote:
>
> > > Hello,
>
> > > I'
Okay I'm having a few issues with this and I can't seem to get it
sorted out (most likely due to my inexperience with Python).
Here is my Python code:
def fileInput():
data = []
s = raw_input("Please enter the filename to process (enter full path
if not in current directory): ")
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> John Krukoff:
> > One possibility for the performance difference, is that as I understand
> > it the psyco developer has moved on to working on pypy, and probably
> > isn't interested in keeping psyco updated and optimized for new python
I have tried calling a script containing the code below from a web browser and
it did not get the text.
[CODE]
#!c:/Python25/python.exe -u
import StringIO
f=StringIO.StringIO()
f.write('data analysis site')
f.write("This is a trial test")
f.write("")
print "Content-type: text/html\n"
print f.r
On Mon, 11 Aug 2008 17:26:56 +0200, Stef Mientki wrote:
> I'm trying to make an editor with an integrated Shell.
...
> Is this the (most) correct / elegant way, or are there better solutions
> ?
The best solution is not to re-invent the wheel: "import code" is the way
to emulate Python's intera
On Sun, 10 Aug 2008 16:34:34 -0400, Rob Clewley wrote:
> Dear Pythonistas,
>
> How many times have we seen posts recently along the lines of "why is it
> that 0.1 appears as 0.10001 in python?" that lead to posters
> being sent to the definition of the IEEE 754 standard and the decima
On 11 Aug., 11:41, Gerhard Häring <[EMAIL PROTECTED]> wrote:
> Kay Schluehr wrote:
> > P4D = E4X style embedded DSL for Python but without E and X.
> > The main feature of P4D 1.2 are *Bytelets*. While the primary purpose
> > of P4D 1.1 was the support textual data which can be considered as
> > is
On Mon, Aug 11, 2008 at 12:26 PM, <[EMAIL PROTECTED]> wrote:
> I have tried calling a script containing the code below from a web browser
> and it did not get the text.
You quoted my post that answered this question, but did not implement
either of the two solutions I suggested. I continue to s
Hello there
I am confused in the usage/differences of pympi and threading in python.
What I want to do it to run multiple MCMC simulations by dividing the number
of the chains I want to run on number of the processors available. Some
methods need to be synchronized/locked until some addition opera
Kris Kennaway wrote:
> Peter Otten wrote:
>> [EMAIL PROTECTED] wrote:
>>
>>> On Aug 10, 10:10 pm, Kris Kennaway <[EMAIL PROTECTED]> wrote:
jlist wrote:
> I think what makes more sense is to compare the code one most
> typically writes. In my case, I always use range() and never use
>
On Mon, 11 Aug 2008 00:27:46 -0700, Brandon wrote:
> This should be pretty simple: I have two dictionaries, foo and bar. I
> am certain that all keys in bar belong to foo as well, but I also know
> that not all keys in foo exist in bar. All the keys in both foo and bar
> are tuples (in the bigra
Hi,
Thanks for your patience.
I got the text displayed in the web browser with the following code:
[CODE]
f=StringIO.StringIO()
f.write('data analysis site')
f.write("This is a trial test")
f.write("")
print "Content-type: text/html\n"
print f.getvalue()
f.close()
[/CODE]
Now I am trying to pu
Peter Otten:
> In general I think that if you want to promote a particular coding style you
> should pick an example where you can demonstrate actual benefits.
That good thing is that Python 3 has only xrange (named range), so
this discussion will be mostly over ;-)
Bye,
bearophile
--
http://mail
>
> Is this related to minifloats?
>
> http://en.wikipedia.org/wiki/Minifloat
>
Strictly speaking, yes, although after a brief introduction to the
general idea, the entry on that page focuses entirely on the
interpretation of the values as integers. My code *only* represents
the values in the same
Peter Otten wrote:
Kris Kennaway wrote:
Peter Otten wrote:
[EMAIL PROTECTED] wrote:
On Aug 10, 10:10 pm, Kris Kennaway <[EMAIL PROTECTED]> wrote:
jlist wrote:
I think what makes more sense is to compare the code one most
typically writes. In my case, I always use range() and never use
psyc
dict1.update(dict2) is of course equivalent to this code:
for key, value in dict2.iteritems():
dict1[key] = value
Note that it replaces values in dict1 with the value taken from dict2. I
don't know about other people, but I more often want to keep the values
in dict1 regardless of what's in
Steven D'Aprano wrote:
On Mon, 11 Aug 2008 17:26:56 +0200, Stef Mientki wrote:
I'm trying to make an editor with an integrated Shell.
...
Is this the (most) correct / elegant way, or are there better solutions
?
The best solution is not to re-invent the wheel: "import code"
Steven D'Aprano <[EMAIL PROTECTED]> wrote:
> dict1.update(dict2) is of course equivalent to this code:
>
> for key, value in dict2.iteritems():
> dict1[key] = value
>
> Note that it replaces values in dict1 with the value taken from dict2. I
> don't know about other people, but I more often
On Mon, Aug 11, 2008 at 10:05 AM, <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks for your patience.
>
> I got the text displayed in the web browser with the following code:
>
> [CODE]
> f=StringIO.StringIO()
> f.write('data analysis site')
> f.write("This is a trial test")
> f.write("")
>
> print "Co
> Maybe the following syntax would be even more intuitive:
>
> def foo(a: "a info", b: "b info") return "ret info" raise "exc info":
> return "hello world"
>
> I don't know how determined the "->" syntax is already.
That seems much more intuitive and extensible. The "->" syntax has
always
dusans wrote:
> Is there a py module, which would get me information of a movie file:
> - resolution
> - fps
http://doc.freevo.org/2.0/Kaa#head-919960011a3523a465d1cacc57f2f8e7b0e8ad00
(I haven't used it myself)
Peter
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Aug 11, 2008 at 8:44 AM, Casey <[EMAIL PROTECTED]> wrote:
> My first thought is that you should be looking at implementations of
> Hamming Distance. If you are actually looking for something like
> SOUNDEX you might also want to look at the double metaphor algorithm,
> which is significant
[EMAIL PROTECTED] wrote:
Hello,
I've installed Eclipse, Python 2.5 and wxPython on Ubuntu 8.04. The
problem is that I can't get code completion for wx module. I don't
know if it occurs the same with other libraries outside the python
"core".
If I compile/run my code containing the wx library, I
[EMAIL PROTECTED] wrote:
> Hi,
>
> Thanks for your patience.
>
> I got the text displayed in the web browser with the following code:
>
> [CODE]
> f=StringIO.StringIO()
> f.write('data analysis site')
> f.write("This is a trial test")
> f.write("")
>
> print "Content-type: text/html\n"
> print
2008/8/9 dusans <[EMAIL PROTECTED]>
> Is there a py module, which would get me information of a movie file:
> - resolution
> - fps
> --
> http://mail.python.org/mailman/listinfo/python-list
>
if you have linux installed you can use gstreamer and the bindings pygst
-tobias
--
http://mail.python.o
Hello group,
I'm having a seemingly simple problem. I want to generate a hierarchy of
modules, like this one:
GenerationScripts/
GenerationScripts/dhcp
GenerationScripts/bind9
And the files:
GenerationScripts/dhcp/__init__.py
GenerationScripts/bind9/generator.py
GenerationScripts/bind9/__ini
Hello,
I have a C function f(void**,int *), in which it writes some
information (it is a RGB32 image).
Here is what i do
rowlength=c_int()
data=c_void_p()
d=pointer(data)
f(d,byref(rowlength)
The call works (no segmentation fault), now how do i access the data
in d? Because i need to pass it to a
Thanks, Timothy. I'm pretty sure that there is no such thing as a "beautiful"
implementation of double-metaphone but I would personally like to have a copy
of your python implementation. I have a fairly elegant version of the original
metaphone algorithm I wrote myself (in PERL, many years ago) b
The Grant Institute: Certificate in Professional Program Development and Grant Communication
will be held at the University of Phoenix - Burlington Campus, August 18 - 22, 2008. Interested development professionals, researchers, faculty, and graduate students should register as soon as possible
On Mon, Aug 11, 2008 at 12:13 PM, Dave Webster <[EMAIL PROTECTED]> wrote:
> Thanks, Timothy. I'm pretty sure that there is no such thing as a "beautiful"
> implementation of double-metaphone but I would personally like to have a copy
> of your python implementation. I have a fairly elegant versio
What about pexpect?
http://www.noah.org/wiki/Pexpect
-Original Message-
From: Alan Franzoni [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2008 5:41 AM
To: python-list@python.org
Subject: Re: SSH utility
James Brady was kind enough to say:
> Hi all,
> I'm looking for a python lib
Johannes Bauer a écrit :
Hello group,
I'm having a seemingly simple problem. I want to generate a hierarchy of
modules, like this one:
GenerationScripts/
GenerationScripts/dhcp
GenerationScripts/bind9
And the files:
GenerationScripts/dhcp/__init__.py
GenerationScripts/bind9/generator.py
Gen
It would be also nice to see python on an iPhone
On Mon, Aug 11, 2008 at 8:29 AM, Timothy Grant <[EMAIL PROTECTED]>wrote:
> On Sun, Aug 10, 2008 at 9:54 PM, <[EMAIL PROTECTED]> wrote:
> > I'm looking for a version of Python for Blackberry mobile phones - has
> > anyone heard of such a thing? I'v
[EMAIL PROTECTED] a écrit :
Sorry, my fault...
I am trying to build a web application for data analysis. Basically
some data will be read from a database and passed to a python script
(myLibs.py) to build an image as follows.
[CODE]
f=urllib.urlopen("http://localhost/path2Libs/myLibs.py",urlli
Hi,
I'm developing an application with some reports and we're looking for
advice. This reports should be openoffice.org .odf files, pdf files,
and perhaps microsoft word files (.doc, .docx?) and must be digitally
signed. Is out there some kind of libraries to ease this tasks?
For signing you c
please respond with resume. Candidates must be in the USA.
--
http://mail.python.org/mailman/listinfo/python-list
sapsi <[EMAIL PROTECTED]> wrote:
> I have a C function f(void**,int *), in which it writes some
> information (it is a RGB32 image).
>
> Here is what i do
> rowlength=c_int()
> data=c_void_p()
> d=pointer(data)
> f(d,byref(rowlength)
> The call works (no segmentation fault), now how do i a
Is it possible to create custom PyQt4 Slots, i have searched high and
low to no avail;
I have an application that can set animation speed to different
levels, i want the user to alter this, now quite clearly i can write a
single function to control setting any speed with something like:
def setSp
On Sat, 09 Aug 2008 08:07:26 -0700, Mensanator wrote:
> 40329146112660563558400
I think it's only 4 septillion.
Perfectly manageable.
** Posted from http://www.teranews.com **
--
http://mail.python.org/mailman/listinfo/python-list
ff schrieb:
Is it possible to create custom PyQt4 Slots, i have searched high and
low to no avail;
I have an application that can set animation speed to different
levels, i want the user to alter this, now quite clearly i can write a
single function to control setting any speed with something li
On Mon, 11 Aug 2008 13:46:10 -0700, Tobiah wrote:
> On Sat, 09 Aug 2008 08:07:26 -0700, Mensanator wrote:
>
>> 40329146112660563558400
>
> I think it's only 4 septillion.
I meant 403.
** Posted from http://www.teranews.com **
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 11 Aug 2008 13:46:10 -0700, Tobiah wrote:
> On Sat, 09 Aug 2008 08:07:26 -0700, Mensanator wrote:
>
>> 40329146112660563558400
>
> I think it's only 4 septillion.
I meant to say 403.
** Posted from http://www.teranews.com **
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch schrieb:
ff schrieb:
Is it possible to create custom PyQt4 Slots, i have searched high and
low to no avail;
I have an application that can set animation speed to different
levels, i want the user to alter this, now quite clearly i can write a
single function to control setting
On 11 ago, 22:29, Hartmut Goebel <[EMAIL PROTECTED]> wrote:
> > I'm developing an application with some reports and we're looking for
> > advice. This reports should be openoffice.org .odf files, pdf files,
> > and perhaps microsoft word files (.doc, .docx?) and must be digitally
> > signed. Is ou
> So AFAIK, sometimes I've to use eval and sometimes I need exec,
> so I use the following code (global / local dictionary parameters are
> left out in this example):
>
>
> Is this the (most) correct / elegant way, or are there better solutions ?
You should be using compile with the "single" sta
>> def create_request(url, headers):
>> headers.update(DEFAULT_HEADERS)
>> req = urllib2.Request(url, None, headers)
>> # ...
>> return req
>>
>> but of course this second example does the Wrong Thing, replacing
>> explicit headers with default values.
>
> There's a second code s
On Aug 11, 9:56 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> Diez B. Roggisch schrieb:
>
>
>
> > ff schrieb:
> >> Is it possible to create custom PyQt4 Slots, i have searched high and
> >> low to no avail;
>
> >> I have an application that can set animation speed to different
> >> levels, i
This makes sense. Thanks!
I managed to get what I wanted with something similar to what you suggested:
[CODE]
print "Content-Type: text/html\n\n"
html="""
data analysis site
This is a test
After image text
"""
print html
Martin v. Löwis wrote:
So AFAIK, sometimes I've to use eval and sometimes I need exec,
so I use the following code (global / local dictionary parameters are
left out in this example):
Is this the (most) correct / elegant way, or are there better solutions ?
You should be using compile wi
1 - 100 of 144 matches
Mail list logo