Are ActivePython scripts compatible with Linux?

2006-05-31 Thread A.M
Hi, I am planning to develop python applications on windows and run them on Linux. Are ActivePython scripts compatible with Linux? Is there any guideline that explains the compatibility issues between python in different platforms? What would be the best approach for what I am trying to do

Oracle Data Access in Python

2006-05-31 Thread A.M
Hi, I am familiar with Perl's DBI programming. In Python, do we access to Oracle by using DBI? Is Oracle DBD driver included with Python distributions? What is the most common strategy for accessing to Oracle data through Python? Any help would be appreciated, Alan -- http://m

Re: Are ActivePython scripts compatible with Linux?

2006-05-31 Thread A.M
ngs" in your code, put them in > a function or class that can easily be rewritten for the > specific OS you are porting to. Don't spread them out all > through your code. It is much easier to rewrite a couple of > functions/classes that are OS-specific than it is to try

Re: Oracle Data Access in Python

2006-05-31 Thread A.M
"Bill Scherer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > A.M wrote: > >> Hi, >> >> >> >> I am familiar with Perl's DBI programming. >> >> >> >> In Python, do we access to Oracle by using DB

DB-API: how can I find the column names in a cursor?

2006-06-01 Thread A.M
Hi I use a code similar to this to retrieve data from Oracle database: import cx_Oracle con = cx_Oracle.connect("me/[EMAIL PROTECTED]") cur = con.cursor() outcur = con.cursor() cur.execute(""" BEGIN MyPkg.MyProc(:cur); END;""", cur=outcur) for row in out_cur:

Re: DB-API: how can I find the column names in a cursor?

2006-06-01 Thread A.M
ch reduces my program's readability. Can I access to row's contents by column name? Thanks again, Alan "Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "A.M" wrote: > >> The problem is I don't know how to find ou

New to Python: Do we have the concept of Hash in Python?

2006-06-01 Thread A.M
Hi, I am new to Python, with C#/Java background Is there any built-in Hash implementation in Python? I am looking for a container that I can access to it's items by name. Something like this: Print container["memeberName"] I am asking this because I learned that DB-API in Python does

Python for Visual Basic or C# programmers

2006-06-01 Thread A.M
Hi, I am trying to find the equivalent functions such as vb's str or asc in Python. Is there any resource that help me to find these kinds of functions in Python faster? Thank you, Alan -- http://mail.python.org/mailman/listinfo/python-list

Re: New to Python: Do we have the concept of Hash in Python?

2006-06-01 Thread A.M
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "A.M" wrote: > >> I am new to Python, with C#/Java background > > that's not really much of an excuse for not reading *any* Python tutorial > before > you jump i

Member index in toples

2006-06-01 Thread A.M
Hi, I have a tuple like this: T = ("One","Two","Three","Four") Is there any built-in way to find what is the index of "Two" withouot looping within the tuple? Is the same feature available for lists or dictionaries? Thank you, Alan -- http://mail.python.org/mailman/listinfo/pyth

How to format datetime values

2006-06-01 Thread A.M
Hi, I have a datetime value and want to format it to "June 1, 2006" shape. How can I do that? Thank you, Alan -- http://mail.python.org/mailman/listinfo/python-list

Using print instead of file.write(str)

2006-06-01 Thread A.M
Hi, I found print much more flexible that write method. Can I use print instead of file.write method? Thank you, Alan -- http://mail.python.org/mailman/listinfo/python-list

Re: How to format datetime values

2006-06-01 Thread A.M
"BartlebyScrivener" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Are you trying to get banned, or what? > > It's the equivalent of me asking you: > > Hey, does Ruby have anything like dictionaries and will you teach me > about strings? Oh, and what's an object? > > Go read the b

Re: New to Python: Do we have the concept of Hash in Python?

2006-06-01 Thread A.M
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > A.M wrote: > >> This is my 1st day that I am seriously diving into Python and I have to >> finish this application by the end of today. Maybe it wasn't a good idea >> to

Re: New to Python: Do we have the concept of Hash in Python?

2006-06-01 Thread A.M
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > A.M wrote: > >> This is my 1st day that I am seriously diving into Python and I have to >> finish this application by the end of today. Maybe it wasn't a good idea >> to

