Search Discussions

767 discussions - 4,531 posts

  • As someone who learned C first, when I came to Python everytime I read about a new feature it was like, "Whoa! I can do that?!" Slicing, dir(), getattr/setattr, the % operator, all of this was very ...
    Joseph GarvinJoseph Garvin
    Jun 24, 2005 at 6:55 am
    Jul 7, 2005 at 7:36 pm
  • I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very ...
    Philippe C. MartinPhilippe C. Martin
    Jun 11, 2005 at 7:28 pm
    Jun 28, 2005 at 3:55 pm
  • Americans consider having a "British accent" a sign of sophistication and high intelligence. Many companies hire salespersons from Britain to represent their products,etc. Question: When the British ...
    Jun 28, 2005 at 6:27 pm
    Oct 16, 2005 at 12:22 am
  • Hello, at the moment python-dev is discussing including Jason Orendorff's path module into the standard library. Do you have any other good and valued Python modules that you would think are ...
    Reinhold BirkenfeldReinhold Birkenfeld
    Jun 27, 2005 at 4:16 pm
    Jul 8, 2005 at 4:20 pm
  • Can anybody please give me a decent justification for this: class A(object): def __init__(self, a): self.a = a def __eq__(self, other): return self.a == other.a s = A(3) t = A(3) True True I just ...
    Jordan RastrickJordan Rastrick
    Jun 8, 2005 at 5:02 pm
    Jun 24, 2005 at 4:19 am
  • A small software team (developers, leads and even the manager when he's had time) has been using (wx)Python/PostgreSQL for over 2 years and developed a successful 1.0 release of a client/server ...
    Jun 10, 2005 at 2:07 am
    Jun 17, 2005 at 4:08 pm
  • Hello programmers, I stumbled onto the python language by chance and it looks like a great language. Although from what I've read so far (which isn't much) I've guessed that python is purely an ...
    Jun 18, 2005 at 12:41 am
    Jun 22, 2005 at 3:26 am
  • Guido gave a good, long interview, available at IT Conversations, as was recently announced by Dr. Dobb's Python-URL! The audio clips are available here: ...
    Dave BenjaminDave Benjamin
    Jun 26, 2005 at 12:07 am
    Jul 12, 2005 at 11:18 pm
  • Please forgive me if this is TOO newbie-ish. I am toying with the idea of teaching my ten year old a little about programming. I started my search with something like "best FREE programming language ...
    Jun 28, 2005 at 3:16 am
    Jul 2, 2005 at 4:13 pm
  • I'm a manager where I work(one of the cogs in a food service company). The boss needed one of us to become the "tech guy", and part of that is writing small windows programs for the office. He wants ...
    Jun 27, 2005 at 6:51 pm
    Jul 2, 2005 at 1:49 pm
  • Hi, I am looking for a stand-alone (not client/server) database solution for Python. 1) speed is not an issue 2) I wish to store less than 5000 records 3) each record should not be larger than 16K As ...
    Philippe C. MartinPhilippe C. Martin
    Jun 20, 2005 at 3:18 pm
    Jul 2, 2005 at 1:26 pm
  • I'm coming to Python from other programming languages. I like to hide all attributes of a class and to only provide access to them via methods. Some of these languages allows me to write something ...
    Kalle AnkeKalle Anke
    Jun 12, 2005 at 9:54 am
    Jun 21, 2005 at 9:23 am
  • Hi, I'd like to write a windows app that accesses a locally stored database. There are a number of tables, the largest of which has 455,905 records. Can anyone recommend a database that runs on ...
    Will McGuganWill McGugan
    Jun 22, 2005 at 2:14 pm
    Jun 30, 2005 at 8:57 am
  • Hi, I need to pass a bunch of parameters conditionally. In C/C++, I can do func(cond1?a:b,cond2?c:d,.....) In Python, I am using temporary variables like if cond1: para1 = a else: para1 = b # .... # ...
    Bo PengBo Peng
    Jun 19, 2005 at 12:36 am
    Jun 30, 2005 at 6:19 pm
  • There seems to be a fair amount of discussion concerning flow control enhancements lately. with, do and dowhile, case, etc... So here's my flow control suggestion. ;-) It occurred to me (a few weeks ...
    Ron AdamRon Adam
    Jun 14, 2005 at 12:00 am
    Jun 17, 2005 at 3:47 am
  • Hi all, I skimmed through the docs for Python, and I did not find anything like a case or switch statement. I assume there is one and that I just missed it. Can someone please point me to the ...
    Joe StevensonJoe Stevenson
    Jun 11, 2005 at 4:15 pm
    Jun 23, 2005 at 12:42 pm
  • I finally figured out why one of my apps sometimes fails under Win32 when it always works fine under Linux: Under Win32, the pickle module only works with a subset of floating point values. In ...
    Grant EdwardsGrant Edwards
    Jun 21, 2005 at 11:08 pm
    Jul 5, 2005 at 1:59 pm
  • http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&itemR06943952
    Jun 9, 2005 at 12:00 pm
    Jun 12, 2005 at 6:54 pm
  • Hi there, inspired by a recent thread where the end of reduce/map/lambda in Python was discussed, I looked over some of my maps, and tried to convert them to list-comprehensions. This one I am not ...
    Jun 29, 2005 at 9:46 am
    Jul 2, 2005 at 2:15 pm
  • I have a .DLL that I am extracting the file version from using wmi.py. The specific code is: c = wmi.WMI() for f in c.CIM_DataFile(Name="c:\\glossersdmsservices\\bin\\glosscmanager.dll"): sdmsver = ...
    Greg MillerGreg Miller
    Jun 27, 2005 at 12:08 pm
    Jun 30, 2005 at 3:48 pm
  • How easy or difficult would it be for a computer forensics expert to recover data that is overwritten in this manner? This is a bit off-topic for comp.lang.python, but I thought some here would have ...
    Jun 6, 2005 at 12:38 am
    Jun 10, 2005 at 6:26 pm
  • I want to get the name of the function from within the function. Something like: def myFunc(): print __myname__ 'myFunc' Really what I want to do is to easily strip off the prefix of a function name ...
    Christopher J. BottaroChristopher J. Bottaro
    Jun 3, 2005 at 9:17 pm
    Jun 6, 2005 at 6:50 pm
  • After many rounds of discussion on python-dev, I'm inviting public comments for PEP 343. Rather than posting the entire PEP text here, I'm inviting everyone to read it on line ...
    Guido van RossumGuido van Rossum
    Jun 3, 2005 at 3:09 am
    Jun 5, 2005 at 11:30 pm
  • This is a pretty basic, mostly un-python-related question, although I'm asking because of Python. Is there a different shell I can use (other than cmd.com) to run Python in, where I can full-screen ...
    Brett HoernerBrett Hoerner
    Jun 28, 2005 at 2:44 am
    Jul 4, 2005 at 7:56 am
  • Hi, I've developed in several other languages and have recently found Python and I'm trying to use it in the shape of the PythonCard application development tool. My two questions: 1. What is the ...
    Jun 2, 2005 at 1:45 pm
    Jun 3, 2005 at 5:30 am
  • I posted a article earlier pertaining programming for my boss. Now I am gonna ask a question about programming for myself. I just finished my first C++ Class. Next semester is a class on ...
    Jun 30, 2005 at 8:53 pm
    Jul 3, 2005 at 10:11 pm
  • in coding Python yesterday, i was quite stung by the fact that lists appened to another list goes by as some so-called "reference". e.g. t=range(5) n=range(3) n[0]='m' t.append(n) n[0]='h' ...
    Xah LeeXah Lee
    Jun 19, 2005 at 10:34 pm
    Jun 22, 2005 at 5:54 am
  • Hi, I tried python, and do like it. Easy to learn and read (at least for the commonly used part), has a very large community so great doc and contributions, and... the design is clean. I come from ...
    David BaeldeDavid Baelde
    Jun 9, 2005 at 1:32 am
    Jun 11, 2005 at 5:25 pm
  • Here's the scenario: You have many hundred gigabytes of data... possible even a terabyte or two. Within this data, you have private, sensitive information (US social security numbers) about your ...
    Jun 13, 2005 at 6:05 pm
    Jun 17, 2005 at 9:49 pm
  • As a hobby project, I'm writing a MUD client -- this scratches an itch, and is also a good excuse to become familiar with the Python language. I have a conceptual handle on most of the ...
    Christopher SubichChristopher Subich
    Jun 8, 2005 at 6:15 pm
    Jun 10, 2005 at 10:31 pm
  • Hi. Well is there an open source computer algebra system written in python or at least having a python interface? I know of 2 efforts: pythonica and pyginac...are there any others? rahul
    Jun 7, 2005 at 10:40 pm
    Feb 23, 2006 at 3:06 pm
  • I know there must be a better way to phrase this so google understands, but I don't know how.. So I'll ask people. Assume I have a list object called 'alist'. Is there an easy way to create a ...
    David BearDavid Bear
    Jun 24, 2005 at 10:11 pm
    Jun 27, 2005 at 11:46 pm
  • In short: Is there any way to run Python WITHOUT trying to create .pyc files (or .pyo) or to have Python not attempt to import the .pyc files it finds? Reason: We have a site-specific package ...
    Lonnie PrincehouseLonnie Princehouse
    Jun 9, 2005 at 5:14 pm
    Jun 26, 2005 at 7:18 pm
  • Hi I am looking for a simple tiff Image reader/writer in python.Can anyone point me to the right one.
    Jun 13, 2005 at 2:55 pm
    Jun 16, 2005 at 4:41 pm
  • GLOSSY: The Summer Programmer Of The Month Contest is underway! Deadline is September 30, 2005 http://dinsights.com/POTM ...
    Jun 29, 2005 at 2:29 pm
    Jul 6, 2005 at 4:13 pm
  • I'm a complete beginner in Python, but I've been fooling around with Java for a couple years, so I have decent programming experience... Anyway, I was sitting around playing with Python, when I ...
    Jun 30, 2005 at 9:38 pm
    Jul 4, 2005 at 8:27 am
  • Hello, To create a classic (old style) class, I write : class foo: pass To do the equivalent as a new style class, I write : class foo(object): pass *Should* I in fact write : class foo(object): def ...
    Jun 29, 2005 at 6:55 pm
    Jul 3, 2005 at 6:53 pm
  • Is there any reflective facility in python that I can use to define a variable with a name stored in another variable ? like I have : x = "myVarName" what can I do to declare a new variable with the ...
    Ali RazaviAli Razavi
    Jun 13, 2005 at 4:18 pm
    Jun 16, 2005 at 3:08 pm
  • Hi all, I need a way to get the path where MS Word/Office has been installed. I need to start Word from a script (see earlier post), but it doesn't work if I don't know its path. So ...
    Guy LateurGuy Lateur
    Jun 14, 2005 at 9:43 am
    Jun 16, 2005 at 2:38 pm
  • Hey i'm new here and relatively new to python. I've made a few small programs and now I'm making a program for my friends that at the end has a feedback form. I want to send the feedback back to my ...
    Ivan ShevanskiIvan Shevanski
    Jun 6, 2005 at 9:59 pm
    Jun 16, 2005 at 9:40 am
  • hi all, can any linux command be invoked/ executed without using shell (bash) ? what abt security concerns ? regards, KM
    Jun 12, 2005 at 5:46 pm
    Jun 12, 2005 at 5:46 pm
  • Is there a nice Python idiom for constructors which would expedite the following? class Foo: def __init__(self, a,b,c,d,...): self.a = a self.b = b self.c = c self.d = d ... I would like to keep the ...
    Jun 1, 2005 at 5:50 pm
    Jun 6, 2005 at 6:38 pm
  • Hoping this isn't seeming too confusing, but I need to create a metaclass and a class using that metaclass, such that one of the bases of the metaclass is the class created with that metaclass. I ...
    Jun 1, 2005 at 4:36 pm
    Jun 3, 2005 at 10:00 am
  • Hello, Very new to python, so a noob question. When I've written stuff in JavaScript or MEL in the past, I've always adopted the variable naming convention of using a $ as the first character (no, I ...
    Matt HollingsworthMatt Hollingsworth
    Jun 26, 2005 at 5:06 am
    Jul 4, 2005 at 3:56 pm
  • Sorry, but I Just Don't Get It. I did search the 'net, I did read the FAQ, but I'm too dumb to understand. As far as I can gather, __str__ is just a representation of the object. For instance: class ...
    Jan DanielssonJan Danielsson
    Jun 15, 2005 at 12:46 pm
    Jun 21, 2005 at 1:44 pm
  • Why hello there ha ha. I have got in the habit of testing the types of variables with isinstance and the builtin type names instead of using the types module, as was the style back around Python 2.1. ...
    John ReeseJohn Reese
    Jun 17, 2005 at 8:33 pm
    Jun 20, 2005 at 8:26 am
  • Hello, I use windows notepad editor to write text. For example I write (in d:\myfile.txt): Helo World If I open it with python: FName = open(d:\myfile.txt,'r') h = FName.readlines() print h I get h : ...
    Jun 8, 2005 at 1:24 pm
    Jun 14, 2005 at 5:57 am
  • Hi, I'm trying to figure out what is the most pythonic way to interact with a generator. The task I'm trying to accomplish is writing a PDF tokenizer, and I want to implement it as a Python ...
    Thomas LotzeThomas Lotze
    Jun 11, 2005 at 2:10 pm
    Jun 14, 2005 at 3:20 am
  • Is there a way to mimic the behaviour of C/C++'s preprocessor for macros? The problem: a lot of code like this: def foo(): # .... do some stuff if debug: emit_dbg_obj(DbgObjFoo(a,b,c)) # .... do more ...
    Jun 1, 2005 at 10:37 pm
    Jun 5, 2005 at 2:46 pm
  • OO approach to decision sequence? --------------------------------- In a recent thread (Cause for using objects?), Chris Smith replied with (in part): This struck a chord because I'm trying to ...
    Jun 18, 2005 at 6:17 am
    Jun 27, 2005 at 3:34 am
Group Navigation
period‹ prev | Jun 2005 | next ›
Group Overview
grouppython-list @

950 users for June 2005

Peter Hansen: 130 posts Robert Kern: 73 posts John Machin: 70 posts Philippe C. Martin: 66 posts Steven D'Aprano: 66 posts Grant Edwards: 60 posts Terry Hancock: 59 posts Terry Reedy: 57 posts Kent Johnson: 52 posts Steven Bethard: 50 posts Mike Meyer: 49 posts George Sakkis: 48 posts Andrew Dalke: 47 posts Tim Golden: 44 posts Roy Smith: 41 posts John Roth: 40 posts Konstantin Veretennicov: 40 posts Magnus Lycka: 39 posts Diez B. Roggisch: 38 posts Fredrik Lundh: 37 posts
show more