Search Discussions
-
Of interest: ? Why Must Software Be Rewritten For Multi-Core Processors? http://xahlee.org/UnixResource_dir/writ/multi-core_software.html plain text version follows. ...
Xah Lee
Jun 4, 2009 at 4:46 pm
Jun 11, 2009 at 12:06 am -
Greetings. Are there any modules, packages, whatever, that will measure the fractal dimensions of a dataset, e.g. a time-series ? Like the Correlation Dimension, the Information Dimension, etc... ...
Peter Billam
Jun 12, 2009 at 3:32 am
Jun 30, 2009 at 8:57 am -
Why no trees in the standard library, if not as a built in? I searched the archive but couldn't find a relevant discussion. Seems like a glaring omission considering the batteries included ...
Tom Reed
Jun 26, 2009 at 5:29 am
Jul 3, 2009 at 8:39 am -
Hi all, I do understand that this is not a python question and I apologize for that straight up. But I am a full time follower of this group and I have seen very very brilliant programmers and ...
Koranthala
Jun 13, 2009 at 3:49 pm
Jun 29, 2009 at 12:15 pm -
See here for introduction: http://groups.google.si/group/comp.lang.python/browse_thread/thread/370f8a1747f0fb91 Digging through my problem, I discovered Python isn't exactly thread safe and to solve ...
Jure Erznožnik
Jun 19, 2009 at 9:52 am
Jun 22, 2009 at 8:03 am -
i can traverse a directory using os.listdir() or os.walk(). but if a directory has a very large number of files, these methods produce very large objects talking a lot of memory. in other languages ...
Tom
Jun 14, 2009 at 4:35 pm
Jul 8, 2009 at 11:49 pm -
Hi, random.random() will generate a random value in the range [0, 1). Is there an easy way to generate random values in the range [0, 1]? I.e., including 1? I am implementing an algorithm and want to ...
Esmail
Jun 9, 2009 at 9:33 pm
Jun 14, 2009 at 9:38 am -
Kind people, Using Python 3.0 on a Gatesware machine (XP). I am building a class in which I want to constrain the types that can be stored in various instance variables. For instance, I want to be ...
Paul LaFollette
Jun 12, 2009 at 2:05 pm
Jun 17, 2009 at 3:10 pm -
So I was curious whether it's possible to use the ctypes module with C++ and if so how difficult it is. I figure in principal it's possible if ctypes knows about each compiler's name mangling scheme. ...
Joseph Garvin
Jun 2, 2009 at 8:50 pm
Jun 5, 2009 at 3:33 pm -
Is there any reason to prefer one or the other of these statements? if e.message.code in [25401,25402,25408]: if e.message.code in (25401,25402,25408): I'm currently using [], but only coz I think ...
Mh
Jun 8, 2009 at 9:36 pm
Jun 19, 2009 at 12:13 pm -
On behalf of the Python development team, I'm thrilled to announce the first production release of Python 3.1. Python 3.1 focuses on the stabilization and optimization of the features and changes ...
Benjamin Peterson
Jun 27, 2009 at 9:12 pm
Jun 29, 2009 at 4:17 pm -
Switching from Perl here, and having a hard time letting go... Suppose I have an "array" foo, and that I'm interested in the 4th, 8th, second, and last element in that array. In Perl I could write: ...
Kj
Jun 13, 2009 at 6:11 pm
Jun 23, 2009 at 6:13 pm -
Hello, I am trying to generate this list of tuples: [(0, ''), (1, 'Dr'), (2, 'Miss'), (3, 'Mr'), (4, 'Mrs'), (5, 'Ms')] My code works fine in the Python shell: [(0, ''), (1, 'Dr'), (2, 'Miss'), (3, ...
Ssc
Jun 17, 2009 at 10:19 pm
Jun 30, 2009 at 2:12 am -
23
It's ...
... my first Python program! So please be gentle (no fifty ton weights on the head!), but tell me if it's properly "Pythonic", or if it's a dead parrot (and if the latter, how to revive it). I'm ...Angus Rodgers
Jun 24, 2009 at 7:53 pm
Jul 1, 2009 at 3:48 pm -
How to change the first character of the line to uppercase in a text file? e.g. input is: abc xyz Bd ef gH ij output should be: Abc xyz Bd ef GH ij
Powah
Jun 26, 2009 at 7:43 pm
Jun 28, 2009 at 5:36 am -
Hi, I'm PHP developer and entirely new to Python. I installed it (version 2.5.2, from Debian repos) today on the persuasion of a friend, who is a Python addict. The first thing I typed into it was ...
Bojan Sudarevic
Jun 25, 2009 at 6:04 pm
Jun 26, 2009 at 10:27 pm -
One can go from lb = ['b','a','n','a','n','a'] to s = "banana" by using s = "".join(lb) Is there a way to go the reverse route? I have not been able to find one. It is obviously easy to write a for ...
Hendrik van Rooyen
Jun 9, 2009 at 7:25 am
Jun 10, 2009 at 9:49 pm -
This is from Python built from the py3k branch: ... print(q()) ... 11 12 13 14 15 ... print(q()) ... 15 15 15 15 15 Looking at the implementation, I see why this happens: ... ...
Brian Quinlan
Jun 4, 2009 at 9:40 pm
Jun 8, 2009 at 4:57 pm -
When the days get colder and the nights longer, then evil things are hatched. A can is like a pickle, in that it is a string, but anything can be canned. Unlike a pickle, a can cannot leave the ...
Hendrik van Rooyen
Jun 4, 2009 at 7:25 am
Jun 6, 2009 at 11:26 am -
I currently have something like this. class applicant(): def __int__(self, x, y): self.randomnum = normalvariate(x, y) then other stuff x, y are only used to calculate self.randomnum and this seems ...
Vincent Davis
Jun 20, 2009 at 5:20 am
Jun 25, 2009 at 11:53 pm -
I was just looking at the python tutorial, and I noticed these lines: http://docs.python.org/tutorial/inputoutput.html#reading-and-writing-files "Windows makes a distinction between text and binary ...
Steve
Jun 16, 2009 at 2:56 am
Jun 19, 2009 at 12:26 am -
This probably has a snowballs change in hell of ending up in builtins or even some in some module, but such things should not prevent one to try and present the arguments for what one thinks is ...
Pataphor
Jun 4, 2009 at 1:37 pm
Jun 13, 2009 at 1:48 pm -
Just got a new computer and I'm trying to download my favourite applications. All's well until I get to PIL, and here pythonware and effbot both return a 502 Proxy error. Is this just a temporary ...
Peter
Jun 27, 2009 at 9:52 am
Jun 30, 2009 at 4:56 pm -
Hi, please forgive the multi-posting on this general topic. Some time ago, I recommended a pursuit of keeping 'persistent composite' types on disk, to be read and updated at other times by other ...
Aaron Brady
Jun 14, 2009 at 2:27 pm
Jun 20, 2009 at 11:36 pm -
I am very excited by this project (as well as by pypy) and I read all their plan, which looks quite practical and impressive. But I must confess that I can't understand why LLVM is so great for ...
Luis M. González
Jun 5, 2009 at 1:08 am
Jun 11, 2009 at 9:29 pm -
Hi all, I am trying to visualize a number of small objects moving over a 2D surface during run-time. I was wondering what would the easiest way to accomplish this using Python? Ideally I am looking ...
Esmail
Jun 3, 2009 at 3:53 pm
Jun 4, 2009 at 11:52 pm -
I want to ensure that the url ends with a '/', now I have to do thisa like below. url = url + '' if url[-1] == '/' else '/' Is there a better way?
Tsangpo
Jun 6, 2009 at 3:07 pm
Jun 11, 2009 at 8:34 am -
Hi, As you can imagine, I am new, both to this group and to Python. I have read various posts on the best book to buy or online tutorial to read and have started to go through them. I was wondering, ...
Sato Photo
Jun 27, 2009 at 2:22 am
Jun 28, 2009 at 12:38 pm -
I was staring at a logic table the other day, and I asked myself, "what if one wanted to play with exotic logics; how might one do it?" I did some searching but not being too sure of what to look for ...
William Clifford
Jun 17, 2009 at 5:46 am
Jun 19, 2009 at 12:11 am -
hello, I've pictures stored in a path relative to my python source code. To get a picture, I need to know what path I'm on in each python module. I thought __file__ would do the job, but apparently I ...
Stef Mientki
Jun 1, 2009 at 9:28 pm
Jun 15, 2009 at 3:33 pm -
Hello I'm writing an application in Python 2.5.4 under Windows (xp sp3 en). I use Tkinter as the main GUI toolkit. The app is intended to be portable (not fully but win & mac os x is a must). It ...
Sebastian Pająk
Jun 25, 2009 at 7:02 pm
Jun 26, 2009 at 11:55 pm -
Hi, Please consider this example: A non-text attachment was scrubbed... Name: vacuum.py Type: text/x-python Size: 964 bytes Desc: not available URL: ...
Nikolaus Rath
Jun 12, 2009 at 2:28 am
Jun 18, 2009 at 4:09 pm -
16
PEP 376
Hello, I would like to propose this PEP for inclusion into Python 2.7 / 3.2 http://www.python.org/dev/peps/pep-0376/ It has been discussed a lot already in the distutils-SIG, but new feedbacks are ...Tarek Ziadé
Jun 30, 2009 at 7:41 pm
Jul 6, 2009 at 12:30 am -
Hi, During a fun coding session yesterday, I came across a problem that I thought was already solved by itertools, but on investigation it seems it isn't. The problem is simple: given one or more ...
David Wilson
Jun 10, 2009 at 10:24 pm
Jun 22, 2009 at 8:08 pm -
I have a question about the "Using Backslash to Continue Statements" in the howto "Idioms and Anti-Idioms in Python" ...
Ben Charrow
Jun 22, 2009 at 4:14 am
Jul 4, 2009 at 12:08 am -
[PYTHON NOOB ALERT] I want to write a module that serves as a Python front-end to a database. This database can be either in the form of tab-delimited flat files, XML files, or a PostgreSQL server. ...
Kj
Jun 27, 2009 at 8:31 pm
Jun 30, 2009 at 10:17 am -
Hi, I have very basic question about Python that do we consider pyhton as script language. I searched in google but it becomes more confusion for me. After some analysis I came to know that Python ...
Abhishek goswami
Jun 17, 2009 at 11:32 am
Jun 18, 2009 at 7:17 pm -
I am trying to print some values to a file (using c's printf like method). TypeError: int argument required # this works, i see value on screen print w, h, absX, absY # where result is the return ...
Lucius
Jun 12, 2009 at 3:56 am
Jun 18, 2009 at 5:54 pm -
Python 2.6.2 on OS X 10.5.7: [ron at mickey:~]$ echo $LANG en_US.UTF-8 [ron at mickey:~]$ cat frob.py #!/usr/bin/env python print u'\u03BB' [ron at mickey:~]$ ./frob.py ? [ron at mickey:~]$ ./frob.py ...
Ron Garret
Jun 5, 2009 at 1:18 am
Jun 5, 2009 at 5:22 pm -
Hi,everyone! When i run the following in IDLE: IDLE 2.6.1 everything goes well,but when i save these to a .py file and run it: Traceback (most recent call last): File ...
Willgun
Jun 4, 2009 at 5:15 am
Jun 5, 2009 at 1:04 pm -
As every one related to security probably knows, Rivest (and his friends) have a new hashing algorithm which is supposed to have none of the weaknesses of MD5 (and as a side benefit - not too many ...
Mikle3
Jun 5, 2009 at 7:42 pm
Jun 6, 2009 at 12:50 pm -
Hi, I'm looking for a Python library function that provides the same functionality as the `which' command--namely, search the $PATH variable for a given string and see if it exists anywhere within. I ...
Destroooooy
Jun 29, 2009 at 5:54 pm
Jun 29, 2009 at 10:08 pm -
Hi all. Assuming that python dictionaries already provide a bit of "shoot yourself in the foot", I think what I have in mind would not be so bad. What do you think of dictionaries having a self ...
Norberto Lopes
Jun 24, 2009 at 9:39 am
Jun 28, 2009 at 9:39 am -
Hi, I am looking for a python library which will allow me to do a simple web development. I need to use some forms (but nice looking :-) ), creating images based on input from those forms, etc. I ...
Private Private
Jun 25, 2009 at 7:29 am
Jun 27, 2009 at 6:35 pm -
Hi, I'm wondering what would be the preferred way to solve the following forward reference problem: --------------------------------------- class BaseA(object): def __init__(self): return class ...
Lorenzo Di Gregorio
Jun 20, 2009 at 3:40 pm
Jun 22, 2009 at 11:33 am -
Hello, everyone. I've noticed that if I have a class with so-called "rich comparison" methods (__eq__, __ne__, etc.), when its instances are included in a set, set.__contains__/__eq__ won't call the ...
Gustavo Narea
Jun 19, 2009 at 7:02 pm
Jun 21, 2009 at 12:27 pm -
Hello All, I have a very large csv file 14G and I am planning to move all of my data to hdf5. I am using h5py to load the data. The biggest problem I am having is, I am putting the entire file into ...
Mag Gam
Jun 23, 2009 at 3:17 am
Jul 15, 2009 at 8:00 pm -
This is purely sport question. I don't really intend to use the answer in my code, but I am wondering, if such a feat could be done. I have a following problem: I have a list based upon which I would ...
Filip Gruszczyński
Jun 30, 2009 at 8:44 am
Jun 30, 2009 at 11:30 am -
I just read a blog post of Guido's http://neopythonic.blogspot.com/2009/06/ironpython-in-action-and-decline-of.html and notice that he doesn't comment on what he wants in a GUI toolkit for Python. I ...
Laplacian42
Jun 27, 2009 at 4:54 pm
Jun 30, 2009 at 7:00 am -
Summary: I have XML as string and I want to pull it into ElementTree so that I can play with it but it is not working for me. XML and fromstring when used with a string do not do the same thing as ...
Kee Nethery
Jun 26, 2009 at 1:02 am
Jun 27, 2009 at 6:06 am
Group Overview
group | python-list |
categories | python |
discussions | 509 |
posts | 3,235 |
users | 686 |
website | python.org |
686 users for June 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)