Search Discussions

217 discussions - 1,189 posts

  • 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, TylerLittlefield, 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 RivetMark 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 ...
    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 ...
    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 PaidYesterday 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
    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 HixsonCharles 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 PointalLaurent 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 ThomasDavid 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 PaidYesterday 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 LivingstoneMark Livingstone
    Jun 16, 2012 at 3:24 am
    Jun 18, 2012 at 5:24 pm
  • 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 HeathJanet 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 ...
    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 ...
    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, ...
    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 ...
    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 SergioJulio 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 BeckerNeal 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 gBruce 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 ...
    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 ShiDavid 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 ...
    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 SolisXander 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 ...
    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 ...
    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 FurmanEthan 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 smithDuncan 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 ...
    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 SmithRoy 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 NGelonida 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
    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 ...
    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 StrombergDan 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 SergioJulio 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 EszteriTemia 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 crottiAndrea 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 ...
    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 EnglishJosh 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 TismerChristian 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 ...
    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. JonesEdward 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'HaganJohn 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) ...
    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 TismerChristian 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 PasoevSergi 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 EnglishJosh 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 GundlachMichael 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 RocteurJerry Rocteur
    Jun 24, 2012 at 3:16 pm
    Jun 27, 2012 at 1:40 pm
Group Navigation
period‹ prev | Jun 2012 | next ›
Group Overview
grouppython-list @

309 users for June 2012

Chris Angelico: 56 posts Steven D'Aprano: 43 posts Terry Reedy: 39 posts MRAB: 33 posts Peter Otten: 22 posts Dave Angel: 21 posts Gilles: 19 posts Stefan Behnel: 19 posts Prasad, Ramit: 18 posts Rick Johnson: 18 posts Christian Tismer: 17 posts Ian Kelly: 17 posts Andrew Berg: 16 posts Christian Heimes: 15 posts Gmspro: 15 posts Wxjmfauth: 15 posts Benjamin Kaplan: 14 posts Paul Rubin: 14 posts Mark Lawrence: 13 posts David Thomas: 12 posts
show more