Re: personal library

2013-10-30 Thread Ben Finney
nd workflow support. -- \ “Oh, I love your magazine. My favorite section is ‘How To | `\ Increase Your Word Power’. That thing is really, really, | _o__) really... good.” —Homer, _The Simpsons_ | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Testing python command line apps -- Running from within the projects w/o installing

2013-10-31 Thread Ben Finney
e of it all — such as in the handling of command-line arguments or the exit of the process. -- \ “That's all very good in practice, but how does it work in | `\ *theory*?” —anonymous | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Testing python command line apps -- Running from within the projects w/o installing

2013-11-01 Thread Ben Finney
Göktuğ Kayaalp writes: > On Fri, Nov 01, 2013 at 10:42:23AM +1100, Ben Finney wrote: > > Keep the body of “if __name__ == '__main__':” to an absolute > > minimum. Put all of the set-up and process-end functionality into > > discrete functions with discrete pur

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-11-03 Thread Ben Finney
see it, wholly compatible with making the community more welcoming to people, by reducing the volume of such threads. -- \ Eccles: “I just saw the Earth through the clouds!” Lew: “Did | `\ it look round?” Eccles: “Yes, but I don't think it saw me.” | _o__)

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-11-04 Thread Ben Finney
about “winning” or “losing” the discussion are pretty futile in this forum anyway. -- \ “The only tyrant I accept in this world is the still voice | `\ within.” —Mohandas Gandhi | _o__)

Re: Trouble with utf-8 values

2013-11-04 Thread Ben Finney
f ambiguity between bytes versus text. -- \ “The face of a child can say it all, especially the mouth part | `\of the face.” —Jack Handey | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Help me with this code PLEASE

2013-11-05 Thread Ben Finney
swers.” —Pablo | `\ Picasso | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Representing fractions (was: Help me with this code)

2013-11-05 Thread Ben Finney
t myself in order to give in the same measure as I have | _o__)received and am still receiving” —Albert Einstein | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Flexible programming environment (was: i want to know about python language)

2013-11-06 Thread Ben Finney
- \ “I am too firm in my consciousness of the marvelous to be ever | `\ fascinated by the mere supernatural …” —Joseph Conrad, _The | _o__) Shadow-Line_ | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Relational data model, relations, and relationships (was: To whoever hacked into my Database)

2013-11-08 Thread Ben Finney
onal databases are so called not because of relationships between tables, but because they implement relational theory. -- \ “It is the integrity of each individual human that is in final | `\examination. On personal integrity hangs humanity's fate.” | _o__) —Rich

Re: Python Worst Practices

2015-02-26 Thread Ben Finney
c...@isbd.net writes: > Ben Finney wrote: > > My request at the moment, though, is not for people to change what's > > on their slides; rather, if they want people to retrieve them, the > > slides should be downloadable easily (i.e. without a web app, > > without

Re: Python Worst Practices

2015-02-26 Thread Ben Finney
Simon Ward writes: > On 26 February 2015 00:11:24 GMT+00:00, Ben Finney > wrote: > >You'd better borrow the time machine and tell the creators of Unix. The > >meme is already established for decades now. > > 0 = success and non-zero = failure is the meme establ

An injury when I was a sbhoolboy; I was bitten by a bat. (was: Python Worst Practices)

2015-03-01 Thread Ben Finney
eatlantic.com/education/archive/2015/02/how-the-english-language-is-holding-kids-back/385291/>. -- \ “Any sufficiently advanced bug is indistinguishable from a | `\ feature.” —Rich Kulawiec | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: An injury when I was a sbhoolboy; I was bitten by a bat.

2015-03-01 Thread Ben Finney
Ben Finney writes: > (See https://www.youtube.com/watch?v=Yz2LaJOVAiA> if you have no > idea what this is all about.) I was sloppy with my pronouns there. I'm pretty sure Roy knows what he's referring to; that “you” was directed to anyone who is not aware. -- \

Re: rst and pypandoc

2015-03-02 Thread Ben Finney
once we got as used to it.” —Henry L. Mencken | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: rst and pypandoc

2015-03-02 Thread Ben Finney
u don't breach the terms of service – | `\ according to our sole judgement” to the end of any cloud | _o__) computing pitch.” —Simon Phipps, 2010-12-11 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: tarfile vs zipfile

