Search Discussions

691 discussions - 3,402 posts

  • Python is a good programming language, but "Python" is not a good name. First, python also means snake, Monty Python. If we search "python" in google, emule, many results are not programming ...
    Nov 30, 2007 at 2:58 pm
    Dec 8, 2007 at 5:08 pm
  • Is there any trick to get rid of having to type the annoying, character-eating "self." prefix everywhere in a class? Sometimes I avoid OO just not to deal with its verbosity. In fact, I try to use ...
    Nov 21, 2007 at 11:51 pm
    Nov 28, 2007 at 1:22 pm
  • The id2name.txt file is an index of primary keys to strings. They look like this: 11293102971459182412:Descriptive unique name for this record\n 950918240981208142:Another name for another record\n ...
    Michael BacarellaMichael Bacarella
    Nov 10, 2007 at 9:56 pm
    Nov 21, 2007 at 8:17 pm
  • 45


    I'd like to check, for a filehandle f, that EOF has been reached on it. What's the way to do it? I don't want to try/except on EOF, I want to check, after I read a line, that now we're in the EOF ...
    Nov 21, 2007 at 11:17 pm
    Dec 8, 2007 at 6:02 pm
  • There are a lot of web frameworks for python like django, mod_python, spyce, turbo gears, Zope, Cherrypy etc. Which one is the best in terms of performance and ease of study.
    Joe jacobJoe jacob
    Nov 20, 2007 at 12:19 pm
    Dec 8, 2007 at 9:10 pm
  • Is pyparsing really a recursive descent parser? I ask this because there are grammars it can't parse that my recursive descent parser would parse, should I have written one. For instance: from ...
    Just Another Victim of the Ambient MoralityJust Another Victim of the Ambient Morality
    Nov 2, 2007 at 6:05 am
    Nov 9, 2007 at 4:19 am
  • In our company we are looking for one language to be used as default language. So far Python looks like a good choice (slacking behind Java). A few requirements that the language should be able cope ...
    Michel AlbertMichel Albert
    Nov 8, 2007 at 7:52 am
    Nov 16, 2007 at 6:09 pm
  • I mean, all the class instances that equal to each other should be reduced into only one instance, which means for instances of this class there's no difference between a is b and a==b. Thank you.
    Licheng FangLicheng Fang
    Nov 24, 2007 at 10:31 am
    Dec 6, 2007 at 8:35 pm
  • I love Python, and it is one of my 2 favorite languages. I would suggest that Python steal some aspects of the S language. ------------------------------------------------------- 1. Currently in ...
    Frank SamuelsonFrank Samuelson
    Nov 8, 2007 at 8:00 pm
    Nov 12, 2007 at 2:54 pm
  • New to python, programming in 15 or so langs for 24 years. Couple of questions the tuts I've looked at don't explain: 1) global vars - python sets scope to the block a var is declared (1st set), I ...
    Jim HendricksJim Hendricks
    Nov 2, 2007 at 1:51 pm
    Nov 5, 2007 at 9:06 am
  • please tell me what is python.This group is so crowded. Khup http://groups.google.com/group/download-centre
    Nov 16, 2007 at 2:09 pm
    Nov 20, 2007 at 3:12 am
  • Hi, Here's a framework for the questions: --- In a module, part of an API --- class Basis ( object ): def foo ( self, arg ): pass --- In user's own code --- class Child ( Basis ): def foo ( self, ...
    Donn IngleDonn Ingle
    Nov 16, 2007 at 5:03 pm
    Nov 19, 2007 at 3:33 pm
  • class Test(object): def execute(self,v): return v def escape(v): return v if __name__ == '__main__': gert = Test() print gert.m1('1') print Test.m2('2') Why doesn't this new style class work in ...
    Nov 2, 2007 at 11:23 am
    Dec 12, 2007 at 10:09 am
  • Hey, I'm looking for a good Python environment. That is, at least an editor and a debugger, and it should run on Windows. Does anyone have any idea?
    Ram RachumRam Rachum
    Nov 6, 2007 at 10:56 pm
    Nov 14, 2007 at 1:48 pm
  • I'm starting a project in data mining, and I'm considering Python and Java as possible platforms. I'm conserned by performance. Most benchmarks report that Java is about 10-15 times faster than ...
    Nov 4, 2007 at 2:02 am
    Nov 9, 2007 at 6:09 pm
  • Hi, I'm getting myself really confused. I have three classes. Two of them need to reference the third, like so: Canvas --- Stack <--- Thing I am doing this right now: s = Stack() And then within ...
    Donn IngleDonn Ingle
    Nov 9, 2007 at 7:09 pm
    Nov 30, 2007 at 1:10 pm
  • I need to implement a "random selection" algorithm which takes a list of [(obj, prob),...] as input. Each of the (obj, prob) represents how likely an object, "obj", should be selected based on its ...
    Nov 16, 2007 at 4:40 am
    Nov 20, 2007 at 3:25 am
  • A Jew hacker in California admits distributing malware that let him steal usernames and passwords for Paypal accounts. http://www.pcworld.com/article/id,139507-c,cybercrime/article.html The Jews and ...
    Zionist NewsZionist News
    Nov 10, 2007 at 10:10 pm
    Nov 14, 2007 at 1:59 pm
  • Hi all, I want to provide my users the ability to download a repository from the web, and after that check for updates. I thought of a mechanism that could do that, but since there is patch and diff ...
    Jorgen BoddeJorgen Bodde
    Nov 20, 2007 at 8:39 am
    Nov 21, 2007 at 8:16 am
  • I'm looking for GUI toolkits that work with directly with the Linux frambuffer (no X11). It's an embedded device with limited resources, and getting X out of the picture would be a big plus. The ...
    Grant EdwardsGrant Edwards
    Nov 3, 2007 at 7:45 pm
    Nov 6, 2007 at 6:04 pm
  • Hi there, I'm so new to python (coming from .net so excuse me for the stupid question) and i'm tring to do a very simple thing,with bytes. My problem is this: i've a byte that naturally is composed ...
    Gianmaria Iaculo - NVENTAGianmaria Iaculo - NVENTA
    Nov 28, 2007 at 8:07 pm
    Nov 28, 2007 at 10:33 pm
  • Hi all, We know that list cannot be used as key of dictionary. So, how to work around it? For example, there is random list like l=[1,323,54,67]. Any suggestions are welcome! Best regards, Davy
    Nov 6, 2007 at 6:53 am
    Nov 7, 2007 at 6:14 pm
  • Dear Reader, I'm writing some modules in Python, and I'm also using unittests. I'm wondering about some things: 1) Should I put my unittests in a subdirectory? Does the subdirectory have to be a ...
    Nov 21, 2007 at 12:09 am
    Dec 7, 2007 at 12:17 pm
  • In learning about design patterns, I've seen discussion about using inheritance when an object's relationship to another object is 'is-a' and composition when the relationship is 'has-a'. Since this ...
    Nov 15, 2007 at 8:28 pm
    Nov 18, 2007 at 5:43 pm
  • Hi, I am trying to get a small group of volunteers together to create Windows binaries for any Python extension developer that needs them, much like the package/extension builders who volunteer their ...
    Nov 9, 2007 at 2:08 pm
    Nov 11, 2007 at 2:24 pm
  • Hi, I've used subprocess with 2.4 several times to execute a process, wait for it to finish, and then look at its output. Now I want to spawn the process separately, later check to see if it's ...
    Nov 26, 2007 at 4:54 pm
    Nov 27, 2007 at 6:58 pm
  • Sheesh, I've been going spare trying to find how to do this short-hand: if 0 x < 20: print "within" So that x must be 0 and < 20. I usually do: if x 0 and x < 20: print "within" What's the rule? Does ...
    Donn IngleDonn Ingle
    Nov 25, 2007 at 6:49 pm
    Nov 26, 2007 at 9:18 pm
  • Hello I need to get the local computer's IP address, ie. what's displayed when running "ifconfig" in Linux: # ifconfig eth0 Link encap:Ethernet HWaddr 00:15:58:A1:D5:6F inet addr: ...
    Gilles GanaultGilles Ganault
    Nov 21, 2007 at 3:15 pm
    Nov 24, 2007 at 5:58 am
  • Hi, Does anyone know what the state of progress with interfaces for python (last I can see is http://www.python.org/dev/peps/pep-0245/) I would argue that interfaces/(similar feature) are necessary ...
    Nov 16, 2007 at 1:55 am
    Nov 17, 2007 at 4:27 pm
  • Hi, We use a script here at work that runs whenever someone logs into their machine that logs various bits of information to a database. One of those bits is the CPU's model and speed. While this ...
    Nov 6, 2007 at 7:18 pm
    Nov 7, 2007 at 6:43 am
  • There is a Linux forum that I frequent from time to time on which I mentioned a couple of scripts that I wrote. The editors of a small Linux magazine heard and found them interesting enough to ask me ...
    Nov 29, 2007 at 7:59 pm
    Nov 30, 2007 at 8:19 pm
  • Hello, This function does I what I want. But I'm wondering if there is an easier/better way. To be honest, I don't have a good understanding of what "pythonic" means yet. def divide_list(lst, n): ...
    Nov 26, 2007 at 7:42 am
    Nov 27, 2007 at 7:39 am
  • Hi... I have a python script/app that i'm dealing with. It uses Durus, which installs as an egg. I'm trying to figure out how to modify any of the underlying source files or the egg, short of ...
    Nov 11, 2007 at 2:04 am
    Nov 14, 2007 at 6:09 pm
  • Absolute newbie here. In spite of the Python Software Foundation tutorial's ( http://www.python.org/doc/current/tut/tut.html ) use of the array declaration array(type[,initializer]), the Python ...
    Gordon CGordon C
    Nov 13, 2007 at 1:19 am
    Nov 14, 2007 at 11:58 am
  • What would be the easiest way to go about offering 3D graphics for the purpose of rendering geometry? Suppose engineers (my co-workes) have to design some enclosure, nozzle, bracket, or whatever ...
    Nov 8, 2007 at 5:53 am
    Nov 11, 2007 at 6:31 pm
  • Hi, I am python newbie and the command prompt is having an issue with python. I installed python 2.4.4 onto my windows machine, opened a command prompt window, and typed python to start the ...
    Nov 1, 2007 at 4:17 pm
    Nov 6, 2007 at 7:15 am
  • Hi, Okay, so I am in the mood to try this: Inform the user about what modules the app requires in a graphical dialogue that can vary depending on what the system already has installed. (It will ...
    Donn IngleDonn Ingle
    Nov 30, 2007 at 1:55 pm
    Dec 19, 2007 at 7:42 am
  • I am using the mutagen module to extract id3 information from mp3 files. In order to do this, you give mutagen a filename, which it converts into a file object using the python built-in "file" ...
    Nov 20, 2007 at 8:08 pm
    Dec 12, 2007 at 7:20 pm
  • If you look at this code, you see there are two kind of ImportErrors: 1. app_name has no attribute or file managment.py: That's OK. 2. managment.py exists, but raises an ImportError: That's not OK: ...
    Thomas GuettlerThomas Guettler
    Nov 27, 2007 at 1:35 pm
    Dec 9, 2007 at 6:12 pm
  • Hi, I need to convert the string: '(a, b, "c", d, "e")' into the following list ['a', 'b', 'c', 'd', 'e']. Much like a csv reader does. I usually use the split function, but this mini-monster ...
    Nov 29, 2007 at 8:12 pm
    Nov 30, 2007 at 10:04 pm
  • Apparently demand has been such that you can buy an OLPC through the end of the year: http://www.laptopgiving.org/en/index.php -- Fortune cookie: "Focus on the color purple this week to bring you ...
    Nov 24, 2007 at 6:16 pm
    Nov 28, 2007 at 8:38 am
  • I'm writing a demo of the infinite series x**0/0! + x**1/1! + x**2/2! + x**3/3! + ... = e**x (x is non-negative) It works OK for many x, but for many the loop doesn't break. Is there a way to get it ...
    Dick MooresDick Moores
    Nov 20, 2007 at 7:41 am
    Nov 25, 2007 at 6:32 pm
  • Hi all, I've just been reading with interest this article: http://caos.di.uminho.pt/~ulisses/blog/2007/11/20/foldr-the-magic-function/ It's a useful function that (with a more intuitive name) could ...
    Nov 22, 2007 at 3:02 pm
    Nov 24, 2007 at 3:17 am
  • I am interested in AOP in python. From here one naturally (or google-ly) reaches peak. But peak seems to be discontinued. Whereas pep-246 on adaptors seems to be rejected in favor of something else. ...
    Rustom ModyRustom Mody
    Nov 1, 2007 at 3:18 pm
    Nov 13, 2007 at 5:38 pm
  • Hi, I have to get list of URLs one by one and to find the URLs that I have more than one time(can't be more than twice). I thought to put them into binary search tree, this way they'll be sorted and ...
    Maxim NovakMaxim Novak
    Nov 9, 2007 at 9:06 pm
    Nov 13, 2007 at 9:54 am
  • hii my friends; I want to create picture of security code.can i do it ? if yes,how , which module will help me? have you got a example that can create a picture whit my name pls help me thansk oruc
    Oruc ÇimenOruc Çimen
    Nov 10, 2007 at 4:04 pm
    Nov 12, 2007 at 2:07 am
  • Running OS X 10.4 "Tiger". Various references by Apple and others say that there exists a module that gives Quartz bindings, allowing all sort of graphics things in Python. Sure enough, after ...
    David C. UllrichDavid C. Ullrich
    Nov 2, 2007 at 1:10 am
    Nov 5, 2007 at 7:14 pm
  • hi, how can I, control mouse position and clicking from python? I want to interact with a flash application inside firefox. thanks. ps: I am not using windows.
    Nov 28, 2007 at 7:29 pm
    Nov 29, 2007 at 8:30 pm
  • Best off http://fender-guitars-review.blogspot.com/
    Nov 14, 2007 at 7:01 pm
    Nov 16, 2007 at 3:39 pm
  • I'm an old programmer coming from a cobol background and started to learn python. I'm using javasript for web based applications but after I started to learn python, the javascript language started ...
    Timuçin KızılayTimuçin Kızılay
    Nov 12, 2007 at 6:07 pm
    Nov 15, 2007 at 4:18 pm
Group Navigation
period‹ prev | Nov 2007 | next ›
Group Overview
grouppython-list @

847 users for November 2007

Diez B. Roggisch: 89 posts Kyosohma: 87 posts Gagsl-Py2: 73 posts Chris Mellon: 67 posts Steven D'Aprano: 59 posts Donn Ingle: 56 posts Marc 'BlackJack' Rintsch: 45 posts Neil Cerutti: 45 posts Bruno Desthuilliers: 40 posts Bjoern Schliessmann: 37 posts Bruno Desthuilliers: 35 posts J. Clifford Dyer: 32 posts Martin v. Löwis: 31 posts MonkeeSage: 31 posts Duncan Booth: 30 posts Grant Edwards: 30 posts Hrvoje Niksic: 30 posts Paul McGuire: 29 posts Boris Borcic: 28 posts Aaron Watters: 26 posts
show more