Search Discussions

718 discussions - 4,248 posts

  • Python user and advocate Bruce Eckel is disappointed with the additions (or lack of additions) in Python 3: http://www.artima.com/weblogs/viewpost.jsp?thread!4112
    Sep 12, 2007 at 3:27 am
    Sep 21, 2007 at 2:41 pm
  • I wondered if a straw poll could get some idea of readers' thoughts about when they will be migrating to 3.0 on, so I used the new widget on Blogger to add a poll for that. I'd appreciate if if you ...
    Steve HoldenSteve Holden
    Sep 27, 2007 at 11:37 pm
    Oct 5, 2007 at 4:12 am
  • Hi, Below is a PEP proposal for a sorteddict. It arises out of a discussion on this list that began a few weeks ago with the subject of "An ordered dictionary for the Python library?", and a similar ...
    Mark SummerfieldMark Summerfield
    Sep 25, 2007 at 8:53 am
    Oct 12, 2007 at 3:07 pm
  • A friend of mine is an engineer and he's been needing to do more and more programming as he goes on with is career. I convinced him to learn Python instead of Perl and he's really started to like it. ...
    Sep 21, 2007 at 9:37 pm
    Sep 24, 2007 at 3:26 pm
  • I've just started playing around with Python, as a possible replacement for a mix of C++, Matlab and Lisp. The language looks lovely and clean with one huge exception: I do a lot of numerical ...
    Charles FoxCharles Fox
    Sep 12, 2007 at 10:21 am
    Sep 18, 2007 at 11:15 pm
  • Howdy all, After banging my head against super() trying to reliably get attributes of a superclass, I gained a little enlightenment when this turned up in a search: "Python's Super is nifty, but you ...
    Ben FinneyBen Finney
    Sep 18, 2007 at 4:15 am
    Sep 20, 2007 at 4:56 pm
  • Is there an editor that allows one to position to put the cursor and then by pushing some button goes to the end of the def? -- Wayne Watson (Nevada City, CA) Web Page: <speckledwithStars.net
    W. WatsonW. Watson
    Sep 20, 2007 at 4:31 pm
    Oct 1, 2007 at 4:06 am
  • I feel that Python lacks one useful data structure: an ordered dictionary. I find such data structures v. useful in C++. I know that in Python the sort function is v. fast, but often I prefer never ...
    Mark SummerfieldMark Summerfield
    Sep 12, 2007 at 7:33 am
    Sep 15, 2007 at 7:32 am
  • I'm afraid that the GIL is killing the usefullness of python for some types of applications now where 4,8 oder 64 threads on a chip are here or comming soon. What is the status about that for the ...
    Sep 3, 2007 at 12:21 am
    Sep 20, 2007 at 6:29 pm
  • Can someone tell me why I should learn python? I am a webdeveloper, but I often see Python mentioned and I am curious to find out what I am missing out on. Thank you Nicolaas
    Sep 6, 2007 at 9:32 pm
    Sep 11, 2007 at 10:22 am
  • Hi I am new to Python and have recieved this error message when trying to instantiate an object from a class from another file within the same directory and wondered what I have done wrong. I have a ...
    Sep 3, 2007 at 8:48 am
    Sep 5, 2007 at 8:44 am
  • Hello, I recently tried using the set function in Python and was surprised to find that a=[ 1, 2,3, [1,2] ] doesn't work with 'set', throwing TyperError (unhashable exception). I found out that this ...
    Sep 19, 2007 at 12:39 am
    Sep 22, 2007 at 2:23 pm
  • I have about 30 pages (10 * 3 pages each) of code like this (following). Can anyone suggest a more compact way to code the exception handling? If there is an exception, I need to continue the loop, ...
    Sep 5, 2007 at 10:05 am
    Sep 10, 2007 at 9:29 am
  • Howdy all, The Python distutils has been built upon by setuptools, providing features asked for by many developers. One of these is the ability for the 'setup.py' program to declare package ...
    Ben FinneyBen Finney
    Sep 26, 2007 at 6:09 am
    Oct 8, 2007 at 6:44 am
  • I'm a complete newbie with Python, but have several years experience with Perl in a web environment. A question I have, if someone here is familiar with Perl, does Python have something like Perl's ...
    Amer NeelyAmer Neely
    Sep 13, 2007 at 12:30 am
    Sep 18, 2007 at 1:30 pm
  • Anyone with me here? (I know the deadline for P3 PEPs has passed; this is just talk.) Not many people are bit-fiddling these days. One of the main uses of bit fields is flags, but that's not often ...
    Carl BanksCarl Banks
    Sep 22, 2007 at 3:44 am
    Sep 26, 2007 at 12:18 pm
  • I'm pretty new to python, but am very happy with it. As well as using it at work I've been using it to solve various puzzles on the Project Euler site - http://projecteuler.net. So far it has not let ...
    Sep 2, 2007 at 11:51 am
    Sep 19, 2007 at 4:59 pm
  • If you have Microsoft windows 98/2000/ME/XP/2003 Operating System on your PC. Then Open the Notepad and type the following sentence, and save the file and close the notepad. Now reopen the file and ...
    Sep 16, 2007 at 8:46 am
    Sep 18, 2007 at 1:51 am
  • I need to use Python with SSL comunication betweeen servers. (I use hhtplib but I think urllib2 can also be used ) I think I need to use SSL root certificate and tell a program to trust this ...
    Sep 28, 2007 at 6:02 am
    Oct 5, 2007 at 12:17 pm
  • Is there an easy way to use getopt and still allow negative numbers as args? I can easily write a workaround (pre-process the tail end of the arguments, stripping off any non-options including ...
    Sep 27, 2007 at 5:14 pm
    Sep 30, 2007 at 1:53 am
  • I am new to Python however I would like some feedback from those who know more about Python than I do at this time. def scrambleLine(line): s = '' for c in line: s += chr(ord(c) | 0x80) return s def ...
    Python ManiacPython Maniac
    Sep 20, 2007 at 9:59 pm
    Sep 24, 2007 at 5:19 am
  • i think in Ruby, if you have an array (or list) of integers foo = [1, 2, 3] you can use foo.join(",") to join them into a string "1,2,3" in Python... is the method to use ",".join() ? but then it ...
    Sep 15, 2007 at 12:36 pm
    Sep 17, 2007 at 6:38 pm
  • hi to all! after two days debugging my code, i've come to the point that the problem was caused by an unexpected behaviour of python. or by lack of some information about the program, of course! i've ...
    Sep 7, 2007 at 8:07 am
    Sep 13, 2007 at 4:54 am
  • I wrote the following simple program to loop through our help files and fix some errors (in case you can't see the subtle RE search that's happening, we're replacing spaces in bookmarks with _'s) the ...
    Hall JeffHall Jeff
    Sep 29, 2007 at 3:22 pm
    Oct 1, 2007 at 4:48 pm
  • Hi all, I haven't experienced functional programming very much, but now I'm trying to learn Haskell and I've learned that: 1) in functional programming LISTS are fundmental; 2) any "cycle" in FP ...
    Lorenzo StellaLorenzo Stella
    Sep 17, 2007 at 11:50 pm
    Sep 19, 2007 at 7:46 pm
  • Hi, I have the following class - class TestOutcomes: PASSED = 0 FAILED = 1 ABORTED = 2 plus the following code - testResult = TestOutcomes.PASSED testResultAsString if testResult == ...
    Sep 10, 2007 at 9:28 am
    Sep 12, 2007 at 3:25 pm
  • Around 2000 I heard that Google was using Python to some extent. Now I see that Guido Van Rossum works for them as well as Alex Martellis who has the title "Uber Technical Lead" which seems to imply ...
    Sep 19, 2007 at 7:01 pm
    Sep 27, 2007 at 2:56 pm
  • Dear list: Suppose I have a string as follows x = ' \t'ff' I can split this up as y = x.split('\t') Which gives [ ' ', 'ff'] len(y) 2 Is there a way to check if the first element of y is null? An ...
    Doran, HaroldDoran, Harold
    Sep 5, 2007 at 1:30 pm
    Sep 11, 2007 at 12:48 pm
  • Hello all, I was staring at a segment of code that looked like this today: for something in stuff[x:y]: whatever(something) and was wondering if the compiler really made a copy of the slice from ...
    James StroudJames Stroud
    Sep 15, 2007 at 9:58 pm
    Sep 17, 2007 at 4:44 am
  • Kindof a poll, kindof curiosity... What is your favorite python - database combination? I'm looking to make an app that has a local DB and a server side DB. I'm looking at python and sqlite local ...
    Darien WatkinsDarien Watkins
    Sep 11, 2007 at 2:52 am
    Sep 16, 2007 at 5:18 pm
  • Hi! I would like to create a pretty big list of lists; a list 3,000,000 long, each entry containing 5 empty lists. My application will append data each of the 5 sublists, so they will be of varying ...
    Dr MephestoDr Mephesto
    Sep 5, 2007 at 9:50 am
    Sep 11, 2007 at 5:18 pm
  • Hi, I'm attempting to create a regular expression that removes redundancy in empty XML elements. For example: <root </root The regular expression would convert the XML above into: <root/ And another ...
    Robert DaileyRobert Dailey
    Sep 25, 2007 at 12:37 am
    Sep 26, 2007 at 3:51 pm
  • Here you can find everything you need to know about car air conditioning http://car-ac-systems.blogspot.com/
    Sep 11, 2007 at 11:58 am
    Sep 14, 2007 at 11:51 pm
  • The reading I've done so far on Python 3 (alpha announcement, meta-PEP, some other PEPs) is generally encouraging, but there doesn't seem to be much on cleaning up the syntax, which has become uglier ...
    Kenneth McDonaldKenneth McDonald
    Sep 5, 2007 at 7:02 pm
    Sep 9, 2007 at 9:26 pm
  • I have a text source file of about 20.000 lines. that file, grab the next 5 lines write these to a new file... grabbing 5 lines and creating new files until processing of all 20.000 lines is done. Is ...
    Sep 5, 2007 at 4:13 pm
    Sep 7, 2007 at 7:01 am
  • I wonder which language allows you to change an argument's value? like: foo(&a) { a = 3 } n = 1 print n foo(n) # passing in n, not &n print n and now n will be 3. I think C++ and PHP can let you do ...
    Sep 30, 2007 at 10:47 am
    Oct 6, 2007 at 10:08 pm
  • if i were up to make a GUI chich are the advantages of choosing python over matlab or java?
    Sep 23, 2007 at 2:21 pm
    Sep 24, 2007 at 4:24 pm
  • I tried writing a true and false If statement and didn't get anything? I read some previous posts, but I must be missing something. I just tried something easy: a = ["a", "b", "c", "d", "e", "f"] if ...
    Sep 27, 2007 at 4:33 pm
    Sep 27, 2007 at 6:43 pm
  • I start my code with some constants then a while statement. But I have some For statements towards the end within the While statement where I start getting some errors. I'm hoping I won't have to ...
    Sep 24, 2007 at 7:28 pm
    Sep 26, 2007 at 3:09 am
  • Can someone explain me this if l == []: return [] else: return f(l[1:]) + l[:1] # <= cant figure this, how is all sum at the end? thanks!
    Sep 13, 2007 at 1:59 pm
    Sep 14, 2007 at 10:04 pm
  • Hello everyone, OK, so I want to split a string c into words using several different separators from a list (dels). I can do this the following C-like way: cp=[] for i in xrange(0,len(c)-1): ...
    Sep 30, 2007 at 1:53 pm
    Oct 4, 2007 at 7:34 am
  • Not much - both are hi-level dynamic object oriented languages with some functional aspects - and quite a lot (their respective object models are totally different). Also, Python, being somewhat ...
    Bruno DesthuilliersBruno Desthuilliers
    Sep 29, 2007 at 3:44 pm
    Oct 2, 2007 at 4:35 pm
  • hi, I have the following list - ["1", "11", "2", "22"] how do I sort it like this - ["1", "2", "11", "22"] thanks, aine
    Sep 24, 2007 at 11:12 am
    Sep 26, 2007 at 9:42 am
  • The meaning of a = b in object oriented languages. ==================================================== I just want to confirm that in OOP, if a is an object, then b = a is only copying the ...
    Sep 18, 2007 at 5:40 am
    Sep 21, 2007 at 12:47 am
  • Hi, While comparing the speed of octave and matlab, I decided to do a similar test for python and matlab. The result shows that python is slower than matlab by a factor of 5. It is not bad since ...
    Wang frankWang frank
    Sep 7, 2007 at 4:42 pm
    Sep 11, 2007 at 10:31 pm
  • I'm trying to do the following. I have a Python application that is run: python app1.py --location=c:\test1 What I want to do is save the location parameter, so I can then do (in the same window): ...
    Sep 16, 2007 at 7:05 pm
    Oct 14, 2007 at 12:29 am
  • Am I the only one that thinks that python statements should force whitespace before and after them? Right now this is not enforced and for an example these statements are valid print"hello" ...
    Sep 15, 2007 at 7:21 pm
    Sep 17, 2007 at 5:35 am
  • FIrst of all, how is the % symbol (as in 70%6=4) called in English? Second, in Turbo C -111%10=-1 however in python -111%10=9. Is one or the other in error? Is this a known gotcha? I tried to google ...
    Dotan CohenDotan Cohen
    Sep 9, 2007 at 7:01 pm
    Sep 10, 2007 at 10:37 am
  • Hi, Just click on this link n use ur common sence to navigate. It has 23 pages one after the other, starting from this first Page. The trick is to find a way to go to the next page. If u can really ...
    Sep 6, 2007 at 9:56 am
    Sep 7, 2007 at 5:22 pm
  • Hi, I' am unable to solve this problem. I've got python program, it is installed in standard location. I run this program from some location X (note that I just type relative "myscript", leaving ...
    Rave247 rave247Rave247 rave247
    Sep 6, 2007 at 3:19 pm
    Sep 7, 2007 at 8:12 am
Group Navigation
period‹ prev | Sep 2007 | next ›
Group Overview
grouppython-list @

874 users for September 2007

Steve Holden: 149 posts Gabriel Genellina: 116 posts Bruno Desthuilliers: 85 posts Lawrence D'Oliveiro: 85 posts Marc 'BlackJack' Rintsch: 82 posts Steven D'Aprano: 81 posts Ben Finney: 76 posts Diez B. Roggisch: 73 posts TheFlyingDutchman: 73 posts Bruno Desthuilliers: 60 posts Carsten Haese: 53 posts Bjoern Schliessmann: 51 posts Kyosohma: 46 posts Grant Edwards: 44 posts James Stroud: 43 posts Peter Otten: 42 posts Bryan Olson: 37 posts David: 37 posts John Machin: 35 posts Stefan Behnel: 35 posts
show more