Search Discussions

736 discussions - 3,942 posts

  • The pros and cons of making 'print' a function in Python 3.x are well discussed at: http://mail.python.org/pipermail/python-dev/2005-September/056154.html Alas, it appears that the effect of this pep ...
    Edward K ReamEdward K Ream
    Feb 15, 2007 at 9:13 pm
    Mar 4, 2007 at 12:37 pm
  • It is quite easy to call J from Python http://groups.google.com/group/J-Programming/browse_thread/thread/5e84b75667f5f64e
    Feb 5, 2007 at 2:48 pm
    Mar 10, 2013 at 8:30 am
  • Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File ...
    Sergey DorofeevSergey Dorofeev
    Feb 14, 2007 at 8:58 pm
    Feb 22, 2007 at 8:16 am
  • I am VB6 programmer and wants to start new programming language but i am unable to deciced. i have read about Python, Ruby and Visual C++. but i want to go through with GUI based programming language ...
    Feb 16, 2007 at 9:22 pm
    Feb 26, 2007 at 10:56 am
  • @Ben Sizer Hi Ben, in January I received your message re Pygame and Python 2.5: As a Python (and programming ) newbie allow me a - certainly naive - question: What is this time consuming part of ...
    Feb 9, 2007 at 1:48 pm
    Feb 15, 2007 at 12:05 pm
  • How to divide a number by 7 efficiently without using - or / operator. We can use the bit operators. I was thinking about bit shift operator but I don't know the correct answer.
    Krypto WizardKrypto Wizard
    Feb 1, 2007 at 2:42 am
    Feb 7, 2007 at 11:03 am
  • I have a class whose instances should only receive attribute assignments for attributes that were created at inititialization. If slots are not appropriate, what is the Pythonic design for this? ...
    Alan IsaacAlan Isaac
    Feb 26, 2007 at 9:48 pm
    Mar 15, 2007 at 7:11 am
  • I've come across a code snippet in www.rubyclr.com where they show how easy it is to declare a class compared to equivalent code in c#. I wonder if there is any way to emulate this in Python. The ...
    Luis M. GonzálezLuis M. González
    Feb 28, 2007 at 7:26 pm
    Mar 3, 2007 at 12:17 am
  • Hi, I am starting to use rationals and since I found no batteries included, I tried out the mxNumber package. However, I get strange warnings on comparison operations (which however seem to yield ...
    Martin MannsMartin Manns
    Feb 23, 2007 at 3:35 pm
    Apr 27, 2007 at 5:35 pm
  • Hello all I am just starting to play with programing again as a hobby. I have heard good things about python. I have not really looked into the language much. My question is, will python make ...
    Feb 8, 2007 at 10:11 pm
    Feb 26, 2007 at 1:05 am
  • Hi all, Supposing you have two separate processes running on the same box, what approach would you suggest to communicate between those two processes. Let me list the ones I know of: * Sockets ...
    Feb 16, 2007 at 10:11 am
    Feb 18, 2007 at 2:33 pm
  • Hi all, I want to know the precision (number of significant digits) of a float in a platform-independent manner. I have scoured through the docs but I can't find anything about it! At the moment I ...
    Arnaud DelobelleArnaud Delobelle
    Feb 25, 2007 at 10:57 am
    Mar 2, 2007 at 12:09 am
  • Hi... I would like to take a string like 'supercalifragilisticexpialidocius' and write it to a file in binary forms -- this way a user cannot read the string in case they were try to open in ...
    Harlin SerittHarlin Seritt
    Feb 21, 2007 at 11:50 pm
    Feb 24, 2007 at 7:59 am
  • Hello, I did not find any reasonable pyhton source code beautifier program (preferable gui). Some would ask why? Program it immediatly good. (BTW: Would be a nice project, if I would have more spare ...
    Franz SteinhaeuslerFranz Steinhaeusler
    Feb 27, 2007 at 8:45 am
    Mar 9, 2007 at 2:07 am
  • hello all, I am stuck with a strange requirement. I need a library that can help me display a pdf file as a report and also want a way to print the same pdf file in a platform independent way. if ...
    krishnakant Manekrishnakant Mane
    Feb 11, 2007 at 6:45 am
    Feb 14, 2007 at 4:04 am
  • Hello, lst = list((1,2,3)) lst = [1,2,3] t = tupel((1,2,3)) t = (1,2,3) s = set((1,2,3)) s = ... it would be nice feature to have builtin literal for set type maybe in P3 .. what about? s = <1,2,3 ...
    Schüle DanielSchüle Daniel
    Feb 14, 2007 at 4:55 pm
    Feb 21, 2007 at 7:31 pm
  • I realize I'm approaching this backwards from the direction most people go, but does anyone know of a good c/c++ introduction for python programmers? Thanks, Thomas
    Thomas NelsonThomas Nelson
    Feb 12, 2007 at 6:00 pm
    Feb 18, 2007 at 8:33 pm
  • No, I don't want to destroy them (funny how the word 'decimate' has changed definition over the years) :). We have a data acquisition program that saves its output to Excel's .xls format. ...
    Feb 3, 2007 at 7:43 pm
    Feb 6, 2007 at 2:27 pm
  • http://www.smartcharter.com/jobs.html Smart Charter Inc. is a dynamic new startup company aiming to revolutionize the purchase and sale of private aviation services. If you are ready for a ...
    Tech HRTech HR
    Feb 26, 2007 at 4:32 am
    Feb 28, 2007 at 5:59 pm
  • What's the way to go about learning Python's regular expressions? I feel like such an idiot - being so strong in a programming language but knowing nothing about RE. From http Sun Feb 11 00:30:04 ...
    Geoff HillGeoff Hill
    Feb 10, 2007 at 11:26 pm
    Feb 12, 2007 at 6:01 pm
  • Hi Folks, Python is praised about - me too. But at one instance it fails. It fails to behave as a true multi-threaded application. That means utilizing all the CPUs parallely in the SMP efficiently ...
    Feb 7, 2007 at 1:53 am
    Mar 8, 2007 at 11:17 am
  • A lot of application based on python claim that python 2.3 or 2.4 is needed not 2.5, ie. mysqldb. I've been using python for months. I don't care about 2.4 or 2.5. But I like the default icons of ...
    Eric CHAOEric CHAO
    Feb 4, 2007 at 11:10 am
    Feb 22, 2007 at 5:58 pm
  • Hi everyone. If I have a list of tuples, and each tuple is in the form: (year, text) as in ('1995', 'This is a citation.') How can I sort the list so that they are in chronological order based on the ...
    John SalernoJohn Salerno
    Feb 1, 2007 at 7:35 pm
    Feb 2, 2007 at 4:29 pm
  • While creating a log parser for fairly large logs, we have run into an issue where the time to process was relatively unacceptable (upwards of 5 minutes for 1-2 million lines of logs). In contrast, ...
    Feb 20, 2007 at 9:29 pm
    Feb 24, 2007 at 1:26 am
  • Hello! Many times I was suggested to use xrange and range instead of the while constructs, and indeed, they are quite more elegant - but, after calculating the overhead (and losen flexibility) when ...
    Feb 16, 2007 at 3:30 pm
    Feb 18, 2007 at 1:59 pm
  • This is a recurrent problem I encounter when I try to sell python solutions to my customers. I'm aware that this problem is sometimes overlooked, but here is the market's law. I've heard of a bunch ...
    Maric MichaudMaric Michaud
    Feb 14, 2007 at 4:07 am
    Feb 20, 2007 at 7:47 pm
  • Hi, I am currently using the Cmd module for a mixed cli+gui application. I am starting to refactor my code and it would be highly desirable if many commands could be built as simple plugins. My idea ...
    Feb 12, 2007 at 3:48 pm
    Feb 15, 2007 at 5:09 pm
  • Yes, All I need is a good IDE, I can't find something like Eclipse (JDT). Eclipse has a Python IDE plug-in but it's not that great. Please recommend. Thanks, Srikanth
    Feb 8, 2007 at 12:03 pm
    Feb 11, 2007 at 4:26 am
  • Hi to all, in statically-types languages, let's say C# for example, we use polymorphism through interfaces. So we define an interface I with method M and then a class C that implements I interface ...
    King kikapuKing kikapu
    Feb 7, 2007 at 4:17 pm
    Feb 9, 2007 at 1:11 pm
  • Hi guys, I'm having a hard time installing java2python ( http://code.google.com/p/java2python/ ) on my Windows XP 32-bit machine. I double click setup.py but nothing happens. Is there any specific ...
    Feb 28, 2007 at 4:04 am
    Mar 2, 2007 at 12:20 am
  • Hi all, I have a python script that works without any problem on Windows but with error: QPaintDevice: Must construct a QApplication before a QPaintDevice on Linux. Where could be the problem? ...
    Boris SmirnovBoris Smirnov
    Feb 27, 2007 at 10:29 am
    Feb 28, 2007 at 9:58 am
  • Basically I'm programming a board game and I have to use a list of lists to represent the board (a list of 8 lists with 8 elements each). I have to search the adjacent cells for existing pieces and I ...
    Feb 12, 2007 at 12:27 am
    Feb 14, 2007 at 11:08 am
  • For some reason Python 2.2.4 cannot find the Numeric module. It's been suggested that I should re-install the Numeric file. How do that? Also the PIL. The three install files are: python-2.4.4.msi ...
    W. WatsonW. Watson
    Feb 7, 2007 at 10:51 pm
    Feb 9, 2007 at 12:32 am
  • I have installed "TurboGears" and I would install 'pysqlite' also. I am a user on a Linux machine. If I try to install the 'pysqlite' with 'easy_install' tool I get the next error message. The error ...
    Nader EmamiNader Emami
    Feb 27, 2007 at 9:31 am
    Mar 1, 2007 at 2:16 pm
  • Hi, How does one get the name of a class from within the class code? I tried something like this as a guess: self.__name__ Obviously it didn't work. Anyone know how to do that? Thanks, Harlin
    Harlin SerittHarlin Seritt
    Feb 17, 2007 at 8:29 pm
    Feb 20, 2007 at 1:05 am
  • Hello, I searched on Google and in this Google Group, but did not find any solution to my problem. I'm looking for a way to output stdout/stderr (from a subprocess or spawn) to screen and to at least ...
    Nathan ShairNathan Shair
    Feb 14, 2007 at 10:28 pm
    Feb 17, 2007 at 12:52 am
  • I'm trying to write rot13, but to do it in a better and more Pythonic style than I'm currrently using. What would you reckon to the following pretty ugly thing? How would you improve it? In ...
    Andy DingleyAndy Dingley
    Feb 14, 2007 at 3:09 pm
    Feb 16, 2007 at 6:31 pm
  • Interesting. Could you give a few illustrations of this? (I didn't run into the same problem at all, so I'm curious.) Steve
    Steven BethardSteven Bethard
    Feb 6, 2007 at 3:40 pm
    Feb 12, 2007 at 10:07 pm
  • Nice idea. I had to apply this change to make it work, though: diff -u c:\python25\lib\site-packages\partial-1.0-py2.5.egg\partial.py.orig ...
    Thomas HellerThomas Heller
    Feb 7, 2007 at 1:51 pm
    Feb 8, 2007 at 8:12 pm
  • Hi everyone Here is my problem: I have a list that looks like this - [['a', '13'], ['a', '3'], ['b', '6'], ['c', '12'], ['c', '15'], ['c', '4'], ['d', '2'], ['e', '11'], ['e', '5'], ['e', '16'], ...
    Feb 2, 2007 at 1:55 pm
    Feb 3, 2007 at 4:23 am
  • Hi, I am trying to communicate with a subprocess via the subprocess module. Consider the following example: <subprocess.Popen object at 0x729f0 Here hey is immediately print to stdout of my ...
    Bayer JustinBayer Justin
    Feb 28, 2007 at 9:27 pm
    Mar 6, 2007 at 5:20 pm
  • I have a function, generally described as so: def function(args): if condition: if condition2: function(args+1) elif condition3: print "text" return True else: return False which is used in: if ...
    Feb 14, 2007 at 5:15 am
    Feb 23, 2007 at 2:04 am
  • Hi, Nowadays the addition of functionality to programs by means of plugins is very frequent. I want to know the opinions of experienced Python developers about the best practices when it comes to ...
    Feb 22, 2007 at 12:53 pm
    Feb 22, 2007 at 6:50 pm
  • Hi, I have a program which literately finds the object that overlapping a point. The horizontal and vertical search are called recursively from inside each other. Is this way of implementation fill ...
    Jm SureshJm Suresh
    Feb 14, 2007 at 6:09 am
    Feb 15, 2007 at 8:44 pm
  • I am trying to overload the __invert__ operator (~) such that it can take a second argument, other than self, so that I can express: x ~ y by using: def __invert__(self, other): <do something for ...
    Feb 1, 2007 at 6:53 pm
    Feb 9, 2007 at 7:39 am
  • Hello, I'm a newbie to Python & wondering someone can help me with this... I have this code: -------------------------- #! /usr/bin/python import sys month ...
    Feb 7, 2007 at 7:31 pm
    Feb 9, 2007 at 1:22 am
  • Hello, I am trying to write a python cgi that calls a script over ssh, the problem is the script takes a very long time to execute so Apache makes the CGI time out and I never see any output. The ...
    Feb 6, 2007 at 1:26 pm
    Feb 8, 2007 at 12:59 am
  • I'm a bit embarrassed to have to ask for help on this, but I'm not finding the solution in the docs I have here. Data are assembled for writing to a database table. A representative tuple looks like ...
    Feb 28, 2007 at 8:40 pm
    Mar 1, 2007 at 9:17 pm
  • HI, I am new to Python and wanted to know how to check for the remaining disk space on my Windows machine using Python? I was thinking of using the command line "dir" and trying to extract the output ...
    Feb 28, 2007 at 8:26 pm
    Mar 1, 2007 at 2:55 pm
  • hi, i have a file which has the contents as follows: a,b,c,d, a1,b1,c1,d1, a2,b2,c2,d2, i would like to delete all the trailing commas,, if someoneknows pls help me,, kavitha ...
    Kavitha thankaianKavitha thankaian
    Feb 26, 2007 at 10:38 am
    Mar 1, 2007 at 11:20 am
Group Navigation
period‹ prev | Feb 2007 | next ›
Group Overview
grouppython-list @

883 users for February 2007

Gabriel Genellina: 164 posts Bruno Desthuilliers: 84 posts Diez B. Roggisch: 76 posts John Machin: 73 posts James Stroud: 60 posts Peter Otten: 55 posts Steve Holden: 55 posts Skip: 51 posts Ben Finney: 49 posts Neil Cerutti: 46 posts Paul Boddie: 38 posts Steven D'Aprano: 38 posts BearophileHUGS: 37 posts John Nagle: 37 posts Grant Edwards: 36 posts Steven D'Aprano: 36 posts Jean-Paul Calderone: 31 posts Bjoern Schliessmann: 30 posts Chris Mellon: 29 posts Hendrik van Rooyen: 29 posts
show more