2015-03-02 Thread Ben Finney
rush every world view that doesn't | `\believe in tolerance and free speech.” —David Brin | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: (Still OT) Nationalism, language and monoculture [was Re: Python Worst Practices]

2015-03-02 Thread Ben Finney
“The deepest sin against the human mind is to believe things | `\ without evidence.” —Thomas Henry Huxley, _Evolution and | _o__) Ethics_, 1893 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: HELP!! How to ask a girl out with a simple witty Python code??

2015-03-04 Thread Ben Finney
on. -- \ “The good thing about science is that it's true whether or not | `\ you believe in it.” —Neil deGrasse Tyson, 2011-02-04 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Do not run this code.

2015-03-04 Thread Ben Finney
t | _o__)later?” —http://www.achewood.com/ | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: HELP!! How to ask a girl out with a simple witty Python code??

2015-03-05 Thread Ben Finney
s. Cut that out. -- \ “True greatness is measured by how much freedom you give to | `\ others, not by how much you can coerce others to do what you | _o__) want.” —Larry Wall | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: HELP!! How to ask a girl out with a simple witty Python code??

2015-03-05 Thread Ben Finney
Steven D'Aprano writes: > Ben Finney wrote: > > > sohcahto...@gmail.com writes: > > > >> I should have known better than to make a joke on this mailing > >> list. Someone is bound to get their panties all up in a bunch. > > > > You should ha

Re: Is nan in (nan,) correct?

2015-03-05 Thread Ben Finney
the road. It said, ‘What | `\ for?’” —Steven Wright | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Is nan in (nan,) correct?

2015-03-05 Thread Ben Finney
sohcahto...@gmail.com writes: > On Thursday, March 5, 2015 at 3:20:16 PM UTC-8, Ben Finney wrote: > > It is fine to define such a type in Python, because 'is' does not > > necessarily imply '=='. > > Do you have an example of where `a is b` but `a !=

Re: Is nan in (nan,) correct?

2015-03-05 Thread Ben Finney
you describe “define their own membership function”, in order to get the correct behaviour in the doctest above? -- \ “Why am I an atheist? I ask you: Why is anybody not an atheist? | `\ Everyone starts out being an atheist.” —Andy Rooney, _Boston | _o__)Globe_ 1982-05-30 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: HELP!! How to ask a girl out with a simple witty Python code??

2015-03-05 Thread Ben Finney
Steven D'Aprano writes: > Ben Finney wrote: > > > “get their panties all up in a bunch” is a gendered slur. > > Why do you interpret that as insulting to women merely on the basis of > being *female*? I think your question is in bad faith. You know as well as I do, an

Re: Is nan in (nan,) correct?