Re: Using print instead of file.write(str)

2006-06-01 Thread A.M
it worth pointing this out in case, like some I know, you come across a cropper with certain output streams. All the best, Jon. Bruno Desthuilliers wrote: > A.M a écrit : > > Hi, > > > > > > I found print much more flexible that write method. Can I use print >

Conditional Expressions in Python 2.4

2006-06-01 Thread A.M
Hi, I am using Python 2.4. I read the PEP 308 at: http://www.python.org/dev/peps/pep-0308/ I tried the statement: a= "Yes" if 1==1 else "No" but the interpreter doesn't accept it. Do we have the conditional expressions in Python 2.4? Thank you, Alan -- http://mail.python.org/

Can Python format long integer 123456789 to 12,3456,789 ?

2006-06-01 Thread A.M
Hi, Is there any built in feature in Python that can format long integer 123456789 to 12,3456,789 ? Thank you, Alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Can Python format long integer 123456789 to 12,3456,789 ?

2006-06-01 Thread A.M
Thanks for help. Is there any comprehensive library for number formatting available on the net? Alan -- http://mail.python.org/mailman/listinfo/python-list

Re: New to Python: Do we have the concept of Hash in Python?

2006-06-01 Thread A.M
productive day. Thanks everybody for help. "gregarican" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dear A.M., > > The day is complete. My TPS reports still aren't on my desk. Either > with or without cover sheets. Not a good time to try t

Re: New to Python: Do we have the concept of Hash in Python?

2006-06-02 Thread A.M
"Sion Arrowsmith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > gregarican <[EMAIL PROTECTED]> wrote: >>I came from using Ruby about a year or so [ ... ] > > That's an interesting way round. Why did you consider Python if > you already knew Ruby, and which is now your preferred la

Re: Conditional Expressions in Python 2.4

2006-06-02 Thread A.M
>> a = 1 == 1 and "Yes" or "No" >> a = ("No", "Yes")[1 == 1] Smart! Thanks alot. -- http://mail.python.org/mailman/listinfo/python-list

Open Source Charting Tool

2006-06-02 Thread A.M
Hi, I developed a HTML reporting tool that renders Oracle data to HTML and Oracle. At this point I have to add charts (3d bars and pie charts) to this application. I don't think that I have to do it from scratch. Is there any open source charting tool that help me create charts in JPG or

Re: Open Source Charting Tool

2006-06-02 Thread A.M
aphics can do 2D and pie charts, but I don't think it does > 3D charts yet. > > www.reporlab.org > > > Larry Bates > > A.M wrote: >> Hi, >> >> >> >> I developed a HTML reporting tool that renders Oracle data to HTML and >> Oracle. >>

os.system and command output

2006-06-07 Thread A.M
Hi, How can I run an OS command and have the command's output (to stdout) in my string variable? For example in windows, this command should return a list of files within directory: os.system("DIR") I am looking for an alternative function that returns the DIR command output in a str

Re: os.system and command output

2006-06-07 Thread A.M
> Try: > > s = os.popen("DIR").read() > Thanks Steve. Is there anyway I can get the exit code (what os.system returns) from os.popen? -- http://mail.python.org/mailman/listinfo/python-list

Win XP Error: There is not enough space on the disk

2006-06-08 Thread A.M
Hi, I am using ActivePython 2.4.on windows XP I created test.py that contains the following simple script: import os os.system("dir *.py") When I run the script, it works fine. But, when I run the following command on windows XP: Test.py > file.txt I receive this error: "The

Win XP: Problem with shell scripting in Python

2006-06-08 Thread A.M
Hi, I am having difficulty with shell scripting in Python. I use the following command to run a DOS command and put the return value in a Python variable: print os.popen('DIR').read() It works very fine with DIR command, but for commands like "MD :" it doesn't return the error message

Re: Win XP: Problem with shell scripting in Python

2006-06-09 Thread A.M
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > A.M wrote: > > > in python, "MD" is spelled os.mkdir. > >> Am I missing anything? > > the difference between STDOUT and STDERR, and the difference between > bu

Re: Win XP: Problem with shell scripting in Python

2006-06-09 Thread A.M
> I dare hardly suggest this, but might it not be better to use Python's > database functionality to perform the task? The language can access both > databases, and you might find it quicker. Then again, if your database > experience is limited, you may not ... > > regards > Steve > -- > Steve

