Lew Kurtz added the comment:
Removed the ellipses from the examples, so not confused with continuation
prompt. Is clearer now.
--
resolution: -> fixed
stage: patch review -> resolved
status: pending -> closed
___
Python tracke
Change by Lew Kurtz :
--
keywords: +patch
pull_requests: +7462
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33460>
___
___
Python-
New submission from Lew Kurtz <lew.ku...@icloud.com>:
https://docs.python.org/3/tutorial/introduction.html
uses ... to mean 5 or 6 different things. Since ... is continuation prompt,
some of these other uses on that page are confusing - at least they were to
this newbie. The most con
ermitted to seek to a point in the file,
and then write from that point on.
A write to a read mode ("r") file isn't permitted at all,
so neither is "write after seek" to a read mode file.
A write to an append mode ("a" and "a+") file always write to the
mer's lexicon well
before the invention of C. Computer languages have inherited and used it
since (at least) 1948.
Dartmouth BASIC (1964) had "FOR"
FOR I=1 TO 10
ALGOL-60 (1960) had "for"
for i:=1 step 1 until 10
ALGOL-58 (1958) had "for"
for i:=1(1)10
Supe
Chris Angelico wrote:
> On Wed, Apr 12, 2017 at 1:24 AM, Lew Pitcher
> <lew.pitc...@digitalfreehold.ca> wrote:
>>
>> What in "Try changing your target encoding to something other than ASCII"
>> is encouragement to use "old legacy encodings"?
>
Steve D'Aprano wrote:
> On Tue, 11 Apr 2017 12:50 am, Lew Pitcher wrote:
>
>> David Shi wrote:
>>
>>> In the data set, pound sign escape appears:
>>> u'price_currency': u'\xa3', u'price_formatted': u'\xa3525,000',
>
> That looks like David is usin
haracter u'\xa3' in position 0: ordinal not in range(128)
There is no "pound sign" in ASCII[1]. Try changing your target encoding to
something other than ASCII.
[1]: See http://std.dkuug.dk/i18n/charmaps/ascii for a list of valid ASCII
values.
--
Lew Pitcher
"In Skills, We Trust&
te idiot.
>
> I suppose all that could be a reality, but, how many
> computers do you know of have been compromised in this
> manor?
Probably many, especially in high-use, public or semi-restricted systems like
those found in Universities, libraries, and other "public" institutions. Even
corporate systems have this exposure, which is why large corporations spend a
lot of money on Information Systems security.
--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday December 8 2016 11:48, in comp.lang.python, "Random832"
<random...@fastmail.com> wrote:
> On Wed, Dec 7, 2016, at 15:29, Lew Pitcher wrote:
>> But, point of fact is that the feature to disable globbing is not often
>> needed. Most Unix programs
t shell options to parse
commandlines in the Popen() method, then you need to talk to the authors of
Python to see if they can give you a way to alter this behaviour.
Otherwise, you are just being cranky and argumentative. Stop it. Suck it up
and move on. The world doesn't revolve around BartC, no matt
y or permanently if necessary.
For example:
calculate '3*5'
or
sh -o noglob -c "calculate 3*5"
or even
sh -o noglob
calculate 3*5
> This expression might be seen as 345 if there happens to be file called
> '345' lying around.
Only if shell globbing is enabled, and you don't specifically bypass it.
--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request
--
https://mail.python.org/mailman/listinfo/python-list
On Monday December 5 2016 17:24, in comp.lang.python, "Chris Angelico"
<ros...@gmail.com> wrote:
> On Tue, Dec 6, 2016 at 8:38 AM, Lew Pitcher
> <lew.pitc...@digitalfreehold.ca> wrote:
>> The OP asked for the runlevel, not the systemd target.
>
> Runle
16:36 $ python rlevel.py
sh: systemctl: command not found
16:36 $
> systemd 'graphical.target' corresponds to the old runlevel 5.
Yes? So?
The OP asked for the runlevel, not the systemd target.
--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request
--
https://mail.python.org/mailman/listinfo/python-list
ommence.
The best way to think about it is that all parameters are parameters, whether
derived from a glob input to a shell, or explicitly specified in the
invocation.
If you have a need for positional parameters, then either specify that your
code only accepts them in specific places, or find a
"a.py", "*"])
>
> the output will be: ['a.py','*']?
>
> In that case forget Windows vs. Linux, you now have a program that will
> get command parameters processed differently depending on whether it was
> invoked from a shell or not.
Yes.
> Or a program t
directories
required by your given path.
2) Apparently os.mkdir() (at least) defaults to requiring an ASCII pathname.
Those of your titles that contain Unicode characters cannot be stored
verbatim without either
a) re-encoding the title in ASCII, or
b) flagging to os.mkdir() that Unicode is acce
signature begins with a line consisting only of two hyphens followed by a
space. Any lines that follow that line are considered to be part of the
signature.
--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request
--
https://mail.python.org/mailman/listinfo/python-list
(SUCCESS);
return rc;
}
18:39 $ cc -o testlogic testlogic.c
18:39 $ ./testlogic
SUCCESS
--
Lew Pitcher
In Skills, We Trust
PGP public key available upon request
--
https://mail.python.org/mailman/listinfo/python-list
So, if I read between the lines correctly, you recommend Python 3? Does the
windows version install with a development environment?
--
http://mail.python.org/mailman/listinfo/python-list
to basic programming skills,
of course).
So Python 2 or 3? Add on packages/libraries? Tutorials?
Thanks!
-Lew
--
http://mail.python.org/mailman/listinfo/python-list
definitely get more unpredictable over evolution.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
, shared mutable state will
not present problems in production.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
it is
usually the best solution in that context.
Interesting distinction. Would it be fair to compare concurrent programming
to the bricks used to build the parallel program's edifice?
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
it.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
Christian wrote:
... [Xah Lee] seems to be mostly doing a often highly intelligent monologue ...
Really?
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
s...@netherlands.com wrote:
On Mon, 09 Mar 2009 22:08:54 -0400, Lew no...@lewscanon.com wrote:
Larry Gates wrote:
For me, the worst thing is when I'm programming, and a bug *actually* gets
on my monitor. In real life, I'm this tough person: a rugged tradesmen.
I'm so phobic of bugs that I'll
[sic] they produces [sic].
Aaron Gray wrote:
Do you enjoy spamming comp.lang.functional with OT cross-posts ?
Is that a rhetorical question?
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
Andreas Waldenburger wrote:
On Wed, 03 Dec 2008 20:38:44 -0500 Lew [EMAIL PROTECTED] wrote:
Xah Lee wrote:
enough babble ...
Good point. Plonk. Guun dun!
I vaguely remember you plonking the guy before. Did you unplonk him in
the meantime? Or was that just a figure of speech?
I have
Xah Lee wrote:
enough babble ...
Good point. Plonk. Guun dun!
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
for money does nothing to counter his points,
indeed it reads like an attempt to deflect the point.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
. But underneath, i [sic] think it is [yo]u who [a]r[e] the most
wortheless with regards to online computing forum's health.
You are entitled to your opinion. I take no offense at your attempts
to insult me.
How does your obfuscatory behavior in any way support your technical
points?
--
Lew
to comp.lang.functional. It looks like he's got nothing to offer us
Java weenies this time around.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
A rational human would realize that not too many people peruse this
newsgroup,
and that most of them have already seen the wall of text post that you
generate every time.
Just out of curiosity, what do you consider this newsgroup, given its wide
crossposting?
--
Lew
Jon Harrop wrote:
Xah Lee wrote:
(nothing Java-related)
Please take this crud out of the Java newsgroup.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
Xah Lee wrote:
this one is published a decade ago by a lisp [sic] dignitary.
Its theory of programing [sic] and software engineering is poetry and
taoism [sic].
It suggests that C will be the last lang.
In a paroxysm of precognitive genius, seemingly.
--
Lew
--
http://mail.python.org/mailman
the one cited above already suffices.
Your example shows the opposite of what you claim. By your own example, the
Chinese transliteration wasted twice as much space as the American one.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
, and compilers certainly
aren't the issue there.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
to comp.lang.functional)
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
that they follow suit. So a
public plonk is actually a service both to the troll/spammer/innocent victim
of slander and to the larger newsgroup community.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
WDC wrote:
BTW I reported it, yo should too.
To whom did you report it, so that we may also report it there?
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
) into this TextField:
+--+
| Your son totally needs a Wonder-Bra(r), double-D |
+--+
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
John Thingstad wrote:
Perl is solidly based in the UNIX world on awk, sed, bash and C.
I don't like the style, but many do.
Please exclude the Java newsgroups from this discussion.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
Gordon Etly wrote:
Lew wrote:
John Thingstad wrote:
Perl is solidly based in the UNIX world on awk, sed, bash and C.
I don't like the style, but many do.
Please exclude the Java newsgroups from this discussion.
Why? Do you speak for everyone in that, this, or other groups?
I don't
)
And the temerity of:
(One thing you can do, is actually take a course on philosophy,
history, law, economics, in your local community college.)
Yeah, those bastions of intellectual elitism.
Plonk, plonk, plonk.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
—Xah Lee, 2005
Blah, blah, blah. Plonk.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
netiquette.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
Sherman Pendley wrote:
Lew [EMAIL PROTECTED] writes:
You guys are off topic. None of the million groups to which this
message was posted are about netiquette.
Netiquette has come up at one point or another in pretty much every
group I've ever read. It's pretty much a universal meta-topic
. After you'd read the same recycled
crud from certain posters again and again, it because trollish spam.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
s-expression nested notation that would be possible if regex hadn't
entrenched itself so solidly.
This is all very interesting, but not Java.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
the victims for the perpetrator's actions, OK?
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
*last* February.
---I remember it too. Xah is quite the self-promoter. Massive
cross-posters don't have anything to say for me.
So don't do it.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
people view the site or click on links, me
thinks. It's spam.
Yes, but it's not SPAM.
SPAM is a registered trademark of Hormel Foods Corporation for a canned pork
product.
Spam is unwanted messages or email.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
Xah Lee wrote:
i have written ... No coherent argument,
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
)
There's something a little fey about someone calling out a programing [sic]
moron's ingorance [sic] and then devolving right into blue speech.
I think Xah Lee should look into:
http://en.wikipedia.org/wiki/Psychological_projection
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
that assertion? Oh, wait, there wasn't an assertion.
The sentence was incomplete. What are you asserting?
A theory based on what, exactly, is so absolutely stupid?
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
Arne Vajhøj wrote:
Lew wrote:
very
different. Having a dead - i mean end of development line software
like TeX - and
Based on what do you call it dead end. It's used, it's outlasted
many other flashes in the pan, it does what its users require. You
will need evidence for such a claim
the responses.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
prefer,
assert both, but please be clear. Should we just accept that you meant, less
than 2% of total line count changed? Per year? Per century? What if the
code is perfect and has no need of change? Is it (a) dead (end)?
(Who uses line count as a metric of anything any more?)
--
Lew
a cogent case, much less a convincing one.
I am afraid that your conclusion is quite mistaken. Knuth is, if anything, a
huge success in the field of software engineering, whether you rate it as
making a contribution to the art, or as being paid to perform the art.
--
Lew
--
http
llothar wrote:
On 21 Okt., 22:45, Lew [EMAIL PROTECTED] wrote:
Evidence is that TeX development is dead.
Exactly and Knuths only contribution to software development was the
theory of
literate programming. As i said for me algorithms are not software
development,
this is programming
: But I'll never get there!
Engineer: I'll get close enough.
Mechanician (to the researcher): Hey, you look pretty good. What's your sign?
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
elbow to wrist.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
the original phrase came from, nobody knows, and it is probably
simply incorrectly quoted.
http://yedda.com/questions/origin_famous_sentence_quotations_8625651351715/
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
rjack wrote:
Webster? WEBSTER. . . ?
Whatever happened to the Oxford English Dictionary ?
Seems to me the English have always spoken the definitive
English. . . that's why they call it ENGLISH.
What is in a name? A rose by any other name would still smell as sweet.
--
Lew
--
http
.
Freedom is not natural. It must be defended.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
Lew wrote:
Java is a strongly-typed, compiled language which means it does more
static type checking and thus would reject treating a as both an array
and a String.
In that environment the programmer must choose one or the other.
Ken Bloom wrote:
In this Java example, a and b
.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
that at all.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
http://car-ac-systems.blogspot.spam/
I'm starting to see blogspot as a synonym for spam.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
thread, so those concepts have multiple referents.
Take another look at the address field (Newsgroups:) of the message, then
redefine this newsgroup accordingly - there are more than one due to the
spammish cross-posting of the original message.
So let's all stop being so parochial, hmm?
--
Lew
.
Please do not include comp.lang.java.programmer in this discussion, as it is
wy off topic.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
siblings.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
Twisted wrote:
On Jul 7, 6:12 pm, Lew [EMAIL PROTECTED] wrote:
Twisted wrote:
Edward Dodge wrote:
So -- what magical computer app illuminates the entire room and shows
you how to use everything at the flip of a switch? This brilliant
discovery would put Sam's, O'Reilly, the for-Dummies
of business in weeks.
Naturally, this would include the publishers of books on easy-to-use
Microsoft products.
I don't know, but it sure as hell isn't emacs.
The reason you don't know, and Edward Dodge's point, is that there is no such
app, whether emacs or not.
--
Lew
--
http://mail.python.org
with spam. That
might not be such a good thing to do as more and more people use Bayesian
filtering.
Oh, hush. What fun is life when you can't unleash your venom on a spammer who
probably will never read it?
Take a chill pill and enjoy the fun.
--
Lew
--
http://mail.python.org/mailman/listinfo
James Harris wrote:
a) store, as a 32-bit number, days since a virtual year zero (there is
no year zero in common era time
http://en.wikipedia.org/wiki/Common_Era).
But according to the same article:
(It [year zero] is, however, used in the astronomical system and ISO 8601.)
--
Lew
--
http
.
There's no opportunity for reasoned discourse in the face of such tactics. Or
room for new information to combat one's prejudices.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
as root in a normal
Emacs session?
I've been using emacs for something like twenty years and never knew that
before.
I like the built-in therapist in emacs.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
evidence of
the help system's utility.
Some will refuse to face the truth. To the open-minded, let the facts speak
for themselves.
I bet Xah Les is all over smiles about how well his controversy bloomed.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
Lew wrote:
To the claim that emacs is too hard for the beginner we have a mounting
pile
of steaming evidence that refutes. It may still be true that it is too hard
for some beginners..
notbob wrote:
I point them to jed. I, too, was overwhelmed by emacs, initially, but
can't stand
Ed wrote:
Thanks, all, for the answers.
But, Lew: GWMF?
- Gardner Winter Music Festival? (You have to love the black'n'white
photo on the right at: http://www.gwmf.org/)
- Generalized Whitening-Matched Filter?
- http://www.gwmf.com/ ?
- http://www.gwmf.de/host/ ?
- http
/main.html
GWMF.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
or joke languages.
Indeed. One wonders where Perl would be if Snobol hadn't preceded it.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
hand, has no connection to any known
programming language. ;) In particular, Perl code looks more like line
noise than like code from any known programming language. ;))
Hmm - I know of APL and SNOBOL.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
and self-serving garbage self-expression is immoral and horrible.
How dare you?
Free speech, free press and free expression of ideas is not something to take
so lightly.
--
Lew
--
http://mail.python.org/mailman/listinfo/python-list
Lew ranted maniacally:
Y'know, even in jest, calling for an oppressive regime to suppress even
wrong-headed and self-serving garbage self-expression is immoral and
horrible. How dare you?
Free speech, free press and free expression of ideas is not something to
take so lightly.
Bruce C
galathaea wrote:
On Apr 3, 12:23 pm, Xah Lee [EMAIL PROTECTED] wrote:
[top posting for clarity]
You mean to reduce clarity.
Please do not top-post - instead, trim the post and respond in line. It makes
the messages easier for the rest of us.
--
Lew
--
http://mail.python.org/mailman
in Java:
Only when written by someone almost entirely ignorant of Java.
Which is the state most people want to be in...
Which based on what I've seen, is the state that most Java programmers are
in. They'd have no idea why Mike said what he did.
what EVerrr!
-- Lew
--
http://mail.python.org
Michele Dondi wrote:
Even better: pick one entry of your choice from
http://images.google.com/images?q=%22don%27t+feed+the+troll%22
I pick http://img371.imageshack.us/img371/8263/noah7ok6rh.jpg/
-- Lew
--
http://mail.python.org/mailman/listinfo/python-list
.
Which is the state most people want to be in...
As a particular case of the general proposition that most people want to be
ignorant of computer programming.
-- Lew
--
http://mail.python.org/mailman/listinfo/python-list
I've seen and heard of Xah Lee, you'd probably lose the bad-coding
competition to him. He's a professional.
-- Lew
--
http://mail.python.org/mailman/listinfo/python-list
of c.l.p.misc.
We've heard similar reports about Xah Lee on other newsgroups as well.
-- Lew
--
http://mail.python.org/mailman/listinfo/python-list
Sherm Pendley wrote:
Lew [EMAIL PROTECTED] writes:
Jim Burton wrote:
Or you could stop feeding the trolls.
Does not apply. The OP was not being trollish
You obviously don't know Xah. He's been doing this for years, cross-
posting to various language groups trying to start an argument
.
-- Lew
--
http://mail.python.org/mailman/listinfo/python-list
, I've had enough. I'd say you need a good editor to clean up the grammar,
but then all you'd have is a better-written incorrect explanation.
-- Lew
--
http://mail.python.org/mailman/listinfo/python-list
.
We could put up a contest - whoever finds and corrects the most errors in the
post wins. Ties broken by the quality of the correct explanations. Incorrect
explanations count against the entry.
-- Lew
--
http://mail.python.org/mailman/listinfo/python-list
97 matches
Mail list logo