my newsreader told me that [EMAIL PROTECTED] wrote:
> Please post the minimum code necessary to duplicate the problem.
It's impossible, because I am writting performance tests for big commercial
project, I am trying to understand why they sometime fail. By definition of
"read_until()" it should re
I'm sorry for top-posting and not marking quoted text, but my e-mail reader
(Novell Groupwise 6 for Linux) does not mark quoted text. The only thing it
does is the >>> $NAME <$EMAIL> $DATE >>> above the quoted text. Therefore I add
my comments at the top. The only alternative I have is copying a
Am Sonntag, den 28.08.2005, 21:36 + schrieb Chris Spencer:
> Is there any library for Python that implements a kind of universal
> number object. Something that, if you divide two integers, generates a
> ratio instead of a float, or if you take the square root of a negative,
> generates a co
Michael Sparks wrote:
> def approx(x):
> return int(x+1.0)
I doubt this is what the OP is looking for.
>>> approx(3.2)
4
>>> approx(3.0)
4
Others have pointed to math.ceil, which is most likely what the OP wants.
/Mikael Olofsson
Universitetslektor (Senior Lecturer [BrE], Associate Profes
I have same problem with expect :-(
I am calling:
l=[expected]
result=self.telnet.expect(l,timeout)
it works in most cases, but sometimes (with exacly same "expected" value) it
returns -1,Nil,"some text"
the point is, that:
- connection is still active, so it should read more!
- it doesn't wait
Marked -1 Flamebait, but I'll respond anyway.
I've read the documents he refers to, and although I agree that the Python docs
aren't perfect, I do not agree with him on which points. I for example do think
it's important to incude info on which versions of the language support a
feature.
He see
On Saturday 27 August 2005 03:21 am, David MacQuigg wrote:
> The discouraging thing about the EDA tools situation is that no matter
> how loudly design engineers complain about the poor quality of the
> proprietary tools they are using, there is very little interest in
> participating in an open-so
Dear All,
I am working in web based email system project.
Here I try to build email message
from scratch. I used below code to build email
message
msg = email.MIMEBase('text','html')
msg['Return-Path'] = user+'@'+domain
msg['Date'] = formatdate(localtime=1)
msg['Subject'] =
Dear All,
I am working in web based email system project.
Here I try to build email message
from scratch. I used below code to build email
message
msg = email.MIMEBase('text','html')
msg['Return-Path'] = user+'@'+domain
msg['Date'] = formatdate(localtime=1)
msg['Subject'] = s
Robert Kern wrote:
> If I may digress for a bit, my advisor is currently working on a project
> that is processing seafloor depth datasets starting from a few decades
> ago. A lot of this data was orginally to be processed using FORTRAN
> software, so in the idiom of much FORTRAN software from thos
Mike Meyer wrote:
> I'm still waiting for an answer to that one - where's the Java toolkit
> that handles full-featured GUIs as well as character cell
> interfaces. Without that, you aren't doing the job that the web
> technologies do.
Where is the text-mode browser that would even run part of the
On some connections only from some computers/network setups I get this
error:
Traceback (most recent call last):
File "", line 1, in ?
File "ClientCookie\_urllib2_support.pyo", line 524, in open
File "ClientCookie\_urllib2_support.pyo", line 424, in http_response
File "ClientCookie\_urllib
"Adriaan Renting" <[EMAIL PROTECTED]> writes:
> He seems to think the GNU man pages are nice, but I find them very
> awkward as they have no hierarchical organization, and most miss examples.
The GNU man pages are an afterthought to meet expectations of Un*x
users who were used to man pages and th
Op 2005-08-27, Terry Reedy schreef <[EMAIL PROTECTED]>:
>
> "Paul Rubin" <"http://phr.cx"@NOSPAM.invalid> wrote in message
> news:[EMAIL PROTECTED]
>> "Terry Reedy" <[EMAIL PROTECTED]> writes:
>>> The try/except pattern is a pretty basic part of Python's design. One
>>> could say the same about c
Op 2005-08-27, Steve Holden schreef <[EMAIL PROTECTED]>:
>>
>>
> If you want an exception from your code when 'w' isn't in the string you
> should consider using index() rather than find.
Sometimes it is convenient to have the exception thrown at a later
time.
> Otherwise, whatever find() retu
Magnus Lycka wrote:
> Robert Kern wrote:
>
>>If I may digress for a bit, my advisor is currently working on a project
>>that is processing seafloor depth datasets starting from a few decades
>>ago. A lot of this data was orginally to be processed using FORTRAN
>>software, so in the idiom of much F
Adriaan Renting wrote:
> My original code was: exec(eval("'a%s=%s' % (count, value)"))
> Then Rafi said: exec("'a%s=%s' % (count, value)")
> To which I responded that his example does not work in my Python, and I think
> it's invalid.
> Then Martin came with: exec 'a%s = %s' % (count, value)
> Th
Much more useful stuff for beginners is here:
http://wiki.python.org/moin/BeginnersGuide
--
http://mail.python.org/mailman/listinfo/python-list
I run a Java command line program. The point is, that it's not the
program that output this error message for sure. And I don't expect
popen3() to catch and report errors. I just want to keep my screen
output clean, and I expect popen3() to run the program and not let
anything slip to the scree
> I used below code to build email message
[...]
> msg.set_payload("Body of the email messagge")
[...]
> This code will build plain email message properly.
> But after building the message. If a email user
> download this mail through out look express then
> this email message will display witho
praba kar enlightened us with:
> This code will build plain email message properly.
It's not a plain email message. It's an html email without a plain
text part. Highly annoying to many people.
> But after building the message. If a email user download this mail
> through out look express then t
--- Sybren Stuvel
<[EMAIL PROTECTED]> wrote:
> praba kar enlightened us with:
> > This code will build plain email message properly.
>
> It's not a plain email message. It's an html email
> without a plain
> text part. Highly annoying to many people.
>
> > But after building the message. If a e
[EMAIL PROTECTED] wrote:
> Steve Horsley schreef:
>
>
>>Probably the same problem. If you didn't send a 2 byte length
>>indicator first, then java's readUTF() will have tried to
>>interpret the first 2 bytes that you did actually send as the
>>string length, and may well simply be waiting patient
Chris Spencer wrote:
> Is there any library for Python that implements a kind of universal
> number object. Something that, if you divide two integers, generates a
> ratio instead of a float, or if you take the square root of a negative,
> generates a complex number instead of raising an exception?
CHANGE OF EMAIL ADDRESS NOTIFICATION
Dear Clients, Suppliers & Friends,
Effective August 1st 2005, my new email address will be [EMAIL PROTECTED]
During this transition period, I'll still be receiving mails from my old
account.
Thanks & Regards,
Tracy Taw
SWOT Brand Architecture Sdn Bhd
an
Am Fri, 26 Aug 2005 12:21:36 -0400 schrieb Steve Holden:
> Thomas Guettler wrote:
>> Am Fri, 26 Aug 2005 11:49:34 +0100 schrieb Jon Hewer:
>> you could port Python to the WRT54.
>> The Linksys WRT54 is a WLAN-Router which runs Linux.
>> See http://openwrt.org/
>> I think it is a good project for
That is not what Sybren requested - we need the message text. If you
send html, make sure your paragraphs are html paragraphs (enclosed in
-tags) and not pure whitespace, as html ignores these.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
In comp.lang.perl.misc Mike Meyer <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] writes:
>> In comp.lang.perl.misc John Bokma <[EMAIL PROTECTED]> wrote:
>>> Chris Head <[EMAIL PROTECTED]> wrote:
What advantages would those be (other than access from 'net cafes, but
see below)?
>>> And wor
Mikael Olofsson wrote:
> Michael Sparks wrote:
>
>> def approx(x):
>> return int(x+1.0)
>
> I doubt this is what the OP is looking for.
...
> Others have pointed to math.ceil, which is most likely what the OP wants.
I agree that's "likely" but, as Michael pointed out in the text you
removed
(Please don't top-post. It makes quoting difficult and it's hard for
people to follow the conversation.)
Yoav wrote:
> I run a Java command line program. The point is, that it's not the
> program that output this error message for sure.
Okay. Since you don't provide any proof, we'll have to
Hello,
i've got a problem with pointers in the following function which i want
to use:
I16 __stdcall DO_ReadPort (U16 CardNumber, U16 Port, U32 *Value)
The function is supposed to read out the status of a digital port of
analog digital interface card.
I got this function from Dask.h which came wi
A major Investment Bank is searching for a strong Java or C++ developer that
can build Pipes to Electronic Exchanges and ECNs. This is a new Internal
Hedge Fund Business and they are looking for superb C++ or Java programmers
that can enable them to go live in 1-2 months and begin trading. THIS IS
[EMAIL PROTECTED] a écrit :
> is there a way to embed common lisp programs in python?
>
It depends on what you call "embedding" ... can you be more specifiv
about what you want ?
--
http://mail.python.org/mailman/listinfo/python-list
"Tompa" <[EMAIL PROTECTED]> wrote:
> Yes, I believe so too. Something like this, as suggested by Benjamin:
> sys.stdout.write('Status: 200 OK\r\n')
> sys.stdout.write('Content-type: image/gif\r\n')
> sys.stdout.write('\r\n')
> im.save(sys.stdout, "GIF")
>
> But it does not work for some reason!?
Oops, you're completely right.
I'm sorry, it is indeed my mistake.
I was thinking people were telling me I was quoting Martin wrong, while I was
quoting Rafi wrong. I'll promise not quote anybody anymore until I have an
e-mail program that can quote/copy properly. As reading it in one window, th
On Sat, 27 Aug 2005 14:35:05 -0400, Mike Meyer <[EMAIL PROTECTED]> wrote:
>Ulrich Hobelmann <[EMAIL PROTECTED]> writes:
>> Mike Meyer
I wonder could you guys stop cross-posting this stuff to
comp.lang.perl.misc? The person who started this thread - a
well-known troll - saw fit to post it there,
Le 29 Aug 2005 06:19:17 -0700, [EMAIL PROTECTED] a écrit :
> Hello,
> i've got a problem with pointers in the following function which i want
> to use:
>
> I16 __stdcall DO_ReadPort (U16 CardNumber, U16 Port, U32 *Value)
>
> The function is supposed to read out the status of a digital port of
> ana
Kevin McGann wrote:
> -Expert Java or C++
Now why exactly do you post that in c.l.python?
> THEY ARE LOCATED IN NEW YORK, THIS IS FULL-TIME ONLY, WILL NOT CONSIDER
> ANYONE FROM OUTSIDE THE US! THIS TEAM IS AN ELITE TEAM, YOU BETTER BE
> GOOD
I'm pretty sure you've some spelling wrong here,
Vaibhav wrote:
> I recently heard about 'new-style classes'. I am very sorry if this
> sounds like a newbie question, but what are they? I checked the Python
> Manual but did not find anything conclusive. Could someone please
> enlighten me? Thanks!
In short: They have inherited "object" from s
thanks a bunch, i just got the answer myself. next time i think about
it a little longer.
thanks again
carlo
--
http://mail.python.org/mailman/listinfo/python-list
F. Petitjean wrote:
>Le 29 Aug 2005 06:19:17 -0700, [EMAIL PROTECTED] a écrit :
>
>
...
>You can use the ctypes.byref() function (as it is in an argulent list):
>
> ReadOPort.argtypes = (c_ushort, c_ushort, ctypes.POINTER(c_ulong) )
> ReadOPort.restype = c_short
> status = c_ulong() # stat
Paul Rubin wrote
>> (1) Can this be done with python? If so, what module do I need to look
>> up?
>
> You could do it with PIL, or run jpegtran in an external process.
> jpegtran may be easier.
eh? are you sure you know what jpegtran does?
JPEGTRAN(1)
JPEGTRAN(1)
NAME
jpegtran - lossl
Mike C. Fletcher wrote:
> The core function looks something like this:
>
> import Image # this is PIL
>
> def getThumbnail( filename, size = (32,32) ):
>'''Get a thumbnail image of filename'''
>image = Image.open(filename)
>rx, ry = image.size[0]/float(size[0]), image.size[1]/float(siz
Hi all...
...I've got a Python script running on a bunch of boxen sharing some
common NFS-exported space. I need (not want :) to lock files for
writing, and I need (not want :) to do it safely (i.e. atomically).
I'm doing this in Linux; NFS4 is available. As I understand it, my
options are:
1.
Thanks you all, guys, for your suggestions and help. Everything now
works great :)
Regards
Petr Jakes
--
http://mail.python.org/mailman/listinfo/python-list
I use Python to generate a huge amount of data in a .csv file which I
then process using Excel. In particular, I use Excel's solver to solve
a number of non-linear equation, and then regress the results of
hundreds of calls to Solver against a set of known values, enabling me
to calibrate my model.
Hi,
I want to get text out of some nodes of a huge xml file (1,5 GB). The
architecture of the xml file is something like this
bla
blablabla
I want to combine the text out of page:title and page:revision:text for
every single page element. O
Robert Kern wrote:
> Shaun wrote:
> > Thanks for your replies, obviously this isn't a simple thing to do so
> > I'll take a different tack.
> >
> > The exact problem I am trying to solve here is to avoid the
> > ZeroDivisionError in division.
> > I have c++ code which delegates to python to calcul
Hi all,
Wondering if a GIL lock/unlock causes a re-schedule/contect swap when
embedding Python in a multi-threaded C/C++ app on Unix ?
If so, do I have any control or influence on this re-scheduling ?
The app suffers from serious performance degradation (compared to pure
c/C++) and high context
[EMAIL PROTECTED] wrote:
> I use Python to generate a huge amount of data in a .csv file which I
> then process using Excel. In particular, I use Excel's solver to solve
> a number of non-linear equation, and then regress the results of
> hundreds of calls to Solver against a set of known values, e
Adam Tomjack wrote:
> I'd write it like this:
>
>bin = {}
>for start, end, AS, full in heard:
> week = int((start-startDate)/aWeek)
> counters = bin.setdefault(week, [0, 0])
> if full:
> counters[0] += 1
> else:
> counters[1] += 1
>
>for week,
Iain King wrote:
> Robert Kern wrote:
>>You have silly users.
>
> You mean you don't? Damn. Can I have some of yours?
No, you may not. Mine! All mine!
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard H
Has anyone done or worked on a port of Python to the Treo?
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> import csv
> temp1 = []
> temp2 = []
> reader = csv.reader(file(r"py_monsters.csv"))
> for rec in reader:
> temp1.append(rec)
> for i in temp1[1:]:
> temp2.append((i[0],dict(zip(temp1[0][1:],i[1:]
> monsters = dict(temp2)
I would tend to write this as:
i
John Bokma wrote:
> "T Beck" <[EMAIL PROTECTED]> wrote:
>
> >
[snip]
> > alongside of it. The internet is a free-flowing evolving place... to
> > try to protect one little segment like usenet from ever evolving is
> > just ensuring it's slow death, IMHO.
>
> And if so, who cares? As long as peopl
this code
h=httplib.HTTPConnection('euronext.com')
h.request('GET',
'http://www.euronext.com/home/0,3766,1732,00.html')
fails with this message
File "httplib.py", line 532, in connect
socket.SOCK_STREAM):
socket.gaierror: (-2, 'Name or service not known')
what am i doi
basically, what I'm looking to do is use python as a bridge between C
and Common Lisp to create a virtual city that contains Artificial life.
--
http://mail.python.org/mailman/listinfo/python-list
Randy Bush wrote:
> Steven Bethard wrote:
>> It would probably help if you explained what the real problem is
>> you're trying to solve.
>
> actually, that code fragment was meant to do that. it's pretty much
> what i needed to do at that point, just the variable names made
> simple.
Yeah, I gat
[EMAIL PROTECTED] a écrit :
> Hi all,
>
> Wondering if a GIL lock/unlock causes a re-schedule/contect swap when
> embedding Python in a multi-threaded C/C++ app on Unix ?
>
> If so, do I have any control or influence on this re-scheduling ?
>
> The app suffers from serious performance degradatio
Merci Pierre,
Yes I agree and plan to move more to C/C++ and releasing the GIL when
entering C/C++.
I also need to understand my original question re GIL and rescheduling.
I fear that lock/unlock too often is also causing delays due to context
switching.
BTW do you have any hints/comments on SWI
Why on earth was this cross-posted to comp.lang.c.? Followups set.
On Mon, 29 Aug 2005 12:26:11 GMT, [EMAIL PROTECTED] wrote:
>In comp.lang.perl.misc Mike Meyer <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] writes:
>>> In comp.lang.perl.misc John Bokma <[EMAIL PROTECTED]> wrote:
Chris Head
Hi,
I'd advocate for using SAX, as DOM related methods implies loading the
complete XML content in memory whereas SAX grab things on the fly.
SAX method should therefore be faster and less memory consuming...
By the way, if your goal is to just "combine the text out of page:title
and page:revisio
Robert Kern wrote:
> If you find suitable
> FORTRAN or C code that implements a particular "robust" algorithm, it
> can probably wrapped for scipy relatively easily.
An alternative would be to call R (a free statistical package) from
Python, using something like the R/SPlus - Python Interface a
On 29 Aug 2005 08:17:04 -0700
"jog" <[EMAIL PROTECTED]> wrote:
> I want to get text out of some nodes of a huge xml file (1,5 GB). The
> architecture of the xml file is something like this
> [structure snipped]
> I want to combine the text out of page:title and page:revision:text
> for every single
"jog" wrote:
> I want to get text out of some nodes of a huge xml file (1,5 GB). The
> architecture of the xml file is something like this
> I want to combine the text out of page:title and page:revision:text for
> every single page element. One by one I want to index these combined
> texts (so f
> bin = {}
> for start, end, AS, full in heard:
>week = int((start-startDate)/aWeek)
>counters = bin.setdefault(week, [0, 0])
>if full:
> counters[0] += 1
>else:
> counters[1] += 1
yes! thanks!
> Using an idea you used earlier, you coul
[EMAIL PROTECTED] a écrit :
> Merci Pierre,
>
> Yes I agree and plan to move more to C/C++ and releasing the GIL when
> entering C/C++.
>
> I also need to understand my original question re GIL and rescheduling.
> I fear that lock/unlock too often is also causing delays due to context
> switching
Antoon Pardon wrote:
> I think a properly implented find is better than an index.
See the current thread in python-dev[1], which proposes a new method,
str.partition(). I believe that Raymond Hettinger has shown that almost
all uses of str.find() can be more clearly be represented with his
pro
Hi All,
PyDev - Python IDE (Python Development Enviroment for Eclipse) version
0.9.8 has just been released.
Check the homepage (http://pydev.sourceforge.net/) for more details.
Details for Release: 0.9.8
Major highlights:
---
* Jython integrated.
* Jython debugger sup
On Fri, 26 Aug 2005 16:47:10 GMT, Chris Head <[EMAIL PROTECTED]>
wrote:
>This point I agree with. There are some situations - 'net cafes included
>- - where thick e-mail clients don't work. Even so, see below.
I use Portable Thunderbird, on a USB memory stick. All I need is a USB
port and an inte
Hi,
I am trying to build an application to explore the contents of an
outlook .pst files. All the reference that I have seen uses the
registry to do so. Does any one know any other way of doing this. Also,
is anyone has any code which does something related to this, please let
me know.
-Subir
> So I'm going to try to pump you for a little more information here. Is
> your goal to count, for each week, how many times it's "full" and how
> many times it's "not full"? What do you use the counts for? What does
> "full" mean? Is it always a 0 or 1? What's the importance of the
> outp
[jog]
> I want to get text out of some nodes of a huge xml file (1,5 GB). The
> architecture of the xml file is something like this
[snip]
> I want to combine the text out of page:title and page:revision:text
> for every single page element. One by one I want to index these
> combined texts
On Sat, 27 Aug 2005 16:56:03 -0500, Terry Hancock
<[EMAIL PROTECTED]> wrote:
>On Saturday 27 August 2005 03:21 am, David MacQuigg wrote:
>> There is a similar lack of interest in the academic community. None
>> of this is likely to lead to publications in scholarly journals.
>
>I'm confused by wh
On 27 Aug 2005 17:00:07 -0700, "sonicSpammersGoToHellSmooth"
<[EMAIL PROTECTED]> wrote:
>Cool, I went to the UofA for my MS in ECE, 2000. I did my theses under
>Chuck Higgins. --
>http://neuromorph.ece.arizona.edu/pubs/ma_schwager_msthesis.pdf
>
>The tools we had were constantly underwhelming me,
Does someone know if there is a setting in the python Unix world to
make the command history behave as it does in the Windows intepreter?
Specifically, I like the fact that the command history remembers which
of a sequence of commands is the one that I last issued. For example,
suppose that I typed
Your best bet is probably to look into your LISP environment's FFI
(Foreign Function Interface). Most LISP environments have some way to
call C code directly. Insofar as going back the other way... that I'm
a little more sketchy on. Guile (the Scheme compiler from GNU) is a
strong contender, tho
[EMAIL PROTECTED] wrote:
> Your best bet is probably to look into your LISP environment's FFI
> (Foreign Function Interface). Most LISP environments have some way to
> call C code directly. Insofar as going back the other way... that I'm
> a little more sketchy on. Guile (the Scheme compiler fro
Alan Balmer <[EMAIL PROTECTED]> wrote:
> Why on earth was this cross-posted to comp.lang.c.? Followups set.
Your reply is even more meaningless and more noise compared to the
crosspost. Why? You didn't add anything, you quote an entire message and
you just tweaked the follow up to header in a b
Alan Balmer <[EMAIL PROTECTED]> wrote:
> On Fri, 26 Aug 2005 16:47:10 GMT, Chris Head <[EMAIL PROTECTED]>
> wrote:
>
>>This point I agree with. There are some situations - 'net cafes included
>>- - where thick e-mail clients don't work. Even so, see below.
>
> I use Portable Thunderbird, on a US
Alan Kennedy wrote:
> SAX is perfect for the job. See code below.
depends on your definition of perfect...
using a 20 MB version of jog's sample, and having replaced
the print statements with local variable assignments, I get the
following timings:
5 lines of cElementTree code: 7.2 seconds
60+
Steve Holden wrote:
> Is anyone aware of (a fix for) problems I'm having getting PIL 1.1.5 to
> create bitmaps using TrueType and openType fonts? When I create an image
> using the standard PIL fonts everything seems fine, but when I use
> ImageFont.truetype(, ) no text is drawn.
>
> setup.py r
[Alan Kennedy]
>>SAX is perfect for the job. See code below.
[Fredrik Lundh]
> depends on your definition of perfect...
Obviously, perfect is the eye of the beholder ;-)
[Fredrik Lundh]
> using a 20 MB version of jog's sample, and having replaced
> the print statements with local variable assi
Hi, I was wondering if anybody knew of any good
tutorial/example of AJAX/xmlhttprequest in python.
Thanks.
-Steve
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
--
http://mail.python.org/mai
Subir wrote:
> Hi,
>
> I am trying to build an application to explore the contents of an
> outlook .pst files. All the reference that I have seen uses the
> registry to do so. Does any one know any other way of doing this. Also,
> is anyone has any code which does something related to this, plea
Hi !
Here : http://wikipython.flibuste.net/moin.py/AJAX
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> > You could do it with PIL, or run jpegtran in an external process.
> > jpegtran may be easier.
>
> eh? are you sure you know what jpegtran does?
>
> JPEGTRAN(1)
Whoops, sorry, right, jpegtran is for rotating the images. I meant:
use a pipeline li
use R. it's pretty highend, and there is an interface for python.
--
http://mail.python.org/mailman/listinfo/python-list
Hi there,
I'm trying to write a simple server/client example. The client should be able
to send text to the server and the server should distribute the text to all
connected clients. However, it seems that only the first entered text is sent
and received. When I then get prompted for input agai
Sybren Stuvel wrote:
> Bryan Olson enlightened us with:
>
>>I recently wrote a module supporting value-shared slicing.
>
> Maybe I'm dumb, but could you explain this concept? Why would someone
> whant this?
My original motivation was reduce the amount of copying in some
tools that parse nest
Dear friends
I'm so sorry to bore you with this trivial problem. Allthou: I have string
having 0x0a as new line, but I should have \n instead.
How should I solve it?
I've tried
>>>text_new=tex_old.replace(str(0x0a), '\n')
and other things, but none of them worked.
Thanks in advance
--
http://mail
Chris Dewin wrote:
> Hi. I run a website for my band, and the other guys want an image gallery.
>
> I'm thinking it would be nice and easy, if we could just upload a jpg into
> a dir called "gallery/". When the client clicks the "gallery" link, a
> cgi script could search the gallery/ dir, and cr
Mike Meyer wrote:
> Bryan Olson writes:
> phil hunt wrote:
>
>> > What's important is *predictability*, e.g. which instruction will
>> > the computer execute next?
>> >
>> > If you only have one thread, you can tell by looking at the code
>> > what gets executed next. It's very simple.
>>N
APCass wrote:
> How do you execute a .py in Linux with KDE? If I double click on my
> program it opens Kwrite, for editing.
Try inserting this as the first line of the file:
#!/usr/bin/env python
--
http://mail.python.org/mailman/listinfo/python-list
Michael Goettsche wrote:
> Hi there,
>
> I'm trying to write a simple server/client example. The client should be able
> to send text to the server and the server should distribute the text to all
> connected clients. However, it seems that only the first entered text is sent
> and received. When
praba kar wrote:
> Dear All,
>
>I am working in web based email system project.
> Here I try to build email message
> from scratch. I used below code to build email
> message
>
>msg = email.MIMEBase('text','html')
>msg['Return-Path'] = user+'@'+domain
>msg['Date'] = formatdat
jog <[EMAIL PROTECTED]> wrote:
> Hi,
> I want to get text out of some nodes of a huge xml file (1,5 GB). The
> architecture of the xml file is something like this
>
>
> bla
>
>
>
> blablabla
>
>
>
>
>
>
> I want to combine the text out of p
Steve-
I recently ported version 1.3 of cpaint to python. Soon after version
2.0 was released and I haven't really looked at it since. The 1.3
stuff was really simple though if you understand cgi, then you just
implement a endpoint for your request to call. The javascript side is
really the onl
[EMAIL PROTECTED] wrote:
> Robert Kern wrote:
>
>
>
>>If you find suitable
>>FORTRAN or C code that implements a particular "robust" algorithm, it
>>can probably wrapped for scipy relatively easily.
>
>
> An alternative would be to call R (a free statistical package) from
> Python, using somet
I need a graphing library that I can access from within a Tkinter application running on Windows.
It needs to be able to draw some *simple* 2D plots, and then output
them to a file (e.g. .PNG, .JPG) for inclusion in a HTML-formatted
e-mail to interested parties.
Many of the packages that I've lo
1 - 100 of 150 matches
Mail list logo