FAQ

Search Discussions

860 discussions - 3,920 posts

  • I have now free time and money to do what I want :-) I have some basic skills in programming (C, Pascal, Macromedia Actionscript) but don't know exactly what to do in the world of programming. And ...
    Bicho VerdeBicho Verde
    Jan 12, 2004 at 1:05 pm
    Jan 19, 2004 at 10:20 am
  • Io (www.iolanguage.com) is a new programming language that's purely object-oriented (but with prototypes), has a powerful concurrency mechanism via actors, and uses an extremely flexible syntax ...
    Daniel EhrenbergDaniel Ehrenberg
    Jan 29, 2004 at 9:01 pm
    Feb 3, 2004 at 2:26 am
  • "Nine Language Performance Round-up: Benchmarking Math & File I/O" http://www.osnews.com/story.php?news_idV02 I think this is an unfair comparison! I wouldn't dream of developing a numerical ...
    CarlCarl
    Jan 9, 2004 at 9:05 pm
    Jan 14, 2004 at 9:38 am
  • Hi, does anyone know of a Python package that is able to load XML like the XML::Simple Perl package does? For those that don't know it, this package maps the XML file to a dictionary. Of course I can ...
    Paulo PintoPaulo Pinto
    Jan 28, 2004 at 9:53 am
    Mar 15, 2004 at 4:29 am
  • You might find this http://www.artima.com/intv/craft.html artima.com interview (especially the section "Learning Languages") with Yukihiro Matsumoto, creator of Ruby, interesting. He discusses how ...
    Christian WilcoxChristian Wilcox
    Jan 23, 2004 at 6:59 pm
    Feb 16, 2004 at 5:45 pm
  • I'm proud to announce that the PEP for Decimal Data Type is now published under the python.org structure: http://www.python.org/peps/pep-0327.html This wouldn't has been possible without the help ...
    Batista, FacundoBatista, Facundo
    Jan 30, 2004 at 12:49 pm
    Feb 11, 2004 at 3:09 am
  • I got into Python because I took one look at C++ and saw all the handwaving in the introductory O'Reilly book to the effect that "everything looks sweet now, but wait until these snazzy little ...
    John BensonJohn Benson
    Jan 13, 2004 at 10:21 pm
    Jan 20, 2004 at 9:20 pm
  • I'm adding a thread for comments on Gerrit Holl's pre-pep, which can be found here: http://tinyurl.com/2578q Frankly, I like the idea. It's about time that all of the file and directory stuff in the ...
    John RothJohn Roth
    Jan 5, 2004 at 3:06 pm
    Jan 11, 2004 at 9:07 am
  • I've recently had a couple of cases of needing exactly what it proposes, and having to kluge around the fact that it's not there. It's a great idea. If there anywhere else I should be expressing my ...
    Gary RobinsonGary Robinson
    Jan 22, 2004 at 4:25 pm
    Jan 28, 2004 at 3:34 pm
  • I've been playing around with Zope's RestrictedPython, and I think I'm on the way to making the modifications necessary to create a capabilities-based restricted execution system. The idea is to ...
    Sean R. LynchSean R. Lynch
    Jan 3, 2004 at 8:58 am
    Jan 6, 2004 at 7:04 am
  • I find python very effective as a language and can generally project most of my hazy thoughts into it. But FUN !!! This is work dammit, I have now ground my teeth down from the number of times I read ...
    Chris LyonChris Lyon
    Jan 13, 2004 at 4:23 pm
    Jan 22, 2004 at 7:24 am
  • I'm starting a new hopfully-commercial project soon, and I face a dilemma about whether Python with wxPython would be appropriate. The project has 3 main areas: a) manipulation of lists and trees, ...
    James GoldwaterJames Goldwater
    Jan 14, 2004 at 2:54 pm
    Jan 17, 2004 at 2:30 pm
  • Java seems to have taken off as the platform and language of choice for many embedded devices. Would it be feasible for Python(perhaps running on an embedded version of Linux) to act in such a ...
    BrandonBrandon
    Jan 3, 2004 at 3:20 am
    Jan 11, 2004 at 5:07 am
  • hello, please consider the following situation: under the current directory there's a subdirectory 'package' with two files: __init__.py and module.py ./package: __init__.py module.py module.py ...
    Michal VitecekMichal Vitecek
    Jan 28, 2004 at 1:22 pm
    Jan 30, 2004 at 11:33 am
  • Why you can't get something for nothing Jack Schofield Jan 22 2004 [..] "There are also undoubted benefits from running open source software, though the financial ones can be small or even negative. ...
    MalcolmMalcolm
    Jan 25, 2004 at 7:43 pm
    Jan 27, 2004 at 12:13 pm
  • i am developing a web application and i am really confused on what should i use. should i use just python and use the cgi module availabe. Or should i use application like WebWare.Also there is PSP ...
    Ketulp_barodaKetulp_baroda
    Jan 10, 2004 at 11:58 am
    Jan 15, 2004 at 12:15 pm
  • Found myself needing serialised access to a shared generator from multiple threads. Came up with the following def serialise(gen): lock = threading.Lock() while 1: lock.acquire() try: next = ...
    Andrae MuysAndrae Muys
    Jan 16, 2004 at 4:58 am
    Jan 31, 2004 at 2:00 am
  • Howdy! I'm trying to get my head around Python and I've come to realize that there are a lot of idioms in Python that are a bit different than in other languages. I have a class similar to what I've ...
    Tad MarkoTad Marko
    Jan 21, 2004 at 8:43 pm
    Jan 25, 2004 at 9:38 pm
  • Hi, How can I print to the console without having it scrolling to a new line for each print statement? I want to print a count down in the console, but for each count it scrolls the screen (of ...
    Totte KarlssonTotte Karlsson
    Jan 14, 2004 at 2:05 am
    Jan 16, 2004 at 7:25 pm
  • Hi all, Having never used a database before and immersing myself in reading stuff about databases over the last two days I have come to this conclusion, I still don't know which one I need. I've been ...
    MarcMarc
    Jan 10, 2004 at 1:17 am
    Jan 14, 2004 at 3:35 am
  • There's a new PEP available: PEP 324: popen5 - New POSIX process module A copy is included below. Comments are appreciated. ---- PEP: 324 Title: popen5 - New POSIX process module Version: $Revision: ...
    Peter ÅstrandPeter Åstrand
    Jan 3, 2004 at 1:47 pm
    Jan 7, 2004 at 6:08 am
  • Hi. Recently I made a small script to do some file transferring (among other things). I wanted to monitor the progress of the file transfer, so I needed to know the size of the files I was ...
    Sean RossSean Ross
    Jan 2, 2004 at 2:45 am
    Jan 4, 2004 at 3:19 pm
  • Hi, can anybody help with the following problem? In C++ i = 5 / 10 and i = -5 / 10 both have the same result 0. In python i = 5 / 10 gives me 0 as expected, but i = -5 / 10 gives -1 as result. Is ...
    FrankFrank
    Jan 3, 2004 at 4:32 pm
    Jan 8, 2004 at 6:53 pm
  • My name is Stan Schwartz, and I'm a University of Pennsylvania Ph.D. and an independent inventor. I'm submitting two computer graphics patents to the USPTO during the next several weeks. Technologies ...
    Stan SchwartzStan Schwartz
    Jan 31, 2004 at 4:07 pm
    Feb 2, 2004 at 3:27 pm
  • Hello. Found a strange python behaivoir while writing some object. I've stripped out all other stuff so the problem is stright here: ================================= #!/usr/bin/python class Object: ...
    Alexey NezhdanovAlexey Nezhdanov
    Jan 15, 2004 at 5:40 am
    Jan 17, 2004 at 12:51 am
  • New to Python question, why does this fail? Thanks, Dave ---testcase.py--- import sys, urllib, htmllib def Checkit(URL): try: print "Opening", URL f = urllib.open(URL) f.close() return 1 except: ...
    Dave MurrayDave Murray
    Jan 5, 2004 at 12:58 am
    Jan 6, 2004 at 6:49 pm
  • Consider the code below, class Base(object): pass class Derived(object): def __new__(cls, *args, **kwds): # some_factory returns an instance of Base # and I have to derive from this instance! inst = ...
    Sridhar RSridhar R
    Jan 20, 2004 at 12:13 pm
    Feb 10, 2004 at 2:47 pm
  • If bool(B_i)==True for 1<=i<=n and j is the smallest i with bool(A_j)==True, then the evaluation of (A_1 and B_1) or ... or (A_n and B_n) returns B_j without evaluating any other B_i. This is such a ...
    Elaine JacksonElaine Jackson
    Jan 29, 2004 at 5:58 pm
    Jan 31, 2004 at 5:57 am
  • I need to associate a string (key) with an integer (value). A dictionary would do the job, except for the fact that it must be ordered. I also need to look up the value for a specific key easily, so ...
    Leif K-BrooksLeif K-Brooks
    Jan 22, 2004 at 8:18 pm
    Jan 27, 2004 at 4:56 pm
  • Just bumped into another irresponsibility in perl. the crime in question this time is the module File::Basename. Reproduction: 1. create a directory containing a file of this name: "cdrom.html". 2. ...
    Xah LeeXah Lee
    Jan 25, 2004 at 5:31 am
    Jan 27, 2004 at 8:20 am
  • Hi, why is an xrange object not hashable? I was trying to do something like: comments = { xrange(0, 4): "Few", xrange(4, 10): "Several", xrange(10, 100): "A lot", xrange(100, sys.maxint): "Can't ...
    Gerrit HollGerrit Holl
    Jan 25, 2004 at 2:47 pm
    Jan 26, 2004 at 6:11 am
  • Numarray is making great progress and is quite usable for many purposes. An idea that was championed by some is that the Numeric code base would stay static and be replaced entirely by Numarray. ...
    Travis OliphantTravis Oliphant
    Jan 19, 2004 at 8:32 pm
    Jan 23, 2004 at 7:18 pm
  • I've been a long-time Perl programmer, though I've not used a boatload of packages nor much of the tacky OO. A couple of years ago, I decided to look into Python and Ruby. Python looked OK, but not ...
    Wayne FoltaWayne Folta
    Jan 19, 2004 at 3:47 am
    Jan 21, 2004 at 8:31 pm
  • Hi! I am looking for a library in Python that would read PDF files and I could extract information from the PDF with it. I have searched with google, but only found libraries that can be used to ...
    Peter GalfiPeter Galfi
    Jan 18, 2004 at 1:01 pm
    Jan 20, 2004 at 5:41 pm
  • I have a dictionary that looks like this MY_DICT[KEY_X][KEY_Y][KEY_Z]=FOO I am having a problem updating this with a simple MY_DICT.update(NEW_DICT) as update doesn't seem to care about getting into ...
    Omission9Omission9
    Jan 26, 2004 at 2:33 am
    Jan 27, 2004 at 2:45 am
  • Hi, what does Python do if two objects aren't comparable (to my opinion) If I've understood "Python in a Nutschell" correctly it should raise an exception but it doesn't do for me. Here are two ...
    Helmut JarauschHelmut Jarausch
    Jan 26, 2004 at 9:28 pm
    Feb 3, 2004 at 9:34 am
  • So, after reading some messages about os.system, and looking at the popen stuff and trying it a bit, I still have not found a way to keep a command window open for several commands (on Windows ...
    MoosebumpsMoosebumps
    Jan 23, 2004 at 6:56 am
    Jan 27, 2004 at 2:36 pm
  • I do not understand why python behaves the way it does in the following code: Here, Python doesn't like that I'm assigning out-of-range. OK. That's fine. Traceback (most recent call last): File ...
    Rich KrauterRich Krauter
    Jan 21, 2004 at 5:01 pm
    Jan 23, 2004 at 5:33 pm
  • I am brand new to the whole Python thing and am trying to install SpamBayes so that I can use the proxy server to filter spam at my office. I am having trouble following the instructions provided. It ...
    DogDog
    Jan 20, 2004 at 8:32 pm
    Jan 21, 2004 at 3:34 pm
  • Hello All, Which made me think why Python don't use gmp as it's primary math package - we'll get fast results, a lot of number types and much more. Can't think of any reason why Python is ...
    Miki TebekaMiki Tebeka
    Jan 15, 2004 at 10:11 am
    Jan 18, 2004 at 4:19 am
  • Sometimes if find it clumsy unsing the following approach building strings: cmd = "%s -start %s -end %s -dir %s" % (executable, startTime, endTime, directory) Especially if you have a lot of variable ...
    Olaf MeyerOlaf Meyer
    Jan 12, 2004 at 9:58 am
    Jan 17, 2004 at 9:09 pm
  • When I need to, which is rare, I either use print statements (a very solid technology dating from, oh, last century sometime ;-), or the Python debugger module: pdb. Actually, all I ever do with pdb ...
    Peter HansenPeter Hansen
    Jan 9, 2004 at 2:42 pm
    Jan 13, 2004 at 3:48 pm
  • Because they're not the same thing unless you've already done from string import join first. join is not a builtin function. -- Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/ / ...
    Erik Max FrancisErik Max Francis
    Jan 7, 2004 at 12:43 pm
    Jan 12, 2004 at 6:16 pm
  • I need to submit C/C++ code for a class. (It's not a programming class. The choice of language is inertial. I think that it mostly serves to distract students from the course subject.) I'm fairly ...
    Kyler LairdKyler Laird
    Jan 20, 2004 at 3:22 pm
    Feb 12, 2004 at 12:58 am
  • Where could I find a good documentation about wxPython (a documentation which is not for C++ !!!) Olivier
    OlivierOlivier
    Jan 31, 2004 at 10:01 pm
    Feb 2, 2004 at 7:32 pm
  • I have seen something about this beofore on this forum, but my google search didn't come up with the answer I am looking for. I have a list of tuples. Each tuple is in the following format: ("data", ...
    Amy GAmy G
    Jan 23, 2004 at 8:41 pm
    Jan 24, 2004 at 8:53 pm
  • Maybe you have a minute to clarify the following matter... Consider: --- from cStringIO import StringIO def bencode_rec(x, b): t = type(x) if t is str: b.write('%d:%s' % (len(x), x)) else: assert 0 ...
    Laurent TherondLaurent Therond
    Jan 15, 2004 at 7:38 pm
    Jan 17, 2004 at 9:10 am
  • I found the querk in my code: a = [1, 2, 3]; b = a; b.append(4); b == [1, 2, 3, 4]; # As it should. a == [1, 2, 3, 4]; # - Why? One would think that b is a referance to a - however I know it's not. ...
    Jens ThiedeJens Thiede
    Jan 9, 2004 at 8:47 pm
    Jan 11, 2004 at 7:20 pm
  • hey, I'm a newbie in the programming world. I just started and already I'm in a whole lot of problems. first problem is the fact that I started out with a little program who was part of a course but ...
    BroebelBroebel
    Jan 8, 2004 at 10:50 pm
    Jan 10, 2004 at 4:57 pm
  • One of the most common bugs that people have on the Python Tutor list are caused by the fact the default arguments for functions are evaluated only once, not when the function is called. The solution ...
    Daniel EhrenbergDaniel Ehrenberg
    Jan 6, 2004 at 10:52 pm
    Jan 8, 2004 at 5:55 pm
Group Navigation
period‹ prev | Jan 2004 | next ›
Group Overview
grouppython-list @
categoriespython
discussions860
posts3,920
users1,016
websitepython.org

1,016 user for January 2004

Peter Hansen: 86 posts John J. Lee: 83 posts Skip Montanaro: 69 posts Ville Vainio: 68 posts Aahz: 62 posts Jeff Epler: 59 posts Peter Otten: 59 posts Gerrit Holl: 55 posts Josiah Carlson: 54 posts Samuel Walters: 46 posts John Roth: 42 posts Jp Calderone: 39 posts Martin v. Löwis: 37 posts Michael Hudson: 36 posts Erik Max Francis: 35 posts Francis Avila: 34 posts Terry Reedy: 33 posts Robert Brewer: 30 posts Cameron Laird: 29 posts Fuzzyman: 28 posts
show more
Archives