FAQ

Search Discussions

770 discussions - 3,830 posts

  • The major complaint I have about Python is that the packages which connect it to other software components all seem to have serious problems. As long as you don't need to talk to anything outside the ...
    John NagleJohn Nagle
    Jan 24, 2007 at 1:50 am
    Feb 7, 2007 at 10:00 pm
  • Coming from a C++ / C# background, the lack of emphasis on private data seems weird to me. I've often found wrapping private data useful to prevent bugs and enforce error checking.. It appears to me ...
    Time SwiftTime Swift
    Jan 7, 2007 at 12:07 am
    Feb 5, 2007 at 3:22 pm
  • Has anybody tried to run parallel python applications? It appears that if your application is computation-bound using 'thread' or 'threading' modules will not get you any speedup. That is because ...
    ParallelpythonParallelpython
    Jan 6, 2007 at 11:52 pm
    Feb 5, 2007 at 3:57 am
  • Hey everyone, I have a question about python threads. Before anyone goes further, this is not a debate about threads vs. processes, just a question. With that, are python threads reliable? Or rather, ...
    Carl J. Van ArsdallCarl J. Van Arsdall
    Jan 24, 2007 at 4:58 pm
    Feb 1, 2007 at 2:00 pm
  • 0.60000000000000009 0.59999999999999998 Is using the decimal module the best way around this? (I'm expecting the first sum to match the second). It seem anachronistic that decimal takes strings as ...
    Rory Campbell-LangeRory Campbell-Lange
    Jan 8, 2007 at 9:30 pm
    Jan 16, 2007 at 9:56 am
  • In Perl, it was: ## Example: "Abc | def | ghi | jkl" ## - "Abc ghi jkl" ## Take only the text betewwn the 2nd pipe (=cut the text in the 1st pipe). $na =~ s/\ \|(.*?)\ \|(.*?)\ \|/$2/g; ## -- remove ...
    Michael M.Michael M.
    Jan 6, 2007 at 2:43 pm
    Feb 25, 2008 at 5:34 pm
  • Below is a post repeated with interesting information. But the main purpose of this post is to find out how many sheeple still believe in the 911 fairy tale of 19 hijackers that was to be USED BY THE ...
    St911St911
    Jan 17, 2007 at 2:44 am
    Feb 16, 2007 at 1:02 pm
  • So, I've reached the point where my building pipeline tools actually needs to be used by other people in my company. By this reason I actually need to think about the usability, and I've come to the ...
    Daniel JonssonDaniel Jonsson
    Jan 23, 2007 at 10:01 pm
    Jan 26, 2007 at 1:08 am
  • I want to find a multithreaded downloading lib in python, can someone recommend one for me, please? Thanks~
    Frank PotterFrank Potter
    Jan 31, 2007 at 4:23 pm
    Feb 1, 2007 at 3:06 pm
  • Hello, When I was programming in a mathematical project I began to wonder if python supports rational numbers[1]. In a language like magma[2] it's not such a problem. Does python supports something ...
    Noud AldenhovenNoud Aldenhoven
    Jan 11, 2007 at 7:35 pm
    Jan 14, 2007 at 1:21 pm
  • I am writing a class that is intended to be subclassed. What is the proper way to indicate that a sub class must override a method? Thanks, Jeremy
    JeremitoJeremito
    Jan 5, 2007 at 2:52 am
    Jan 6, 2007 at 12:16 pm
  • Perl: @char=("A".."Z","a".."z",0..9); do{print join("", at char[map{rand @char}(1..8)])}while(< ); !!generate passwords untill U press ctrl-z Python (from CookBook): from random import choice import ...
    NoNameNoName
    Jan 29, 2007 at 4:58 am
    Feb 1, 2007 at 1:04 pm
  • (Yes, I konw whats an object is...) BTW. I did a translation of a pi callculation programm in C to Python. (Do it by your own... ;-) -------- Calc PI for 800 digs(?). (german: Stellen) ------ int ...
    MmMm
    Jan 3, 2007 at 3:17 pm
    Jan 5, 2007 at 10:30 am
  • import MySQLdb class Db: _db=-1 _cursor=-1 @classmethod def __init__(self,server,user,password,database): self._db=MySQLdb.connect(server , user , password , database) self._cursor=self._db.cursor() ...
    Gert CuykensGert Cuykens
    Jan 21, 2007 at 10:16 pm
    Jan 27, 2007 at 6:09 am
  • In my code I am debating whether or not to validate the types of data being passed to my functions. For example def sayHello(self, name): if not name: rasie "name can't be null" if not ...
    AbcdAbcd
    Jan 24, 2007 at 12:38 pm
    Jan 26, 2007 at 5:23 pm
  • I downloaded python-2.5.msi and installed it. I believe its editor is IDE. I understand there's a Win editor called pythonwin. I believe it's in the download pywin32-210.win32-py2.5.exe, but I'm not ...
    W. WatsonW. Watson
    Jan 21, 2007 at 8:32 pm
    Jan 25, 2007 at 1:33 am
  • How do I add users using Python scripts on a Linux machine? Someone has a script?
    RamdasRamdas
    Jan 1, 2007 at 7:33 pm
    Jan 10, 2007 at 6:46 am
  • Here's an example of a problem that I've recently come up against for the umpteenth time. It's not difficult to solve, but my previous solutions have never seemed quite right, so I'm writing to ask ...
    DickinsmDickinsm
    Jan 14, 2007 at 11:32 pm
    Jan 17, 2007 at 8:27 pm
  • Is it possible to execute a binary string stored within a python script as executable code ? The script is run under Windows, and the binary code (a full executable file) is stored in a variable in ...
    CitroneluCitronelu
    Jan 8, 2007 at 7:25 pm
    Jan 11, 2007 at 11:53 am
  • hi to all folks here, i am learning Python, just finished a book and i am starting to write programs. I just want to ask, is the "correct" way to deploy my programs to other computers, the .pyc files ...
    King kikapuKing kikapu
    Jan 5, 2007 at 12:00 pm
    Jan 7, 2007 at 3:00 pm
  • Greetings: Personally, I don't think top-posting is the most annoying newsgroup habit. I think it's making a big fuss about minor inconveniences. One of the nicest things about being human is the ...
    Carroll, BarryCarroll, Barry
    Jan 19, 2007 at 8:20 pm
    Jan 24, 2007 at 2:21 pm
  • I would like to know how to convert a csv file with a header row into a floating point array without the header row.
    OyekomovaOyekomova
    Jan 9, 2007 at 8:08 pm
    Jan 17, 2007 at 1:33 am
  • What do I download to use Python with MX XP Pro on an ASUS 4 year old motherboard? I would guess a good book source for starters would be the O'Reilly book. Wayne T. Watson (Watson Adventures, Prop., ...
    W. WatsonW. Watson
    Jan 5, 2007 at 4:48 pm
    Jan 8, 2007 at 9:09 am
  • In few minutes I have just written this quite raw class, it lacks doctring (the same of the functions of the heapq module), it may contain bugs still, I haven't tested it much. It's just a simple ...
    BearophileHUGSBearophileHUGS
    Jan 16, 2007 at 5:24 pm
    Jan 26, 2007 at 7:06 pm
  • with a cell class like this: #!/usr/bin/python import sys class Cell: def __init__( self, data, next=None ): self.data = data self.next = next def __str__( self ): return str( self.data ) def echo( ...
    Dongsheng RuanDongsheng Ruan
    Jan 16, 2007 at 6:51 pm
    Jan 19, 2007 at 2:09 pm
  • Not sure I wrote the subject line correct, but the examples might explain if not clear *** first attempt *** class pin: def __init__ (self): self.Name = 'Unknown Pin' aap = pin() # create an instance ...
    Stef MientkiStef Mientki
    Jan 5, 2007 at 7:09 pm
    Jan 11, 2007 at 4:47 am
  • If I create a large array of data or class, how do I destroy it (when not needed anymore) ? Assign it to an empty list ? thanks, Stef Mientki
    Stef MientkiStef Mientki
    Jan 30, 2007 at 11:41 pm
    Feb 1, 2007 at 9:52 pm
  • How do i get my ip address? in cmd.exe i just type "ipconfig" then it prints: ... IP-address . . . . . . . . . . . . . . . . . : 192.168.1.10 ... how can i do that in python??
    Scripter47Scripter47
    Jan 28, 2007 at 9:54 am
    Jan 30, 2007 at 5:26 am
  • Hello all, I represent Octabox, an Internet Start-up developing a wide-scale platform for Internet services. We are very interested to know your thoughts on Internet productivity and how it might be ...
    OctaboxOctabox
    Jan 9, 2007 at 2:58 pm
    Jan 11, 2007 at 1:53 pm
  • How to find the longst element list of lists? I think, there should be an easier way then this: s1 = ["q", "e", "d"] s2 = ["a", "b"] s3 = ["a", "b", "c", "d"] if len(s1) = len(s2) and len(s1) = ...
    Michael M.Michael M.
    Jan 7, 2007 at 9:23 pm
    Jan 9, 2007 at 12:23 pm
  • Hi, I want to use Python to script some formulas in my application. The user should be able to write something like A = B * C where A,B,C are instances of some wrapper classes. Overloading * is no ...
    Achim DommaAchim Domma
    Jan 23, 2007 at 6:24 pm
    Jan 29, 2007 at 11:27 pm
  • Does anyone know if there's a plan in the works for a new edition of Learning Python? The current edition (2nd) is a few years old and looks like it only covers Python 2.3. Anyone on the list have ...
    Demel, JeffDemel, Jeff
    Jan 11, 2007 at 3:22 pm
    Jan 17, 2007 at 5:16 am
  • Am I nuts? Or only profoundly confused? I expected the this little script to print "0": class foo(int): def __init__(self, value): self = value & 0xF print foo(0x10) Instead, it prints "16" (at least ...
    Jim B. WilsonJim B. Wilson
    Jan 15, 2007 at 10:28 pm
    Jan 16, 2007 at 9:29 pm
  • I need to unsubscribe from this list. I've mailed users-unsubscribe at python.org but that did not unsubscribe me. I've also gone to the list homepage and entered my user information, but that just ...
    Dotan CohenDotan Cohen
    Jan 2, 2007 at 2:05 pm
    Jan 4, 2007 at 6:15 am
  • The applications I write are made of, lets say, algorithms and data. I mean constant data, dicts, tables, etc: to keep algorithms simple, describe what is peculiar, data dependent, as data rather ...
    Imbaud PierreImbaud Pierre
    Jan 30, 2007 at 2:34 pm
    Feb 1, 2007 at 5:47 pm
  • Hello. I'm trying to display french characters (? -- that's e grave -- or ? -- agrave) in python 2.5, with the ncurses wrapper that comes it, and I can't. My locale is set correctly ...
    Fabrice DELENTEFabrice DELENTE
    Jan 26, 2007 at 5:08 pm
    Jan 27, 2007 at 1:36 pm
  • hello, i hope this is the correct place... i have an issue with some regex code i wonder if you have any insight: ================ import re, sys def makeRE(w): print w + " length = " + str(len(w)) ...
    ProctorProctor
    Jan 8, 2007 at 4:53 am
    Jan 18, 2007 at 10:59 pm
  • Would increasing the swap size do it also then ? hg
    HgHg
    Jan 10, 2007 at 7:35 am
    Jan 12, 2007 at 10:10 am
  • x = (1.234567890125, 1.2345678901255) print x print x[0], x[1] Is there a rational reason, or is that simply an artifact of the way that the code has evolved? It is clearly not a bug :-) Regards, ...
    Nick MaclarenNick Maclaren
    Jan 8, 2007 at 1:39 pm
    Jan 8, 2007 at 8:00 pm
  • do you mean object ? your append should be append(Word()) as you need to create instances. hg
    HgHg
    Jan 2, 2007 at 11:58 am
    Jan 4, 2007 at 10:44 am
  • I've been trying to track down a memory leak (which I initially attributed erroneously to numpy) and it turns out to be caused by a memory mapped file. It seems that mmap caches without limit the ...
    George SakkisGeorge Sakkis
    Jan 21, 2007 at 8:20 am
    Jan 22, 2007 at 9:56 pm
  • The The Computer Language Shootout has just published results for Python 2.5 and Psyco 1.5.2. Comparing the old (Python 2.4) Gentoo Pentium 4 results (now not visible anymore) with the new results, I ...
    BearophileHUGSBearophileHUGS
    Jan 19, 2007 at 9:30 pm
    Jan 22, 2007 at 11:05 am
  • Hi, I would like to do the following as one atomic operation: 1) Append an item to a list 2) Set a Boolean indicator It would be almost like getting and holding the GIL, to prevent a thread swap out ...
    Hendrik van RooyenHendrik van Rooyen
    Jan 10, 2007 at 10:14 am
    Jan 13, 2007 at 9:00 am
  • Hello: Need your help in the "correct" definition of the next function. If necessary, I would like to know about a web site or documentation that tells me about best practices in defining functions, ...
    VizcaynoVizcayno
    Jan 8, 2007 at 1:21 am
    Jan 9, 2007 at 7:14 am
  • In the example below, "pin" is an object with a number of properties. Now I want 1- an easy way to create objects that contains a number of these "pin" 2- an multiple way to access these "pin", i.e. ...
    Stef MientkiStef Mientki
    Jan 6, 2007 at 6:49 pm
    Jan 7, 2007 at 5:43 pm
  • Hi all, this is a newbie question on : Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32 PC with WinXP In http://www.python.org/doc/2.3.5/lib/module-math.html I read: ...
    SiggiSiggi
    Jan 4, 2007 at 8:13 am
    Jan 5, 2007 at 3:29 am
  • Greetings, and happyNewYear to all. I picked up Python a few weeks ago, and have been able to parse large files and process data pretty easily, but I believe my code isn't too efficient. I'm hoping ...
    GonzloboGonzlobo
    Jan 1, 2007 at 6:36 pm
    Jan 3, 2007 at 6:27 am
  • Hi Any one tell me where I can get (or download) python modules win32com or win32com.client because I have to use "Dispatch" thanks
    VithiVithi
    Jan 31, 2007 at 9:29 pm
    Feb 2, 2007 at 9:12 am
  • Hello, I am trying to use UI Automation to drive an MS Windows app (with pywinauto). I need to scrape the app's window contents and use some form of OCR to get at the texts (pywinauto can't get at ...
    Boris BorcicBoris Borcic
    Jan 23, 2007 at 2:59 pm
    Jan 26, 2007 at 12:22 am
  • I've posted a simple Matrix class on my website as a small-footprint package for doing basic calculations on matrices up to about 10x10 in size (no theoretical limit, but performance on inverse is ...
    Paul McGuirePaul McGuire
    Jan 23, 2007 at 7:54 pm
    Jan 25, 2007 at 7:57 am
Group Navigation
period‹ prev | Jan 2007 | next ›
Group Overview
grouppython-list @
categoriespython
discussions770
posts3,830
users884
websitepython.org

884 users for January 2007

Gabriel Genellina: 204 posts Bruno Desthuilliers: 59 posts Martin v. Löwis: 59 posts Nick Maclaren: 55 posts Diez B. Roggisch: 52 posts Steven D'Aprano: 52 posts Neil Cerutti: 50 posts Robert Kern: 50 posts Peter Otten: 48 posts BearophileHUGS: 44 posts Hg: 41 posts Hendrik van Rooyen: 40 posts Nagle: 40 posts Skip Montanaro: 40 posts Chris Mellon: 37 posts Stef Mientki: 35 posts Bjoern Schliessmann: 34 posts Tommy: 34 posts Marc 'BlackJack' Rintsch: 32 posts Siggi: 32 posts
show more
Archives