Re: Win XP: Problem with shell scripting in Python

2006-06-09 Thread A.M
Here is what I came up with after John and Fredrik's help. import os import sys def Execute(shell_command,logStream = sys.stdout): print >>logStream, shell_command child_stdin, child_stdout_and_stderr = os.popen4(shell_command) commad_output = child_stdout_and_stderr.read()

Re: Win XP: Problem with shell scripting in Python

2006-06-12 Thread A.M
>Does it overcome the problem that you reported earlier, that the contents of the output file from BCP were out of order? Yes, it does. But, to be honest, I don't know how!!! "John Machin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 10

Looking for examples related to advanced python string, list and map operations

2006-06-15 Thread A.M
Hi, Is there any online resource that gives examples about advanced python string, list and map operations? Today I saw this and I found that I have to work more on mentioned topics: numbers = [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33] print filter(lambda n: n % 2 == 0

Re: How to insert in a string @ a index

2007-09-09 Thread a.m.
Thanks guys for you help. I ended up doing this way (for the records)... t1 = "hello world hello. hello. \nwhy world hello" while indexhttp://mail.python.org/mailman/listinfo/python-list

question on python syntax

2007-09-10 Thread a.m.
If I type this in shell $ ./yourfile.py 12:34 PM & What does '$', '.', '/' and '& means in this succession? Note: 12:34 PM is a argument to the yourfile.py. -- http://mail.python.org/mailman/listinfo/python-list

Python sample code for PLSQL REF CURSORS

2006-05-04 Thread A.M
Hi, I am having hard time to find a sample that shows me how to return an OUT REF CURSOR from my oracle stored procedure to my python program. The technique is explained here for Java and Visual Basic: http://www.oracle-base.com/articles/8i/UsingRefCursorsToReturnRecordsets.php I am look

Python for Perl programmers

2006-05-04 Thread A.M
Hi, Is there any efficient online resource or book that help experienced Perl programmers to Python? Thank you, Alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Python sample code for PLSQL REF CURSORS

2006-05-04 Thread A.M
Exactly what I was looking for. Thanks alot "Gerhard Häring" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > A.M wrote: >> Hi, >> >> I am having hard time to find a sample that shows me how to return an OUT >> REF CURSOR from my o

Re: C#3.0 and lambdas

2005-09-23 Thread A.M. Kuchling
On Fri, 23 Sep 2005 15:46:54 +0530, Ganesan Rajagopal <[EMAIL PROTECTED]> wrote: > I agree. I am a lurker in this list and the python-devel list and I've also > noticed that increasingly big discussions happen over fairly minor > things. Python's DB API is still stuck at 2.0 and we can't e

Reminder: PyCon proposal deadline is Oct. 31st

2005-10-11 Thread A.M. Kuchling
The deadline for PyCon proposals is now three weeks away; proposals must be received by Oct. 31st. Read the call for proposals for what we're looking for and how to submit: <http://www.python.org/pycon/2006/cfp> The proposal submission site is <http://submit.python.org>. A.

Reminder: PyCon proposals due in a week

2005-10-25 Thread A.M. Kuchling
The deadline for PyCon 2006 submissions is now only a week away. If you've been procrastinating about putting your outline together, now's the time to get going... Call for Proposals: http://www.python.org/pycon/2006/cfp Proposal submission site: http://submit.python.org/ --a

PyCon: suggestions for tutorial speakers wanted

2005-10-27 Thread A.M. Kuchling
A planned new addition to PyCon 2006 is a day of tutorials before the conference; tutorials will cost extra and give attendees a chance to take a 3-hour introduction to Python (or some other topic) before they leap into conference-going. A Call for Tutorials will be posted soon. It'll go to comp.l

PyCon: proposal deadline is today

2005-10-31 Thread A.M. Kuchling
ssion site:http://submit.python.org A.M. Kuchling Chair, PyCon 2006 [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: python.org offline

2005-11-01 Thread A.M. Kuchling
On Tue, 1 Nov 2005 18:18:06 +0100, Sybren Stuvel <[EMAIL PROTECTED]> wrote: > Yes, I can read. My question is: does anyone know why this happens so > often lately? I suspect this is teething problems related to the move to a new server. I've bumped up the number of Apache processes, so w

PyCon 2006 Call for Tutorials

2005-11-09 Thread A.M. Kuchling
PyCon 2006 Call for Tutorials -- Enjoy teaching classes or tutorials? PyCon 2006 is looking for proposals for a pre-conference tutorials day. PyCon 2006 will be held February 24-26 in Addison, Texas (near Dallas). Tutorials will be held on February 23, at

Re: Why are there no ordered dictionaries?

2005-11-22 Thread A.M. Kuchling
On 22 Nov 2005 01:41:44 -0800, Kay Schluehr <[EMAIL PROTECTED]> wrote: > Does anyone actually use this site? While the Vaults offered a nice > place and a nice interface the Cheese Shop has the appeal of a code > slum. Looking at the Cheese Shop's home page at http://cheeseshop.python.or

Re: XML and namespaces

2005-11-30 Thread A.M. Kuchling
On 30 Nov 2005 07:22:56 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> quoted: > >>> element = document.createElementNS("DAV:", "href") This call is incorrect; the signature is createElementNS(namespaceURI, qualifiedName). If you call .createElementNS('whatever', 'DAV:href'), the o

Re: XML and namespaces

2005-12-02 Thread A.M. Kuchling
On 2 Dec 2005 06:16:29 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Of course. Minidom implements level 2 (thus the "NS" at the end of the > method name), which means that its APIs should all be namespace aware. > The bug is that writexml() and thus toxml() are not so. Hm, OK.

Re: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 2)

