Search Discussions
-
Coworker takes PEP8 as gospel and uses 4 spaces to indent. I prefer tabs. Boss want's us to unify. The sole thing you get with spaces as far as I can tell, is that someone loading the code into ...
Tobiah
Jul 3, 2014 at 5:31 pm
Jul 9, 2014 at 8:19 am -
Most people don't need to deal with NaN's in Python at all, fortunately. They just don't appear in normal computation, because the interpreter raises an exception instead. It happens in my work I ...
Anders J. Munch
Jul 8, 2014 at 2:53 pm
Jul 18, 2014 at 7:49 pm -
Are there any circumstances where merely *opening* a file (before reading it) can raise EOFError? -- Steven
Steven D'Aprano
Jul 7, 2014 at 3:20 am
Jul 10, 2014 at 7:40 pm -
Given the ongoing hub-bub about Google Groups and some recent long threads where I *really* wanted to be able to mute/ignore certain individuals/subjects... I started looking into other choices for ...
Memilanuk
Jul 18, 2014 at 7:10 pm
Jul 24, 2014 at 9:58 am -
============================================================ BUG 1: FileDialog Duplicity: ============================================================ If you open the IDLE application (either ...
Rick Johnson
Jul 20, 2014 at 9:14 pm
Aug 19, 2014 at 1:10 pm -
At the moment, Python has two (in)equality operators, == and != which call __eq__ and __ne__ methods. Some problems with those: * Many people expect == to always be reflexive (that is, x == x for ...
Steven D'Aprano
Jul 9, 2014 at 7:00 am
Jul 13, 2014 at 4:48 am -
I am exploring the idea of creating my next desktop GUI project in Python and would like a little advice from you folks about a couple of requirements. My requirements will be: 1. Needs to be ...
Noble Bell
Jul 24, 2014 at 3:57 pm
Jul 29, 2014 at 7:47 pm -
Hi, This Question may sound lame ,but I am searching for .Net Like Gui Builder for Python. I tried PyQt Designer' and 'Glade', No doubt its great but it created only interface. I have to code all the ...
Orochi
Jul 25, 2014 at 2:55 pm
Jul 28, 2014 at 10:14 am -
Hi, I learn Python function call on tutorial. There is a link on this subject. http://robertheaton.com/2014/02/09/pythons-pass-by-object-reference-as-explained-by-philip-k-dick/ Although it explains ...
Fl
Jul 22, 2014 at 7:04 pm
Jul 25, 2014 at 5:20 am -
So... this is a fairly general / hypothetical question, and I'm more looking for direction than specifics - though it may be useful as well. I need to create a particular application for ...
Monte Milanuk
Jul 21, 2014 at 4:07 pm
Jul 23, 2014 at 3:38 pm -
Hi all This is not important, but I would appreciate it if someone could explain the following, run from cmd.exe on Windows Server 2003 - C:\ python Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, ...
Frank Millman
Jul 22, 2014 at 6:18 am
Jul 23, 2014 at 7:35 am -
I'm looking for a programmatic way to get a list of all Python modules and packages. Not just those already imported, but all those which *could* be imported. I have a quick-and-dirty function which ...
Steven D'Aprano
Jul 30, 2014 at 7:43 am
Aug 3, 2014 at 1:38 pm -
Ok I would say I am almost a intermediate python programer. I have made 2 programs(with GUI). And basically they are quite boring(a text editor and calculator). I love programming but i am lost of ...
Nicholas Cannon
Jul 17, 2014 at 9:59 am
Jul 18, 2014 at 3:42 pm -
17
1-0.95
pedro at microboard:~$ /usr/bin/python3 Python 3.3.2+ (default, Feb 28 2014, 00:52:16) [GCC 4.8.1] on linux Type "help", "copyright", "credits" or "license" for more information. 0.050000000000000044 ...Pedro Izecksohn
Jul 1, 2014 at 9:17 pm
Jul 3, 2014 at 11:17 am -
Hi, I type the following sample codes on Python, but it echoes differently. Regular expressions are compiled into pattern objects, which have methods for various operations such as searching for ...
Rxjwg98
Jul 6, 2014 at 12:13 pm
Jul 6, 2014 at 8:42 pm -
We are using Python in a large setup. Individual users are running Debian machines. When I want to install/upgrade Python for all users, I really want to do it centrally rather than every user having ...
Roys2005
Jul 22, 2014 at 8:49 pm
Jul 24, 2014 at 3:40 am -
Hi, I just begin to learn Python. I do not see the usefulness of '*' in its description below: The first metacharacter for repeating things that we'll look at is *. * doesn't match the literal ...
Rxjwg98
Jul 6, 2014 at 11:51 am
Jul 7, 2014 at 9:50 pm -
My coding is slowly (*) progress at the moment. Looking at my more or less horrible efforts so far one (well that's understatement) questions pops up. How do you pass data from one function to many? ...
Martin S
Jul 24, 2014 at 6:36 am
Jul 30, 2014 at 12:09 pm -
I have a python cx_Oracle script that does a delete from a table. Usually this takes well under 1 second. But sometimes it takes 1 to 2 minutes. I wanted to monitor that delete and if it's taking too ...
Larry Martell
Jul 17, 2014 at 4:26 pm
Jul 17, 2014 at 7:01 pm -
Hi Pythonistas I often heard people mention use help(ob) as a way of documentation look up. Personally I seldom/never do that. My normal workflow is use ipython, obj? or obj?? for quick look up or ...
Shiyao Ma
Jul 6, 2014 at 4:36 pm
Jul 7, 2014 at 11:36 am -
Ok so i am trying to learn this and i do not understand some of it. I also tried to searched the web but i couldnt find any answers. 1. I dont understand when i will need to use a function that ...
Jerry lu
Jul 19, 2014 at 10:52 am
Jul 21, 2014 at 7:45 am -
Can you all stop already with the non python US bashing? Please? Deb in WA, USA Protect your computer files with professional cloud backup. Get PCRx Backup and upload unlimited files automatically ...
Deb Wyatt
Jul 16, 2014 at 5:32 pm
Jul 17, 2014 at 2:13 pm -
Hi, This example is from the link: https://wiki.python.org/moin/RegularExpression I have thought about it quite a while without a clue yet. I notice that it uses double quote ", in contrast to ' ...
Fl
Jul 10, 2014 at 3:37 pm
Jul 11, 2014 at 3:18 pm -
I gather that Python is compiled with Windows Studio 2008. Unfortunately, the MS Download link points to a Studio 2010 advertising .ppx Could someone point to an alternative please? Colin W. PS I ...
Colin J. Williams
Jul 28, 2014 at 2:40 pm
Jul 29, 2014 at 8:05 pm -
Hi, I have read a lot about Python, but it still has a problem now on a simple exercise. For example, I want to generate a sine curve. First, I get a time sequence: index=range(100) I import math ...
Fl
Jul 24, 2014 at 12:53 pm
Jul 26, 2014 at 2:17 am -
I have some code which sets up a logger instance, then installs it as sys.excepthook to capture any uncaught exceptions: import logging import logging.handlers import sys FACILITY = ...
Steven D'Aprano
Jul 23, 2014 at 7:14 am
Jul 24, 2014 at 10:20 am -
Hello, Pardon me for not using the proper Python language terms, but I hope that people can still understand the question: The problem: I'm writing a large Python program and I have a bunch of ...
Catherine M Moroney
Jul 14, 2014 at 10:24 pm
Jul 17, 2014 at 4:43 am -
Cut a long story short... I'm trying to debug a Tkinter app written in Python. The author of this app designed it as a maze of twisty dependencies, all alike, and his idea of source control was to ...
Steven D'Aprano
Jul 7, 2014 at 7:57 am
Jul 7, 2014 at 2:25 pm -
i work in a group of developers (15 or so) who are located globally. I would like to know what modules everyone is uses if I ever have to upgrade my python. Is there mechanism which will let me see ...
Rita
Jul 1, 2014 at 10:38 am
Jul 4, 2014 at 5:10 pm -
What I am trying to do is to reformat a csv file into something more usable. currently the file has no headers, multiple lines with varying columns that are not related. This is a sample ...
Flebber
Jul 1, 2014 at 2:04 pm
Jul 4, 2014 at 1:24 pm -
Hi, I read web tutorial at: http://nedbatchelder.com/blog/201308/names_and_values_making_a_game_board.html I enter the example lines of that website: import pprint board = [ [0]*8 ] * 8 pprint(board) ...
Fl
Jul 22, 2014 at 9:42 pm
Aug 3, 2014 at 10:49 pm -
Hello all, I downloaded some code accompanying the book "Programming the Semantic Web." This question is not Semantic Web related and I doubt that one needs to know anything about the Semantic Web to ...
Bruce Whealton
Jul 26, 2014 at 12:06 am
Jul 29, 2014 at 12:57 am -
I have this snippet in my web application. Question is why doesn't the stupid thing loop ten times? It loops exactly 1 time. # Reset counter counter = 0 while counter <= 10: #if test != '' ...
Martin S
Jul 27, 2014 at 5:53 pm
Jul 28, 2014 at 7:54 am -
Greetings, I typically write a Python 2.7 string function in my library like this: def getCompletedTime(start, end): return "Time completed:", str(end - start) And called it like this: print ...
C.D. Reimer
Jul 19, 2014 at 5:38 pm
Jul 20, 2014 at 1:41 am -
Hello! The condensed version of the question would probably be: How does one deal with multiple interpreters and one package where you want to try some changes? The background: I made a trivial ...
Joep van Delft
Jul 17, 2014 at 3:32 pm
Jul 18, 2014 at 2:42 am -
I'm trying to write a boolean function that takes two Mytime objects, t1 and t2 as arguments, and returns True if the object falls inbetween the two times. This is a question from the How to Think ...
Kjakupak
Jul 2, 2014 at 7:20 pm
Jul 3, 2014 at 4:23 pm -
I am mentoring a GSOC student, Saimadhav Heblikar, who is working on adding the following feature to Idle: submit the editor text to an external program, such as pyflakes, and display the result in ...
Terry Reedy
Jul 1, 2014 at 9:05 pm
Jul 3, 2014 at 9:22 am -
Hello, I am a Ruby developer and I want to program in Python. I know how to do simple things like create classes, methods, variables and all the basics. I want to know more. I want to know what is ...
Guirec Corbel
Jul 30, 2014 at 8:20 pm
Aug 1, 2014 at 12:35 pm -
A little known feature of Python: you can wrap your Python application in a zip file and distribute it as a single file. The trick to make it runnable is to put your main function inside a file ...
Steven D'Aprano
Jul 23, 2014 at 4:23 am
Jul 24, 2014 at 12:19 pm -
I have some code that reads files in a leafnode2 news spool & needs to check for new files periodically. The full paths are all like '/var/spool/news/message.id/345/<123456 at example.com ' with a ...
Adam Funk
Jul 1, 2014 at 11:26 am
Jul 2, 2014 at 12:30 pm -
This is only Python-related because the package in question (lockfile at PyPI) is written in Python and hosted (at least in part) on PyPI. I have not had any interest in maintaining this package for ...
Skip Montanaro
Jul 1, 2014 at 5:30 pm
Jul 2, 2014 at 4:57 am -
Hi, I want to write some test code. Some on-line tutorials have such codes: from unnecessary_math import multiply When it runs, it has errors: Traceback (most recent call last): File "<interactive ...
Fl
Jul 24, 2014 at 5:33 pm
Jul 24, 2014 at 6:25 pm -
Hi, The example in question is https://docs.python.org/3/library/asyncio-task.html#example-hello-world-coroutine. I'd like to learn the purpose of the statement "yield from asyncio.sleep(2)" in that ...
Saimadhav Heblikar
Jul 23, 2014 at 10:43 am
Jul 24, 2014 at 5:07 pm -
The version given on Python.org is "Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:45:13) [MSC v.1600 64 bit (AMD64)] on win32". This question is prompted by difficulties installing PyScripter ...
Cjwilliams43
Jul 18, 2014 at 1:29 pm
Jul 19, 2014 at 9:24 am -
Hello! I'm @dtvd88 on Twitter and very new here. I read from python.org that anything Python-related can be discussed, and not sure if I can share my OSS package here to get feedback or not ? I just ...
Orakaro
Jul 13, 2014 at 6:00 pm
Jul 16, 2014 at 3:30 am -
Hello, I have working code - but looking for better/improved code. Better coding practices, better algorithm :) Problem: Given sequence of increasing integers, print blocks of consecutive integers ...
Sssdevelop
Jul 9, 2014 at 2:27 pm
Jul 10, 2014 at 6:38 pm -
I run python33 scrupt SVtxt.py from Windows command line I want to print out the file contents to stdout. File contents: "Vi kan inte l?ngre underordna den vinster..." Python script sentences i have ...
Gintare
Jul 6, 2014 at 8:45 am
Jul 7, 2014 at 6:58 am -
Hi, What does "return Wrapper" do in the following piece of code? Which method does it invoke? I mean "return Wrapper" invokes __init__ method? def Tracer(aClass): class Wrapper: def __init__(self, ...
Satish ML
Jul 26, 2014 at 6:29 pm
Jul 26, 2014 at 7:21 pm -
Just quickly i am quite stuck on OOP and i really need like a good video and i cant find any. If anyone knows any please link it i really need it because i know OOP is important.
Nicholas Cannon
Jul 18, 2014 at 11:40 am
Jul 19, 2014 at 4:48 pm -
Hi there, While reading up on a previous thread 'open() and EOFError' I saw the following (with minor changes to help make my question clearer) block suggested as a canonical way to open files and do ...
Alex Burke
Jul 7, 2014 at 11:49 pm
Jul 9, 2014 at 7:59 pm
Group Overview
group | python-list |
categories | python |
discussions | 209 |
posts | 1,618 |
users | 240 |
website | python.org |
240 users for July 2014
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)