Search Discussions
-
The pros and cons of making 'print' a function in Python 3.x are well discussed at: http://mail.python.org/pipermail/python-dev/2005-September/056154.html Alas, it appears that the effect of this pep ...
Edward K Ream
Feb 15, 2007 at 9:13 pm
Mar 4, 2007 at 12:37 pm -
It is quite easy to call J from Python http://groups.google.com/group/J-Programming/browse_thread/thread/5e84b75667f5f64e
Gosi
Feb 5, 2007 at 2:48 pm
Mar 10, 2013 at 8:30 am -
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File ...
Sergey Dorofeev
Feb 14, 2007 at 8:58 pm
Feb 22, 2007 at 8:16 am -
I am VB6 programmer and wants to start new programming language but i am unable to deciced. i have read about Python, Ruby and Visual C++. but i want to go through with GUI based programming language ...
Ifti_crazy
Feb 16, 2007 at 9:22 pm
Feb 26, 2007 at 10:56 am -
@Ben Sizer Hi Ben, in January I received your message re Pygame and Python 2.5: As a Python (and programming ) newbie allow me a - certainly naive - question: What is this time consuming part of ...
Siggi
Feb 9, 2007 at 1:48 pm
Feb 15, 2007 at 12:05 pm -
How to divide a number by 7 efficiently without using - or / operator. We can use the bit operators. I was thinking about bit shift operator but I don't know the correct answer.
Krypto Wizard
Feb 1, 2007 at 2:42 am
Feb 7, 2007 at 11:03 am -
I have a class whose instances should only receive attribute assignments for attributes that were created at inititialization. If slots are not appropriate, what is the Pythonic design for this? ...
Alan Isaac
Feb 26, 2007 at 9:48 pm
Mar 15, 2007 at 7:11 am -
I've come across a code snippet in www.rubyclr.com where they show how easy it is to declare a class compared to equivalent code in c#. I wonder if there is any way to emulate this in Python. The ...
Luis M. González
Feb 28, 2007 at 7:26 pm
Mar 3, 2007 at 12:17 am -
Hi, I am starting to use rationals and since I found no batteries included, I tried out the mxNumber package. However, I get strange warnings on comparison operations (which however seem to yield ...
Martin Manns
Feb 23, 2007 at 3:35 pm
Apr 27, 2007 at 5:35 pm -
Hello all I am just starting to play with programing again as a hobby. I have heard good things about python. I have not really looked into the language much. My question is, will python make ...
Reid
Feb 8, 2007 at 10:11 pm
Feb 26, 2007 at 1:05 am -
Hi all, Supposing you have two separate processes running on the same box, what approach would you suggest to communicate between those two processes. Let me list the ones I know of: * Sockets ...
Exhuma.twn
Feb 16, 2007 at 10:11 am
Feb 18, 2007 at 2:33 pm -
Hi all, I want to know the precision (number of significant digits) of a float in a platform-independent manner. I have scoured through the docs but I can't find anything about it! At the moment I ...
Arnaud Delobelle
Feb 25, 2007 at 10:57 am
Mar 2, 2007 at 12:09 am -
Hi... I would like to take a string like 'supercalifragilisticexpialidocius' and write it to a file in binary forms -- this way a user cannot read the string in case they were try to open in ...
Harlin Seritt
Feb 21, 2007 at 11:50 pm
Feb 24, 2007 at 7:59 am -
Hello, I did not find any reasonable pyhton source code beautifier program (preferable gui). Some would ask why? Program it immediatly good. (BTW: Would be a nice project, if I would have more spare ...
Franz Steinhaeusler
Feb 27, 2007 at 8:45 am
Mar 9, 2007 at 2:07 am -
hello all, I am stuck with a strange requirement. I need a library that can help me display a pdf file as a report and also want a way to print the same pdf file in a platform independent way. if ...
krishnakant Mane
Feb 11, 2007 at 6:45 am
Feb 14, 2007 at 4:04 am -
Hello, lst = list((1,2,3)) lst = [1,2,3] t = tupel((1,2,3)) t = (1,2,3) s = set((1,2,3)) s = ... it would be nice feature to have builtin literal for set type maybe in P3 .. what about? s = <1,2,3 ...
Schüle Daniel
Feb 14, 2007 at 4:55 pm
Feb 21, 2007 at 7:31 pm -
I realize I'm approaching this backwards from the direction most people go, but does anyone know of a good c/c++ introduction for python programmers? Thanks, Thomas
Thomas Nelson
Feb 12, 2007 at 6:00 pm
Feb 18, 2007 at 8:33 pm -
No, I don't want to destroy them (funny how the word 'decimate' has changed definition over the years) :). We have a data acquisition program that saves its output to Excel's .xls format. ...
Gonzlobo
Feb 3, 2007 at 7:43 pm
Feb 6, 2007 at 2:27 pm -
http://www.smartcharter.com/jobs.html Smart Charter Inc. is a dynamic new startup company aiming to revolutionize the purchase and sale of private aviation services. If you are ready for a ...
Tech HR
Feb 26, 2007 at 4:32 am
Feb 28, 2007 at 5:59 pm -
What's the way to go about learning Python's regular expressions? I feel like such an idiot - being so strong in a programming language but knowing nothing about RE. From http Sun Feb 11 00:30:04 ...
Geoff Hill
Feb 10, 2007 at 11:26 pm
Feb 12, 2007 at 6:01 pm -
Hi Folks, Python is praised about - me too. But at one instance it fails. It fails to behave as a true multi-threaded application. That means utilizing all the CPUs parallely in the SMP efficiently ...
S.Mohideen
Feb 7, 2007 at 1:53 am
Mar 8, 2007 at 11:17 am -
A lot of application based on python claim that python 2.3 or 2.4 is needed not 2.5, ie. mysqldb. I've been using python for months. I don't care about 2.4 or 2.5. But I like the default icons of ...
Eric CHAO
Feb 4, 2007 at 11:10 am
Feb 22, 2007 at 5:58 pm -
Hi everyone. If I have a list of tuples, and each tuple is in the form: (year, text) as in ('1995', 'This is a citation.') How can I sort the list so that they are in chronological order based on the ...
John Salerno
Feb 1, 2007 at 7:35 pm
Feb 2, 2007 at 4:29 pm -
17
Regex Speed
While creating a log parser for fairly large logs, we have run into an issue where the time to process was relatively unacceptable (upwards of 5 minutes for 1-2 million lines of logs). In contrast, ...Garrickp
Feb 20, 2007 at 9:29 pm
Feb 24, 2007 at 1:26 am -
Hello! Many times I was suggested to use xrange and range instead of the while constructs, and indeed, they are quite more elegant - but, after calculating the overhead (and losen flexibility) when ...
Stdazi
Feb 16, 2007 at 3:30 pm
Feb 18, 2007 at 1:59 pm -
This is a recurrent problem I encounter when I try to sell python solutions to my customers. I'm aware that this problem is sometimes overlooked, but here is the market's law. I've heard of a bunch ...
Maric Michaud
Feb 14, 2007 at 4:07 am
Feb 20, 2007 at 7:47 pm -
Hi, I am currently using the Cmd module for a mixed cli+gui application. I am starting to refactor my code and it would be highly desirable if many commands could be built as simple plugins. My idea ...
Devicerandom
Feb 12, 2007 at 3:48 pm
Feb 15, 2007 at 5:09 pm -
Yes, All I need is a good IDE, I can't find something like Eclipse (JDT). Eclipse has a Python IDE plug-in but it's not that great. Please recommend. Thanks, Srikanth
Srikanth
Feb 8, 2007 at 12:03 pm
Feb 11, 2007 at 4:26 am -
Hi to all, in statically-types languages, let's say C# for example, we use polymorphism through interfaces. So we define an interface I with method M and then a class C that implements I interface ...
King kikapu
Feb 7, 2007 at 4:17 pm
Feb 9, 2007 at 1:11 pm -
Hi guys, I'm having a hard time installing java2python ( http://code.google.com/p/java2python/ ) on my Windows XP 32-bit machine. I double click setup.py but nothing happens. Is there any specific ...
Loveline17
Feb 28, 2007 at 4:04 am
Mar 2, 2007 at 12:20 am -
Hi all, I have a python script that works without any problem on Windows but with error: QPaintDevice: Must construct a QApplication before a QPaintDevice on Linux. Where could be the problem? ...
Boris Smirnov
Feb 27, 2007 at 10:29 am
Feb 28, 2007 at 9:58 am -
Basically I'm programming a board game and I have to use a list of lists to represent the board (a list of 8 lists with 8 elements each). I have to search the adjacent cells for existing pieces and I ...
Agent-s
Feb 12, 2007 at 12:27 am
Feb 14, 2007 at 11:08 am -
For some reason Python 2.2.4 cannot find the Numeric module. It's been suggested that I should re-install the Numeric file. How do that? Also the PIL. The three install files are: python-2.4.4.msi ...
W. Watson
Feb 7, 2007 at 10:51 pm
Feb 9, 2007 at 12:32 am -
I have installed "TurboGears" and I would install 'pysqlite' also. I am a user on a Linux machine. If I try to install the 'pysqlite' with 'easy_install' tool I get the next error message. The error ...
Nader Emami
Feb 27, 2007 at 9:31 am
Mar 1, 2007 at 2:16 pm -
Hi, How does one get the name of a class from within the class code? I tried something like this as a guess: self.__name__ Obviously it didn't work. Anyone know how to do that? Thanks, Harlin
Harlin Seritt
Feb 17, 2007 at 8:29 pm
Feb 20, 2007 at 1:05 am -
Hello, I searched on Google and in this Google Group, but did not find any solution to my problem. I'm looking for a way to output stdout/stderr (from a subprocess or spawn) to screen and to at least ...
Nathan Shair
Feb 14, 2007 at 10:28 pm
Feb 17, 2007 at 12:52 am -
I'm trying to write rot13, but to do it in a better and more Pythonic style than I'm currrently using. What would you reckon to the following pretty ugly thing? How would you improve it? In ...
Andy Dingley
Feb 14, 2007 at 3:09 pm
Feb 16, 2007 at 6:31 pm -
Interesting. Could you give a few illustrations of this? (I didn't run into the same problem at all, so I'm curious.) Steve
Steven Bethard
Feb 6, 2007 at 3:40 pm
Feb 12, 2007 at 10:07 pm -
Nice idea. I had to apply this change to make it work, though: diff -u c:\python25\lib\site-packages\partial-1.0-py2.5.egg\partial.py.orig ...
Thomas Heller
Feb 7, 2007 at 1:51 pm
Feb 8, 2007 at 8:12 pm -
Hi everyone Here is my problem: I have a list that looks like this - [['a', '13'], ['a', '3'], ['b', '6'], ['c', '12'], ['c', '15'], ['c', '4'], ['d', '2'], ['e', '11'], ['e', '5'], ['e', '16'], ...
Ardief
Feb 2, 2007 at 1:55 pm
Feb 3, 2007 at 4:23 am -
Hi, I am trying to communicate with a subprocess via the subprocess module. Consider the following example: <subprocess.Popen object at 0x729f0 Here hey is immediately print to stdout of my ...
Bayer Justin
Feb 28, 2007 at 9:27 pm
Mar 6, 2007 at 5:20 pm -
I have a function, generally described as so: def function(args): if condition: if condition2: function(args+1) elif condition3: print "text" return True else: return False which is used in: if ...
Agent-s
Feb 14, 2007 at 5:15 am
Feb 23, 2007 at 2:04 am -
Hi, Nowadays the addition of functionality to programs by means of plugins is very frequent. I want to know the opinions of experienced Python developers about the best practices when it comes to ...
Flavio
Feb 22, 2007 at 12:53 pm
Feb 22, 2007 at 6:50 pm -
Hi, I have a program which literately finds the object that overlapping a point. The horizontal and vertical search are called recursively from inside each other. Is this way of implementation fill ...
Jm Suresh
Feb 14, 2007 at 6:09 am
Feb 15, 2007 at 8:44 pm -
I am trying to overload the __invert__ operator (~) such that it can take a second argument, other than self, so that I can express: x ~ y by using: def __invert__(self, other): <do something for ...
Chris
Feb 1, 2007 at 6:53 pm
Feb 9, 2007 at 7:39 am -
Hello, I'm a newbie to Python & wondering someone can help me with this... I have this code: -------------------------- #! /usr/bin/python import sys month ...
James
Feb 7, 2007 at 7:31 pm
Feb 9, 2007 at 1:22 am -
Hello, I am trying to write a python cgi that calls a script over ssh, the problem is the script takes a very long time to execute so Apache makes the CGI time out and I never see any output. The ...
Wattersmt
Feb 6, 2007 at 1:26 pm
Feb 8, 2007 at 12:59 am -
I'm a bit embarrassed to have to ask for help on this, but I'm not finding the solution in the docs I have here. Data are assembled for writing to a database table. A representative tuple looks like ...
Rshepard
Feb 28, 2007 at 8:40 pm
Mar 1, 2007 at 9:17 pm -
HI, I am new to Python and wanted to know how to check for the remaining disk space on my Windows machine using Python? I was thinking of using the command line "dir" and trying to extract the output ...
Kevinliu23
Feb 28, 2007 at 8:26 pm
Mar 1, 2007 at 2:55 pm -
hi, i have a file which has the contents as follows: a,b,c,d, a1,b1,c1,d1, a2,b2,c2,d2, i would like to delete all the trailing commas,, if someoneknows pls help me,, kavitha ...
Kavitha thankaian
Feb 26, 2007 at 10:38 am
Mar 1, 2007 at 11:20 am
Group Overview
group | python-list |
categories | python |
discussions | 736 |
posts | 3,942 |
users | 883 |
website | python.org |
883 users for February 2007
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)