Subscribe: Python | Python
http://www.gossamer-threads.com/lists/python/python.xml
Preview: Python | Python

Python | Python



Mailing List Archive by Gossamer Threads



Last Build Date: 10 Dec 2016 01:05:48 -0800

Copyright: (c) Gossamer Threads Inc. All rights reserved.
 



% string formatting - what special method is used for %d?

09 Dec 2016 23:06:23 -0800

When we do: print '%s %d' % ('hello', 10) what special method is being invoked internally within the string- format-specifier? format() invokes fo



Is there a replement for bsddb in python3?

09 Dec 2016 19:33:20 -0800

I have been looking for a simple indexed file database and Berkley-db was what I waa used to.  I found that bsddb module was removed from Python3.  



Running python from pty without prompt

09 Dec 2016 15:11:32 -0800

Hello. I'm working on a script runner for Atom. https://github.com/ioquatix/script-runner We are trying to understand how to make python work well.



Re: CLP stats: last 500 posts

09 Dec 2016 13:34:38 -0800

On 2016-12-09, DFS wrote: > import sys as y,nntplib as t,datetime as d > s='' > g=y.argv[1] > n=t.NNTP(s,119,'','




Best attack order for groups of numbers trying to destroy each other, given a victory chance for number to number attack.

09 Dec 2016 04:26:21 -0800

Hello, (This problem is probably too computationally intensive to solve with Python, though Python + Cuda could be interesting, and also Python has s



Re: Linux terminals vs Windows consoles - was Re: python 2.7.12 on Linux behaving differently than on Windows

08 Dec 2016 13:38:29 -0800

Michael Torrie wrote: > Interesting. I wouldn't have thought ENTER would return a line feed. Possibly you have the terminal in "cbreak" mode, which



Linux terminals vs Windows consoles - was Re: python 2.7.12 on Linux behaving differently than on Windows

08 Dec 2016 08:35:42 -0800

On 12/08/2016 05:43 AM, BartC wrote: > (Neither will see Shift+Ctrl+B, which means go to start of the file, > same as Ctrl+Home. Ubuntu sees Ctrl+Hom



Name resolution and the (wrong?) LEGB rule

08 Dec 2016 06:51:48 -0800

Sometimes the Python name resolution is explained using a LEGB rule. For instance, in [1] (I think also the Learning Python book gives the same): "if



Snakify - free introductory Python online course with exercises

08 Dec 2016 02:50:31 -0800

Hi fellow Pythonistas, Let me show you my project - an introductory Python online course: https://snakify.org/ . Our key features are 100+ exercises



MacOSX SpeechRecognition installation problems

07 Dec 2016 22:09:42 -0800

trying to install SpeechRecognition for Python results in error: running install_lib creating /Library/Python/2.7/site-packages/speech_recognitio