2005-12-06 Thread A.M. Kuchling
On 5 Dec 2005 14:10:00 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Well, I was running Python-2.4.1 so I upgraded to 2.4.2 and guess > what? The docs still reference the old Howto. Perhaps you meant > to say "will be fixed in 2.5" rather than "has been fixed"? The docs referen

Re: Bitching about the documentation...

2005-12-06 Thread A.M. Kuchling
On Mon, 05 Dec 2005 20:56:50 GMT, Bengt Richter <[EMAIL PROTECTED]> wrote: > A little more effort could present the referrer page with clickable > paragraphs and other elements, to zoom in to what the commenter > wants to comment on. And an automatic diff could be prepared for > editors, a

Re: Bitching about the documentation...

2005-12-06 Thread A.M. Kuchling
On Tue, 6 Dec 2005 00:05:38 -0500, François Pinard <[EMAIL PROTECTED]> wrote: > It's a relatively recent phenomenon that maintainers go berzerk, foaming > at the mouth over forms, borders, colors, and various other mania! :-) It's largely to ensure that the ideas aren't lost. E-mail si

Documentation suggestions

2005-12-06 Thread A.M. Kuchling
Here are some thoughts on reorganizing Python's documentation, with one big suggestion. The tutorial seems to be in pretty good shape because Raymond Hettinger has been keeping it up to date. It doesn't cover everything, but it's a solid introduction, and if people don't find it works for them, t

Re: Documentation suggestions

2005-12-06 Thread A.M. Kuchling
On Tue, 6 Dec 2005 11:28:12 -0600, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Somehow I think Guido would eventually put his (16-ton) foot down. ;-) Maybe, but he hasn't put his foot down on new-style classes yet, which were added in 2.2. It would be all to the good if the BDFL (or t

Re: Documentation suggestions

2005-12-06 Thread A.M. Kuchling
On Tue, 6 Dec 2005 18:33:05 +0100, > I've proposed adding support for semi-automatic linking to external > documents, based on a simple tagging model, a couple of times, e.g. > > http://mail.python.org/pipermail/python-list/2005-May/280751.html Very interesting. There could be a manually-ma

Re: Documentation suggestions

2005-12-06 Thread A.M. Kuchling
On 6 Dec 2005 10:10:09 -0800, Ian Bicking <[EMAIL PROTECTED]> wrote: > stable personal pages that should be linked in . But I do think that > we should encourage some specific process for new or revised > tutorial/howto contributions, like encouraging people put such material > in the wik

Re: Documentation suggestions

2005-12-07 Thread A.M. Kuchling
On Tue, 06 Dec 2005 10:29:33 -0800, Michael Spencer <[EMAIL PROTECTED]> wrote: > not that helpful. "Miscellaneous Services", in particular, gives no clue to > treasures it contains. I would prefer, for example, to see the data > structure modules: collections, heapq, array etc... given

