Search Discussions

837 discussions - 3,999 posts

  • Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
    Astley Le JasperAstley Le Jasper
    Oct 16, 2008 at 2:01 pm
    Nov 26, 2008 at 12:05 pm
  • Dear Python dev community, I'm CTO at a small software company that makes music visualization software (you can check us out at www.soundspectrum.com). About two years ago we went with decision to ...
    Oct 22, 2008 at 4:32 pm
    Nov 10, 2008 at 6:58 pm
  • Dear all, I have encountered this weird problem. I have a class definition with an __init__ argument 'd' which defaults to {}. This argument is put in the 'self.d' attribute at initialization I ...
    Oct 9, 2008 at 8:03 am
    Oct 21, 2008 at 4:05 pm
  • Hi, I need a structure to represent a set of integers. I also need to perform on this set some basic set operations, such as adding or removing elements, joining with other sets and checking for the ...
    Oct 22, 2008 at 12:22 pm
    Nov 6, 2008 at 1:28 pm
  • hello, I (again) wonder what's the perfect way to store, OS-independent, filepaths ? I can think of something like: - use a relative path if drive is identical to the application (I'm still a Windows ...
    Stef MientkiStef Mientki
    Oct 19, 2008 at 12:35 pm
    Oct 24, 2008 at 8:24 pm
  • Hi guys, Is there a way to improve the interpreter startup speed? In my machine (cold startup) python takes 0.330 ms and ruby takes 0.047 ms, after cold boot python takes 0.019 ms and ruby 0.005 ms ...
    Pedro BorgesPedro Borges
    Oct 25, 2008 at 7:32 pm
    Oct 30, 2008 at 4:22 am
  • i just downloaded 2.6 and when running the gui nothing happens. anyone else with the same problem?
    Oct 2, 2008 at 6:27 pm
    Nov 6, 2008 at 5:05 pm
  • Hi, I'm using python to develop some proof-of-concept code for a cryptographic application. My code makes extended use of python's native bignum capabilities. In many cryptographic applications there ...
    Oct 5, 2008 at 3:26 pm
    Oct 29, 2008 at 10:59 pm
  • every time I switch editor all the script indentation get mixed up, and python start giving me indentation weird errors. indentation also hard to follow because it invisible unlike brackets { } is ...
    Oct 19, 2008 at 2:16 pm
    Oct 21, 2008 at 9:44 am
  • Hi All, I am just wondering what seems to be the most popular IDE. The reason I ask is I am currently at war with myself when it comes to IDE's. It seems like every one I find and try out has ...
    Steve PhillipsSteve Phillips
    Oct 15, 2008 at 5:19 pm
    Oct 19, 2008 at 5:47 pm
  • I often see mention of SMBs that either want to upgrade their Windows installations, or move to Linux, but cannot because of inhouse VB apps. Are there any Python experts who I can reference them to ...
    Dotan CohenDotan Cohen
    Oct 18, 2008 at 1:12 pm
    Oct 27, 2008 at 11:12 pm
  • Hi Skip. I stumbled on python.el last year and very very *very* quickly replaced it with my good old python-mode.el. The first and foremost reason being, IIRC, the lack of proper support for working ...
    Bruno DesthuilliersBruno Desthuilliers
    Oct 14, 2008 at 5:05 pm
    Oct 20, 2008 at 8:02 am
  • Hi, do I miss something (I do hope so) or is switching to Python3 really hard for Latin1-users? My simplest hello world script - which uses a few German umlaut characters - doesn't look very ...
    Helmut JarauschHelmut Jarausch
    Oct 14, 2008 at 11:25 am
    Oct 24, 2008 at 7:19 am
  • Help, I'm addicted to porn. I've been spending a lot of time downloading hardcore porn and masturbating to it. It's ruining my life. I just found out that one of these sites somehow hacked my card ...
    Oct 8, 2008 at 7:07 pm
    Oct 11, 2008 at 12:41 am
  • This is the case for quite a few languages (VB6 and Java just to name a few), and it seems like it didn't prevent anyone writing and selling commercial software written with these languages.
    Bruno DesthuilliersBruno Desthuilliers
    Oct 21, 2008 at 4:31 pm
    Oct 23, 2008 at 7:06 am
  • You can do the following: a = [1,2,3,4,5] del a[0] and a = {1:'1', 2: '2', 3: '3', 4:'4', 5:'5'} del a[1] why doesn't it work the same for sets (particularly since sets are based on a dictionary)? a ...
    Larry BatesLarry Bates
    Oct 2, 2008 at 10:20 pm
    Oct 16, 2008 at 8:29 pm
  • KDE's Kontact PIM breaks quoted-printable vcard files because it linebreaks in the middle of a word. Take this text for example: NOTE;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:שורה ×=A 8×�×©×•× ...
    Dotan CohenDotan Cohen
    Oct 14, 2008 at 12:31 am
    Oct 17, 2008 at 2:05 am
  • Hi, I just tried running my code using "python2.6 -3" and got a bunch of SyntaxWarning: tuple parameter unpacking has been removed in 3.x warnings. I've read PEP-3113: ...
    Martin GeislerMartin Geisler
    Oct 2, 2008 at 9:45 pm
    Oct 11, 2008 at 6:34 pm
  • I know it's not "fair" to compare language features, but it seems to me (a Python newbie) that appending a new key/value to a dict in Python is awfully cumbersome. In Python, this is the best code I ...
    Oct 13, 2008 at 11:21 am
    Oct 23, 2008 at 9:27 pm
  • Hi, I'm trying to encode a byte data. Let's not focus on the process of encoding; in fact, I want to emphasize that the method create_random_block takes 0.5s to be executed (even Java it's faster) on ...
    Oct 15, 2008 at 11:19 am
    Oct 19, 2008 at 11:42 pm
  • Is there a canonical way to address the bits in a structure like an array or string or struct? Or alternatively, is there a good way to combine eight ints that represent bits into one of the bytes in ...
    Hendrik van RooyenHendrik van Rooyen
    Oct 9, 2008 at 10:30 pm
    Oct 12, 2008 at 8:19 pm
  • Hi, i am trying to convert an .osm (openstreetmap) file into gml format and finally to shapefile given this wiki info http://wiki.openstreetmap.org/index.php/GML. I'm using windows and when i entered ...
    Oct 30, 2008 at 6:48 pm
    Nov 3, 2008 at 11:42 am
  • what the wrong with the following code ???? ... "uid":"sa", ... "pwd":"secret"} {'pwd': 'secret', 'database': 'master', 'uid': 'sa', 'server': 'mpilgrim'} File "<stdin ", line 1 ["%s="%s" % (k,v) for ...
    Oct 24, 2008 at 9:46 am
    Oct 28, 2008 at 5:18 pm
  • I need a scheduler which can delay execution of a function for certain period of time. My attempt was something like this: def delay(self, func, arg, delay_sec=0): fire_at = wallclock() + delay_sec ...
    Oct 18, 2008 at 12:09 pm
    Oct 23, 2008 at 9:42 am
  • 18


    how can I do width python a normal for loop width tree conditions like for example : for x=1;x<0;x+x: print x thanks
    Oct 18, 2008 at 9:26 am
    Oct 19, 2008 at 11:57 am
  • In Python code that processes some geometrical data I want to explain what each variable like w1, w2, h2, h3, etc, means in the geometrical objects. In such situation I don't use longer and more ...
    Oct 13, 2008 at 3:34 pm
    Oct 17, 2008 at 7:53 am
  • I'm just re-learning Python after nearly a decade away. I've learned a good healthy paranoia about my code in that time, and so one thing I'd like to add to my Python habits is a way to both (a) make ...
    Joe StroutJoe Strout
    Oct 6, 2008 at 2:19 pm
    Oct 14, 2008 at 9:25 am
  • I've been searching for a good multi-module lint checker for Python and I haven't found one yet. Pylint does a decent job at checking for errors only within a single module. Here's one of my ...
    Oct 3, 2008 at 9:38 pm
    Oct 6, 2008 at 9:16 pm
  • Anyone know where else I can download 2.6 for x64 windows? Thanks!
    Oct 28, 2008 at 6:15 pm
    Nov 23, 2008 at 6:14 pm
  • Hope you all had a nice weekend. I have a question that I hope someone can help me out. I want to run a Python program that uses Tkinter for the user interface (GUI). The program allows me to type ...
    Liang ChenLiang Chen
    Oct 20, 2008 at 2:48 am
    Nov 9, 2008 at 8:50 am
  • I have made a simple python module to handle SQL databases: https://fedorahosted.org/pySQLFace/wiki Its goal to separate relational database stuff (SQL) from algorythmic code (python). A SQLFace is a ...
    Oct 12, 2008 at 3:19 pm
    Oct 29, 2008 at 8:54 am
  • http://www.linux.com/feature/150399 Interesting article with one minor incompleteness. "For instance, the print statement got turned into a print function; you must now put parentheses around what ...
    Terry ReedyTerry Reedy
    Oct 18, 2008 at 7:30 pm
    Oct 19, 2008 at 11:33 pm
  • I've got a bunch of files with Japanese characters in their names and os.listdir() replaces those characters with ?'s. I'm trying to open the files several steps later, and obviously Python isn't ...
    Oct 17, 2008 at 12:43 am
    Oct 18, 2008 at 7:30 pm
  • I would like to parse arbitrary insecure text string containing nested Python data structures in eval-compatible form: # For example, given a "config.txt" such as: { 'my_atom' : 1.20, 'my_dict' : { ...
    Warren DeLanoWarren DeLano
    Oct 9, 2008 at 12:34 am
    Oct 14, 2008 at 2:56 pm
  • To All, I have done some additional research into the possibility of utilizing Python for hard real time development. I have seen on various websites where this has been discussed before on the ...
    Blubaugh, David A.Blubaugh, David A.
    Oct 6, 2008 at 11:25 pm
    Oct 11, 2008 at 3:54 pm
  • Are there any python event driven frameworks other than twisted?
    Phillip B OldhamPhillip B Oldham
    Oct 1, 2008 at 8:01 am
    Oct 2, 2008 at 11:02 am
  • Hi, I've encountered a problem which is making debugging less obvious than it should be. The @property decorator doesn't always raise exceptions. It seems like it is bound to the class but ignored ...
    Oct 24, 2008 at 8:47 am
    Oct 29, 2008 at 9:39 am
  • Hi, I m planning to do certification in Python?? Is therr any good certification available in Python like Sun certification for java?? Thanks, Sirni Send free SMS to your Friends on Mobile from your ...
    Srinivasan srinivasSrinivasan srinivas
    Oct 17, 2008 at 12:16 pm
    Oct 21, 2008 at 1:08 am
  • Hello :) The result of various incompatibilities has left me needing to somehow extract the address that a null pointer is pointing to with the null pointer being exposed to python via ...
    Gordon AllottGordon Allott
    Oct 10, 2008 at 10:24 am
    Oct 11, 2008 at 7:39 pm
  • I am unable to figure out why the first two statements work as I expect them to and the next two do not. Namely, the first two spit the sentence into its component words, while the latter two return ...
    Chaim KrauseChaim Krause
    Oct 31, 2008 at 6:53 pm
    Nov 4, 2008 at 11:54 pm
  • hello, Why gives "k = 09" a syntax error ? thanks, Stef Mientki
    Stef MientkiStef Mientki
    Oct 29, 2008 at 7:26 pm
    Oct 30, 2008 at 5:19 am
  • Hi, all. I'm a new comer. So This question maybe sutpid.:) I want to write something that handle every char immediately after its input. Then tehe user don't need to type [RETURN] each time. How can ...
    Oct 22, 2008 at 9:04 am
    Oct 26, 2008 at 11:57 am
  • I'd like to know if it's possible to code something in Python which would be equivalent to the following C: [Assume bool is typedef'd to int, and TRUE and FALSE are #defined to 1 and 0, respectively] ...
    Derek MartinDerek Martin
    Oct 20, 2008 at 5:19 pm
    Oct 21, 2008 at 6:18 pm
  • i have a python script that is computing ratings of sports teams. what i'm trying to do is setup an iteration for the rating so that the python program recomputes the rating if any of the value ...
    Chris McComasChris McComas
    Oct 18, 2008 at 3:44 am
    Oct 20, 2008 at 3:20 am
  • Hi, I have multiple objects all belonging to the same class (which I didn't implement and whose code I don't want to modify) Now I'd like to change one method for one object only (after it has been ...
    Oct 14, 2008 at 5:50 pm
    Oct 15, 2008 at 11:08 am
  • Hello How to write code to store data into buffer using python? Please Reply
    Aditi MeherAditi Meher
    Oct 13, 2008 at 2:15 pm
    Oct 15, 2008 at 12:16 am
  • I can't figure out how to set up a Python data structure to read in data that looks something like this (albeit somewhat simplified and contrived): States Counties Schools Classes Max Allowed ...
    Oct 6, 2008 at 11:45 pm
    Oct 9, 2008 at 3:28 am
  • Before I file a bug report against Python 2.5.2, I want to run this by the newsgroup to make sure I'm not being stupid. I have a text file of fixed-length records I want to read in random order. That ...
    Mike KentMike Kent
    Oct 22, 2008 at 6:54 pm
    Oct 23, 2008 at 11:56 pm
  • Hello Everyone, I have the habit of using domain names (of either the application or company) in reverse in package names. for e.g. com.spam.app1 I've recently started a project for an indian domain ...
    Abhishek MishraAbhishek Mishra
    Oct 19, 2008 at 6:05 am
    Oct 19, 2008 at 11:38 pm
  • Hi, I need help for a task looks very simple: I got a python list like: [['a', 'b'], ['c', 'd'], ['e', 'f'], ['a', 'g'], ['e', 'k'], ['c', 'u'], ['b', 'p']] Each item in the list need to be merged. ...
    Oct 17, 2008 at 8:20 pm
    Oct 18, 2008 at 10:05 pm
Group Navigation
period‹ prev | Oct 2008 | next ›
Group Overview
grouppython-list @

870 users for October 2008

Terry Reedy: 135 posts Lawrence D'Oliveiro: 124 posts Aaron "Castironpi" Brady: 121 posts Steven D'Aprano: 102 posts Gabriel Genellina: 78 posts Diez B. Roggisch: 70 posts BearophileHUGS: 62 posts James Mills: 62 posts Martin v. Löwis: 61 posts Bruno Desthuilliers: 58 posts Bruno Desthuilliers: 55 posts Steve Holden: 51 posts Chris Rebert: 50 posts Marc 'BlackJack' Rintsch: 50 posts Lie Ryan: 49 posts Greg: 45 posts Stef Mientki: 44 posts Joe Strout: 40 posts Peter Otten: 38 posts Skip Montanaro: 35 posts
show more