“An expert is a man who has made all the mistakes which can be |
`\ made in a very narrow field.” —Niels Bohr |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@pyth
r-burdening them every time they open the file.
--
\ “Theology is the effort to explain the unknowable in terms of |
`\ the not worth knowing.” —Henry L. Mencken |
_o__)
al Mystery that attends any journey is: how did the |
`\ traveller reach his starting point in the first place?” —Louise |
_o__) Bogan, _Journey Around My Room_ |
Ben Finney
___
Tutor maillist - Tutor@python.o
ays/>
--
\ “I went to San Francisco. I found someone's heart.” —Steven |
`\Wright |
_o__) |
Ben Finney
___
Tutor ma
y
https://docs.python.org/3/glossary.html> can help with questions
like this.
--
\ “Not using Microsoft products is like being a non-smoker 40 or |
`\ 50 years ago: You can choose not to smoke, yourself, but it's |
_o__) hard to avoid second-hand smoke.”
ay zone. When I came back |
`\ the entire area was missing.” —Steven Wright |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options
0 percent of the time, you're not |
`\aiming high enough.” —Alan Kay |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change sub
ring?
--
\ “If you always want the latest and greatest, then you have to |
`\ buy a new iPod at least once a year.” —Steve Jobs, MSNBC |
_o__) interview 2006-05-25 |
Ben Finney
___
Tutor ma
nce that you are ignorant.” —Shaun Mason |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
“In the long run, the utility of all non-Free software |
`\ approaches zero. All non-Free software is a dead end.” —Mark |
_o__)Pilgrim, 2006 |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
e nurtured by delusion.” |
_o__) —Sam Harris, at _Beyond Belief 2006_ |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
tandard library Distutils. But not today.
--
\ “Nothing is more sacred than the facts.” —Sam Harris, _The End |
`\ of Faith_, 2004 |
_o__)
things we know that ain't so.” —Artemus Ward |
_o__) (1834–1867), U.S. journalist |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Technology |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
bandon our own reason, and are content to rely |
`\ upon authority, there is no end to our troubles.” —Bertrand |
_o__)Russell, _Unpopular Essays_, 1950 |
Ben Finney
___
Tutor maillist - Tutor@python.org
To
/, ipsum):
File "", line 1
def foo(lorem, /, ipsum):
^
SyntaxError: invalid syntax
--
\ “Ignorance more frequently begets confidence than does |
`\ knowledge.” —Charles Darwin, _The Descent of Man_, 1871 |
_o__)
as small as possible.
Better than learning the idiom independently later on, and cramming half
their program into that block :-/
--
\“But it is permissible to make a judgment after you have |
`\examined the evidence. In some circles it is even encoura
th Galbraith, _Money: Whence It |
_o__) Came, Where It Went_, 1975 |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Profundis_, 1897 |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
“Truth would quickly cease to become stranger than fiction, |
`\ once we got as used to it.” —Henry L. Mencken |
_o__) |
Ben Finney
___
Tutor maillist - Tuto
> is explicitly designed to make that
easy.
--
\ “Now Maggie, I’ll be watching you too, in case God is busy |
`\ creating tornadoes or not existing.” —Homer, _The Simpsons_ |
_o__)
e-reading |
`\ it, it said ‘Day 1: Still tired from the move. Day 2: Everybody |
_o__) talks to me like I'm an idiot.’” —Steven Wright |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.p
Wright |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
ssing how to do it.
--
\ “I distrust 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
__
ia 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
___
Tutor maillist - Tutor@python.org
To unsubscribe or chan
624 (1943) |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
imp.” |
_o__) —_Pinky and The Brain_ |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
fell down yesterday, stand up today.” —_The Anatomy of |
`\ Frustration_, H. G. Wells, 1936 |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change s
ichard M. Stallman, 2007-05-16 |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
-
\ “Firmness in decision is often merely a form of stupidity. It |
`\indicates an inability to think the same thing out twice.” |
_o__) —Henry L. Mencken |
Ben Finney
___
Tutor maillist
is case, are) all different.
<URL:https://en.wikipedia.org/wiki/The_Treachery_of_Images>
--
\ “Programs must be written for people to read, and only |
`\incidentally for machines to execute.” —Abelson & Sussman, |
_o__) _Structure and Interpretation of Computer Pro
just write it all into a text file, and execute
that.
--
\ “Nature is trying very hard to make us succeed, but nature does |
`\ not depend on us. We are not the only experiment.” —Richard |
_o__) Buckminster Fuller, 1978-
ead :-)
--
\“I think it would be a good idea.” —Mohandas K. Gandhi (when |
`\asked what he thought of Western civilization) |
_o__) |
Ben Finney
___
Tuto
ators
<URL:https://fasteners.readthedocs.io/en/latest/examples.html#lock-decorator>
seem to be what you want.
--
\“… Nature … is seen to do all things Herself and through |
`\ herself of own accord, rid of all gods.” —Titus Lucretius |
_o__)
“… 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
___
Tutor maillist - Tuto
uxley |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Maybe you've seen it.” —Steven |
_o__) Wright |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
good example.” —Mark Twain, _Pudd'n'head Wilson_ |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
me code
and the same behaviour.
--
\ “Try to learn something about everything and everything about |
`\ something.” —Thomas Henry Huxley |
_o__) |
Ben Finney
nk, don't even know what a rootkit is, so |
`\ why should they care about it?” —Thomas Hesse, Sony BMG, 2006 |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or cha
ing to reply to.
--
\ “The future always arrives too fast, and in the wrong order.” |
`\—Alvin Toffler |
_o__) |
Ben Finney
___
Tutor mailli
er, personal motto |
`\ |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
|
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
g surface attached to the end of a long stick.” |
_o__) —Jack Handey |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
what the slave |
`\ trade was to the 16th.” —David Mertz |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://
message. So I'd say that is inferior to attaching the program text.
--
\ “Now Maggie, I’ll be watching you too, in case God is busy |
`\ creating tornadoes or not existing.” —Homer, _The Simpsons_ |
_o__)
are not welcome.” —Victor J. Stenger, 2001-11-05 |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
education.” —Alvin |
_o__)Toffler, _Future Shock_, 1970 |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
out science is we can test our ideas.… But |
`\ until we do, until we have data, it is just one more proposal.” |
_o__) —Darren Saunders, 2015-12-02 |
Ben Finney
___
Tutor maillist - Tutor@python.org
To
e, zoo, Czech Republic |
`\ |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
to fear, mastery of fear — not absence |
`\ of fear.” —Mark Twain, _Pudd'n'head Wilson_ |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription o
“Anything that we scientists can do to weaken the hold of |
`\religion should be done and may in the end be our greatest |
_o__) contribution to civilization.” —Steven Weinberg |
Ben Finney
___
Tutor maillist - Tutor@python.
puter once beat me at chess, but it was no match for me |
`\ at kick boxing.” —Emo Philips |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To uns
o that all the small things go in the right |
_o__) direction.” —Alvin Toffler |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
“I believe our future depends powerfully on how well we |
`\ understand this cosmos, in which we float like a mote of dust |
_o__) in the morning sky.” —Carl Sagan, _Cosmos_, 1980 |
Ben Finney
___
Tutor maillist - Tutor@
ec.humor.oracle.d |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
for English!” “Pff! English, who needs |
`\ that? I'm never going to England!” —Barney & Homer, _The |
_o__) Simpsons_ |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe
m heartily, but good men; the rest love |
`\ not freedom, but license.” —John Milton |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscrib
ligion to play any role in issues of state |
_o__)[of] a modern democracy.” —Lawrence M. Krauss, 2012-05-28 |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
nly most honorable but |
`\ more useful than a life spent doing nothing.” —anonymous |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscript
ssage to survive without
any mangling.
--
\ “Give a man a fish, and you'll feed him for a day; give him a |
`\religion, and he'll starve to death while praying for a fish.” |
_o__) —Anonymous |
Ben Finney
___
lace, but Fabric is a place to start, or you may be more comfortable
with Make.
--
\“The problem with television is that the people must sit and |
`\keep their eyes glued on a screen: the average American family |
_o__) hasn't time for it.” —_Th
terleaved.
--
\ “I have an answering machine in my car. It says, ‘I'm home now. |
`\ But leave a message and I'll call when I'm out.’” —Steven Wright |
_o__) |
Ben Finney
___
Tutor maillist
iscussion forum.
--
\ “The best in us does not require the worst in us: Our love of |
`\ other human beings does not need to be nurtured by delusion.” |
_o__) —Sam Harris, at _Beyond Belief 2006_ |
Ben Finney
___
Tutor maillist - T
far as others, it is because giants were |
`\ standing on my shoulders.” —Hal Abelson |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscr
`\ person to do such is please not to read notice.” —hotel, |
_o__) Kowloon, Hong Kong |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.pyt
oundation for a future offense.” |
`\ —Ambrose Bierce, _The Devil's Dictionary_, 1906 |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
m code in the message.
--
\ Moriarty: “Forty thousand million billion dollars? That money |
`\must be worth a fortune!” —The Goon Show, _The Sale of |
_o__) Manhattan_ |
Ben Finney
___
Tut
nt people take |
_o__)it seriously.” —Douglas Adams |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
telling them to sit down and shut up.” —Phyllis Diller |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
awiec |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
boB Stepp <robertvst...@gmail.com> writes:
> On Sun, Mar 20, 2016 at 8:19 PM, Ben Finney <ben+pyt...@benfinney.id.au>
> wrote:
> > if rng is None:
> > rng = random._inst
> >
> > which is the default RNG instance in the module.
>
&
Steven D'Aprano <st...@pearwood.info> writes:
> On Mon, Mar 21, 2016 at 12:18:01AM +1100, Ben Finney wrote:
> > No, I meant what I wrote. The ‘rng’ parameter is expected to be
> > bound to a RNG. If the caller has not specified a custom RNG
> > instance, we bind ‘rng’ t
boB Stepp <robertvst...@gmail.com> writes:
> On Sat, Mar 19, 2016 at 8:03 AM, Steven D'Aprano <st...@pearwood.info> wrote:
> > On Sat, Mar 19, 2016 at 04:05:58PM +1100, Ben Finney wrote:
> >> if rng is None:
> >> rng = random.random
>
seed.
Hopefully you can take this as an example of how to better design
systems so they don't have tightly-entangled external dependencies.
--
\ “The good thing about science is that it's true whether or not |
`\ you believe in it.” —Neil deGrasse Tyson, 2011-02-04 |
_o__)
tion.” —Charles Stross, 2010-05-09 |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
you put it?” —Steven |
`\Wright |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
ht
Ben Finney <ben+pyt...@benfinney.id.au> writes:
> The first one is defined (by the syntax for literals) to create a
> *single* string object. Semantically, the fragments are specifying one
> object in a single step.
>
> The second is semantically (i.e. by the semantics of h
ong-term solution to mountains of waste is not more |
`\ landfill sites but fewer shopping centres.” —Clive Hamilton, |
_o__)_Affluenza_, 2005 |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Ben Finney <ben+pyt...@benfinney.id.au> writes:
> Hmm. That is a confusing inconsistency, I agree. It is deliberate, and
> explicitly documented:
>
> Note that leading zeros in a non-zero decimal number are not
> allowed. This is for disambiguation with C-style octal
another level, the answer is: I don't know why that decision was
made, and on the face of it I disagree.
--
\“But it is permissible to make a judgment after you have |
`\examined the evidence. In some circles it is even encouraged.” |
_o__)—Carl Sagan, _The Burden of Skepticism_,
-python>.
I for one would be very interested to see that.
--
\ “Pinky, are you pondering what I'm pondering?” “I think so, |
`\Brain, but don't you need a swimming pool to play Marco Polo?” |
_o__) —_Pinky and The Brai
Ben Finney <ben+pyt...@benfinney.id.au> writes:
> In that case, my recommendation is to learn a good programmer's
> editor, and let your students gain exposure to that.
>
> Emacs and Vim are the unchallenged masters here […]
>
> They aren't a small investment, though
Ben Finney <ben+pyt...@benfinney.id.au> writes:
> Short of [the heavyweights Vim and Emacs], I'd still recommend a
> community-owned, free-software, highly flexible programmer's editor.
> If you're on GNU+Linux, use the Kate or GEdit editors; they integrate
> very nicely with t
ystem's facilities for managing files and processes.
--
\“Humanity has advanced, when it has advanced, not because it |
`\ has been sober, responsible, and cautious, but because it has |
_o__)been playful, rebellious, and immature.” —Tom Ro
e investment of
time to learn.
--
\ “Unix is an operating system, OS/2 is half an operating system, |
`\Windows is a shell, and DOS is a boot partition virus.” —Peter |
_o__)H. Coffin
idea in Python, you
should not seek to avoid them.
--
\ “I may disagree with what you say, but I will defend to the |
`\death your right to mis-attribute this quote to Voltaire.” |
_o__) —Avram Grumer, rec.arts.sf.writt
ttp://lists.idyll.org/listinfo/testing-in-python>.
--
\ “I never forget a face, but in your case I'll be glad to make |
`\ an exception.” —Groucho Marx |
_o__)
>>> i = 1
>>> "Z"[:i] + "Z"[i+1:]
'Z'
Can you explain why that would be the case?
--
\ “I think a good gift for the President would be a chocolate |
`\ revolver. And since he's so busy, you'd probably have to
should be done only if the name
clarifies the purpose. An opaque name like ‘n’ is not helpful.
--
\ “Why doesn't Python warn that it's not 100% perfect? Are people |
`\ just supposed to “know” this, magically?” —Mitya Sirenef, |
_o__)
id it was elevator |
_o__)practice.” —Steven Wright |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
rrow
specification :-)
--
\“The idea that He would take his attention away from the |
`\ universe in order to give me a bicycle with three speeds is |
_o__) just so unlikely that I can't go along with it.” —Quentin Crisp |
Ben Finney
___
Tutor maillist -
.)
That's right, IMO.
--
\ “The generation of random numbers is too important to be left |
`\to chance.” —Robert R. Coveyou |
_o__) |
Ben Finney
___
Tut
regret that you will be unbearable.” —hotel, Bucharest |
_o__) |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
good |
_o__) of everyone.” —John Maynard Keynes |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
nother, ‘What! You too? I thought I was the only one!’” —C.S. |
_o__) Lewis |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.or
“I do not believe in immortality of the individual, and I |
`\consider ethics to be an exclusively human concern with no |
_o__) superhuman authority behind it.” —Albert Einstein, letter, 1953 |
Ben Finney
___
Tutor maillist - Tutor@python.org
To
from my job the other day. They said my |
`\ personality was weird. … That's okay, I have four more.” |
_o__) —Bug-Eyed Earl, _Red Meat_ |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscri
.” —Paul Graham |
Ben Finney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Ben Finney <ben+pyt...@benfinney.id.au> writes:
> I have today published a different approach, which I designed for one
> code base ad is to date its only user. I'm looking for more feedback.
>
> <URL:https://pypi.python.org/pypi/gajja/>
I forgot to mention
1 - 100 of 261 matches
Mail list logo