Re: Documentation suggestions

2005-12-07 Thread A.M. Kuchling
On Wed, 7 Dec 2005 09:36:24 +0100, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > or just add a marker (in some for me unknown way), and postprocess > the HTML files. I'm not sure the links does necessarily belong in e.g. > PDF renderings of the documentation, but that's of course up to the >

Re: Documentation suggestions

2005-12-07 Thread A.M. Kuchling
On Wed, 7 Dec 2005 07:45:13 -0600, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Just because that audience is small doesn't mean they are unimportant. > There are currently four actively maintained/developed implementations of > Python. A common language reference manual is important fo

Re: Documentation suggestions

2005-12-08 Thread A.M. Kuchling
On 7 Dec 2005 05:51:45 -0800, Iain King <[EMAIL PROTECTED]> wrote: > Argh, you made me look at the html again - at least now I know *why* it > is so disgusting. I understand there's a new version coming out soon, > hopefully in html 4 strict or xhtml. I'm sure at that point it'll be > ea

Re: Documentation suggestions

2005-12-08 Thread A.M. Kuchling
On Wed, 07 Dec 2005 12:10:18 -0500, Kent Johnson <[EMAIL PROTECTED]> wrote: > OK I'll bite. That Beginners Guide page has bugged me for a long time. > It's a wiki page but it is marked as immutable so I can't change it. > Here are some immediate suggestions: Good suggestions; thanks! I

Re: Documentation suggestions

2005-12-08 Thread A.M. Kuchling
On Wed, 07 Dec 2005 12:58:36 -0800, Michael Spencer <[EMAIL PROTECTED]> wrote: > I experimented with some more re-organization, but I don't see away > to attach the resulting file in the SF comments, so I'll post it > here instead. I've attached your file to the patch. Some comments: >

Re: Documentation suggestions

2005-12-08 Thread A.M. Kuchling
On Wed, 07 Dec 2005 10:36:52 -0600, A.M. Kuchling <[EMAIL PROTECTED]> wrote: > of the seealso environment. I'll talk to Fred about it and begin > assembling a patch. Patch #1376361: http://www.python.org/sf/1376361 . I still need to talk to Fred about this

Re: Documentation suggestions

2005-12-09 Thread A.M. Kuchling
On Thu, 8 Dec 2005 18:17:59 +0100, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > cool. can you post a sample page somewhere? It's not terribly interesting at the moment. The generated LaTeX looks like this: \seeurl{http://effbot.org/librarybook/zlib.htm}{The zlib module} And that gets f

Re: PyCon Preliminary Program Announced!

2005-01-21 Thread A.M. Kuchling
On Thu, 20 Jan 2005 22:52:13 -0500, Tim Peters <[EMAIL PROTECTED]> wrote: > The web page needs better formatting. In general, there are no more Suggestions for improvement are welcome. Perhaps the Wiki version of the schedule, at http://www.python.org/moin/PyConDC2005/Schedule, may be

Re: What YAML engine do you use?

