Search Discussions

856 discussions - 4,992 posts

  • PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or ...
    Martin v. LöwisMartin v. Löwis
    May 13, 2007 at 3:44 pm
    May 20, 2007 at 11:34 pm
  • Can someone please explain to me the difference between the "is" keyword and the == boolean operator. I can't figure it out on my own and I can't find any documentation on it. I can't understand why ...
    May 30, 2007 at 5:49 am
    Jun 6, 2007 at 7:30 am
  • I'm starting a new thread for this topic, so as not to hijack the one started by Steve Howell's excellent post titled "ten small Python programs". In that thread, there was a suggestion that these ...
    Paul McGuirePaul McGuire
    May 27, 2007 at 3:36 am
    Jun 1, 2007 at 12:05 pm
  • This may seem very strange, but it is true. If I delete a .pyc file, my program executes with a different state! In a single directory I have module1 and module2. module1 imports random and MyClass ...
    Alan IsaacAlan Isaac
    May 5, 2007 at 3:48 am
    May 11, 2007 at 1:32 pm
  • Hi All, I am currently trying to decide between using python or java and have a few quick questions about python that you may be able to help with. #1 Does python have something like javas .jar ...
    Anthony IrwinAnthony Irwin
    May 15, 2007 at 5:30 am
    Jul 20, 2007 at 8:07 pm
  • Hello all, First let me appologise if this has been answered but I could not find an acurate answer to this interesting problem. If the following is true: C:\Python25\rg.py python Python 2.5.1 ...
    May 11, 2007 at 7:28 pm
    May 18, 2007 at 6:14 am
  • Bejeezus. The description of groupby in the docs is a poster child for why the docs need user comments. Can someone explain to me in what sense the name 'uniquekeys' is used this example: import ...
    May 27, 2007 at 5:17 pm
    Jun 5, 2007 at 7:00 pm
  • I've always thought that the best way to introduce new programmers to Python is to show them small code examples. When you go to the tutorial, though, you have to wade through quite a bit of English ...
    Steve HowellSteve Howell
    May 26, 2007 at 6:43 pm
    May 29, 2007 at 9:30 am
  • Hello list, our team is going to rewrite our existing web-site, which has a lot of dynamic content and was quickly prototyped some time ago. Today, as we get better idea of what we need, we're going ...
    Victor KryukovVictor Kryukov
    May 16, 2007 at 9:04 pm
    May 25, 2007 at 1:40 am
  • 100% EVIDENCE - SEE THE TRUTH FINALLY - ON THE GROUND VIDEO WITNESSES http://www.youtube.com/watch?v=YNN6apj5B2U In order to appreciate just what Truthers are talking about when they cry Treason over ...
    May 3, 2007 at 3:05 am
    May 9, 2007 at 4:09 pm
  • How to check if a string is empty in python? if(s == "") ??
    May 2, 2007 at 8:35 pm
    May 5, 2007 at 6:34 am
  • Just wondering on what peoples opinions are of the GUIs avaiable for Python? All I am doing is prompting users for some data (listbox, radio buttons, text box, ect...). Then I will have some text ...
    May 21, 2007 at 3:39 pm
    May 27, 2007 at 2:23 am
  • Why are functions atomic? (I.e. they are not copied.) For example, I would like to make a copy of a function so I can change the default values: (2, 2) I would like the following behaviour: (1,2) I ...
    May 1, 2007 at 11:06 am
    May 8, 2007 at 12:35 am
  • The Concepts and Confusions of Prefix, Infix, Postfix and Fully Functional Notations Xah Lee, 2006-03-15 [This articles explains away the confusion of common terms for notation systems used in ...
    Xah LeeXah Lee
    May 23, 2007 at 4:15 pm
    Jun 16, 2007 at 5:57 pm
  • On Monday Microsoft announced a new runtime for dynamic languages, which they call "DLR". It sits on top of the conventional .NET runtime (CLR) and provides services for dynamically typed languages ...
    May 2, 2007 at 6:22 pm
    May 5, 2007 at 1:15 am
  • hello, I'm trying to build a simple functional simulator for JAL (a Pascal-like language for PICs). My first action is to translate the JAL code into Python code. The reason for this approach is that ...
    Stef MientkiStef Mientki
    May 22, 2007 at 11:44 pm
    May 25, 2007 at 8:19 am
  • Hi all, I have been looking at the various programming languages available. I have programed in Basic since I was a teenager and I also have a basic understanding of C, but I want something better. ...
    May 18, 2007 at 7:04 pm
    May 21, 2007 at 3:22 pm
  • Some faster Python implementations are under development. JPython has been around for a while, and PyPy and ShedSkin continue to move forward. It's worth thinking about what slows down Python ...
    John NagleJohn Nagle
    May 8, 2007 at 3:53 pm
    May 13, 2007 at 9:56 pm
  • Right now I'm using Notepad++. What are other people using? trevis
    T. CraneT. Crane
    May 9, 2007 at 6:06 pm
    May 12, 2007 at 6:20 pm
  • I want a list of all ordered permutations of a given length of a set of tokens. Each token is a single character, and for convenience, they are passed as a string in ascending ASCII order. For ...
    Michael TobisMichael Tobis
    May 8, 2007 at 3:45 am
    May 10, 2007 at 2:57 am
  • 100% EVIDENCE - SEE THE TRUTH FINALLY - ON THE GROUND VIDEO WITNESSES http://www.youtube.com/watch?v=YNN6apj5B2U In order to appreciate just what Truthers are talking about when they cry Treason over ...
    May 3, 2007 at 3:10 am
    May 7, 2007 at 4:23 am
  • I just upgraded from Python 2.4.2 to Python 2.5.1 and have found some unexpected behavior that appears to be a bug in the os.stat module. My OS is Windows XP SP2 + all updates. I have several ...
    Joe SalmeriJoe Salmeri
    May 31, 2007 at 9:16 pm
    Jun 5, 2007 at 3:13 pm
  • To make it short: Is there something like this already? There seem to loads of python frameworks for Web-Apps, but I have a hard time finding one for desktop-apps. I imagine it wouldn't be too hard ...
    Wildemar WildenburgerWildemar Wildenburger
    May 17, 2007 at 6:09 pm
    May 24, 2007 at 1:53 pm
  • I learned to program with Pascal, way back when. Went into software development for a while, then went into systems admin. Have programmed in several languages, just learning Python. Some things I ...
    May 10, 2007 at 3:58 pm
    May 12, 2007 at 11:12 pm
  • I've been studying python for 2 weeks now and got stucked in the following problem: for j in range(10): print j if(True): j=j+2 print 'interno',j What happens is that "j=j+2" inside IF does not ...
    Cesar G. MiguelCesar G. Miguel
    May 12, 2007 at 4:18 pm
    May 14, 2007 at 1:25 pm
  • Hello, I'm importing large text files of data using csv. I would like to add some more auto sensing abilities. I'm considing sampling the data file and doing some fuzzy logic scoring on the ...
    May 18, 2007 at 11:07 pm
    May 21, 2007 at 10:57 pm
  • This is a slightly naive question, but I know that 0 can be used to represent False. So True But, I know I can use [] to represent False as in ... empty But then doing the following gives a ...
    May 24, 2007 at 4:53 am
    May 29, 2007 at 11:04 pm
  • Hi all, I'm trying to run the following query: amember_db = MySQLdb.connect(host="localhost", user="**********", passwd="*****", db="*******") # create a cursor self.amember_cursor = ...
    May 25, 2007 at 2:39 pm
    Jun 25, 2007 at 7:13 pm
  • The table below shows the execution time for this code snippet as measured by the unix command `time': for i in range(1000): time.sleep(inter) inter execution time ideal 0 0.02 s 0 s 1e-4 4.29 s 0.1 ...
    May 4, 2007 at 10:22 am
    Jun 2, 2007 at 6:13 am
  • I'm having an issue I need help with. I want to resize the listview control in a listbook but have been unsuccessfull through setting the columnWidth of the 0'th column and trying to retrieve the ...
    May 22, 2007 at 6:49 pm
    May 24, 2007 at 5:41 am
  • Hi all. i'm faced to trouble using minidom: #i have a string (xml) within CDATA section, and the section includes "\r\n": iInStr = '<?xml version="1.0"? \n<Data <![CDATA[BEGIN:VCALENDAR\r ...
    May 22, 2007 at 1:45 pm
    May 25, 2007 at 4:03 pm
  • I'm looking for any existing packages or ideas on how to implement the equivalent of a generator (in the Python sense, i.e. http://www.python.org/dev/peps/pep-0255/) in a parallel/distributed way. As ...
    George SakkisGeorge Sakkis
    May 23, 2007 at 6:00 pm
    May 24, 2007 at 3:23 am
  • This is an attempt to synthesize Bill and Carsten's proposals. (I'm changing the subject line to better match the topic.) http://docs.python.org/lib/typesmapping.html: for footnote (3) Keys and ...
    Alan IsaacAlan Isaac
    May 12, 2007 at 12:59 am
    May 20, 2007 at 11:51 pm
  • Greets, I've some troubles getting my memory freed by python, how can I force it to release the memory ? I've tried del and gc.collect() with no success. Here is a code sample, parsing an XML file ...
    Frederic PicaFrederic Pica
    May 31, 2007 at 11:40 am
    Jun 4, 2007 at 7:55 am
  • I've got an instance of a class, ex : b=gtk.Button() I'd like to add methods and attributes to my instance "b". I know it's possible by hacking "b" with setattr() methods. But i'd like to do it with ...
    May 12, 2007 at 1:34 pm
    Jun 10, 2007 at 11:32 pm
  • Dear all, I would like to read a really huge file that looks like this: line_11 line_12 line_13 ... line_21 line_22 ... etc where line_ij is just a free form text on that line. how can i read file so ...
    Lee SanderLee Sander
    May 31, 2007 at 12:26 pm
    Jun 2, 2007 at 4:12 pm
  • I tried this on Windows only: In Python 2.4 os.path.getmtime returned the local time, in Python 2.5 it seems to return GMT: import os, time print ctime.time(os.path.getmtime(foo)) differs on Python ...
    Josef DalcolmoJosef Dalcolmo
    May 7, 2007 at 5:26 pm
    Jun 1, 2007 at 5:21 pm
  • I need to process large amount of data. The data structure fits well in a dictionary but the amount is large - close to or more than the size of physical memory. I wonder what will happen if I try to ...
    May 25, 2007 at 5:50 pm
    May 27, 2007 at 4:13 pm
  • Does anyone know why we get so much spam to this group? It's starting to get embarrasing to read at work and that's just not how it should be. Cheers! /Joel
    Joel HedlundJoel Hedlund
    May 22, 2007 at 6:50 am
    May 26, 2007 at 6:31 am
  • Howdy, I would like to create a Point class that lets me use Point instances like the following example. 3 4 1 3 4 5 other than the x, y, z attributes, these instances should behave like regular ...
    May 23, 2007 at 4:58 pm
    May 24, 2007 at 9:05 am
  • Hello all, I'm trying to simulate simple electric logic (asynchronous) circuits. By "simple" I mean that I only want to know if I have "current" or "no current" (it's quite digital) and the only ...
    Bjoern SchliessmannBjoern Schliessmann
    May 7, 2007 at 6:05 pm
    May 15, 2007 at 8:03 pm
  • I edited environment varialbes and have added C:\Python25\Lib to PYTHONPATH but get the no module message when the statement import urllib is executed. Even tried copying the urllib file to my ...
    HMS SurpriseHMS Surprise
    May 7, 2007 at 10:06 pm
    May 8, 2007 at 6:19 pm
  • Hi, I'm totally new to Python and was hoping someone might be able to answer a few questions for me: 1. What are your views about Python vs Perl? Do you see one as better than the other? 2. Is there ...
    May 21, 2007 at 3:52 am
    May 24, 2007 at 1:48 pm
  • Is this list not moderated? I'm really not interested in Britney Spears boobs. All the spam on this list is from the same place, it should be very easy to filter. Dotan Cohen http://lyricslist.com/ ...
    Dotan CohenDotan Cohen
    May 18, 2007 at 5:18 am
    May 21, 2007 at 10:53 pm
  • To quote from zipfile.py (2.4 library): # Search the last END_BLOCK bytes of the file for the record signature. # The comment is appended to the ZIP file and has a 16 bit length. # So the comment may ...
    Martin ManeyMartin Maney
    May 16, 2007 at 3:18 pm
    May 21, 2007 at 10:23 pm
  • 255 Converting base 10 number to hex or octal is easy: '0144' '0x64' Is there an *easy* way to convert a number to binary?
    May 17, 2007 at 11:33 pm
    May 20, 2007 at 1:07 am
  • Hello, Thanks for your time. We have very big files with python commands (more or less, 500000 commands each file). It is possible to execute them command by command, like if the commands was typed ...
    May 16, 2007 at 1:06 pm
    May 19, 2007 at 2:36 pm
  • Hi all! I have text file (english-croatian dictionary) with words in it in alphabetical order. This file contains 179999 words in this format: english word: croatian word I want to make instant ...
    May 10, 2007 at 5:26 pm
    May 17, 2007 at 3:50 pm
  • Hello, the simplest way to launch the user's standard mail client from a Python program is by creating a mailto: URL and launching the webbrowser: def ...
    Luc SaffreLuc Saffre
    May 4, 2007 at 8:07 am
    May 8, 2007 at 5:15 am
  • [[1, 2], [3, 4], [5, 6], [7, 8], [9, 10]] -- Posted via a free Usenet account from http://www.teranews.com
    May 2, 2007 at 10:03 pm
    May 3, 2007 at 6:44 pm
Group Navigation
period‹ prev | May 2007 | next ›
Group Overview
grouppython-list @

1,011 user for May 2007

Gabriel Genellina: 174 posts Steve Holden: 88 posts John Machin: 79 posts HMS Surprise: 73 posts Alex Martelli: 69 posts 7stud: 68 posts Marc 'BlackJack' Rintsch: 67 posts Carsten Haese: 66 posts Kyosohma: 63 posts Martin v. Löwis: 61 posts Stefan Behnel: 61 posts Peter Otten: 56 posts Grant Edwards: 54 posts Steve Howell: 54 posts James Stroud: 53 posts René Fleschenberg: 47 posts Half Italian: 45 posts Diez B. Roggisch: 44 posts John Nagle: 44 posts Terry Reedy: 44 posts
show more