Search Discussions
-
130
code review
Hello all: I was curious if someone wouldn't mind poking at some code. I have an idea for a game I want to write (and if this works I want to use this as a framework for another project), but I'd ...Littlefield, Tyler
Jun 29, 2012 at 2:57 am
Jul 17, 2012 at 10:54 am -
I want a gui designer that writes the gui code for me. I don't want to write gui code. what is the gui designer that is most popular? I tried boa-constructor, and it works, but I am concerned about ...
Mark R Rivet
Jun 5, 2012 at 2:10 pm
Jun 30, 2012 at 3:26 am -
Hello I'm an amateur programmer, and would like to know what the main options are to build web applications in Python instead of PHP. I notice that Python-based solutions are usually built as ...
Gilles
Jun 12, 2012 at 9:39 am
Jun 21, 2012 at 9:58 pm -
Hi, Why has python3 been created as a seperate language where there is still python2.7 ? What's the benifit to make python3 over python2.7 ? I have read this though ...
Gmspro
Jun 24, 2012 at 3:46 am
Jun 28, 2012 at 10:14 am -
I'm planning to learn one more language with my python. Someone recommended to do Lisp or Clojure, but I don't think it's a good idea(do you?) So, I consider C# with ironpython or Java with Jython ...
Yesterday Paid
Jun 9, 2012 at 10:44 pm
Jun 16, 2012 at 5:23 am -
What is input() supposed to return? True :a :u'a' False (<class 'str' , 1) (<class 'str' , 4) --- sys.argv? jmf
Jmfauth
Jun 18, 2012 at 8:19 am
Jun 25, 2012 at 12:08 pm -
The code: print ("pre-chunkLine") chunks = [] try: chunks = self.chunkLine (l) except: print ("caught exception") print (sys.exc_info()[:2]) finally: print ("at finally") print ("chunks =") print ...
Charles Hixson
Jun 24, 2012 at 10:26 pm
Jun 28, 2012 at 12:52 pm -
Hello, I started a first translation of my document originally in french. Could some fluent english people read it and indicate errors or bad english expressions ...
Laurent Pointal
Jun 5, 2012 at 5:32 pm
Jun 6, 2012 at 11:18 pm -
Hello, This is my first post so go easy on me. I am just beginning to program using Python on Mac. When I try to execute a file using Python Launcher my code seems to cause an error in terminal, when ...
David Thomas
Jun 25, 2012 at 6:19 pm
Jun 27, 2012 at 9:33 pm -
I'm making cipher program with random.seed(), random.random() as the key table of encryption. I'm not good at security things and don't know much about the algorithm used by random module. Is it ...
Yesterday Paid
Jun 17, 2012 at 2:15 am
Jun 20, 2012 at 7:46 pm -
Hello! I wish to properly cite Python in an academic paper I am writing. Is there a preferred document etc to cite? Thanks in advance, MArkL
Mark Livingstone
Jun 16, 2012 at 3:24 am
Jun 18, 2012 at 5:24 pm -
13
./configure
Hi, I am trying to run the ./configure but I keep getting this: configure:2756: checking for --enable-universalsdk configure:2797: result: no configure:2806: checking for --with-universal-archs ...Janet Heath
Jun 3, 2012 at 9:19 pm
Jun 5, 2012 at 12:46 pm -
Fairly new to Python ... Is there a way to efficiently (different from my brute force code shown below) to set up a game grid of buttons (ie with pygame) responding to mouse clicks ? I would want to ...
Iconoclast011
Jun 27, 2012 at 10:21 pm
Jun 28, 2012 at 4:39 am -
Hi, I tried this, Traceback (most recent call last): ? File "<stdin ", line 1, in <module AttributeError: 'array.array' object has no attribute 'sg_length' Traceback (most recent call last): ? File ...
Gmspro
Jun 24, 2012 at 2:23 am
Jun 25, 2012 at 8:20 pm -
Hi all, I'm using Python 2.7.2 on Windows 7 and a module I've written is acting strangely. I can reproduce the behaviour in question with the following: --- begin bugtest.py --- import threading, ...
Rotwang
Jun 21, 2012 at 3:19 pm
Jun 21, 2012 at 7:44 pm -
Hi guys i am having a bit of dificulty finding the best approach / solution to parsing a file into a list of objects / nested objects any help would be greatly appreciated. #file format to parse .txt ...
Richard
Jun 4, 2012 at 12:57 pm
Jun 5, 2012 at 9:53 pm -
I'm puzzled with the following example, which is intended to be a part of a module, say "tst.py": a = something(5) def something(i): return i When I try: - import tst The interpreter cries out ...
Julio Sergio
Jun 12, 2012 at 5:53 pm
Jun 13, 2012 at 3:33 am -
If a new file is created by open ('xxx', 'w') How can I control the file permission bits? Is my only choice to use chmod after opening, or use os.open? Wouldn't this be a good thing to have as a ...
Neal Becker
Jun 8, 2012 at 6:36 pm
Jun 9, 2012 at 11:19 pm -
What is the best way to parse a CSV string to a list? For example, how do I parse: 'AAA,"BBBB,CCCC,DDDD",EEE,FFF,GGG' to get: ['AAA','BBB,CCC,DDDD','EEE','FFF','GGG?] Thanks, Bruce
Bruce g
Jun 14, 2012 at 2:29 am
Jun 14, 2012 at 8:06 am -
I have a requirement to test the creation time of a file with the current time and raise a message if the file is more than 15 minutes old. Platform is Unix. I have looked at using os.path.getctime ...
Loial
Jun 6, 2012 at 12:50 pm
Jun 10, 2012 at 6:31 am -
Hello, Where is the latest step by step guide to use Jython to compile Python into Java? I found that it was very confusing by reading not updated text. Please help. Regards. David An HTML attachment ...
David Shi
Jun 4, 2012 at 2:36 pm
Jun 4, 2012 at 5:30 pm -
Why is python source code not available on github? Make it available on github so that we can git clone and work on source code. An HTML attachment was scrubbed... URL ...
Gmspro
Jun 24, 2012 at 12:16 am
Jun 24, 2012 at 10:34 am -
Hello Python list, Noob here with a newbie question. I'm reading and working on the exercise of the book, Learn Python the Hard way 2.0. When I use this code, I get "None" on the output. My question ...
Xander Solis
Jun 22, 2012 at 3:42 am
Jun 22, 2012 at 4:39 am -
We are new to developing applications with Python. A question came up concerning Python libraries being portable between Architectures. More specifically, can we take a python library that runs on a ...
Jkells
Jun 7, 2012 at 8:20 pm
Jun 8, 2012 at 2:52 pm -
Hello, I have a simple question. I wish to generate an array of file pointers. For example, I have files: data1.txt data2.txt data3.txt .... I wish to generate fine pointer array so that I can read ...
FSH
Jun 5, 2012 at 1:21 am
Jun 6, 2012 at 7:10 pm -
I'm getting towards an actual non-beta release, which means even more tests, polishings, cleaning up of various things, and actual documentation. :) However, I am wondering about my current record ...
Ethan Furman
Jun 1, 2012 at 5:50 pm
Jun 2, 2012 at 1:20 pm -
Hello, I have an application that would benefit from collaborative working. Over time users construct a "data environment" which is a number of files in JSON format contained in a few directories (in ...
Duncan smith
Jun 22, 2012 at 3:58 pm
Jun 23, 2012 at 4:27 pm -
Hi, Is python a interpreted or compiled language? What does happen after this command: python f.py I knew python makes file.pyc file to store the bytecode. For java , .class file is the bytecode ...
Gmspro
Jun 20, 2012 at 11:30 pm
Jun 21, 2012 at 4:55 am -
Is there any way to conditionally apply a decorator to a function? For example, in django, I want to be able to control, via a run-time config flag, if a view gets decorated with @login_required() ...
Roy Smith
Jun 18, 2012 at 10:16 pm
Jun 19, 2012 at 9:01 am -
Hi, I'm not sure whether what I ask for is impossible, but would know how others handle such situations. I'm having a module, which should lazily evaluate one of it's variables. Meaning that it is ...
Gelonida N
Jun 17, 2012 at 9:35 pm
Jun 19, 2012 at 4:05 am -
Please consistency. '3.3.0a4 (v3.3.0a4:7c51388a3aa7+, May 31 2012, 20:15:21) [MSC v.1600 32 bit (Intel)]' 'a' b'a' b'a' b'a' 'a' 'a' SyntaxError: invalid syntax jmf
Jmfauth
Jun 16, 2012 at 5:36 pm
Jun 17, 2012 at 3:53 pm -
Hello, I want to pass several values to a function which is located on a server (so I can't change its behavior). That function only accepts five values which must be ints. There are several lists: a ...
Stayvoid
Jun 8, 2012 at 11:41 pm
Jun 10, 2012 at 9:41 pm -
Did the import semantics change in cpython 3.3a4? I used to be able to import treap.py even though I had a treap directory in my cwd. With 3.3a4, I have to rename the treap directory to see ...
Dan Stromberg
Jun 8, 2012 at 9:52 pm
Jun 9, 2012 at 12:37 am -
I'm trying to call an external process to filter some of my data, i.e., I'm trying to pass some information to the called process, and have this information back transformed. I started testing with ...
Julio Sergio
Jun 7, 2012 at 4:04 pm
Jun 7, 2012 at 5:42 pm -
I've got a bit of a problem - my project uses weak sets in multiple areas, the problem case in particular being to indicate what objects are using a particular texture, if any, so that its priority ...
Temia Eszteri
Jun 1, 2012 at 3:23 pm
Jun 3, 2012 at 5:55 pm -
hi,all: why can't I send images to python-list at python.org?? An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20120628/44a6f3bc/attachment.html
梦幻草
Jun 28, 2012 at 11:34 am
Jun 30, 2012 at 3:14 am -
Hi everyone, I'm replacing a perl system that has to work a lot with databases and perforce (and a few other things). This script have to run completely unsupervisioned, so it's important that it ...
Andrea crotti
Jun 28, 2012 at 3:28 pm
Jun 29, 2012 at 12:45 pm -
Dear Group, I am Sri Subhabrata Banerjee writing from India. I am running a small program which exploits around 12 1 to 2 KB .txt files. I am using MS Windows XP Service Pack 3 and Python 2.6 where ...
Subhabangalore
Jun 27, 2012 at 5:33 pm
Jun 28, 2012 at 7:14 pm -
how can I implement "cd" like shell in Python? An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20120628/9f2b8a2c/attachment.html
梦幻草
Jun 28, 2012 at 9:30 am
Jun 28, 2012 at 5:13 pm -
I'm creating a cmd.Cmd class, and I have developed a helper method to easily handle help_xxx methods. I'm trying to figure out if there is an even lazier way I could do this with decorators. Here is ...
Josh English
Jun 24, 2012 at 1:58 am
Jun 27, 2012 at 11:09 pm -
Tiffany - Read/Write Multipage-Tiff with PIL without PIL ======================================================== Tiffany stands for any tiff. The tiny module solves a large set of problems, has no ...
Christian Tismer
Jun 25, 2012 at 1:46 am
Jun 27, 2012 at 1:32 pm -
Hi all, I have a module that saves and loads data using cPickle, and I've encountered a problem. Sometimes I want to import the module and use it in the interactive Python interpreter, whereas ...
Rotwang
Jun 23, 2012 at 3:34 pm
Jun 25, 2012 at 2:48 pm -
Consider the following line in C: printf('%a\n', x); where x is a float or double. This outputs a hexadecimal representation of x. Can I do this in Python?
Edward C. Jones
Jun 19, 2012 at 4:23 pm
Jun 20, 2012 at 6:55 am -
I have a program in which the main thread launches a number of CPU-intensive worker threads. For each worker thread two python subprocesses are started, each of which runs in its own terminal: one ...
John O'Hagan
Jun 15, 2012 at 1:49 pm
Jun 17, 2012 at 9:28 pm -
When I run this program: import configparser, sys, gc def test(): config=configparser.ConfigParser() #del(config) #gc.collect() test() sys.stderr.write(sys.version) ...
Steve
Jun 7, 2012 at 6:48 pm
Jun 11, 2012 at 7:56 am -
Tiffany - Read/Write Multipage-Tiff with PIL without PIL ======================================================== Tiffany stands for any tiff. The tiny module solves a large set of problems, has no ...
Christian Tismer
Jun 30, 2012 at 10:41 am
Jul 10, 2012 at 7:59 am -
You just have to consider that indentation matters in Python, so you have to type the code in Python interpreter as you have written it below, that is, press Tab before each line when you are inside ...
Sergi Pasoev
Jun 28, 2012 at 5:30 pm
Jun 30, 2012 at 2:05 am -
I have a list of tuples, and usually print them using: print c, " ".join(map(str, list_of_tuples)) This is beginning to feel clunky (but gives me essentially what I want), and I thought there was a ...
Josh English
Jun 29, 2012 at 4:31 pm
Jun 29, 2012 at 5:41 pm -
Hello, http://bugs.python.org/issue5103 fixed a bug in Python2.6 where SSL's handshake would hang indefinitely if the remote end hangs. However, I'm getting hanging behavior in an IMAP script. When I ...
Michael Gundlach
Jun 23, 2012 at 5:29 pm
Jun 28, 2012 at 3:58 pm -
Hi, I posted this mail on Friday and received no replies.. I'm curious.. Is it because 1) Python is not the language to use for Facebook, use Javascript or XXX ?? instead ? Please tell. 2) I've ...
Jerry Rocteur
Jun 24, 2012 at 3:16 pm
Jun 27, 2012 at 1:40 pm
Group Overview
group | python-list |
categories | python |
discussions | 217 |
posts | 1,189 |
users | 309 |
website | python.org |
309 users for June 2012
Archives
- September 2015 (591)
- August 2015 (1,058)
- July 2015 (1,440)
- June 2015 (1,704)
- May 2015 (1,841)
- April 2015 (1,231)
- March 2015 (1,717)
- February 2015 (1,612)
- January 2015 (889)
- December 2014 (1,283)
- November 2014 (1,600)
- October 2014 (1,447)
- September 2014 (1,031)
- August 2014 (1,867)
- July 2014 (1,618)
- June 2014 (1,357)
- May 2014 (1,431)
- April 2014 (1,285)
- March 2014 (2,093)
- February 2014 (1,999)
- January 2014 (2,089)
- December 2013 (2,060)
- November 2013 (2,507)
- October 2013 (1,932)
- September 2013 (1,634)
- August 2013 (1,532)
- July 2013 (2,062)
- June 2013 (2,795)
- May 2013 (1,935)
- April 2013 (1,980)
- March 2013 (1,953)
- February 2013 (1,789)
- January 2013 (1,924)
- December 2012 (1,569)
- November 2012 (1,579)
- October 2012 (1,961)
- September 2012 (2,311)
- August 2012 (1,808)
- July 2012 (1,577)
- June 2012 (1,199)
- May 2012 (1,197)
- April 2012 (1,416)
- March 2012 (1,373)
- February 2012 (1,442)
- January 2012 (1,446)
- December 2011 (1,895)
- November 2011 (1,291)
- October 2011 (1,188)
- September 2011 (1,587)
- August 2011 (2,069)
- July 2011 (2,140)
- June 2011 (1,908)
- May 2011 (2,475)
- April 2011 (2,098)
- March 2011 (1,761)
- February 2011 (1,746)
- January 2011 (2,123)
- December 2010 (1,671)
- November 2010 (2,355)
- October 2010 (2,518)
- September 2010 (2,187)
- August 2010 (3,098)
- July 2010 (2,579)
- June 2010 (3,238)
- May 2010 (2,458)
- April 2010 (2,356)
- March 2010 (2,759)
- February 2010 (3,486)
- January 2010 (3,294)
- December 2009 (2,899)
- November 2009 (3,396)
- October 2009 (3,346)
- September 2009 (3,087)
- August 2009 (3,903)
- July 2009 (3,761)
- June 2009 (3,321)
- May 2009 (3,370)
- April 2009 (4,272)
- March 2009 (4,228)
- February 2009 (3,965)
- January 2009 (4,732)
- December 2008 (4,335)
- November 2008 (3,799)
- October 2008 (4,123)
- September 2008 (3,816)
- August 2008 (4,056)
- July 2008 (4,238)
- June 2008 (3,737)
- May 2008 (4,976)
- April 2008 (4,708)
- March 2008 (4,122)
- February 2008 (4,132)
- January 2008 (4,145)
- December 2007 (3,686)
- November 2007 (3,419)
- October 2007 (4,234)
- September 2007 (4,332)
- August 2007 (4,189)
- July 2007 (3,771)
- June 2007 (4,142)
- May 2007 (5,018)
- April 2007 (4,912)
- March 2007 (4,365)
- February 2007 (3,951)
- January 2007 (3,864)
- December 2006 (4,449)
- November 2006 (4,229)
- October 2006 (5,506)
- September 2006 (5,244)
- August 2006 (4,829)
- July 2006 (4,720)
- June 2006 (5,054)
- May 2006 (5,302)
- April 2006 (4,845)
- March 2006 (5,729)
- February 2006 (4,839)
- January 2006 (5,249)
- December 2005 (5,011)
- November 2005 (5,677)
- October 2005 (5,387)
- September 2005 (4,458)
- August 2005 (4,428)
- July 2005 (4,472)
- June 2005 (4,562)
- May 2005 (4,269)
- April 2005 (5,019)
- March 2005 (5,070)
- February 2005 (5,159)
- January 2005 (5,194)
- December 2004 (5,211)
- November 2004 (4,048)
- October 2004 (5,191)
- September 2004 (5,534)
- August 2004 (6,168)
- July 2004 (4,217)
- June 2004 (4,202)
- May 2004 (3,890)
- April 2004 (4,285)
- March 2004 (5,077)
- February 2004 (4,213)
- January 2004 (3,988)
- December 2003 (3,818)
- November 2003 (4,940)
- October 2003 (6,297)
- September 2003 (4,299)
- August 2003 (5,654)
- July 2003 (4,912)
- June 2003 (4,933)
- May 2003 (4,938)
- April 2003 (5,017)
- March 2003 (5,031)
- February 2003 (7,701)
- January 2003 (6,229)
- December 2002 (4,102)
- November 2002 (4,346)
- October 2002 (3,307)
- September 2002 (4,206)
- August 2002 (4,919)
- July 2002 (4,826)
- June 2002 (4,215)
- May 2002 (5,295)
- April 2002 (5,967)
- March 2002 (5,323)
- February 2002 (5,245)
- January 2002 (5,617)
- December 2001 (4,443)
- November 2001 (4,565)
- October 2001 (3,669)
- September 2001 (3,719)
- August 2001 (5,208)
- July 2001 (6,528)
- June 2001 (4,905)
- May 2001 (5,492)
- April 2001 (4,713)
- March 2001 (4,478)
- February 2001 (3,871)
- January 2001 (4,187)
- December 2000 (3,099)
- November 2000 (2,336)
- October 2000 (3,820)
- September 2000 (3,933)
- August 2000 (4,253)
- July 2000 (4,199)
- June 2000 (4,089)
- May 2000 (4,269)
- April 2000 (3,217)
- March 2000 (3,719)
- February 2000 (4,000)
- January 2000 (2,682)
- December 1999 (2,283)
- November 1999 (1,896)
- October 1999 (2,048)
- September 1999 (2,001)
- August 1999 (2,151)
- July 1999 (2,351)
- June 1999 (2,386)
- May 1999 (2,201)
- April 1999 (1,706)
- March 1999 (6)
- February 1999 (1)