Search Discussions

696 discussions - 3,760 posts

  • I am - *TENTATIVELY* - (operative word) undertaking the project of porting the GPL open source game "Freeciv" to Python. Freeciv is, in essence, an almost straight clone of Sid Meier's Civilization ...
    Brandon J. Van EveryBrandon J. Van Every
    Dec 24, 2003 at 9:49 pm
    Feb 18, 2004 at 11:57 am
  • I don't know if you have seen this before, but here goes: http://text.userlinux.com/white_paper.html There is a jab at Python, though, mentioning that Ruby is more "refined". -- Ville Vainio ...
    Ville VainioVille Vainio
    Dec 19, 2003 at 11:58 pm
    Dec 23, 2003 at 4:39 pm
  • Everything? ;) [1, 2, 3, 4, 5] [1, 2, 4, 5] Traceback (most recent call last): File "<interactive input ", line 1, in ? AttributeError: 'tuple' object has no attribute 'append' Traceback (most recent ...
    Robert BrewerRobert Brewer
    Dec 5, 2003 at 5:24 am
    Dec 10, 2003 at 9:59 pm
  • Why forget Tkinter? I've seen Tkinter applications that look incredibly fabulous. A lot depends on what you are trying to do. If you are making a graphics-heavy application then Tkinter's canvas is ...
    Brian KelleyBrian Kelley
    Dec 11, 2003 at 1:23 pm
    Dec 18, 2003 at 2:13 am
  • Suppose you have the time and the money to start a new project in Python. What would you like to do? I can think of: - A civilization like game in Python, with multiplayer support via twisted. - An ...
    Will StuyvesantWill Stuyvesant
    Dec 26, 2003 at 8:36 pm
    Jan 16, 2004 at 12:53 pm
  • Hi folks, The python can only support passing value in function call (right?), I'm wondering how to effectively pass a large parameter, such as a large list or dictionary? It could achieved by ...
    Dec 15, 2003 at 7:14 am
    Jan 6, 2004 at 7:13 am
  • Hi all. running a script that works fine in python 22 in python 23 i find something like: unicodedecodeerror: "ascii" codec dan+t decode byte 0xed in position 37:ordinal not in range (128) Usually ...
    Dec 3, 2003 at 5:15 pm
    Dec 8, 2003 at 5:55 pm
  • the issue is [back-tracking to the 2.0 code], were those "breakages" actually features, or were they definitely "breakages"? i.e. was it 1) was it just unexpected behaviour in that a function ...
    Luke Kenneth Casson LeightonLuke Kenneth Casson Leighton
    Dec 15, 2003 at 7:10 pm
    Dec 20, 2003 at 9:52 am
  • I have a program in which I make very good use of a memoizer: def memoize(callable): cache = {} def proxy(*args): try: return cache[args] except KeyError: return cache.setdefault(args, ...
    Jacek GenerowiczJacek Generowicz
    Dec 8, 2003 at 2:21 pm
    Dec 12, 2003 at 12:20 pm
  • I work for at a college where I am one of 2 full-time developers and we are looking to program a new software package fro the campus. This is a huge project as it will include everything from ...
    Jason TesserJason Tesser
    Dec 19, 2003 at 3:03 pm
    Dec 27, 2003 at 1:41 am
  • Jython is 100% java coded python. Python objects work with javacompilers and Virtual machines. I am a hobby programmer so the technical reasons are probably beyond me... Why is python incompatible ...
    Dec 7, 2003 at 4:22 pm
    Dec 12, 2003 at 1:41 am
  • Pythons internal 'pointers' system is certainly causing me a few headaches..... When I want to copy the contents of a variable I find it impossible to know whether I've copied the contents *or* just ...
    Dec 4, 2003 at 2:49 pm
    Dec 9, 2003 at 1:56 pm
  • Is anyone using Python for .NET? I mean Brian's version at Zope, which simply accesses .NET in a one-way fashion from Python. http://www.zope.org/Members/Brian/PythonNet Not the experimental ...
    Brandon J. Van EveryBrandon J. Van Every
    Dec 16, 2003 at 10:05 pm
    Dec 24, 2003 at 2:54 am
  • I did this: Python 2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit (Intel)] on win32 [2, 1] Surely that can't be right: d1 should still be [1,2]. If it is "right", then I expect that many people ...
    Mark CarterMark Carter
    Dec 25, 2003 at 11:03 am
    Dec 29, 2003 at 1:05 pm
  • hello, i'm fairly new to python programming and programming in general, but i have written a python prog that creates a MIDI file (.mid) and I want to be able to play it from another prog which is ...
    Dec 9, 2003 at 6:19 am
    Dec 15, 2003 at 1:36 pm
  • Hi, I checked out Lua as much out of curiosity about its Brazilian background as for any other reason. It seems to be a project centered in the PUC (Pontifical Catholic University of Rio de Janeiro). ...
    John BensonJohn Benson
    Dec 13, 2003 at 8:34 pm
    Dec 19, 2003 at 2:20 am
  • Hello all, My program uses many millions of integers, and Python is allocating way too much memory for these. I can't have the performance hit by using disk, so I figured I'd write a C extension to ...
    Glen WheelerGlen Wheeler
    Dec 19, 2003 at 12:42 am
    Dec 23, 2003 at 8:23 am
  • Hi, I've just built a framework which allows mountable linux filesystems to be implemented in pure python. It consists of a back-end to LUFS (lufs.sf.net), and is available from ...
    David McNabDavid McNab
    Dec 8, 2003 at 12:06 pm
    Dec 12, 2003 at 6:10 am
  • By far the most rigorous separation that I've seen to date, and one we're experimenting with more right now, is to have a pure-HTML (or XHTML) web page with *no* code or funky little embedded crap of ...
    Peter HansenPeter Hansen
    Dec 1, 2003 at 6:15 pm
    Dec 4, 2003 at 6:48 pm
  • Hi, I've been using constructs(?) like the below. def display(instance, start = None, end = None): if instance.__class__.__name__ == 'UPCA': do some UPCA stuff if instance.__class__.__name__ == ...
    Dec 29, 2003 at 2:15 am
    Jan 27, 2004 at 10:30 pm
  • ANNOUNCE: xsdb -- the eXtremely Simple Database goes alpha Links: Home page with docs and other links: http://xsdb.sourceforge.net/ Sourceforge project with download links ...
    Aaron WattersAaron Watters
    Dec 10, 2003 at 11:13 am
    Jan 6, 2004 at 2:31 pm
  • Hi all, I teach middle school and am currently trying to bring some computer science to the students. Our district has a wonderfully linked network throughout all our schools... done via MS Windows ...
    BJ MacNevinBJ MacNevin
    Dec 2, 2003 at 5:19 am
    Dec 3, 2003 at 3:40 pm
  • i have a bunch of java files that has spaced-out formatting that i want to get rid of. I want to replace two end of line characters by one end of line characters. The files in question is unix, and ...
    Xah LeeXah Lee
    Dec 20, 2003 at 8:04 pm
    Dec 22, 2003 at 9:17 pm
  • How do I do: from spam import eggs ... when 'spam' is only known at runtime? -- Ren? Pijlman
    Rene PijlmanRene Pijlman
    Dec 8, 2003 at 4:33 pm
    Dec 10, 2003 at 10:38 am
  • Hi, shouldn't the Zen of Python really be called the Zen of Programming? (asks someone who knows Python and only Python) The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is ...
    Gerrit HollGerrit Holl
    Dec 16, 2003 at 6:38 pm
    Jan 2, 2004 at 5:27 pm
  • Hi all, I am a python newbie, I want to print on the console UTF-8 arabic characters. They print OK with print text.encode("UTF-8") BUT, the characters are printed LTR, not RTL (right to left). How ...
    Dec 22, 2003 at 11:05 am
    Dec 30, 2003 at 2:13 am
  • I'm trying to grab a document off the Web and toss it into a MySQL database, but I keep running into the various encoding problems with Unicode (that aren't a problem for me with GB2312, BIG 5, etc.) ...
    Bill EldridgeBill Eldridge
    Dec 20, 2003 at 4:21 pm
    Dec 29, 2003 at 12:29 am
  • Hi All, I just compiled Python 2.3.2 on my local machine as an upgrade from 2.2. This appears to have broken my python-mode.el in emacs. When I try to "Execute Buffer" Ctl-c Ctl-c I get: Wrong type ...
    Brian DonovanBrian Donovan
    Dec 18, 2003 at 6:01 pm
    Dec 19, 2003 at 3:10 pm
  • Is there a builtin way of making making another instance of your own class? I really expected type(self)(*args, **keywords) to work this way. Currently i'm doing this: def new(self,*args,**keywords): ...
    Samuel KleinerSamuel Kleiner
    Dec 7, 2003 at 3:37 am
    Dec 8, 2003 at 4:58 pm
  • For the past couple of months, Idle won't start when I invoke it. I am at a complete loss for why this is. When this happens, they python command line still starts, and python works fine otherwise. ...
    Kerry NeilsonKerry Neilson
    Dec 14, 2003 at 6:50 pm
    Mar 24, 2004 at 2:26 am
  • ### this will test if your version of IDLE on windows is a MATURE program design ### print "Hello world, If Python IDLE is a mature program design it will output this" Save this simple single line ...
    Aubrey HutchisonAubrey Hutchison
    Dec 31, 2003 at 2:20 am
    Jan 6, 2004 at 2:56 pm
  • Can someone give me some general information on socket programming in Python. trainee
    Kamuela FrancoKamuela Franco
    Dec 25, 2003 at 10:46 am
    Jan 5, 2004 at 10:38 pm
  • If I were to build a Windows application that is a true standard Windows application in every conceivable way and that adheres to the MS Windows standards as much as possible (installation, GUI, ...
    Pjer HoltonPjer Holton
    Dec 28, 2003 at 1:28 pm
    Dec 31, 2003 at 12:00 am
  • I was told earlier (w/o explanation) that functions should return something. I was under the impression that it was OK with Python to leave the return statement off. Could someone enlighten me on why ...
    Dec 23, 2003 at 1:18 am
    Dec 24, 2003 at 12:49 am
  • What is it? ----------- Lunatic Python is a two-way bridge between Python and Lua, allowing these languages to intercommunicate. Being two-way means that it allows Lua inside Python, Python inside ...
    Gustavo NiemeyerGustavo Niemeyer
    Dec 13, 2003 at 6:05 am
    Dec 15, 2003 at 1:39 pm
  • Twisted is an event-driven networking framework for server and client applications. For more information, visit http://www.twistedmatrix.com, join the list ...
    Itamar Shtull-TrauringItamar Shtull-Trauring
    Dec 10, 2003 at 6:31 pm
    Dec 12, 2003 at 3:35 pm
  • An attempt to produce a complete, alphabetized reference of all of Python's language features. The purpose is support developers, who need a quick way to look up information about a language feature. ...
    Stephen FergStephen Ferg
    Dec 26, 2003 at 5:11 pm
    Jan 3, 2004 at 11:56 pm
  • Hi, I want to implement a fulltext search for messages in a forum. More exactly for each message I store pairs (wordId, msgId) for each identified word and when I search something I want to be able ...
    Dec 23, 2003 at 12:35 pm
    Dec 30, 2003 at 10:50 pm
  • I am looking at the ELSE home page and trying to figure out if I should invest the time to learn about the ELSE minor mode for Emacs. Is there any programmer out there using ELSE that is getting ...
    Christian SeberinoChristian Seberino
    Dec 10, 2003 at 12:03 am
    Dec 22, 2003 at 5:59 pm
  • It's easy to write a function that wraps a generator and provides a callback. E. g.: import os, sys def walk(path, visit): """ Emulate os.path.walk() (simplified) using os.walk()""" for dir, folders, ...
    Peter OttenPeter Otten
    Dec 3, 2003 at 5:48 pm
    Dec 5, 2003 at 8:15 pm
  • Hi all, What is the standard and recommended way of indendation one should get to use in python programming ? is it a tab or 2 spaces or 4 spaces ? i am confused. kindly enlighten thanks, KM
    Dec 26, 2003 at 3:32 am
    Jan 8, 2004 at 7:14 pm
  • Quite a few algortihms prominently feature choosing/removing a single random element from a set at a time. On first sight I can't think of anything better to achieve this with `sets.Set` than ...
    Alexander SchmolckAlexander Schmolck
    Dec 30, 2003 at 11:13 pm
    Jan 7, 2004 at 4:23 am
  • Further to my last post here, I was playing some more with building a regex object and storing it somewhere for use internally by a function. I'm not happy with any of my solutions: # I don't like ...
    David M. WilsonDavid M. Wilson
    Dec 30, 2003 at 2:55 pm
    Dec 31, 2003 at 4:29 am
  • I work for at a college where I am one of 2 full-time developers and we are looking to program a new software package fro the campus. This is a huge project as it will include everything from ...
    Jason TesserJason Tesser
    Dec 19, 2003 at 2:28 pm
    Dec 26, 2003 at 10:58 pm
  • Dear sirs: I need to create a programming language. Can this be done with the latest version of python? Is python the best computer programming language development tool in the entire universe? If it ...
    Alejandro LombardoAlejandro Lombardo
    Dec 30, 2003 at 5:52 am
    Jan 6, 2004 at 6:27 pm
  • I'm trying to count the number of files within a directory, but I don't really understand how to go about it. This code: for root, dirs, files in os.walk(path): for fname in files: x = ...
    Dec 21, 2003 at 11:45 pm
    Dec 23, 2003 at 1:52 pm
  • I know IPython is another interpreter for Python and was wondering what people liked about it and if I should switch to it. If it is so good then why is it not part of the standard Python tarball? ...
    Christian SeberinoChristian Seberino
    Dec 10, 2003 at 12:19 am
    Dec 11, 2003 at 9:32 am
  • Hi, my Python and Vim friends. Here is the initial release of `allout-vim'! :-) Grab it from: http://fp-etc.progiciels-bpi.ca/archives/allout-vim-031229.tgz The Allout file format is (yet another) ...
    François PinardFrançois Pinard
    Dec 30, 2003 at 2:56 am
    Jan 6, 2004 at 4:34 pm
  • Anyone used Tkinter on 10.3 yet? -- Aahz (aahz at pythoncraft.com) <* http://www.pythoncraft.com/ Weinberg's Second Law: If builders built buildings the way programmers wrote programs, then the first ...
    Dec 22, 2003 at 10:06 pm
    Jan 6, 2004 at 12:29 pm
  • I am trying to write a generator function that yields the index position of each set bit in a mask. e.g. for x in bitIndexGenerator(0x16): #10110 print x -- 1 2 4 This is what I have, but it does not ...
    Dec 19, 2003 at 7:13 pm
    Dec 21, 2003 at 5:04 pm
Group Navigation
period‹ prev | Dec 2003 | next ›
Group Overview
grouppython-list @

836 users for December 2003

Bengt Richter: 101 posts Fredrik Lundh: 81 posts John J. Lee: 78 posts John Roth: 72 posts Peter Hansen: 66 posts Peter Otten: 66 posts Skip Montanaro: 64 posts Terry Reedy: 62 posts Martin v. Löwis: 58 posts Ville Vainio: 58 posts Michael Hudson: 53 posts Aahz: 51 posts Rene Pijlman: 45 posts Francis Avila: 44 posts Jp Calderone: 37 posts Cameron Laird: 33 posts Hokieghal99: 32 posts Robert Brewer: 29 posts Duncan Booth: 28 posts Jeff Epler: 27 posts
show more