2015-03-05 Thread Ben Finney
Ethan Furman writes: > On 03/05/2015 06:55 PM, Ben Finney wrote: > > > class NullType(object): > > """ A type whose value never equals any other. > > > > This type's values will behave correctly when tes

Re: HELP!! How to ask a girl out with a simple witty Python code??

2015-03-05 Thread Ben Finney
mer's Manual, 2nd Ed., 1972-06-12 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: HELP!! How to ask a girl out with a simple witty Python code??

2015-03-06 Thread Ben Finney
keep calling out harmful crap when we see it. -- \ “Airports are ugly. Some are very ugly. Some attain a degree of | `\ugliness that can only be the result of a special effort.” | _o__) —Douglas Adams, _The Long Dark Tea-Time of the Soul_, 1988 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Newbie question about text encoding

2015-03-08 Thread Ben Finney
mind, erroneous syntax. -- \ “Please do not feed the animals. If you have any suitable food, | `\ give it to the guard on duty.” —zoo, Budapest | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Mock return_value

2015-03-09 Thread Ben Finney
mock.html#where-to-patch> Good hunting! -- \ “There will be a Moscow Exhibition of the Arts by 15,000 Soviet | `\ Republic painters and sculptors. These were executed over the | _o__) past two years.” —newspaper article, Soviet Weekly | Ben Finney -- https://mai

Re: Did https://pypi.python.org/pypi/ became huge and slow?

2015-03-10 Thread Ben Finney
t quite confused. -- \ “Faith is the determination to remain ignorant in the face of | `\ all evidence that you are ignorant.” —Shaun Mason | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Code hosting providers (was: Google Code Shutting Down)

2015-03-12 Thread Ben Finney
er from vendor lock-in. Good hunting in finding a free-software code hosting provider for your projects! -- \ “I knew things were changing when my Fraternity Brothers threw | `\ a guy out of the house for mocking me because I'm gay.” | _o__)

Re: Code hosting providers

2015-03-12 Thread Ben Finney
Steven D'Aprano writes: > Ben Finney wrote: > > > Also worth watching is Kallithea, a new federated code hosting service > > https://kallithea-scm.org/>. It supports Mercurial and Git for VCS, > > code review, and integrates with existing issue trackers. Becau

Re: Code hosting providers

2015-03-12 Thread Ben Finney
but to set some limit on infinite error.” —Bertolt Brecht, | _o__) _Leben des Galilei_, 1938 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

You must register a new account to report a bug (was: Python 2 to 3 conversion - embrace the pain)

2015-03-15 Thread Ben Finney
a registration process for every project just to report a bug. -- \ “[Entrenched media corporations will] maintain the status quo, | `\ or die trying. Either is better than actually WORKING for a | _o__) living.” —ringsnake.livejournal.com, 2007-11-12 | Ben Finney --

Re: Dict comprehensions - improvement to docs?

2015-03-15 Thread Ben Finney
eed them when I read, so I got | `\ flip-ups.” —Steven Wright | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT] Weaknesses of distro package managers - was Re: Python 2 to 3 conversion - embrace the pain

2015-03-16 Thread Ben Finney
that this in itself is wonder.” | `\ —Maurits Cornelis Escher | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 2 to 3 conversion - embrace the pain

2015-03-16 Thread Ben Finney
oblem for the developer. You can blame “lazy users” if you want to. That gets you no new users of your program though. -- \ “I tell you the truth: some standing here will not taste death | `\before they see the Son of Man coming in his kingdom.” —Jesus, | _o__)

Re: A simple single line, triple-quoted comment is giving syntax error. Why?

2015-03-18 Thread Ben Finney
;re playing | `\ whack-a-mole with an infinite supply of tokens.” —kennon, | _o__) http://kuro5hin.org/ | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: PSF Python Job Board relaunched !

2015-03-19 Thread Ben Finney
ed with re-launching this important resource for the Python community! -- \“I was once walking through the forest alone and a tree fell | `\ right in front of me, and I didn't hear it.” —Steven Wright | _o__) | Ben Finne

Re: Deep comparison of dicts - cmp() versus ==?

2015-03-19 Thread Ben Finney
> What is the reason for this? I don't really understand. ‘cmp’ is deprecated, and you can compare two dicts with the built-in operators. That's the reason; are you expecting some other reason? > Or is there a better way to do this? I don't really know what it is you want to do. What behaviour different from the built-in comparison operators do you want? -- \ “I went over to the neighbor's and asked to borrow a cup of | `\ salt. ‘What are you making?’ ‘A salt lick.’” —Steven Wright | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Deep comparison of dicts - cmp() versus ==?

2015-03-19 Thread Ben Finney
saying, man? -- \“Pinky, are you pondering what I'm pondering?” “Wuh, I think | `\ so, Brain, but how will we get three pink flamingos into one | _o__) pair of Capri pants?” —_Pinky and The Brain_ | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Newbie looking for elegant solution

2015-03-24 Thread Ben Finney
says on | _o__) Controversial Questions_, 1889 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: What is elegant way to do configuration on server app

2015-03-26 Thread Ben Finney
nvenience we recommend courteous, efficient | `\self-service.” —supermarket, Hong Kong | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Cannot Uninstall 3.4

2015-03-26 Thread Ben Finney
or comedy is to admit | `\ defeat.” —Peter Sellers | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Proposal for new minor syntax

2015-03-27 Thread Ben Finney
to progress is not ignorance but the illusion of | _o__)knowledge.” —Daniel J. Boorstin, historian, 1914–2004 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3 lack of support for fcgi/wsgi.

2015-03-29 Thread Ben Finney
ion is ‘How To | `\ Increase Your Word Power’. That thing is really, really, | _o__) really... good.” —Homer, _The Simpsons_ | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3 lack of support for fcgi/wsgi.

2015-03-29 Thread Ben Finney
John Nagle writes: (for some reason quoting himself extensively without further comment) > On 3/29/2015 1:19 PM, John Nagle wrote: > > On 3/29/2015 12:11 PM, Ben Finney wrote: > >> John Nagle writes: > >>> The Python 3 documentation at > >>> https

Re: Python 3 lack of support for fcgi/wsgi.

2015-03-29 Thread Ben Finney
Paul Rubin writes: > Ben Finney writes: > > Why are you discussing it as though Python 3 is at fault? What do you > > expect to change *about Python 3* that would address the perceived > > problem? Whose responsibility is it to do that? > > Those questions seem un

Re: Python 3 lack of support for fcgi/wsgi.

2015-03-29 Thread Ben Finney
arvelous to be ever | `\ fascinated by the mere supernatural …” —Joseph Conrad, _The | _o__) Shadow-Line_ | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3 lack of support for fcgi/wsgi.

2015-03-29 Thread Ben Finney
-- \ “Fox News gives you both sides of every story: the President's | `\ side and the Vice President's side.” —Steven Colbert, 2006-04-29 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3 lack of support for fcgi/wsgi.

2015-03-29 Thread Ben Finney
n and desire are not the same as truth.” —E. O. Wilson, | _o__) _Consilience_, 1998 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Setuptools Confusion

2015-03-30 Thread Ben Finney
that, though better than ten years ago, Python package distribution is still surprisingly baroque and difficult to navigate. -- \ “I never forget a face, but in your case I'll be glad to make | `\ an exception.” —Groucho Marx | _o__)

Re: Python 3 lack of support for fcgi/wsgi.

2015-03-30 Thread Ben Finney
Following the Equator_ | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: New to Programming - XML Processing

2015-03-31 Thread Ben Finney
-- \“Politics is not the art of the possible. It consists in | `\ choosing between the disastrous and the unpalatable.” —John | _o__)Kenneth Galbraith, 1962-03-02 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Defamation

2015-04-03 Thread Ben Finney
whoever claims any right that he is unwilling to accord to | `\ his fellow-men is dishonest and infamous.” —Robert G. | _o__) Ingersoll, _The Liberty of Man, Woman and Child_, 1877 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: emacs for python web development

2015-04-04 Thread Ben Finney
gineer is to information | `\ technology as a McDonalds Certified Food Specialist is to the | _o__) culinary arts.” —Michael Bacarella | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: XML Parsing

2015-04-05 Thread Ben Finney
f the document isn't accompanied by a specification of exactly what its schema is, you're going to have a difficult time. -- \“If I melt dry ice, can I swim without getting wet?” —Steven | `\Wright | _o__

Automate deployment of Python application from multiple VCS repositories

2015-04-07 Thread Ben Finney
| `\ | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Help with ElementTree

2015-04-09 Thread Ben Finney
6:00' > I've been trying for hours to get ElementTree to give me these 2 > values, but nothing I do seems to work. Can anyone help me with this? Beat the designers of that document upside the head until they give you a more easily-parsed schema. -- \“Considering the current sad state of our computer programs, | `\ software development is clearly still a black art, and cannot | _o__) yet be called an engineering discipline.” —Bill Clinton | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Concatenating Strings

2015-04-09 Thread Ben Finney
strust those people who know so well what God wants them | `\to do to their fellows, because it always coincides with their | _o__) own desires.” —Susan Brownell Anthony, 1896 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Regular Expression

2015-04-12 Thread Ben Finney
is that different from what it does do? -- \ “The userbase for strong cryptography declines by half with | `\ every additional keystroke or mouseclick required to make it | _o__) work.” —Carl Ellison | Ben Finney -- https://mail.py

Re: calling an api in python code

2015-04-12 Thread Ben Finney
to use? Where is its documentation? What specifically are you wanting to know? -- \ “The cost of education is trivial compared to the cost of | `\ ignorance.” —Thomas Jefferson | _o__)

Re: calling an api in python code

2015-04-12 Thread Ben Finney
“You can never entirely stop being what you once were. That's | `\ why it's important to be the right person today, and not put it | _o__) off until tomorrow.” —Larry Wall | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Please use the Python Job Board (was: Immediate Hire: ETL Developers - Boise, Idaho)

2015-04-15 Thread Ben Finney
is not a state.… a state must have people. There | `\are no Vaticanians.… No-one gets born in the Vatican except by | _o__)an unfortunate accident.” —Geoffrey Robertson, 2010-09-18 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Searching the archives

2015-04-15 Thread Ben Finney
l.python.org+python-list+tutorial> Good hunting! -- \ “How many people here have telekenetic powers? Raise my hand.” | `\ —Emo Philips | _o__) | Ben Finney -- https://

EditorConfig for cross-editor consistent code style (was: New to Python - block grouping (spaces))

2015-04-16 Thread Ben Finney
“I was in Las Vegas, at the roulette table, having a furious | `\ argument over what I considered to be an odd number.” —Steven | _o__) Wright | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Great Math Mystery

2015-04-16 Thread Ben Finney
;t have everything; where would you put it?” —Steven | `\Wright | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: EuroPython 2015: Django Girls Workshop

2015-04-17 Thread Ben Finney
Well, I don't have an alibi.” —Emo Philips | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: New to Python - block grouping (spaces)

2015-04-17 Thread Ben Finney
anity's fate.” | _o__) —Richard Buckminster Fuller, _Critical Path_, 1981 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: New to Python - block grouping (spaces)

2015-04-19 Thread Ben Finney
being able to choose your master. Freedom means not having a | _o__) master.” —Richard M. Stallman, 2007-05-16 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: New to Python - block grouping (spaces)

2015-04-19 Thread Ben Finney
“If we have to give up either religion or education, we should | `\ give up education.” —William Jennings Bryan, 1923-01 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: need help removing 'dev-r0' part from a python package

2015-04-19 Thread Ben Finney
me better watch out!” —Futurama | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Please Help to build an addon for Anki

2015-04-20 Thread Ben Finney
se. Hopefully this is quick enough. -- \ “If you don't fail at least 90 percent of the time, you're not | `\aiming high enough.” —Alan Kay | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: python : timeit - Tool for measuring execution time

2015-04-21 Thread Ben Finney
lly, really, | _o__) really... good.” —Homer, _The Simpsons_ | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Best GUI for Python

2015-04-26 Thread Ben Finney
therwise working fine. So you only get the newer widgets by asking for them explicitly. -- \“Members of the general public commonly find copyright rules | `\implausible, and simply disbelieve them.” —Jessica Litman, | _o__) _Digita

Re: Tit for tat

2015-04-26 Thread Ben Finney
ewing through the leather | `\ straps.” —Emo Philips | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Tit for tat

2015-04-26 Thread Ben Finney
ncken | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Python is not bad ;-)

2015-04-30 Thread Ben Finney
and borrowed a circus tent by mistake. I didn't | `\ notice until I got it set up. People complained because they | _o__) couldn't see the lake.” —Steven Wright | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: mixing set and list operations

2015-04-30 Thread Ben Finney
“It's dangerous to be right when the government is wrong.” | `\ —Francois Marie Arouet Voltaire | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: l = range(int(1E9))

2015-04-30 Thread Ben Finney
esponsibility.” —Ambrose Bierce, | _o__) _The Devil's Dictionary_, 1906 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: l = range(int(1E9))

2015-04-30 Thread Ben Finney
re on Earth to fart around. Don't let anybody | `\ tell you otherwise.” —_Timequake_, Kurt Vonnegut | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: l = range(int(1E9))

2015-04-30 Thread Ben Finney
lt realities, and | `\ I see no virtue in savoring excuses for avoiding a search for | _o__)real answers.” —Paul Z. Myers, 2009-09-12 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Use ‘python2’ or ‘python3’, explicit is better than implicit (was: l = range(int(1E9)))

2015-04-30 Thread Ben Finney
e to work, and code targeting Python 3 will not accidentally get an incompatible Python 2 interpreter. -- \ “I don't want to live peacefully with difficult realities, and | `\ I see no virtue in savoring excuses for avoiding a search for | _o__)real answers.

Re: Nuitka Progress in Spring 2015

2015-04-30 Thread Ben Finney
A lie can be told in a few words. Debunking that lie can take | `\ pages. That is why my book… is five hundred pages long.” —Chris | _o__) Rodda, 2011-05-05 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Rewriting to Python 3

2015-05-01 Thread Ben Finney
`\ strict truth.” —Mark Twain, _Following the Equator_ | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Is this a good way to implement testing

2015-05-02 Thread Ben Finney
dard library, unlike proposed replacements. -- \ “Instead of having ‘answers’ on a math test, they should just | `\ call them ‘impressions’, and if you got a different | _o__) ‘impression’, so what, can't we all be brothers?” —Jack Handey | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Converting 5.223701009526849e-05 to 5e-05

2015-05-03 Thread Ben Finney
for how to specify exactly how you want values to be formatted as text. -- \ “The double standard that exempts religious activities from | `\ almost all standards of accountability should be dismantled | _o__) once and for all.” —Daniel Dennett, 2010-01-12 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Converting 5.223701009526849e-05 to 5e-05

2015-05-03 Thread Ben Finney
Ben Finney writes: > Assuming we're talking about a ‘float’ value:: > > >>> foo = 5.223701009526849e-05 > >>> "{foo:5.1}".format(foo=foo) > '5e-05' That's not as clear as it could be. Better is to be explicit about choos

Re: Is this a good way to implement testing

2015-05-03 Thread Ben Finney
c.) and leave the docstrings readable. -- \ “Generally speaking, the errors in religion are dangerous; | `\those in philosophy only ridiculous.” —David Hume, _A Treatise | _o__) of Human Nature_, 1739 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

DRM is self-defeating (was: Encrypt python files)

2015-05-06 Thread Ben Finney
—Douglas Hofstadter | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: PEP idea: On Windows, subprocess should implicitly support .bat and .cmd scripts by using FindExecutable from win32 API

2015-05-07 Thread Ben Finney
owth can go on forever in a | `\finite world is either a madman or an economist.” —Kenneth | _o__) Boulding | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Is this unpythonic?

2015-05-08 Thread Ben Finney
vehicle.unload() https://docs.python.org/3/library/collections.html#collections.namedtuple> documents the surprisingly useful ‘namedtuple’ factory. -- \ “It's a terrible paradox that most charities are driven by | `\ religious belief.… if you think altruism without Jesus is not | _o__) altruism, then you're a dick.” —Tim Minchin, 2010-11-28 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: OFFTOPIC, WAS Re: Confessions of a Python fanboy

2015-05-10 Thread Ben Finney
material. Keep attribution lines for the material you're quoting. -- \“We have to go forth and crush every world view that doesn't | `\believe in tolerance and free speech.” —David Brin | _o__)

Re: Updating a package on PyPi, testing and etiquette

2015-05-12 Thread Ben Finney
t also don't take on an unreasonable burden. Involve them in the process. -- \ “Don't be misled by the enormous flow of money into bad defacto | `\standards for unsophisticated buyers using poor adaptations of | _o__) incomplete ideas.” —Alan

Re: Updating a package on PyPi, testing and etiquette

2015-05-12 Thread Ben Finney
Rob Gaddi writes: > On Wed, 13 May 2015 08:35:02 +1000, Ben Finney wrote: > > > Rob Gaddi writes: > > > >> B) If I can't manage that, what's the etiquette behind having later > >> versions of a module break compatibility with older versions of >

Re: Looking for direction

2015-05-13 Thread Ben Finney
Here is a course on problem solving with algorithms that uses Python http://interactivepython.org/runestone/static/pythonds/index.html>. Good hunting! -- \“We cannot solve our problems with the same thinking we used | `\ when we created them.” —Albert Einstein | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Slices time complexity

2015-05-19 Thread Ben Finney
unate accident.” —Geoffrey Robertson, 2010-09-18 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Rule of order for dot operators?

2015-05-20 Thread Ben Finney
it well.” —Rene Descartes | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

<    12   13   14   15   16   17   18   19   20   21   >