FAQ

Search Discussions

739 discussions - 4,406 posts

  • Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like extraneous ...
    Xah LeeXah Lee
    Aug 12, 2005 at 1:23 am
    Dec 4, 2005 at 7:42 am
  • The Python slice type has one method 'indices', and reportedly: This method takes a single integer argument /length/ and computes information about the extended slice that the slice object would ...
    Bryan OlsonBryan Olson
    Aug 10, 2005 at 2:54 pm
    Sep 3, 2005 at 8:56 pm
  • I have a Python snippet: f = open("blah.txt", "r") while True: c = f.read(1) if c == '': break # EOF # ... work on c Is some way to make this code more compact and simple? It's a bit spaghetti. This ...
    Greg McIntyreGreg McIntyre
    Aug 19, 2005 at 5:21 am
    Aug 25, 2005 at 2:32 pm
  • Marked -1 Flamebait, but I'll respond anyway. I've read the documents he refers to, and although I agree that the Python docs aren't perfect, I do not agree with him on which points. I for example do ...
    Adriaan RentingAdriaan Renting
    Aug 29, 2005 at 7:51 am
    Sep 10, 2005 at 6:32 pm
  • I've heard 2 people complain that word 'global' is confusing. Perhaps 'modulescope' or 'module' would be better? Am I the first peope to have thought of this and suggested it? Is this a candidate for ...
    SeberinoSeberino
    Aug 5, 2005 at 7:40 pm
    Aug 17, 2005 at 9:10 am
  • Is posh maintained? The page mentions 2003 as the last date. -- Robin Becker
    Robin BeckerRobin Becker
    Aug 19, 2005 at 9:33 am
    Sep 15, 2005 at 7:50 pm
  • Hi I am unpacking a list into variables, for some reason they need to be unpacked into variable names like a0,a1,a2....upto aN whatever is in the list. How to create the variables dynamically ? I am ...
    NxNx
    Aug 25, 2005 at 1:19 pm
    Aug 30, 2005 at 9:49 pm
  • Raise your hand if you think the best technology wins! For those of you with your hands in the air, tell me: if Python is so good, why has PHP achieved such greater adoption and mindshare? Why do web ...
    Eric PedersonEric Pederson
    Aug 7, 2005 at 8:54 am
    Aug 10, 2005 at 9:31 am
  • In August 2001, there was a thread about the "Art of Unit Testing": http://groups.google.com/group/comp.lang.python/browse_frm/thread/aa2bd17e7f995d05/71a29faf0a0485d5 Paul Moore asked the legitimate ...
    Christoph ZwerschkeChristoph Zwerschke
    Aug 2, 2005 at 4:44 pm
    Aug 5, 2005 at 7:57 pm
  • km <km at mrna.tn.nic.in wrote in news:mailman.3360.1124720412.10512.python-list at python.org: It appears that Python is not optimized for empty loops. -- rzed
    Rick WotnazRick Wotnaz
    Aug 22, 2005 at 2:29 pm
    Aug 26, 2005 at 6:20 am
  • import socket, thread host, port = '192.168.0.3', 1434 s1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s2.connect((host, 1433)) ...
    N00mN00m
    Aug 31, 2005 at 1:03 pm
    Sep 9, 2005 at 9:27 am
  • I am very new to Python, but have done plenty of development in C++ and Java. One thing I find weird about python is the idea of a module. Why is this needed when there are already the ideas of ...
    N.DavisN.Davis
    Aug 9, 2005 at 3:32 pm
    Aug 13, 2005 at 2:43 pm
  • I am hoping someone can help me solve a bit of a puzzle. We are working on a data file reader and extraction tool for an old MS-DOS accounting system dating back to the mid 80's. In the data files, ...
    GeskerrettGeskerrett
    Aug 9, 2005 at 5:29 pm
    Oct 5, 2005 at 8:24 am
  • What why it is more efficient. Kindly let me know with some details. regards Prabahar Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to ...
    Praba karPraba kar
    Aug 23, 2005 at 8:26 am
    Aug 28, 2005 at 7:38 pm
  • hi all. are there any recommendations for an intro book to python that is up-to-date for the latest version? would reading a book from a year or two ago cause me to miss much? thanks!
    John SalernoJohn Salerno
    Aug 18, 2005 at 4:30 am
    Aug 23, 2005 at 3:28 am
  • Hello, I've been using Python a lot for scripting (mainly scripts for server administration / DB access). All these scripts were shell based. Now I'm considering using Python (with mod_python on ...
    Florian LindnerFlorian Lindner
    Aug 18, 2005 at 9:30 am
    Aug 22, 2005 at 4:24 pm
  • I have a simple 192-line Python script that begins with the line: dummy0 = 47 The script runs in less than 2.5 seconds. The variable dummy0 is never referenced again, directly or indirectly, by the ...
    Mark DickinsonMark Dickinson
    Aug 25, 2005 at 4:44 pm
    Aug 26, 2005 at 10:16 pm
  • Hi there, I'm pretty new to Python and am trying to figure out how to get "will this code compile?"-like code checking. To me this is a pretty basic language/environment requirement, especially when ...
    QopitQopit
    Aug 10, 2005 at 3:53 pm
    Aug 13, 2005 at 8:18 pm
  • Hello, I've been learning Python in my sparetime. I'm a Java/C++ programmer by trade. So I've been reading about Python OO, and I have a few questions that I haven't found the answers for :) 1. Where ...
    RayRay
    Aug 12, 2005 at 3:00 am
    Aug 13, 2005 at 1:58 am
  • I was wondering if anyone could make recomendations/comments about CVS systems, their experiences and what perhaps the strengths of each. Currently we have 2 developers but expect to grow to perhaps ...
    GeskerrettGeskerrett
    Aug 9, 2005 at 2:01 pm
    Aug 11, 2005 at 1:45 am
  • When I double-click on "some.py" file console window appears just for a moment and right after that it's closed. If this script is started from inside of IDLE (F5 key) then it executes as it should ...
    N00mN00m
    Aug 30, 2005 at 11:54 am
    Sep 7, 2005 at 4:56 pm
  • http://www.slate.com/id/2124561/entry/2124562/ Nice little series by Seth Stevenson for Americans daydreaming about emigration. Somewhere, anywhere ... maybe Amsterdam? I've never been to the ...
    WadeWade
    Aug 24, 2005 at 12:31 pm
    Aug 27, 2005 at 2:27 am
  • No good news for scripting-language fans: http://www.phpmag.net/itr/news/psecom,id,23284,nodeid,113.html Regards Kay
    Kay SchluehrKay Schluehr
    Aug 6, 2005 at 10:24 am
    Aug 26, 2005 at 11:16 pm
  • i have an interesting project at work going on. here is the challenge. i am using the serial module to read data from a serial input. it comes in as a hex. i need to make it a binary and compare it ...
    NephishNephish
    Aug 18, 2005 at 2:43 am
    Aug 21, 2005 at 10:53 pm
  • Hi, I'd like to ask some scientists or students which GUI toolkit they would recommend to develop scientific prototypes (for education and testing some theories). I think such toolkit should fill a ...
    Mateusz ŁoskotMateusz Łoskot
    Aug 15, 2005 at 2:59 am
    Aug 18, 2005 at 4:45 am
  • I have been using java (jsp/servlets), vb/asp and perl for a few years. Almost all my projects are web site development related, and many of my clients' web sites are hosted on those shared web ...
    KevinKevin
    Aug 5, 2005 at 1:21 pm
    Aug 24, 2005 at 10:50 pm
  • Hi, I'm extremely new to python, and am looking at using it as an embedded script engine in a dotnet project I'm working on. I'm currently playing with the "Python for Net" ...
    4242
    Aug 20, 2005 at 10:21 am
    Aug 23, 2005 at 9:54 pm
  • Hi everyone, I have a problem with initialization. [1] Why is this? Why does not this behave like the below: [] And, just to add to my confusion: [[], []] True Thanks in advance for the explanation. ...
    Jiri BartonJiri Barton
    Aug 10, 2005 at 10:40 am
    Aug 13, 2005 at 5:25 am
  • Hi, I'm trying to use a regular expression to match a string containing a # (basically i'm looking for #include ...) I don't seem to manage to write a regular expression that matches this. My ...
    Tom DecoTom Deco
    Aug 11, 2005 at 10:35 am
    Aug 12, 2005 at 7:49 am
  • Hi everyone, I would to know what do you think of this PEP. Any comment welcomed (even about English mistakes). PEP: XXX Title: Specialization Syntax Version: $Revision: 1.10 $ Last-Modified: $Date: ...
    Nicolas FleuryNicolas Fleury
    Aug 7, 2005 at 8:22 pm
    Aug 9, 2005 at 9:41 pm
  • Hello all, I often have to deal with complex numbers using python iteractive as calculator I wonder why there are no methods like arg, abs well one can use c = 1+1j abs(c) In my opinion it would also ...
    Daniel SchüleDaniel Schüle
    Aug 5, 2005 at 1:42 pm
    Aug 7, 2005 at 8:36 am
  • I'm finding that a lot of places within my code, I want to return the output of a generator from another generator. Currently the only method I know of to do this is to explicitly loop over the ...
    TalinTalin
    Aug 28, 2005 at 5:29 pm
    Sep 10, 2005 at 4:46 am
  • Hello, I know this topic was discussed a *lot* in the past, sorry if it bores you... Benchmark: http://www.fourmilab.ch/fourmilog/archives/2005-08/000567.html This is the source pack: ...
    BearophileHUGSBearophileHUGS
    Aug 13, 2005 at 10:07 am
    Aug 22, 2005 at 7:03 pm
  • QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) "[A] suggestion from ...
    Cameron LairdCameron Laird
    Aug 12, 2005 at 10:08 pm
    Aug 18, 2005 at 7:08 am
  • 17

    pain

    Hello, I started to learn python some months ago. Mostly for fun, but I replaced php to python in many tools at my company in the last weeks. Because of our boss decision now I have to learn java. I ...
    MageMage
    Aug 3, 2005 at 3:45 pm
    Sep 2, 2005 at 5:19 pm
  • i have some code which looks kinda like bin = {} for whatever: for [a, b] in foo: x = 42 - a y = 42 - b if bin.has_key(x): bin[x] += 1 else: bin[x] = 1 for i, j in bin.iteritems(): print i, j now i ...
    Randy BushRandy Bush
    Aug 28, 2005 at 4:36 am
    Aug 30, 2005 at 5:32 am
  • Kamaelia 0.2.0 has been released! What is it? ==========Kamaelia is a collection of Axon components designed for network protocol experimentation in a single threaded, select based environment. Axon ...
    Michael SparksMichael Sparks
    Aug 1, 2005 at 5:50 pm
    Aug 8, 2005 at 11:02 am
  • Hey guys, would someone mind giving me a quick rundown of how references work in Python when passing arguments into functions? The code below should highlight my specific confusion: <code bool1=True ...
    Gregory PiñeroGregory Piñero
    Aug 9, 2005 at 2:53 pm
    Aug 10, 2005 at 4:43 am
  • I have a java program in a package called 'cmd'. This of course conflicts with the builtin python package of the same name. The thing is, I need to be able to import from both of these packages in ...
    Torched_smurfTorched_smurf
    Aug 18, 2005 at 11:06 pm
    Aug 21, 2005 at 8:48 am
  • I need to ensure that there is only one instance of my python class on my machine at a given time. (Not within an interpreter -- that would just be a singleton -- but on the machine.) These instances ...
    Chris CurveyChris Curvey
    Aug 15, 2005 at 1:31 pm
    Aug 21, 2005 at 8:22 am
  • In re, the punctuation "^" can exclude a single character, but I want to exclude a whole word now. for example I have a string "hi, how are you. hello", I want to extract all the part before the ...
    Could ildgCould ildg
    Aug 14, 2005 at 2:24 pm
    Aug 17, 2005 at 1:05 am
  • hi I'm learning python since 3 days. I' ve some programming experience in BASIC, Pascal, C, C++ and Java. Actually I want to add a scripting language to this repertoire (I have virtually no ...
    Robert WierschkeRobert Wierschke
    Aug 10, 2005 at 11:14 am
    Aug 12, 2005 at 11:36 am
  • I want to check if a folder named "foldername" is empty. I use os.listdir(foldername)==[] to do this, but it will be very slow if the folder has a lot of sub-files. Is there any efficient ways to do ...
    Could ildgCould ildg
    Aug 8, 2005 at 5:13 am
    Aug 9, 2005 at 10:46 pm
  • I have a question about Windows based python (2.4 and later). For example, if I make a script called test.py like so: import sys print sys.argv then run it: python test.py this is a test I see a list ...
    MichaelMichael
    Aug 25, 2005 at 12:53 am
    Sep 1, 2005 at 12:07 pm
  • Hello, python24.dll is much bigger than python23.dll. This was discussed already on the newsgroup, see the thread starting here: http://mail.python.org/pipermail/python-list/2004-July/229096.html I ...
    Giovanni BajoGiovanni Bajo
    Aug 20, 2005 at 7:48 pm
    Aug 23, 2005 at 4:02 pm
  • Hello All! I met some strange situation. In MainThread my program wating changes of some variable. This variable should be changed in another thread, but loop, which wait changing variable blocks all ...
    Nodir GulyamovNodir Gulyamov
    Aug 9, 2005 at 9:40 pm
    Aug 16, 2005 at 4:48 pm
  • Can anybody explain this bizarre behavior: --------------------- Roy-Smiths-Computer:play$ py Python 2.3.4 (#3, Jun 29 2004, 21:48:03) [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin ...
    Roy SmithRoy Smith
    Aug 10, 2005 at 3:02 am
    Aug 11, 2005 at 10:20 pm
  • Suppose I'm writing an abstract superclass which will have some concrete subclasses. I want to signal in my code that the subclasses will implement certan methods. Is this a Pythonic way of doing ...
    Phil huntPhil hunt
    Aug 1, 2005 at 4:05 pm
    Aug 2, 2005 at 10:01 am
  • dict1={...something...} dict2={...somethind else ..} dict1 + dict2 that's does works ..:(, it's not like List... anyone can tell me how to get it? thanks in advance
    DENGDENG
    Aug 30, 2005 at 2:44 pm
    Aug 31, 2005 at 5:49 am
  • This is kind of funny, I posted earlier about a small, light python distro. The thing is, I did it in an hour or so, but amazingly, I got responses from everywhere asking for support on how to do ...
    Ramza BrownRamza Brown
    Aug 20, 2005 at 5:51 pm
    Aug 26, 2005 at 9:31 pm
Group Navigation
period‹ prev | Aug 2005 | next ›
Group Overview
grouppython-list @
categoriespython
discussions739
posts4,406
users925
websitepython.org

925 users for August 2005

Robert Kern: 111 posts Peter Hansen: 100 posts Mike Meyer: 87 posts Bengt Richter: 80 posts Terry Reedy: 77 posts Steve Holden: 75 posts Bryan Olson: 68 posts Fredrik Lundh: 56 posts John Machin: 50 posts Bruno modulix: 43 posts Phil hunt: 42 posts Grant Edwards: 41 posts John Bokma: 39 posts Magnus Lycka: 38 posts Christopher Subich: 35 posts Martin v. Löwis: 34 posts Reinhold Birkenfeld: 32 posts Madhusudan Singh: 31 posts Cliff Wells: 30 posts Steven Bethard: 30 posts
show more
Archives