Re: Python for a 10-14 years old?

2005-03-24 Thread Michael Spencer
Simon Brunning wrote: On 23 Mar 2005 21:03:04 -0800, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there something out there like Python for kids which would explain *basic* programming concepts in a way which is accessible and entertaining for kids aged 10-14 (that about where her brain is right

Python IDE

2005-03-24 Thread tom . russell
Has anyone used BlackAdder IDE for any project small or big? Whats your opinion? Thanks, Tom :. CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose

Re: Suggestions for a Java programmer

2005-03-24 Thread Kent Johnson
Ray wrote: Ville Vainio wrote: Regarding a Java programmer moving to Python, a lot of the mindset change is about the abundant use of built in data types of Python. So a Java programmer, when confronted with a problem, should think how can I solve this using lists, dicts and tuples? (and perhaps

Re: Data types

2005-03-24 Thread vahmad70
I am new to python and learning it. Can you please give me a simple example of user defined type through class mechanism. -- http://mail.python.org/mailman/listinfo/python-list

Re: MMA - Musical MIDI Accompaniment, Beta 0.12

2005-03-24 Thread [EMAIL PROTECTED]
Hans Elst a écrit : I do not succeed in downloading MMA from http://mypage.uniserve.com/~bvdp/mma/mma.html Error 404. Can you help me? http://mypage.uniserve.com/~bvdp/mma/mma-bin-0.13.tar.gz seems to work Regards, Hans -- http://mail.python.org/mailman/listinfo/python-list

Re: Data types

2005-03-24 Thread Bill Mill
On 24 Mar 2005 10:29:40 -0800, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am new to python and learning it. Can you please give me a simple example of user defined type through class mechanism. GIYF: http://www.python.org/2.2/descrintro.html#subclassing Peace Bill Mill bill.mill at gmail.com

modes for AES encryption?

2005-03-24 Thread Chris Curvey
I'm trying to use the AES module in the Python Cryptography Toolkit. I need to set the mode to ECB/NoPadding, and there's a reference to a Mode parameter in the new() function, but no examples for AES. Who can point me in the right direction? --

Re: Python for a 10-14 years old?

2005-03-24 Thread Jot
[EMAIL PROTECTED] wrote: Hi, I am blessed with a *very* gifted nine-years old daughter for whom I have recently installed an old GNU/Linux Mandrake 7.2 If she's really gifted i hope she dumps that obsolete monolithic kernel as soon as she realizes that such beautiful language as python shouldn't

Re: escape single and double quotes

2005-03-24 Thread Leif B. Kristensen
First, thanks to all who have replied. I learned a lot more than I had expected :-) This is a small part of a major project; converting my genealogy database from a commercial FoxPro application to my homegrown Python / PostgreSQL app. I'm still in a phase where I'm experimenting with different

Black Magic - Currying using __get__

2005-03-24 Thread Michael Spencer
Wow - Alex Martelli's 'Black Magic' Pycon notes http://www.python.org/pycon/2005/papers/36/pyc05_bla_dp.pdf include this gem: Functions 'r descriptors def adder(x, y): return x + y add23 = adder.__get__(23) add42 = adder.__get__(42) print add23(100), add42(1000) 123 1042 This means

Distributing closed source modules

2005-03-24 Thread Jiri Barton
Hi, I'd like to be able to distribute some python modules of my system (plugins) without the source. So far, I have done this by including only the *.pyc files. However, I have recently found they are platform dependent and python version dependent. This approach has been very convenient because

Re: Distributing closed source modules

2005-03-24 Thread Dave Brueck
Jiri Barton wrote: I'd like to be able to distribute some python modules of my system (plugins) without the source. So far, I have done this by including only the *.pyc files. However, I have recently found they are platform dependent and python version dependent. This approach has been very

Re: Suggestions for a Java programmer

2005-03-24 Thread Jeremy Bowers
On Thu, 24 Mar 2005 00:22:09 -0800, Ray wrote: Can you point me to Python for Java Programmers resources? I found one blog, but that only touched the tip of the iceberg, I feel. I know that as I use Python more and read more books and read how experienced Python programmers code, eventually

Re: embedded python example: PyString_FromString doesnt work?

2005-03-24 Thread David Harris
On Thu, 24 Mar 2005 06:39:47 -0800, Brano Zarnovican wrote: Hi David ! I cannot see anything wrong on your code. So, I'm posting my working example. Hint: try to determine, why it is returning NULL (the PyErr_Print() call) BranoZ OK your example works fine. I inserted it in the

Beginner Question - Very Easy I'm Sure...

2005-03-24 Thread Todd_Calhoun
I'm trying to generate a random number, and then concetate it to a word to create a password. I get the number and assign it to a variable: + word = dog import random rannum = random.randrange(100,999) str(rannum) word + rannum + But

Re: Beginner Question - Very Easy I'm Sure...

2005-03-24 Thread Jaime Wyant
str() returns a string, it doesn't change rannum which is still a number... try - rannum = str(rannum) jw On Thu, 24 Mar 2005 13:13:25 -0800, Todd_Calhoun [EMAIL PROTECTED] wrote: I'm trying to generate a random number, and then concetate it to a word to create a password. I get the number

Re: Python for a 10-14 years old?

2005-03-24 Thread R.Meijer
Jot jot at nad.com writes: tnozh at yahoo.com wrote: Hi, I am blessed with a *very* gifted nine-years old daughter for whom I have recently installed an old GNU/Linux Mandrake 7.2 If she's really gifted i hope she dumps that obsolete monolithic kernel as soon as she realizes

Re: newbie help

2005-03-24 Thread [EMAIL PROTECTED]
I did something like this. index is passed from the command line. def __getBuffer( index): if index == 1: buf1 = [None] * 512 print Buffer: %s % (buf1) return buf1 if index == 2: buf2 = [None] * 512 print Buffer: %s % (buf1) return buf2 Is this

Re: newbie help

2005-03-24 Thread [EMAIL PROTECTED]
Here it is again. I did something like this. index is passed from the command line. def __getBuffer( index): if index == 1: buf1 = [None] * 512 print Buffer: %s % (buf1) return buf1 elif index == 2: buf2 = [None] * 512 print Buffer: %s % (buf2)

Re: Beginner Question - Very Easy I'm Sure...

2005-03-24 Thread Brian van den Broek
Todd_Calhoun said unto the world upon 2005-03-24 16:13: I'm trying to generate a random number, and then concetate it to a word to create a password. I get the number and assign it to a variable: + word = dog import random rannum = random.randrange(100,999)

Re: Convert the contents of a string into name of variable

2005-03-24 Thread 3KWA
Erwan VITIERE wrote: Because i don't want to use this syntax because it is too long, I want a direct access : Not : DicoUser['TOTO'].DicoTable.['MY_TABLE'].DicoLabel.['MY_LABEL'] = for exemple Finally, i want to use : TOTO.MY_TABLE.MY_LABEL = for exemple setattr might be what you are

Re: Convert the contents of a string into name of variable

2005-03-24 Thread elbertlev
TRy db_row does exactly what you want to do. Slower, but more simple: ## #Sequence2Struct.py class Struct: pass def MakeStruct(seq, names): obj = Struct() if len(seq) != len(names): raise IndexError(seq and names are not the same length) for i

Re: An Abridged Python Tutorial

2005-03-24 Thread Paul McGuire
This will be tough to beat! (and not a single rhyme of brace and space!) -- Paul -- http://mail.python.org/mailman/listinfo/python-list

Re: Data types

2005-03-24 Thread Tim Jarman
[EMAIL PROTECTED] wrote: I am new to python and learning it. Can you please give me a simple example of user defined type through class mechanism. Python 2.4 (#1, Dec 31 2004, 17:21:43) [GCC 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)] on linux2 Type help, copyright, credits or license for more

Memoization/Caching of Instance Methods

2005-03-24 Thread Mark E. Fenner
In the code below, the class DifferentCache utilizes three different memoization (caching) strategies. Neither the function Memoize1 or the class Memoize2 will be adequate for all three of these cases (I intend these to be used as, for example, getInstanceValueFunction =

Re: Anonymus functions revisited : tuple actions

2005-03-24 Thread Ron
On Thu, 24 Mar 2005 12:07:44 -0500, George Sakkis [EMAIL PROTECTED] wrote: Kay Schluehr [EMAIL PROTECTED] wrote: [snipped] Wouldn't it be fun to use in Python? Only drawback: does not look like executable pseudo-code anymore :( Regards Kay I don't know if it would be fun, but it

float default formatting

2005-03-24 Thread Bernard Delme
Is there a simple way to modify the default sprintf mask used for floats ? (eg something like sys.float_mask = '%.2f') I've tried assigning to float.__dict__[ '__str__' ], but that's apparently not allowed. -- http://mail.python.org/mailman/listinfo/python-list

Re: cross platform use of set locale

2005-03-24 Thread Facundo Batista
On Wed, 23 Mar 2005 20:52:06 +1000, Timothy Smith [EMAIL PROTECTED] wrote: Serge Orlov wrote: Are you trying to format money? Then you need a special class so that you can say: thats exactly what i'm trying to do, only having to do that for all my If you're dealing with money, two things:

Re: Using python to extend a python app

2005-03-24 Thread David M. Cooke
dataangel [EMAIL PROTECTED] writes: I'm writing a python app that works as a replacement for the menu that comes with most minimalist wms when you right click the root window. It's prettier and written completely in python. I'd like to provide hooks or some system so that people can write

Re: newbie help

2005-03-24 Thread Kent Johnson
[EMAIL PROTECTED] wrote: Here it is again. I did something like this. index is passed from the command line. def __getBuffer( index): if index == 1: buf1 = [None] * 512 print Buffer: %s % (buf1) return buf1 elif index == 2: buf2 = [None] * 512 print

Re: newbie help

2005-03-24 Thread Marc 'BlackJack' Rintsch
In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: I did something like this. index is passed from the command line. def __getBuffer( index): if index == 1: buf1 = [None] * 512 print Buffer: %s % (buf1) return buf1 elif index == 2: buf2 = [None] *

Re: Python docs [was: function with a state]

2005-03-24 Thread Xah Lee
The Python doc is relatively lousy, from content organization to the tech writing quality. I think i'll just post snippets of my comments as i find them. (and feel like exposing) Python doc: http://python.org/doc/2.4/lib/comparisons.html Quote: Comparison operations are supported by all

How to get rid of FutureWarning: hex/oct constants...

2005-03-24 Thread Grant Edwards
How do I get rid of the following warning? path.py:233: FutureWarning: hex/oct constants sys.maxint will return positive values in Python 2.4 and up fcntl.ioctl(self.dev.fileno(),0xc0047a80,struct.pack(HBB,i,0,0)) I tried using 0xc0047a80L. That got rid of the warning, but then I got an

Re: Python docs [was: function with a state]

2005-03-24 Thread Martin Ambuhl
Xah Lee wrote: The Python doc is relatively lousy, from content organization to the tech writing quality. I think i'll just post snippets of my comments as i find them. (and feel like exposing) The cross-posting idiot is back. Next he'll be posting his readings from Richard Burton's _Arabian

Re: Python docs [was: function with a state]

2005-03-24 Thread Paul L. Du Bois
Xah Lee wrote: I think i'll just post snippets of my comments as i find them. (and feel like exposing) [ snipped ] That is a very good analysis. Can you submit a documentation patch? I would, but I'm too lazy to contribute. That doesn't mean I'm not thankful for your efforts, though! p --

Re: Python docs [was: function with a state]

2005-03-24 Thread Michael Spencer
Paul L. Du Bois wrote: Xah Lee wrote: I think i'll just post... [ snipped ] That is a very good analysis. Can you submit a documentation patch? I would, but I'm too lazy to contribute. That doesn't mean I'm not thankful for your efforts, though! p Or if not a doc patch, how about a limerick?

Queue.Queue-like class without the busy-wait

2005-03-24 Thread Paul L. Du Bois
Has anyone written a Queue.Queue replacement that avoids busy-waiting? It doesn't matter if it uses os-specific APIs (eg WaitForMultipleObjects). I did some googling around and haven't found anything so far. Because I know someone will ask: no, the busy-waiting hasn't been a problem in my app.

Re: Anonymus functions revisited : tuple actions

2005-03-24 Thread Ron_Adam
On 24 Mar 2005 01:58:48 -0800, Kay Schluehr [EMAIL PROTECTED] wrote: I personally don't like using exec and eval for stuff different from evaluating user input. I lean the other way. I never want to use user impute for eval and exec. Way too risky. But limited use, that is not user input,

Re: Twisted version 2.0

2005-03-24 Thread Terry Reedy
Twisted is an event-based framework for internet applications which works on Python 2.2.X and 2.3.X. Was 2.4.X intentionally omitted? -- http://mail.python.org/mailman/listinfo/python-list

Re: DLL version number

2005-03-24 Thread xytho33
I also need to be able to get the version info from a windows DLL preferably in the same format as what is displayed in the properties tab. I was overjoyed to find the little demo program filevers.py distributed in the win32api download. Unfortunately I get this error when I execute the

Re: Python docs [was: function with a state]

2005-03-24 Thread Terry Reedy
Comparisons can be chained, and is evaluated from left to right. For example, x y = z is equivalent to (x y) = z. The proposed 'correction' above is incorrect and should be ignored. x,y,z = 2,3,1 xy=z 0 (xy)=z 1 Terry J. Reedy -- http://mail.python.org/mailman/listinfo/python-list

Re: Python-list Digest, Vol 18, Issue 391

2005-03-24 Thread Charles Hartman
On Mar 24, 2005, at 6:07 PM, [EMAIL PROTECTED] wrote: The Python doc, though relatively incompetent, but the author have tried the best. I don't mean to be derisive, but the thought that someone who could commit this sentence should be complaining about the clarity of the writing in the Python

Re: How to get rid of FutureWarning: hex/oct constants...

2005-03-24 Thread Terry Reedy
Grant Edwards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How do I get rid of the following warning? Switch to 2.4? Or is there a command line switch to do so? path.py:233: FutureWarning: hex/oct constants sys.maxint will return positive values in Python 2.4 and up TJR

Re: How to get rid of FutureWarning: hex/oct constants...

2005-03-24 Thread Grant Edwards
On 2005-03-25, Terry Reedy [EMAIL PROTECTED] wrote: Grant Edwards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How do I get rid of the following warning? Switch to 2.4? Or is there a command line switch to do so? Too much work. I'd have to go upgrade a half-dozen machines. I

Re: Python for a 10-14 years old?

2005-03-24 Thread Bengt Richter
On 24 Mar 2005 07:21:33 -0800, El Pitonero [EMAIL PROTECTED] wrote: Lucas Raab wrote: [EMAIL PROTECTED] wrote: I am blessed with a *very* gifted nine-years old daughter... Now, I would like to teach her programming basics using Python Let her mess around with it on her own. I'm 15 and have

Re: How to get rid of FutureWarning: hex/oct constants...

2005-03-24 Thread Peter Hansen
Grant Edwards wrote: Too much work. I'd have to go upgrade a half-dozen machines. I guess I'll just live with the warning. It sort of sucks that you get warned about something which you can't fix. I'm pretty sure you can disable warnings in the warnings module. Check the docs or archives.

Re: An Abridged Python Tutorial

2005-03-24 Thread Bengt Richter
On Thu, 24 Mar 2005 08:37:29 -0800, Michael Spencer [EMAIL PROTECTED] wrote: An Abridged Python Tutorial very nice ! Regards, Bengt Richter -- http://mail.python.org/mailman/listinfo/python-list

win32api .GetFileVersionInfo()

2005-03-24 Thread xytho33
I need to be able to programatically get the version info from a windows DLL preferably in the same format as what is displayed in the properties tab. I was overjoyed to find Mark Hammond's Python Extensions (http://starship.python.net/crew/mhammond/) The package includes a little demo program

Re: Queue.Queue-like class without the busy-wait

2005-03-24 Thread Peter Hansen
Paul L. Du Bois wrote: Has anyone written a Queue.Queue replacement that avoids busy-waiting? It doesn't matter if it uses os-specific APIs (eg WaitForMultipleObjects). I did some googling around and haven't found anything so far. Because I know someone will ask: no, the busy-waiting hasn't been

Re: newbie help

2005-03-24 Thread [EMAIL PROTECTED]
Hello, Thanks to all for great responses. Here's what iam trying to do. I am writing a script to generate test patterns. For this i am passing an index number, size and a opcode from the command line testit -i index -s size [-o opcode] When the user passes the index number(1 or 2), it maps to

Re: Python-list Digest, Vol 18, Issue 391

2005-03-24 Thread Peter Hansen
Charles Hartman wrote: I don't mean to be derisive, but the thought that someone who could commit this sentence should be complaining about the clarity of the writing in the Python docs is funny, and the didactic pose of the whole post is . . . derisory. The motive for the post escapes me, or I

Re: win32api .GetFileVersionInfo()

2005-03-24 Thread Peter Hansen
xytho33 wrote: I need to be able to programatically get the version info from a windows DLL preferably in the same format as what is displayed in the properties tab. [snip] You already posted this about forty minutes earlier and Dennis Lee Bieber wrote a reply a mere ten minutes later. Please be

win32api.GetFileVersionInfo - error

2005-03-24 Thread xytho33
I need to be able to programatically get the version info from a windows DLL preferably in the same format as what is displayed in the properties tab. I was overjoyed to find Mark Hammond's Python Extensions (http://starship.python.net/crew/mhammond/) The package includes a little demo program

Re: Python for a 10-14 years old?

2005-03-24 Thread Leif B. Kristensen
R.Meijer wrote: Jot jot at nad.com writes: If she's really gifted i hope she dumps that obsolete monolithic kernel as soon as she realizes that such beautiful language as python shouldn't be used on top of ugly, badly designed software. Did somebody say off-topic? I'd say it's a Troll

mod_python.dll not compatible with python23.dll

2005-03-24 Thread ShannonL
Title: mod_python.dll not compatible with python23.dll I just installed mod_python-3.1.3.win32-py2.3.exe which should set me up to use mod_python with python23 on apache2, windows xp. When I try the standard hello world test program, I get the _apache not found in the apache module. After

Re: newbie help

2005-03-24 Thread Robert Kern
[EMAIL PROTECTED] wrote: Hello, Thanks to all for great responses. Here's what iam trying to do. I am writing a script to generate test patterns. What is a test pattern? Anyways, the time you've spent here so far could have been more profitably spent reading the Tutorial[1], any one of the fine

Re: win32api.GetFileVersionInfo - error

2005-03-24 Thread Peter Hansen
xytho33 wrote: I need to be able to programatically get the version info from a windows DLL preferably in the same format as what is displayed in the properties tab. (Posted and mailed) Your posts are making it to the newsgroup, so please stop posting more of them and look for Dennis Lee Bieber's

Re: Twisted version 2.0

2005-03-24 Thread Christopher Armstrong
On Fri Mar 25, Terry Reedy wrote: Twisted is an event-based framework for internet applications which works on Python 2.2.X and 2.3.X. Was 2.4.X intentionally omitted? No, I'm sorry. Twisted also supports Python 2.4. -- Twisted | Christopher Armstrong: International Man of Twistery

Minidom output of XML escaped characters

2005-03-24 Thread Derek Basch
Hello, If I want minidom to output XHTML that includes normally XML escaped characters how would I do it? For instance if I use doc.createCDATASection() I get: ![CDATA[!--#include virtual=/top.html --]] and without the CDATASection: lt;!--#include virtual=/top.html -- when I really need:

mime to text in python?

2005-03-24 Thread Dan Stromberg
I'm looking for a python program that can: 1) Convert mime to text 2) Is callable from a .procmailrc 3) Would at least keep pgp signed text, if not actually verify the signatures 4) It'd be beyond cool if it could also render .jpeg attachments as ANSI text graphics :) 5) Maybe even convert

(,) Do You Want To Know For Sure You Are Going To Heaven?

2005-03-24 Thread Ron038655
http://www.want-to-be-sure.blogspot.com Click On Link -- http://mail.python.org/mailman/listinfo/python-list

[Tutor] Re: What is object()

2005-03-24 Thread François Pinard
[Hameed Khan] and what are new style classes?. http://www.python.org/2.2.3/descrintro.html is a good read on this subject. -- François Pinard http://www.iro.umontreal.ca/~pinard ___ Tutor maillist - Tutor@python.org

Re: Python for a 10-14 years old?

2005-03-24 Thread Ville Vainio
Bengt == Bengt Richter [EMAIL PROTECTED] writes: Bengt Or they may identify with their gift and become Bengt insufferable narcissistic egotists as a refuge from human Bengt isolation and emotional starvation. Bengt Or they may become wonderful human beings after all, happy

Re: How to get rid of FutureWarning: hex/oct constants...

2005-03-24 Thread Bengt Richter
On Thu, 24 Mar 2005 23:21:39 -, Grant Edwards [EMAIL PROTECTED] wrote: How do I get rid of the following warning? path.py:233: FutureWarning: hex/oct constants sys.maxint will return positive values in Python 2.4 and up fcntl.ioctl(self.dev.fileno(),0xc0047a80,struct.pack(HBB,i,0,0))

winapi32.GetFileVersionInfo() - problem

2005-03-24 Thread L. Shestov
I need to be able to programatically get the version info from a windows DLL preferably in the same format as what is displayed in the properties tab. I was overjoyed to find Mark Hammond's Python Extensions (http://starship.python.net/crew/mhammond/) The package includes a little demo

Re: win32api.GetFileVersionInfo - error

2005-03-24 Thread L. Shestov
Sorry, I seem to be missing the replies! I will stop posting! Peter Hansen wrote: xytho33 wrote: I need to be able to programatically get the version info from a windows DLL preferably in the same format as what is displayed in the properties tab. (Posted and mailed) Your posts are making it to

Re: Python docs [was: function with a state]

2005-03-24 Thread Leif K-Brooks
Xah Lee wrote: The word object has generic English meaning as well might have very technical meaning in a language. In Python, it does not have very pronounced technical meaning. For example, there's a chapter in Python Library Ref titled 2. Built-In Objects, and under it a section 2.1 Built-in

Re: Python 2.4 | 7.3 The for statement

2005-03-24 Thread brainsucker
And that could be modified even further, using current (unextended) Python... Nice code Wulfraed (or Dennis), back to the basics: -- Your code foo = 0 for item1 in range(10): for item2 in range(10): foo = item1 + item2 if foo == 2: print Let's see break # let's go if

pygdchart 0.6.1 for Windows Python 2.4 available?

2005-03-24 Thread fanbanlo
Does any one has pygdchart compiled for Windows Python 2.4?? (.pyc file?) http://www.nullcube.com/software/pygdchart.html only has binary for Windows Python 2.3 and older... :( I tried following the instructions for compiling w/ Mingw from the README, but... in step2, i have no idea how to do

Re: Python for a 10-14 years old?

2005-03-24 Thread Paul Rubin
Leif B. Kristensen [EMAIL PROTECTED] writes: I've got a thirteen-year old daughter to whom I have recently taught the HTML basics, but she doesn't readily take to actual programming. If you've got any idea what I should push to her to get her fascinated about _real_ programming, I'd be

Re: How to get rid of FutureWarning: hex/oct constants...

2005-03-24 Thread Bengt Richter
On Fri, 25 Mar 2005 03:35:29 GMT, [EMAIL PROTECTED] (Bengt Richter) wrote: On Thu, 24 Mar 2005 23:21:39 -, Grant Edwards [EMAIL PROTECTED] wrote: How do I get rid of the following warning? path.py:233: FutureWarning: hex/oct constants sys.maxint will return positive values in Python

Re: Queue.Queue-like class without the busy-wait

2005-03-24 Thread Paul L. Du Bois
Peter Hansen wrote: I don't believe the term busy-wait applies here. [Explanation] Yes, well, you're right. I was thinking of calling it slacker-waiting but didn't want to come off too cute. p -- http://mail.python.org/mailman/listinfo/python-list

Re: Python docs [was: function with a state]

2005-03-24 Thread CBFalconer
Martin Ambuhl wrote: Xah Lee wrote: The Python doc is relatively lousy, from content organization to the tech writing quality. I think i'll just post snippets of my comments as i find them. (and feel like exposing) The cross-posting idiot is back. Next he'll be posting his readings

Re: Python docs [was: function with a state]

2005-03-24 Thread Xah Lee
there is a Python, pithy mighty, lissome, and tabby algorithms it puffs tim-toady it engulfs and sways universality there is a camel, lanky ugly, petty, ungainly foolhardy comports hacking it supports and toadies eunuch's fancy Xah [EMAIL PROTECTED] http://xahlee.org/PageTwo_dir/more.html

Re: Minidom output of XML escaped characters

2005-03-24 Thread Fredrik Lundh
Derek Basch wrote: If I want minidom to output XHTML that includes normally XML escaped characters how would I do it? For instance if I use doc.createCDATASection() I get: ![CDATA[!--#include virtual=/top.html --]] and without the CDATASection: lt;!--#include virtual=/top.html -- when

Re: Anonymus functions revisited : tuple actions

2005-03-24 Thread Kay Schluehr
Ron_Adam wrote: On 24 Mar 2005 01:58:48 -0800, Kay Schluehr [EMAIL PROTECTED] wrote: I personally don't like using exec and eval for stuff different from evaluating user input. I lean the other way. I never want to use user impute for eval and exec. Way too risky. Well a Python console

Re: Python docs [was: function with a state]

2005-03-24 Thread Xah Lee
umm... looks like it should've been: Comparison can be chained, and is equivalent to a sequence of comparisons with and in between. For example, xy=z is effectively (xy) and (y=z) Xah [EMAIL PROTECTED] http://xahlee.org/ Terry Reedy wrote: Comparisons can be chained, and is evaluated from

Re: Twisted version 2.0

2005-03-24 Thread Do Re Mi chel La Si Do
Same question. Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: Python for a 10-14 years old?

2005-03-24 Thread Jules Dubois
On Wednesday 23 March 2005 22:03, [EMAIL PROTECTED] [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Is there something out there like Python for kids which would explain *basic* programming concepts in a way which is accessible and entertaining for kids aged 10-14 It's not what you asked for,

[ python-Bugs-1170065 ] HTTPResponse.getheaders() returns lowercased header names

2005-03-24 Thread SourceForge.net
Bugs item #1170065, was opened at 2005-03-24 18:24 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1170065group_id=5470 Category: Python Library Group: Python 2.4 Status: Open

[ python-Bugs-1170065 ] HTTPResponse.getheaders() returns lowercased header names

2005-03-24 Thread SourceForge.net
Bugs item #1170065, was opened at 2005-03-24 18:24 Message generated for change (Settings changed) made by yain You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1170065group_id=5470 Category: Python Library Group: Python 2.4 Status: Open Resolution: None

[ python-Bugs-1170065 ] HTTPResponse.getheaders() returns lowercased header names

2005-03-24 Thread SourceForge.net
Bugs item #1170065, was opened at 2005-03-24 18:24 Message generated for change (Settings changed) made by yain You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1170065group_id=5470 Category: Python Library Group: Python 2.4 Status: Open Resolution: None

[ python-Bugs-1156441 ] Solaris and Python/pykota

2005-03-24 Thread SourceForge.net
Bugs item #1156441, was opened at 2005-03-04 05:44 Message generated for change (Comment added) made by loewis You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1156441group_id=5470 Category: Python Interpreter Core Group: 3rd Party Status: Closed

[ python-Bugs-1170311 ] zipfile UnicodeDecodeError

2005-03-24 Thread SourceForge.net
Bugs item #1170311, was opened at 2005-03-25 02:51 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1170311group_id=5470 Category: Unicode Group: Python 2.4 Status: Open

[ python-Bugs-1170331 ] Error in base64.b32decode

2005-03-24 Thread SourceForge.net
Bugs item #1170331, was opened at 2005-03-25 05:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1170331group_id=5470 Category: Extension Modules Group: Python 2.4 Status: Open

<    1   2