Search Discussions
-
I'm pretty new to Python, and I like a lot overall, but I find the documentation for Python rather poor, overall. I'm sure that Python experts don't have this problem: they have internalized some ...
Kj
Jul 31, 2009 at 8:10 pm
Dec 4, 2014 at 11:57 pm -
How do you explain that something as inferior as Python beat Lisp in the market place despite starting 40 years later.
Fft1976
Jul 19, 2009 at 5:33 pm
Jul 31, 2009 at 9:02 am -
Current Boolean operators are 'and', 'or', and 'not'. It would be nice to have an 'xor' operator as well. -- View this message in context: ...
Dr. Phillip M. Feldman
Jul 14, 2009 at 6:25 pm
Jul 27, 2009 at 9:12 am -
Hello fellow Pythonista's it's nice to be back after such a long hiatus. I have recently realized my blind love affair with Python was just that. I must admit there are better ways to program. Like ...
R
Jul 30, 2009 at 3:06 am
Aug 26, 2009 at 9:00 pm -
I'm will be teaching a programming class to novices, and I've run into a clear conflict between two of the principles I'd like to teach: code clarity vs. code reuse. I'd love your opinion about it. ...
Kj
Jul 3, 2009 at 2:05 pm
Jul 16, 2009 at 1:19 pm -
My colleagues and I have been working with python for around 6 months now, and while we love a lot of what python has done for us and what it enables us to do some of the decisions behind such ...
Phillip B Oldham
Jul 20, 2009 at 4:27 pm
Aug 4, 2009 at 10:15 am -
I'm having a hard time coming up with a reasonable way to explain certain things to programming novices. Consider the following interaction sequence: ... some_int += 2 ... some_list += [2] ... ...
Kj
Jul 7, 2009 at 8:04 pm
Jul 22, 2009 at 12:18 am -
An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20090724/6d9321db/attachment.htm
Phillip M. Feldman
Jul 24, 2009 at 3:58 pm
Jul 27, 2009 at 9:04 pm -
Hey I was hoping to get your opinions on a sort of minor stylistic point. These two snippets of code are functionally identical. Which would you use and why? The first one is easier [for me anyway] ...
Simon Forman
Jul 2, 2009 at 5:23 pm
Jul 22, 2009 at 7:21 pm -
As an example of code that really needs to run fast, but is speed-limited by Python's limitations, see "tokenizer.py" in http://code.google.com/p/html5lib/ This is a parser for HTML 5, a piece of ...
John Nagle
Jul 4, 2009 at 5:33 pm
Jul 7, 2009 at 4:40 pm -
hello there, I've a question : I want to know does python have any capability for using Ring0 and kernel functions for driver and device development stuff . if there's such a feature it is very good, ...
MalC0de
Jul 29, 2009 at 8:21 pm
Aug 9, 2009 at 11:51 pm -
Hi all, I have just released version 0.2 of Shed Skin, an experimental (restricted) Python-to-C++ compiler (http://shedskin.googlecode.com). It comes with 7 new example programs (for a total of 40 ...
Mark Dufour
Jul 19, 2009 at 2:30 pm
Jul 27, 2009 at 11:16 am -
Currently I need to find the most common elements in thousands of arrays within one large array (arround 2 million instances with ~70k unique elements) so I set up a dictionary to handle the counting ...
Mclovin
Jul 4, 2009 at 7:33 am
Jul 10, 2009 at 9:07 pm -
I have fairly often found the need to split a sequence into two groups based on a function result. Much like the existing filter function, but returning a tuple of true, false sequences. In Python, ...
Schickb
Jul 3, 2009 at 2:56 am
Jul 3, 2009 at 8:07 pm -
Hi all, I've been working on a new implementation of the re module. The details are at http://bugs.python.org/issue2636, specifically from http://bugs.python.org/issue2636#msg90954. I've included a ...
MRAB
Jul 27, 2009 at 4:34 pm
Jul 30, 2009 at 10:06 pm -
Hi! Can anyone please help me getting rid of this error: UnicodeEncodeError: 'ascii' codec can't encode character u'\xb7' in position 13: ordinal not in range(128) I am not a python programmer ...
Akhil1988
Jul 16, 2009 at 4:34 am
Jul 18, 2009 at 6:25 pm -
For a recovering Perl-head like me it is difficult to understand why Python's re module offers both match and search. Why not just use search with a beginning-of-string anchor? I find it particularly ...
Kj
Jul 1, 2009 at 5:56 pm
Jul 7, 2009 at 1:37 pm -
Los Angeles (AP) --MeAmI.org now has users in 50 countries following its adopted use in Pakistan. The search engine has grown in popularity 10,000 fold following its Beta test launch three months ago ...
Musatov
Jul 10, 2009 at 1:03 am
Jul 11, 2009 at 3:34 am -
Hello, I'm fairly new at Python so hopefully this question won't be too awful. I am writing some code that will FTP to a host, and want to catch any exception that may occur, take that and print it ...
Seldan24
Jul 13, 2009 at 1:26 pm
Jul 15, 2009 at 3:15 pm -
Hi, I wanted to make a python byte-code file executable, expecting to be able to run it without specifying "python" on the (Linux bash) command line. So, I wrote the following: [root at VMLinux1 ...
Barak, Ron
Jul 29, 2009 at 11:36 am
Aug 3, 2009 at 8:04 am -
20
turtle dump
hi there. is there a way to dump the content of a turtle window to a file or a file object? byeSuperpollo
Jul 16, 2009 at 10:56 am
Jul 18, 2009 at 6:42 am -
I believe Guido himself has said that all indentions should be four spaces - no tabs. Since backward compatibility is being thrown away anyway, why not enforce the four space rule? At least that way, ...
Walterbyrd
Jul 10, 2009 at 7:22 pm
Jul 17, 2009 at 11:09 pm -
In <h30e3t$g56$2 at reader1.panix.com kj <no.email at please.post writes: To clarify, this comes from my reading of Fredrik Lundh's pages "Python Objects" (http://effbot.org/zone/python-objects.htm) ...
Kj
Jul 8, 2009 at 2:04 pm
Jul 15, 2009 at 1:05 pm -
I am trying to write a simple little program to do some elementary stock market analysis. I read lines, send each line to a function and then the function returns a date which serves as a key to a ...
Nile
Jul 6, 2009 at 10:02 pm
Jul 8, 2009 at 1:40 pm -
Hi, I'm trying to get https requests working through an authenticating proxy with urllib2 in Python 2.5, I'm aware that this isn't supported "out of the box", so applied the patch ...
Tvashtar
Jul 20, 2009 at 3:11 pm
Dec 10, 2013 at 6:15 pm -
I've seen a lot of posts on this problem, but none seems to help. Here is the code: /code file = open(prefix1) text = file.readlines() len = len(text) fields = text[1].split() num_rows = ...
Nick
Jul 9, 2009 at 1:42 pm
Jul 10, 2009 at 6:59 pm -
Hi, I'm just wondering why <, <=, =, and are not supported by collections.OrderedDict: False Traceback (most recent call last): File "<pyshell#6 ", line 1, in <module d1 < d2 TypeError: unorderable ...
Mark Summerfield
Jul 16, 2009 at 6:21 am
Jul 25, 2009 at 6:18 pm -
hello, when I''m working in a library, and want to test some of the library functions, I need to switch to a main application, (which has a normal main-section) and run that. If the library is ...
Stef Mientki
Jul 12, 2009 at 1:40 pm
Jul 13, 2009 at 8:01 am -
Hi, I am getting the following error when doing a post to REST API, Enter PEM pass phrase: Traceback (most recent call last): File "./ices_catalog_feeder.py", line 193, in ? main(sys.argv[1]) File ...
Jakecjacobson
Jul 27, 2009 at 3:57 pm
Jul 29, 2009 at 5:10 pm -
Howdy all, The following is a common idiom:: class FooGonk(object): def frobnicate(self): """ Frobnicate this gonk. """ basic_implementation(self.wobble) class BarGonk(FooGonk): def frobnicate(self): ...
Ben Finney
Jul 17, 2009 at 1:01 am
Jul 28, 2009 at 8:49 pm -
Hi, I'm not sure the subject describes what I'm looking for, but the question is the following: Is there a way I can tell a variable that the object it is pointing too is not owned by it, in the ...
Utpal Sarkar
Jul 24, 2009 at 12:38 pm
Jul 26, 2009 at 7:50 am -
Hi. I'm writing some class, and decided to use inside private method and some private variables. While with method i haven't got any problem's with variables i have. Maybe some example. A class with ...
Ryniek90
Jul 21, 2009 at 8:55 pm
Jul 23, 2009 at 4:42 pm -
Hello, I'm reading about implementation of long ints in Python. I downloaded the source code of CPython and will read the longobject.c, but from where I should start reading this file? I mean which ...
Pedram
Jul 5, 2009 at 7:38 am
Jul 7, 2009 at 11:06 am -
hello there, I'm using Learning Python 3rd edition as my core reference, the book is great. here's some snippet for demonstrating echo-server program, but I can't interpret it in both windows / Gnu ...
MalC0de
Jul 31, 2009 at 7:25 am
Aug 1, 2009 at 4:04 am -
Hi, Is there a way to tell if a generator has been exhausted using pure Python code? I've looked at CPython sources and it seems that something like "active"/"exhausted" attribute on genobject is ...
Michal Kwiatkowski
Jul 25, 2009 at 6:30 pm
Jul 27, 2009 at 9:37 pm -
I am attempting to send a jpeg image file created on an embedded device over a wifi socket to a Python client running on a Linux pc (Ubuntu). All works well, except I don't know, on the pc client ...
Twgray
Jul 18, 2009 at 9:33 pm
Jul 19, 2009 at 4:09 pm -
(Here's a short version of the long version below if you don't want to read:) Why is version B of the code faster than version A? (Only three lines different) Version A: http://pastebin.com/f14561243 ...
Xavier Ho
Jul 6, 2009 at 12:20 am
Jul 6, 2009 at 10:58 pm -
Hello All, I am very new to python and I am in the process of loading a very large compressed csv file into another format. I was wondering if I can do this in a multi thread approach. Here is the ...
Mag Gam
Jul 1, 2009 at 1:52 am
Jul 5, 2009 at 9:52 am -
Hi! I'm currently converting my bioware to handle Python code and I have stumbled across a problem... Simple scenario: I have a handle to a resource. This handle allows me to manipulate the resource ...
Ulrich Eckhardt
Jul 2, 2009 at 7:11 am
Jul 4, 2009 at 10:47 pm -
Hi all, I'm having trouble with multiprocessing I'm using it to speed up some simulations, I find for large queues when the process reaches the poison pill it does not exit whereas for smaller queues ...
Ma3mju
Jul 31, 2009 at 8:04 am
Aug 10, 2009 at 3:25 pm -
As a recurrent situation, I need to invoke the same method on many instances. Speed matters, but the solution should be pure Python. Is the following convenience function a reasonable approach? def ...
Alan G Isaac
Jul 17, 2009 at 5:19 am
Jul 27, 2009 at 2:44 am -
Hi, I have searched this list and found out that Python doesn't have a mutable string class (it had an inefficient one, but this was removed in 3.0). Are there any libraries outside the core that ...
Casebash
Jul 20, 2009 at 9:57 am
Jul 27, 2009 at 12:36 am -
How to check if a particular file is locked by some application? (i.e. the file is opened by some application)? -- Regrads, Rajat An HTML attachment was scrubbed... URL: ...
Dudeja Rajat
Jul 7, 2009 at 7:31 pm
Jul 13, 2009 at 11:37 am -
Announcing Psyco V2 source release ---------------------------------- This is the long awaited announcement of Psyco V2. Psyco V2 is a continuation of the well-known psyco project, which was called ...
Christian Tismer
Jul 17, 2009 at 2:26 am
Jul 26, 2009 at 10:22 am -
Hi, I'm trying to implement in Python a function testing if an expression is well parenthesized. For instance the expression "zx4er(1(er(Yy)ol)ol)ik" is correctly parenthesized but this one ...
Candide
Jul 14, 2009 at 12:37 pm
Jul 19, 2009 at 3:45 pm -
Hi all, For one of my projects, I came across the need to check if one of many items from a list of strings could be found in a long string. I came up with a pretty quick helper function to check ...
Inkhorn
Jul 10, 2009 at 1:36 am
Jul 17, 2009 at 8:06 am -
So you have chosen programming language "x" so shall you tell us why you did so , and what negatives or positives it has ?
Deep_Feelings
Jul 14, 2009 at 3:55 pm
Jul 15, 2009 at 8:31 am -
Hi, I am embarking on teaching myself Microsoft UI Automation using Python as the scripting language. I have asked some questions in the IronPython users group, but have yet to get a response, so I ...
TheSeeker
Jul 9, 2009 at 5:14 pm
Jul 10, 2009 at 12:30 pm -
Hello, Historically, I have used scripting languages like python for typical uses, but they tend to not fare very well at system programming; for close interfacing with the operating system, I'm ...
Travis+Ml-Python
Jul 17, 2009 at 8:01 pm
Aug 25, 2009 at 8:15 pm
Group Overview
group | python-list |
categories | python |
discussions | 569 |
posts | 3,704 |
users | 742 |
website | python.org |
742 users for July 2009
Archives
- September 2015 (591)
- August 2015 (1,058)
- July 2015 (1,440)
- June 2015 (1,704)
- May 2015 (1,841)
- April 2015 (1,231)
- March 2015 (1,717)
- February 2015 (1,612)
- January 2015 (889)
- December 2014 (1,283)
- November 2014 (1,600)
- October 2014 (1,447)
- September 2014 (1,031)
- August 2014 (1,867)
- July 2014 (1,618)
- June 2014 (1,357)
- May 2014 (1,431)
- April 2014 (1,285)
- March 2014 (2,093)
- February 2014 (1,999)
- January 2014 (2,089)
- December 2013 (2,060)
- November 2013 (2,507)
- October 2013 (1,932)
- September 2013 (1,634)
- August 2013 (1,532)
- July 2013 (2,062)
- June 2013 (2,795)
- May 2013 (1,935)
- April 2013 (1,980)
- March 2013 (1,953)
- February 2013 (1,789)
- January 2013 (1,924)
- December 2012 (1,569)
- November 2012 (1,579)
- October 2012 (1,961)
- September 2012 (2,311)
- August 2012 (1,808)
- July 2012 (1,577)
- June 2012 (1,199)
- May 2012 (1,197)
- April 2012 (1,416)
- March 2012 (1,373)
- February 2012 (1,442)
- January 2012 (1,446)
- December 2011 (1,895)
- November 2011 (1,291)
- October 2011 (1,188)
- September 2011 (1,587)
- August 2011 (2,069)
- July 2011 (2,140)
- June 2011 (1,908)
- May 2011 (2,475)
- April 2011 (2,098)
- March 2011 (1,761)
- February 2011 (1,746)
- January 2011 (2,123)
- December 2010 (1,671)
- November 2010 (2,355)
- October 2010 (2,518)
- September 2010 (2,187)
- August 2010 (3,098)
- July 2010 (2,579)
- June 2010 (3,238)
- May 2010 (2,458)
- April 2010 (2,356)
- March 2010 (2,759)
- February 2010 (3,486)
- January 2010 (3,294)
- December 2009 (2,899)
- November 2009 (3,396)
- October 2009 (3,346)
- September 2009 (3,087)
- August 2009 (3,903)
- July 2009 (3,761)
- June 2009 (3,321)
- May 2009 (3,370)
- April 2009 (4,272)
- March 2009 (4,228)
- February 2009 (3,965)
- January 2009 (4,732)
- December 2008 (4,335)
- November 2008 (3,799)
- October 2008 (4,123)
- September 2008 (3,816)
- August 2008 (4,056)
- July 2008 (4,238)
- June 2008 (3,737)
- May 2008 (4,976)
- April 2008 (4,708)
- March 2008 (4,122)
- February 2008 (4,132)
- January 2008 (4,145)
- December 2007 (3,686)
- November 2007 (3,419)
- October 2007 (4,234)
- September 2007 (4,332)
- August 2007 (4,189)
- July 2007 (3,771)
- June 2007 (4,142)
- May 2007 (5,018)
- April 2007 (4,912)
- March 2007 (4,365)
- February 2007 (3,951)
- January 2007 (3,864)
- December 2006 (4,449)
- November 2006 (4,229)
- October 2006 (5,506)
- September 2006 (5,244)
- August 2006 (4,829)
- July 2006 (4,720)
- June 2006 (5,054)
- May 2006 (5,302)
- April 2006 (4,845)
- March 2006 (5,729)
- February 2006 (4,839)
- January 2006 (5,249)
- December 2005 (5,011)
- November 2005 (5,677)
- October 2005 (5,387)
- September 2005 (4,458)
- August 2005 (4,428)
- July 2005 (4,472)
- June 2005 (4,562)
- May 2005 (4,269)
- April 2005 (5,019)
- March 2005 (5,070)
- February 2005 (5,159)
- January 2005 (5,194)
- December 2004 (5,211)
- November 2004 (4,048)
- October 2004 (5,191)
- September 2004 (5,534)
- August 2004 (6,168)
- July 2004 (4,217)
- June 2004 (4,202)
- May 2004 (3,890)
- April 2004 (4,285)
- March 2004 (5,077)
- February 2004 (4,213)
- January 2004 (3,988)
- December 2003 (3,818)
- November 2003 (4,940)
- October 2003 (6,297)
- September 2003 (4,299)
- August 2003 (5,654)
- July 2003 (4,912)
- June 2003 (4,933)
- May 2003 (4,938)
- April 2003 (5,017)
- March 2003 (5,031)
- February 2003 (7,701)
- January 2003 (6,229)
- December 2002 (4,102)
- November 2002 (4,346)
- October 2002 (3,307)
- September 2002 (4,206)
- August 2002 (4,919)
- July 2002 (4,826)
- June 2002 (4,215)
- May 2002 (5,295)
- April 2002 (5,967)
- March 2002 (5,323)
- February 2002 (5,245)
- January 2002 (5,617)
- December 2001 (4,443)
- November 2001 (4,565)
- October 2001 (3,669)
- September 2001 (3,719)
- August 2001 (5,208)
- July 2001 (6,528)
- June 2001 (4,905)
- May 2001 (5,492)
- April 2001 (4,713)
- March 2001 (4,478)
- February 2001 (3,871)
- January 2001 (4,187)
- December 2000 (3,099)
- November 2000 (2,336)
- October 2000 (3,820)
- September 2000 (3,933)
- August 2000 (4,253)
- July 2000 (4,199)
- June 2000 (4,089)
- May 2000 (4,269)
- April 2000 (3,217)
- March 2000 (3,719)
- February 2000 (4,000)
- January 2000 (2,682)
- December 1999 (2,283)
- November 1999 (1,896)
- October 1999 (2,048)
- September 1999 (2,001)
- August 1999 (2,151)
- July 1999 (2,351)
- June 1999 (2,386)
- May 1999 (2,201)
- April 1999 (1,706)
- March 1999 (6)
- February 1999 (1)