I've just begun playing with Python, and so far I like what I see.
It's a very elegant language. But I've found something that's, well,
a bit ugly. Maybe someone can point out to me where I'm wrong.
If you use triple quotes to define a string, then the newlines are
implicitly included. This is
I liked the python tutorial (
http://www.python.org/doc/current/tut/tut.html ) very much.
Now i want to print this tutorial.
Where do i get a printable version of the document?
--
http://mail.python.org/mailman/listinfo/python-list
hi,everyone,
get the details in
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1144533&group_id=5470
many thanks!
--
http://mail.python.org/mailman/listinfo/python-list
<[EMAIL PROTECTED]> wrote:
I liked the python tutorial (
http://www.python.org/doc/current/tut/tut.html ) very much.
Now i want to print this tutorial.
Where do i get a printable version of the document?
http://www.python.org/doc/current/download.html
Regards
/Mikael Olofsson
Universitetslektor (Se
On Thursday 14 April 2005 02:03 am, Dan wrote:
> If you use triple quotes to define a string, then the newlines are
> implicitly included. This is a very nice feature. But if you're
> inside a function or statement, then you'll want the string to be
> positioned along that indentation. And the c
Thanks a lot...
I've foolishly WGETed the entire python.org.
--
http://mail.python.org/mailman/listinfo/python-list
UHOSTNET.COM [EMAIL PROTECTED] ²{±À¥X¥þ·sÀu´f
©Ò¦³¦b¥»¤ë§C«e¥Ó½Ðªº¨ä¥¦¤½¥qÂಾ«È¤á§Y¦h°e±z¤TÓ¤ëªA°È
¤ä´© PHP+MySQL, Access+ASP, ASP.NET, CGI, SSI ¹q¶l¯f¬r¹LÂo, ©U§£¹q¶l¹LÂo ¤Î
WebMail µ¥..
¥»¤ë§C«e¥Ó½ÐW1000§Y°eº¦¸¦w¸ËÁʪ«¨®µ{¦¡ osc.
http://shop2.uhostnet.com
¨C¤ë¥u»Ý $20 °_
º¶
http://w
Op 2005-04-13, Robert Kern schreef <[EMAIL PROTECTED]>:
> Antoon Pardon wrote:
>> Op 2005-04-13, Robert Kern schreef <[EMAIL PROTECTED]>:
>>
>>>Antoon Pardon wrote:
>>>
Op 2005-04-13, Robert Kern schreef <[EMAIL PROTECTED]>:
>>>
>Yes, the license text and the copyright notice must be attac
On Thu, 14 Apr 2005 06:41:26 +0100, Jonathan Fine <[EMAIL PROTECTED]> wrote:
[snip]
And for my project (integration of Python and TeX) there
is most unlikely to be a better one.
Do you know the (apparently dead) project named e:doc? You can find it here:
http://members.nextra.at/hfbuch/edoc/
It's a
[Dan]
> Now you've got me curious. Why would an artist want the first 3003
> digits of pi to the base 12?
[Dick]
> He says,
> Do you know how I can get "base12 pi"?
> Because the chromatic scale is base12.
> c c# d d# e f f# g g# a a# b
He should read Douglas Adams' fictional essay "Music and F
Antoon Pardon wrote:
Op 2005-04-13, Robert Kern schreef <[EMAIL PROTECTED]>:
Antoon Pardon wrote:
Well if it comes so far I have to consult a lawyer I'd rather not publish
it in the first place.
Then take the (free) advice that you asked for.
I'll do that and I appreciate your time in giving it.
On 4/14/05, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Actually it was me who wrote that, not Scott.
>
> (Darn. I finally say something that gets into Quote of the
> Week, and it's attributed to someone else! :-) :-) :-)
Ooops. I'm really very sorry about that.
Try and think of something else witty
Thank You for your help, its working!
Now I have an additional question.
The problem is the encoding of the Text
I'm using German, Can you tell me how to encode
the textstring that the Windows commandline shows the special letters
right?
For exampel i get 'f³r' but i want 'für' (maybe reader w
Op 2005-04-14, Robert Kern schreef <[EMAIL PROTECTED]>:
> Antoon Pardon wrote:
>> Op 2005-04-13, Robert Kern schreef <[EMAIL PROTECTED]>:
>>
>> I would do that if I were just writing code I thought others could
>> find usefull. I then would feel no problem "burdening" those users
>> with the same
Supercomputer and encryption and compression @ rate of 96%
Take a document then or a 3D matrix document change it two random or
binary code or just a program for 0's and 1's and fold it over and over
like a piece of paper then having the 1 and 0 add each other or the
0,1's canceling each other out
Antoon Pardon wrote:
Op 2005-04-14, Robert Kern schreef <[EMAIL PROTECTED]>:
Antoon Pardon wrote:
Op 2005-04-13, Robert Kern schreef <[EMAIL PROTECTED]>:
I would do that if I were just writing code I thought others could
find usefull. I then would feel no problem "burdening" those users
with the sa
On Thu, 14 Apr 2005 02:43:40 -0500, Terry Hancock <[EMAIL PROTECTED]> wrote:
>On Thursday 14 April 2005 02:03 am, Dan wrote:
>> If you use triple quotes to define a string, then the newlines are
>> implicitly included. This is a very nice feature. But if you're
>> inside a function or statement,
Op 2005-04-14, Robert Kern schreef <[EMAIL PROTECTED]>:
> Antoon Pardon wrote:
>> Op 2005-04-14, Robert Kern schreef <[EMAIL PROTECTED]>:
>>
>>>Antoon Pardon wrote:
>>>
Op 2005-04-13, Robert Kern schreef <[EMAIL PROTECTED]>:
I would do that if I were just writing code I thought others
John Machin wrote:
On Wed, 13 Apr 2005 14:28:51 +0100, Jim <[EMAIL PROTECTED]>
wrote:
Thanks for the suggestions. I guess I must ensure that this is my bottle
neck.
def readFactorsIntoList(self,filename,numberLoads):
1. "numberLoads" is not used.
factors = []
f = open(self.
Antoon Pardon wrote:
Op 2005-04-14, Robert Kern schreef <[EMAIL PROTECTED]>:
Antoon Pardon wrote:
Op 2005-04-14, Robert Kern schreef <[EMAIL PROTECTED]>:
Antoon Pardon wrote:
Op 2005-04-13, Robert Kern schreef <[EMAIL PROTECTED]>:
I would do that if I were just writing code I thought others could
Jim wrote:
Hi all,
I am new to SOAP and Python. I am practicing
learning SOAP with Python. I sent a request
and I got the following response:
: {}
What does that mean?
Seems like you've got a SOAPpy.Types.structType instance that is named
HashStringResponse, that is located at memory address 2390
[EMAIL PROTECTED] wrote:
Supercomputer and encryption and compression @ rate of 96%
The bit sent would be 0 and the key code would be F1-24,k 1-24,
I 1-24,K 1-24,j24,j1,j12,j1,j6,j1,j3,j1,j2,j1 and would unzip or be new
encryption you could encrypt or compress 100 terabits down to 1 bit of
informat
In message <[EMAIL PROTECTED]>, Will McGugan
<[EMAIL PROTECTED]> writes
Please implement this as a Python module. I would like to compress my
mp3 collection to single bits.
Just think you could have better than broadband download speeds, on your
old 300bps modem!
--
Stephen Kellett
Object Media
Will McGugan wrote:
> Please implement this as a Python module. I would like to compress my mp3
> collection to single
> bits.
here's the magic algorithm (somewhat simplified):
def algorithm(data):
m = 102021 # magic constant
d = [int(c) for c in str(1*2*3*4*5*m+5+4+2+1)]
x = [ord(
C A L L I N G...
All Webmasters, Affiliates
& Internet Entrepreneurs
WOULD YOU LIKE TO
Generate HUGE monthly commission cheques?
==
The MobileForLife.com 2 tier
I am having trouble understanding the methods for the Listbox from Tk.
If I was to select at item in the list using a mouse click (have already
created the bind event) - what method returns the text of the selected
item ?
Pete
--
http://mail.python.org/mailman/listinfo/python-list
Ksenia Marasanova <[EMAIL PROTECTED]> wrote in message news:<[EMAIL
PROTECTED]>...
> Hi,
>
> I am looking for fast, simple templating system that will allow me to
> do the following:
> - embed Python code (or some templating code) in the template
> - generate text output (not only XML/HTML)
>
>
Please do not reply to spam. Replying to spam makes it much harder for
spam filters to catch all the spam or will produce very many false
positives. Atleast that's how gmail's filter works. And if you must
reply, please change the subject line.
On 13 Apr 2005 17:50:06 -0500, "."@bag.python.org <".
+1 on _that_ being a QOTW!
On 4/14/05, Simon Brunning <[EMAIL PROTECTED]> wrote:
[snip]
>
> Try and think of something else witty to say over the next day or two
> - I'm sure I can squeeze you into next week's. ;-)
--
"I was born not knowing and have had only a little time to change that
here
> He says,
> Do you know how I can get "base12 pi"?
> Because the chromatic scale is base12.
> c c# d d# e f f# g g# a a# b
>
> Dick
It might feel more "natural" to do this with 'e' (2.718...)
--greg
--
http://mail.python.org/mailman/listinfo/python-list
when i am roughing out my functions and classes i out a pass statement
as my first line just as a place holder and a convenient place to put a
break when i am testing. no other good reason.
--
http://mail.python.org/mailman/listinfo/python-list
On 4/14/05, BJörn Lindqvist <[EMAIL PROTECTED]> wrote:
> Please do not reply to spam. Replying to spam makes it much harder for
> spam filters to catch all the spam or will produce very many false
> positives. Atleast that's how gmail's filter works. And if you must
> reply, please change the subje
Yes - it's been like that for the last month or so now and it's quite
annoying, especially seeing as before it was working at near enough
100% accuracy.
On 4/14/05, mark hellewell <[EMAIL PROTECTED]> wrote:
> On 4/14/05, BJörn Lindqvist <[EMAIL PROTECTED]> wrote:
> > Please do not reply to spam. R
On 4/14/05, James <[EMAIL PROTECTED]> wrote:
> Yes - it's been like that for the last month or so now and it's quite
> annoying, especially seeing as before it was working at near enough
> 100% accuracy.
And I don't suppose there's much we can do about it?
mark
--
http://mail.python.org/mailman/l
I sometimes use the implicit literal string concatenation:
def SomeFunction():
if SomeCondition:
MyString = 'The quick brown fox ' \
'jumped over the ' \
'lazy dog'
print MyString
SomeFunction()
The quick brown fox jumped over the lazy dog
It loo
Peter Moscatt wrote:
I am having trouble understanding the methods for the Listbox from Tk.
If I was to select at item in the list using a mouse click (have already
created the bind event) - what method returns the text of the selected
item ?
Pete
Pete,
pydoc Tkinter.Listbox
| curselection(self
Hi.
I tried to convert a bdf file using pilfont.py script. Instead producing
pretty font images, it complained like following.
**
daewian:~/fonting$ ./pilfont.py gulim24.bdf
gulim24.bdf...
Traceback (most recent call last):
File "./pilfont.py", line 47, in ?
p.save(f)
File "/usr/lib/pytho
fred.dixon wrote:
> when i am roughing out my functions and classes i out a pass statement
> as my first line just as a place holder and a convenient place to put a
> break when i am testing. no other good reason.
>
A better idea when roughing out functions and classes is to insert a
docstring
Greg Ewing wrote:
(Darn. I finally say something that gets into Quote of the
Week, and it's attributed to someone else! :-) :-) :-)
+1 on this for meta-QOTW, solving both problems...
--
http://mail.python.org/mailman/listinfo/python-list
For what it's worth I filed a gmail issue over it a few days after I
noticed it. I guess more of you could do so indicating the severity of
the issue to the gmail developers. And I thought I was the only one...!
/SOn 4/14/05, mark hellewell <[EMAIL PROTECTED]> wrote:
On 4/14/05, James <[EMAIL PROT
Yeah that is happening to me too! Almost all my python-list e-mails go
to the Spam box.
Maybe we should contact the gmail admins?
On 4/14/05, mark hellewell <[EMAIL PROTECTED]> wrote:
> On 4/14/05, James <[EMAIL PROTECTED]> wrote:
> > Yes - it's been like that for the last month or so now and it
Hello all,
I'm pleased to announce a new release of PyLint. This release mainly
fixes multivalued options bug and a systematic crash with python 2.2.
Users should also use the latest logilab's common library (0.9.3).
What's new ?
* allow to parse files without extension when a path
[Doug Schwarz]
> The chromatic scale is based on one twelfth powers of two, i.e., if
> the frequency of a note in the scale is f(n), then the frequency of
> the next note is given by f(n+1) = f(n) * 2^(1/12)
This easy view of things has been known for a long time, but has only
been popular (relat
OK, I've discovered the lost messages, but I'm still slightly confused
as to why they ended up there. The messages were being delivered to
the local machine, box1.domain.com, even though I was addressing them
to @domain.com.
My past experience with smtp mail has been that if I addressed the
domai
On 14 Apr 2005 02:27:26 -0700, rumours say that [EMAIL PROTECTED]
might have written:
>Supercomputer and encryption and compression @ rate of 96%
[snip]
In other words, the story of your life can be expressed as a single
binary zero. Get one.
--
TZOTZIOY, I speak England very best.
"Be strict
On 4/14/05, Peter Hansen <[EMAIL PROTECTED]> wrote:
> Greg Ewing wrote:
> > (Darn. I finally say something that gets into Quote of the
> > Week, and it's attributed to someone else! :-) :-) :-)
>
> +1 on this for meta-QOTW, solving both problems...
Yeah, but to whom do I attribute it?
;-)
--
C
[Bengt Richter]
> It might also be interesting to keep a running sum of the base 12
> values and use sum % 88 to select piano keys, to let it walk intervals
> outside of a single octave ;-)
The generated would then run from the low octaves to high octaves
monotically, then start over again and ag
Hi All--
The listowner could turn on the [PYTHON] headers. I'm not using
spambayes yet, although I'm leaning toward it, but that step alone could
save me some work when trying to decide based on subject line alone
whether or not an email is spam. As it stands now, it's too easy to
decide incorre
On Thu, 14 Apr 2005 13:49:22 +0200, rumours say that "Fredrik Lundh"
<[EMAIL PROTECTED]> might have written:
>Will McGugan wrote:
>
>> Please implement this as a Python module. I would like to compress my mp3
>> collection to single
>> bits.
>
>here's the magic algorithm (somewhat simplified):
Hi All,
I am the current author of the Astro-Sunrise perl module
http://search.cpan.org/~rkhill/Astro-Sunrise-0.91/Sunrise.pm
and was wondering if it would be worth while to convert it to python.
First off, I have never programmed in python. I would like to use
this project to learn python. I was
# [EMAIL PROTECTED] / 2005-04-14 08:22:48 -0600:
> The listowner could turn on the [PYTHON] headers.
I hope they don't.
> I'm not using spambayes yet, although I'm leaning toward it, but that
> step alone could save me some work when trying to decide based on
> subject line alone whether or n
> [0] -- btw, in your code, Fredrik:
> """file = open(keycode + ".out", "wb")""".replace("keycode", "filename")
if you do that, decompression won't work.
--
http://mail.python.org/mailman/listinfo/python-list
H!
I'm using a database and now I want to compress a file and put it into
the database.
So I'm using gzip because php can open the gzip file's.
The only problem is saving the file into the database.
The function below does this:
- gzip the file [oke]
- get all the bytes with tst.getvalue() [erro
On 4/14/05, mark hellewell <[EMAIL PROTECTED]> wrote:
> On 4/14/05, BJörn Lindqvist <[EMAIL PROTECTED]> wrote:
> > Please do not reply to spam. Replying to spam makes it much harder for
> > spam filters to catch all the spam or will produce very many false
> > positives. Atleast that's how gmail's
Simon Brunning wrote:
> ...
Not that it really matters, but does anybody know why the weekly Python
news always arrives twice? Does it only happen to me, or does it happen
to others too?
It's not that it irritates me or anything, I'm just being curious.
--
If I have been able to see further, i
On 13 Apr 2005 19:05:01 -0700, Paul Rubin
<"http://phr.cx"@nospam.invalid> wrote:
> Dick Moores <[EMAIL PROTECTED]> writes:
> > I don't believe GNU "bc" is available for Windows, is it?
>
> I don't know. It probably works ok under Cygwin at least.
bc definitely works on cygwin, and is available
It's not clear to me what you mean by "the first line" (gzip does not
output a file composed of lines, its output is byte-oriented).
Printing tst.getvalue() is probably not a very useful thing to do, since
it won't do anything useful when the output is a terminal, and it will
add an extra newline
And how do you get the data back ?
1+0=0 == 0+0=0
0+1=1 == 1+1=1
let's say you have the end key : 0
then you want to decompress it , but in what ? 0 0 or 1 0
;)
--
http://mail.python.org/mailman/listinfo/python-list
Hi
>From a client I read a file into a string using read().
On the server-side (it's a HTTPServer) i access the same string through the
input stream rfile.
However all useful read-methods (readlines, readline, read) expect an EOF
before terminating.
And for some reason the stream doesn't have th
Mothra wrote:
Hi All,
I am the current author of the Astro-Sunrise perl module
http://search.cpan.org/~rkhill/Astro-Sunrise-0.91/Sunrise.pm
and was wondering if it would be worth while to convert it to python.
Only you and your module's users may tell...
First off, I have never programmed in python
You can use the Content-Length header to tell the server how long the
string is.
--
http://mail.python.org/mailman/listinfo/python-list
Roel Schroeven wrote:
Simon Brunning wrote:
...
Not that it really matters, but does anybody know why the weekly Python
news always arrives twice? Does it only happen to me, or does it happen
to others too?
It's not that it irritates me or anything, I'm just being curious.
I just thought it was for
Hi All--
Roman Neuhauser wrote:
>
> # [EMAIL PROTECTED] / 2005-04-14 08:22:48 -0600:
> > The listowner could turn on the [PYTHON] headers.
>
> I hope they don't.
>
What's your reasoning?
> > I'm not using spambayes yet, although I'm leaning toward it, but that
> > step alone could save me
-- Virus Warning Message (on cesio.consuldata.com.br)
Found virus WORM_MYDOOM.M in file qvupy.html
.scr (in qvupy.zip)
The uncleanable file is deleted.
Para maiores informacoes, contate o suporte da ConsulData: +55 (13) 3219-6522
ou [EMAIL PRO
Hi All--
bruno modulix wrote:
>
> Mothra wrote:
> > Hi All,
> >
> > I am the current author of the Astro-Sunrise perl module
> > http://search.cpan.org/~rkhill/Astro-Sunrise-0.91/Sunrise.pm
> > and was wondering if it would be worth while to convert it to python.
>
> Only you and your module's u
I am please to announce that Tapio Tallgren of Nokia Research
Labs is coming to Python-UK to talk about Python on the Nokia Series
60 phones. If you want to get hands-on, upgrade that handset now!
This is a late addition to an already star-studded programme including
Greg Stein of Google, and many
# [EMAIL PROTECTED] / 2005-04-14 09:06:08 -0600:
> Roman Neuhauser wrote:
> >
> > # [EMAIL PROTECTED] / 2005-04-14 08:22:48 -0600:
> > > The listowner could turn on the [PYTHON] headers.
> >
> > I hope they don't.
> >
>
> What's your reasoning?
It's 9 characters ("[PYTHON] ") of screen
I mean it like this.
I must have a variable that includes a file (in this case a .gz file)
for putting that in a database. (never null)
Thanks,
--
http://mail.python.org/mailman/listinfo/python-list
Hi !
I got a connection refused when I try to upload a package using "python
setup.py register". However login using the web interface works well. Does
anyone has the same problem or is it a problem on my side ?
[EMAIL PROTECTED]:pylint$ python setup.py register
running register
We need to know w
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm using GMPY (see code).
[snip]
If you are using gmpy you might as well do it like this.
gmpy.pi() uses the Brent-Salamin Arithmetic-Geometric Mean formula for
pi IIRC. This converges quadratically, and it will calculate you a
million places
Fredrik Lundh wrote:
Will McGugan wrote:
Please implement this as a Python module. I would like to compress my mp3 collection to single
bits.
here's the magic algorithm (somewhat simplified):
def algorithm(data):
m = 102021 # magic constant
d = [int(c) for c in str(1*2*3*4*5*m+5+4+2+1)]
On Thu, 14 Apr 2005 16:35:59 +0200, rumours say that "Fredrik Lundh"
<[EMAIL PROTECTED]> might have written:
>> [0] -- btw, in your code, Fredrik:
>> """file = open(keycode + ".out", "wb")""".replace("keycode", "filename")
>
>if you do that, decompression won't work.
How obvious, now that you men
Will McGugan wrote:
> Muchas gracias. Although there may be a bug. I compressed my Evanescence
> albumn, but after decompression it became the complete works of Charles
strange. the algorithm should be reversible. sounds like an operating
system bug. what system are you using?
--
http://
On 4/14/05, César Leonardo Blum Silveira <[EMAIL PROTECTED]> wrote:
> Yeah that is happening to me too! Almost all my python-list e-mails go
> to the Spam box.
> Maybe we should contact the gmail admins?
>
I've already contacted the gmail admins. There was no response.
Peace
Bill Mill
bill.mill
On 4/14/05, Steven Cummings <[EMAIL PROTECTED]> wrote:
> For what it's worth I filed a gmail issue over it a few days after I noticed
> it. I guess more of you could do so indicating the severity of the issue to
> the gmail developers. And I thought I was the only one...!
I've now done the same. L
Nick Craig-Wood wrote:
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > I'm using GMPY (see code).
> [snip]
>
> If you are using gmpy you might as well do it like this.
>
> gmpy.pi() uses the Brent-Salamin Arithmetic-Geometric Mean formula
for
> pi IIRC. This converges quadratically, and i
Hi,
I tried to take the Monkey Shell script
(http://www.sharp-ideas.net/archives/2005/03/monkey_shell_us.html) and
make it into an executable. I am making an executable for the server
piece (monkey_shelld.py). So my setup.py looks like this
# setup.py
from distutils.core import setup
import py
Bill Mill wrote:
> > Maybe we should contact the gmail admins?
>
> I've already contacted the gmail admins. There was no response.
have you tried reading the newsgroup via
http://groups-beta.google.com/group/comp.lang.python
while being logged in to your gmail account?
--
http://mail.
Hi all,
I want to use curses in a server application that provides a GUI for
telnet clients. Therefore, I need the functionality to open and handle
several
screens. Concerning
http://dickey.his.com/ncurses/ncurses-intro.html#init
this can be done using the function newterm(type,ofp,ifp). However
On 4/14/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Bill Mill wrote:
>
> > > Maybe we should contact the gmail admins?
> >
> > I've already contacted the gmail admins. There was no response.
>
> have you tried reading the newsgroup via
>
> http://groups-beta.google.com/group/comp.lang.pyt
Someone pasted the original version of the following code snippet on
#python today. I started investigating why the new-style class didn't
work as expected, and found that at least some instances of new-style
classes apparently don't return true for PyInstance_Check, which causes
a problem in P
On Apr 13, 2005, at 12:41 PM, [EMAIL PROTECTED] wrote:
From: Scott Leerssen <[EMAIL PROTECTED]>
Date: April 13, 2005 12:29:35 PM EDT
To: python-list@python.org
Subject: unstatisfied symbols building Python 2.4.1 on HP-UX 10.20
I'm trying to build Python 2.4.1 on HP-UX 10.20 and get the followin
Chung Leong wrote:
It's easy. Just create an application that hosts the MSHTML ActiveX control
(IE itself minus the interface). With tools like Delphi or Visual Basic,
it's literally a matter of dragging and dropping the control into the form.
Even in Visual C++ it's not that hard.
Hi Chung ,
Of co
On Thu, 14 Apr 2005 18:39:14 +0200, rumours say that harold fellermann
<[EMAIL PROTECTED]> might have written:
>Hi all,
>I want to use curses in a server application that provides a GUI for
>telnet clients. Therefore, I need the functionality to open and handle
>several
>screens.
Just to make
On 14.04.2005, at 19:17, Christos TZOTZIOY Georgiou wrote:
On Thu, 14 Apr 2005 18:39:14 +0200, rumours say that harold fellermann
<[EMAIL PROTECTED]> might have written:
Hi all,
I want to use curses in a server application that provides a GUI for
telnet clients. Therefore, I need the functionality
"vincent wehren" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Nicholas Graham"
> | Any suggestions?
> Take a look at the built-in functions ord() and chr()
> -- Chapter 2.1 of the manual.
And more generally, read all of Chap.2 of the Library Reference on builtin
functions an
"Ivan Van Laningham" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All--
>
> bruno modulix wrote:
> >
> > Mothra wrote:
> > > Hi All,
> > >
> > > I am the current author of the Astro-Sunrise perl module
> > > http://search.cpan.org/~rkhill/Astro-Sunrise-0.91/Sunrise.pm
> > > and
What kind of DB? Maybe the field type you're hunting for is a BLOB? Or
perhaps you need to be formatting the string differently than it's
entered (like php's addslashes() or something)?
--
Pokerface:: Posted from Tactical Gamer - http://www.TacticalGamer.com ::
--
http://mail.python.org/mai
[EMAIL PROTECTED] wrote:
OK, I've discovered the lost messages, but I'm still slightly confused
as to why they ended up there. The messages were being delivered to
the local machine, box1.domain.com, even though I was addressing them
to @domain.com.
The address is irrelevant with SMTP. What matte
Peter Hansen wrote:
[EMAIL PROTECTED] wrote:
OK, I've discovered the lost messages, but I'm still slightly confused
as to why they ended up there. The messages were being delivered to
the local machine, box1.domain.com, even though I was addressing them
to @domain.com.
The address is irrelevant wi
Can anyone explain what is happening here? I haven't found any useful info
on Google yet.
Thanks in advance.
mmagnet:/home/jkaralius/src/zopeplone/Python-2.3.5 # make
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Modules/python.
Title: PyAr - Python Argentina 8th Meeting, today
The Argentine Python User Group, PyAr, will have its eighth
meeting today at 7:00pm.
Agenda
--
Despite our agenda tends to be rather open, this time we would
like to cover these topics:
- Conclusions of PyAr in PyCon 2005.
- See what
Eric Brunel wrote:
Do you know the (apparently dead) project named e:doc? You can find it
here:
http://members.nextra.at/hfbuch/edoc/
It's a kind of word processor that can produce final documents to
various formats using backends, and one of the backends is for LaTeX.
It's written in Perl, but
i want to distribute my python script as an executable. I have tried
py2exe but it caused a problem in my script when I ran it. I know
about Gordon McMillans Installer (which is no longer hosted)..but i
tried that and when i run the .exe it generated, it just crashes (i.e.
Windows wants to send a
Karalius, Joseph wrote:
> Can anyone explain what is happening here? I haven't found any useful
> info on Google yet.
What have you been googling? I found this:
http://lists.debian.org/debian-glibc/2002/10/msg00093.html
Basically it seems that it's a problem with libc in general, not with
pyth
Apache fop does a good job of combining xslt+xml to generate pdf; the spec
says it does RTF, but I have not tried it. Although fop is java, you can
run it as a (java) executable, so you could run it as a command from python.
It is almost as good as reportlab's stuff.
-Original Message-
Fr
When I try to open a socket with python i get the following error:
Traceback (most recent call last):
File "./mailer", line 3, in ?
sock = socket.socket(socket.PF_INET, socket.SOCK_STREAM)
NameError: name 'socket' is not defined
the code is:
#!/usr/bin/python
sock = socket.socket(socket.P
[EMAIL PROTECTED] wrote:
And how do you get the data back ?
1+0=0 == 0+0=0
0+1=1 == 1+1=1
let's say you have the end key : 0
then you want to decompress it , but in what ? 0 0 or 1 0
;)
hi there
could someone please tell me that this thread wasn't a aprilsfoll day
joke and it is for real...
i'm
Patch / Bug Summary
___
Patches : 314 open ( +6) / 2824 closed ( +5) / 3138 total (+11)
Bugs: 898 open (+16) / 4921 closed ( +8) / 5819 total (+24)
RFE : 177 open ( +1) / 151 closed ( +0) / 328 total ( +1)
New / Reopened Patches
__
typos in
[EMAIL PROTECTED] wrote:
When I try to open a socket with python i get the following error:
Traceback (most recent call last):
File "./mailer", line 3, in ?
sock = socket.socket(socket.PF_INET, socket.SOCK_STREAM)
NameError: name 'socket' is not defined
the code is:
#!/usr/bin/python
sock = soc
1 - 100 of 181 matches
Mail list logo