2005-01-21 Thread A.M. Kuchling
On Fri, 21 Jan 2005 18:30:47 +0100, rm <[EMAIL PROTECTED]> wrote: > Nowadays, people are trying to create binary XML, XML databases, > graphics in XML (btw, I'm quite impressed by SVG), you have XSLT, you > have XSL-FO, ... . Which is an argument in favor of XML -- it's where the activi

Re: What YAML engine do you use?

2005-01-21 Thread A.M. Kuchling
On Fri, 21 Jan 2005 18:54:50 +0100, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > judging from http://yaml.org/spec/current.html (750k), the YAML designers are > clearly insane. that's the most absurd software specification I've ever > seen. they > need help, not users. IMHO that's a bit

Re: rotor replacement

2005-01-22 Thread A.M. Kuchling
On 22 Jan 2005 04:50:30 -0800, Paul Rubin wrote: > Martin, do you know more about this? I remember being disappointed > about the decisions since I had done some work on a new block cipher It was discussed in this thread: http://mail.python.org/pipermail/python-dev/2003-April/034959.htm

Re: how to write a tutorial

2005-02-02 Thread A.M. Kuchling
On Wed, 2 Feb 2005 12:22:24 -0500, Dan Perl <[EMAIL PROTECTED]> quoted: > "Xah Lee" <[EMAIL PROTECTED]> wrote in message >> I suggest it be dropped in both places. The mentioning of this book in >> the Perl/Python community is mostly a fawning behavior and confession >> that the author is

Reminder: bug day on Saturday the 25th

2005-06-24 Thread A.M. Kuchling
The Python bug day is coming up tomorrow, Saturday June 25th, running from 1PM to 7PM UTC (9AM to 3PM Eastern). Stop by the IRC channel (#python-dev on irc.freenode.net) and join in! For more info, see . --amk -- http://mail.python.org/mailman/listinfo/

Re: When someone from Britain speaks, Americans hear a "British accent"...

2005-06-29 Thread A.M. Kuchling
On Wed, 29 Jun 2005 03:14:26 -, Grant Edwards <[EMAIL PROTECTED]> wrote: >> cool because you have to bet a lot of money. Anyway, if you >> insist on making distinctions between the backwoods of >> apalachia and european aristocracy, > > What, you think they sound the same? I think tha

Accepted Summer of Code proposals

2005-07-01 Thread A.M. Kuchling
For anyone who's interested: the Python wiki now contains a list of the PSF-mentored proposals that were accepted for Google's Summer of Code: http://wiki.python.org/moin/SummerOfCode --amk -- http://mail.python.org/mailman/listinfo/python-list

Re: Accepted Summer of Code proposals

2005-07-04 Thread A.M. Kuchling
On Fri, 1 Jul 2005 14:22:51 -0400, Terry Reedy <[EMAIL PROTECTED]> wrote: > Thanks for posting this and thanks for coordinating the PSF effort. I did little beyond writing up that wiki page. David Ascher has been the primary coordinator for the PSF. --amk -- http://mail.python.org/ma

Re: Python -- (just) a successful experiment?

2005-08-08 Thread A.M. Kuchling
On Mon, 08 Aug 2005 16:58:40 GMT, Bengt Richter <[EMAIL PROTECTED]> wrote: > It occurs to me that we have the PEP process for core python, but no PEP > process > for the python app/lib environment. What about starting a PEEP process > (Python Environment Enhancement Proposals) modeled on

Re: Pre-PEP Proposal: Codetags

2005-08-11 Thread A.M. Kuchling
On Thu, 11 Aug 2005 08:47:37 +0200, Martin v. Löwis <[EMAIL PROTECTED]> wrote: > I think you somewhat misunderstood the purpose of the PEP process. > This is meant primarily for enhancements to Python (the language > and its library), ... PEP 0 disagrees: PEP stands for Python Enhan

Re: Database of non standard library modules...

2005-08-19 Thread A.M. Kuchling
On Fri, 19 Aug 2005 10:33:16 +0100, Steve Holden <[EMAIL PROTECTED]> wrote: > While cheeseshop might resonate with the Monty Python fans I have to say > I think the name sucks in terms of explaining what to expect. If I ask > someone where I can find a piece of code and the direct me to

Re: Sanitizing untrusted code for eval()

2005-08-22 Thread A.M. Kuchling
On Mon, 22 Aug 2005 13:55:45 GMT, Jim Washington <[EMAIL PROTECTED]> wrote: > I'm still working on yet another parser for JSON (http://json.org). See http://python.ca/nas/log/200507/index.html#21_001 for another parser. I don't know if it uses eval() or not, but would bet on "not" becau

Re: OpenSource documentation problems

2005-08-31 Thread A.M. Kuchling
On Wed, 31 Aug 2005 12:14:35 GMT, > I use dir() all the time; help() not so much. Typing help(help) > shows: > > Help on _Helper in module site: > > Type help() for interactive help, or help(object) for help > about object. > > That strikes me as not-particularly-helpful. Surely it

Re: OpenSource documentation problems

2005-09-01 Thread A.M. Kuchling
On 1 Sep 2005 05:04:33 -0700, Paul Boddie <[EMAIL PROTECTED]> wrote: > Please note that I'm not labelling you as a troll. No, he's simply barking mad. I was amused by a rec.arts.sf.written discussion [1] where Lee complains that Jonathan Swift (1667-1745)'s writing was unclear in style;

Re: OpenSource documentation problems

2005-09-01 Thread A.M. Kuchling
On Wed, 31 Aug 2005 19:57:00 GMT, Bryan Olson <[EMAIL PROTECTED]> wrote: > Since "help *is* pydoc.help, or at least...", the call could > show the same thing as help(pydoc.help), or at least inform the > user that more of the story is available from help(pydoc.help). But, given that the h

Re: OpenSource documentation problems

2005-09-01 Thread A.M. Kuchling
On Thu, 1 Sep 2005 17:09:27 +0200, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > the useredit approach I'm using over at the librarybook site works > pretty well. for example, if you go to That looks pleasantly simple. I don't consider the pydoc.amk.ca experiment to have been really succes

Re: OpenSource documentation problems

2005-09-02 Thread A.M. Kuchling
On Fri, 02 Sep 2005 06:19:16 GMT, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > My attempts at simple came in closer to the life insurance than > Lincoln -- forget about Hemingway; the only way I could approach his > writing was to stick to: Hello World; Good day; See you later; Bye

Re: OpenSource documentation problems

2005-09-02 Thread A.M. Kuchling
On Thu, 1 Sep 2005 23:08:18 -0400, Fred L. Drake, Jr. <[EMAIL PROTECTED]> wrote: > Ideally, emails to docs at python.org would result in issues being created > somewhere, simply so they don't get lost. It probably doesn't make sense for > those to land in SourceForge automatically, sinc

Re: OpenSource documentation problems

2005-09-02 Thread A.M. Kuchling
On Fri, 2 Sep 2005 01:28:22 -0500, Terry Hancock <[EMAIL PROTECTED]> wrote: > Hmm. Still sounds like "there ought to be a wiki". I've seen references > to two different ones on this thread. One was then debunked as a "failed > experiment". The other just gave me a DNS lookup failure (may

Re: Why do Pythoneers reinvent the wheel?

2005-09-10 Thread A.M. Kuchling
On Sat, 10 Sep 2005 08:53:24 +0200, Stefano Masini <[EMAIL PROTECTED]> wrote: > Well, so we might as well learn a little more and rewrite os.path, the > time module and pickle. Right? :) And in fact people have done all of these: os.path: path.py (http://www.jorendorff.com/articles/python

Re: Why do Pythoneers reinvent the wheel?

2005-09-12 Thread A.M. Kuchling
On Sat, 10 Sep 2005 12:35:37 -0400, Mike Meyer <[EMAIL PROTECTED]> wrote: > I think the manual does need a section on how to find code other than > the library. But where do you put it? The tutorial's final section (http://docs.python.org/tut/node14.html) mentions PyPI. A link to the AS

Zeroconf article

2005-02-27 Thread A.M. Kuchling
I've written a little introductory article on using the Zeroconf protocol with Python. Zeroconf allows servers running on one machine to publish their existence to other machines on the local network; applications can then locate available servers. The article is: http://www.amk.ca/python/ze

Re: PyZeroConf Question

2005-03-20 Thread A.M. Kuchling
On Thu, 17 Mar 2005 14:48:03 -0800, djw <[EMAIL PROTECTED]> wrote: > The list of printers is returned, but every call to getServiceInfo() in > the Listener objectresults in a timeout and None being returned. I suggest compiling Apple's mDNSMonitor and looking at the sequence of packets.

Re: collaborative editing

2004-12-10 Thread A.M. Kuchling
On 10 Dec 2004 05:20:42 -0800, Michele Simionato <[EMAIL PROTECTED]> wrote: > welcome. Does something like that already exists? Alternatively, I would need > some hierarchical Wiki with the ability of printing its contents in an > structured way. At least one book, Eric van der Vlist's R

Re: Boo who? (was Re: newbie question)

2004-12-21 Thread A.M. Kuchling
On Tue, 21 Dec 2004 08:22:51 -0800, Roger Binns <[EMAIL PROTECTED]> wrote: > That work died due to "a crisis of faith": > http://mylist.net/archives/spry-dev/2004-November/72.html Soon it will be possible to become a well-known programmer without writing any code at all; just issue

Re: PyPI errors?

2005-03-21 Thread A.M. Kuchling
On Mon, 21 Mar 2005 04:24:16 + (UTC), Daniel Yoo <[EMAIL PROTECTED]> wrote: > Does anyone know why PyPI's doesn't like my PKG-INFO file? Here's > what I have: The PyPI code is being modified at the PyCon sprints; clearly this is a bug that was introduced yesterday. I expect it'll g

Re: Documentation suggestions

2005-12-12 Thread A.M. Kuchling
On Sat, 10 Dec 2005 11:45:12 +0100, Fredrik Lundh <[EMAIL PROTECTED]> wrote: >> to make it better. Maybe it could be "'', from '' >> by ". Then the text for your file would be "'The zlib module', >> from '(the eff-bot guide to) The Standard Python Library' by Fredrik Lundh." > > that sh

Re: Documentation suggestions

2005-12-13 Thread A.M. Kuchling
On 8 Dec 2005 08:00:25 -0800, BartlebyScrivener <[EMAIL PROTECTED]> wrote: > The bulleted points in BeginnersGuide/Overview are, again, things that > are important to programmers ("Automatic garbage collection frees you > from the hassles of memory management" means nothing to me, even now

Re: Which Python web framework is most like Ruby on Rails?

2005-12-16 Thread A.M. Kuchling
On Thu, 15 Dec 2005 20:15:17 -0800, Alex Martelli <[EMAIL PROTECTED]> wrote: > If you claim there's a web project that's unfeasible to do in Ruby, > you'd better come up with a strong example. If you're making no such > claim, which would be counter to the claims of the Ruby community, th

Re: Which Python web framework is most like Ruby on Rails?

2005-12-22 Thread A.M. Kuchling
On 20 Dec 2005 15:05:15 -0800, Michael Tobis <[EMAIL PROTECTED]> wrote: > Python people don't really think that way. As a community we really > seem to inherit the open source dysfunction of trying harder to impress > each other than to reach out to the rest of the world. The problem is Y

Re: Which Python web framework is most like Ruby on Rails?

2005-12-22 Thread A.M. Kuchling
On Thu, 22 Dec 2005 14:05:08 +, Ed Singleton <[EMAIL PROTECTED]> wrote: >> Yes; I've long worried about this, but have no idea how to fix the >> problem. Python users largely talk to other Python users, not to the >> world at large. > > A good start would be for there to be a way for

Re: OT: Degrees as barriers to entry [was Re: - E04 - Leadership! Google, Guido van Rossum, PSF]

2006-01-11 Thread A.M. Kuchling
On Tue, 10 Jan 2006 23:13:01 +, Steve Holden <[EMAIL PROTECTED]> wrote: > attempt to draw direct comparisons. Maybe having an uncle helped you in > to the trade, but it didn't cut you much slack in terms of required > standards, hence the absence of cathedral-shaped heaps of rubble.

Re: New Python.org website ?

2006-01-19 Thread A.M. Kuchling
On Thu, 19 Jan 2006 18:34:21 +0100, Gerhard Häring <[EMAIL PROTECTED]> wrote: > If I see this correctly, Fredrik would volonteer to (help) implement > something that imports the current python.org content into a Wiki. First question I have: which wiki? Does this go into the existing Pyt

Re: New Python.org website ?

2006-01-19 Thread A.M. Kuchling
On Thu, 19 Jan 2006 19:20:37 +0100, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > I'd prefer a separate wiki (at least initially). Do we have enough > admin resources to set up an 1.5 instance ? I doubt it's practical to run 1.3 alongside 1.5. python.org uses mod_python, so unless the Moin

Re: EuroPython 2006 and Py3.0

2006-07-14 Thread A.M. Kuchling
On Fri, 14 Jul 2006 18:45:07 +0200, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > >> This attitude may have some downsides. The Python developers don't know >> everything, other people can have some experience of computer languages >> too. > > "some experience of

Re: Python to use a non open source bug tracker?

2006-10-04 Thread A.M. Kuchling
On 04 Oct 2006 06:44:24 -0700, Paul Rubin <> wrote: > Right now there is not even agreement on what the goal is. The goal is a new tracker for python.org that the developers like better; the original call lists 3 reasons (bad interface; lack of reliability; lack of workflow controls).

  1   2   >