kipedia to correct its incorrect data then.
http://en.wikipedia.org/wiki/Health_care_in_the_United_States
Specifically.
http://en.wikipedia.org/wiki/File:International_Comparison_-_Healthcare_spending_as_%25_GDP.png
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
Error:
assert w == -1
Why?
DM
Why not is probably a better question, given that Dennis Lee Bieber and
Dave Angel have already pointed out that this is not legal Python, it'll
give a syntax error.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
math is only approximated? - Or is this a bug?
Thanks for all info,
Alec Taylor
Please google for floating point numbers.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
op variable i (and, if you need it, x) before hand.
Actually,
i = -1
or his reporting will be wrong.
~Ethan~
Methinks an off by one error :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ger!
Do you want to test for something that is larger than infinity?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ray
didn't just do two's compliment like everyone else, Seymour Cray
responded that when the computer was designed he simply didn't know
about twos compliment.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 24/02/2012 23:16, Michael Torrie wrote:
On 02/24/2012 09:59 AM, Mark Lawrence wrote:
The C integer bit doesn't matter since e.g.
>>>
a=10
ables? :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
d the person responsible should be
sacked.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
e. psutil doesn't do children.
--mihai
Please don't top-post! Also, psutil.Process.get_children() looks to
me like it "does" children.
You are incorrect. I've been told of by the BDFL for stating that
people should not top post on any Python mailing list/news
On 29/02/2012 00:16, Steven D'Aprano wrote:
On Tue, 28 Feb 2012 23:41:16 +0000, Mark Lawrence wrote:
I've been told of by the BDFL for stating that
people should not top post on any Python mailing list/news group.
He's the BDFL of Python, not of mailing list etiquette.
I
On 06/03/2012 01:10, Steven D'Aprano wrote:
Which is a pity, because I gather that Rick actually does know Tkinter
well.
+1. Please Rick less of the Dark Side. :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
b and
get it illegally?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
n won by a
landslide!
There is no need for this. You (as I've stated in another reply) seem
to know what you're talking about WRT tkinter so please stick with the
Light rather than the Dark Side.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 06/03/2012 02:56, Rick Johnson wrote:
On Mar 5, 8:33 pm, Mark Lawrence wrote:
please stick with the
Light rather than the Dark Side.
You're correct. I need to ignore these negative distractions. Thanks
for re-focusing the conversation.
No problem, but as I've often stated in t
ey are all free software, so the only
cost is your time), and decide for yourself which one meets your needs.
We can't answer that, because we don't know what you need.
Matplotlib is excellent, it has an extensive pile of docs and examples,
and the mailing list is extremely he
x27;Time', fontsize=16)
pp.savefig()
plt.clf()
VdotB=F[:,14]
plt.plot(t,VdotB)
pp.savefig()
pp.close()
I can't help directly but you may be better off asking on the matplotlib
users mailing list see
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
aren't those ':' redundant?
Kiuhnm
Nope.
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> with open("filename&quo
On 15/03/2012 16:01, Alec Taylor wrote:
C++0x? You mean C++11? :P
On that note, is Python upgrading to use C11? :V
Not for Windows given
http://mail.python.org/pipermail/python-dev/2012-February/116258.html.
I've no idea regarding *nix, os x or whatever.
--
Cheers.
Mark Law
I like it because it reads like a tree.
Kiuhnm
Why not find out for yourself by slapping the code into an interactive
Python interpreter and seeing what the result is?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
u show the
killer instincts of a great bowler in an Ashes Test Match, now could
there be anything more important in life or showing greater esteem than
that?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
uttons and bows.
No guessing the tune.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
27;s never seen?
Ross Ridge
We appear to have a case of "would you stand up please, your voice is
rather muffled". I can hear all the *plonks* from miles away.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
"weird
behaviour: pygame plays in shell but not in script".
Is anyone else seeing the same thing?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
However, i stil cant figure out what how to create the CFG from the
two references.
Regards
Taking a look at this may help you get going
http://alexleone.blogspot.co.uk/2010/01/python-ast-pretty-printer.html
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
e blocking google groups as a known source
of spam.
Thanks for all the replies, but as I've have just seen a pile of
messages, some of which date back to 28/03/2012, I'd hazard a guess that
something somewhere was wrong and has now been fixed :) Or ... ?
--
Cheers.
Mark Lawrence
atter is extremely difficult if you bite your toenails :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
loaded into memory. They even came up with a system that let you
select which patches you wanted and which you didn't, as e.g. some
patches were customer specific.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 03/04/2012 19:42, Nathan Rice wrote:
I view "computer science" as applied mathematics, when it deserves
that moniker. When it doesn't, it is merely engineering.
Is it still April first in your time zone?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
7;s New docs, or have I
simply missed something?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
to the Origo main page at http://origo.ethz.ch
Can anyone provide some updates on this?
Thanks,
It's now http://pypi.python.org/pypi/Polygon/2.0.4
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
Original Message
Subject: Re: produce the same output as Unix's date command
Date: Thu, 05 Apr 2012 22:07:42 +0100
From: Mark Lawrence
Newsgroups: gmane.comp.python.general
References:
On 05/04/2012 21:52, Jabba Laci wrote:
Hi,
Unix's date command produces t
opping algorithm would be used. Someone queried this,
stating that a hashing algorithm would be better suited to the task.
The reply was "What's a hashing algorithm?". Last I heard the person
who made this quote was a director of the last major defence contractor
in
ngelico
For the record please see http://www.python.org/dev/peps/pep-0397/
"Python launcher for Windows" which discusses shebang lines.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ault install on Windows
commandeers the '.py' extension and breaks stuff that currently works.
PEP397 discusses this issue, a solution is already available which works
a treat.
-Bryan
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
as I am, but the gotchas are really annoying. With minor
versions its not a big deal if most users simply wait to do an
upgrade.
-Bryan
You can as I've already said do this but apparently you're more than
happy to ignore solutions that have been given to you. The
implementation of PEP
Now.
No Real Soon Now about it see here
https://bitbucket.org/vinay.sajip/pylauncher/downloads. Shock horror
probe there's even some documentation referenced :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
g . I
thought there was some kind of gateway, but in my reader I
only saw one answer in the newsgroup.)
Stefan
Do you see this through gmane.comp.python.general?
Also note that I can spell "through" correctly unlike sum foruneers.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/m
t it was on. I'm certain that
other subscribers will remember and point us all in the correct direction.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
can't be found. Worse still when you want to try a really popular
product like taskcoach, but you can't get it cos some moronic OSes
insist on being case sensitive. Does that warrant a :) or a :(
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
f the list where all
elements of the tuple are string non-zero-length strings. Obviously, you'd do
the corresponding generator expression as well.
itertools.takewhile ?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ich comes later in all the responses) so why do some people
think it's so important?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
thy Holy Hand Grenade of
Antioch towards thy foe, who being naughty in My sight, shall snuff it."
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
far, including full traceback
for any errors. Let's face it, this is similar to the question you
posted some eight hours ago give or take. For more data on the problems
with time please see this amongst others
http://thread.gmane.org/gmane.comp.python.devel/132284
--
Cheers.
that others have already asked you to provide.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
please give it a rest, you're flogging a dead horse.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
art from five(ish) morons)
will follow the hijacked project, while the vast majority will support
Luke as a matter of principal. I suggest the thieves be subjected to
this http://en.wikipedia.org/wiki/Send_to_Coventry
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 08/05/2012 19:16, d.po...@gmail.com wrote:
folks
hi,
I am going to learn python for some plot issues. which book or sources, do you
recommend please?
Cheers,
Dave
matplotlib - google and yee shall find.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
years)… The IP you came up with is still yours and a
contract that claims your IP can (and has been in a court of law) judged to be
null and void.
References please, as this is completely opposite to my understanding.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python
completely opposite to my understanding.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
Google was a right PITA but eventually I found this
http://www.legalcentre.co.uk/intellectual-property/guide/intellectual-property-and-employees/
It appears to contr
On 10/05/2012 01:27, Chris Angelico wrote:
On Thu, May 10, 2012 at 10:12 AM, Mark Lawrence wrote:
Google was a right PITA but eventually I found this
http://www.legalcentre.co.uk/intellectual-property/guide/intellectual-property-and-employees/
It appears to contradict what you've said
the correct time as possible.
For an idea of how difficult timing can be, search the Python
development mailing list for PEP 418 and associated threads. Make sure
you have a large supply of sandwiches and coffee cos you'll need it :)
Thanks,
Tobiah
--
Cheers.
Mark Lawrence.
--
http:
27;29 May monday AM
Neuropancreatic')]
Thanks
See http://docs.python.org/library/time.html#time.strptime and it's
cousin strftime, and
http://docs.python.org/library/datetime.html#module-datetime date and
timedelta types.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
tree.body[0].orelse
[<_ast.Pass object at 0x7f1301319390>]
tree.body[0]._fields
('test', 'body', 'orelse')
for i in ast.iter_child_nodes(tree.body[0]):
... print i.__class__.__name__
...
Name
Pass
Pass
Is my suspicion correct? Or is there a way to get t
On 11/05/2012 15:32, Andreas Tawn wrote:
It's also helpful to not have to display every attribute, of which there may be
dozens.
Do I detect a code smell here?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 12/05/2012 13:17, Jean-Daniel wrote:
Hello,
Do you know the best way to do this in Python with the stdlib?
Sorry, not part of the stdlib but search for red black tree here
http://pypi.python.org/pypi. While you're there also take a look at the
blist package.
--
Cheers.
e, my first thought was to say "yes" :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
es that are not performance critical.
Stefan
Stefan, you appear to have a lot to do with Cython. It would be polite
to mention this when replying.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 13/05/2012 18:38, Stefan Behnel wrote:
Mark Lawrence, 13.05.2012 19:23:
On 13/05/2012 16:39, Chris Angelico wrote:
On Sun, May 13, 2012 at 11:25 PM, David Shi wrote:
Can anyone tell me how to call and exectute C code in Python?
Browse the documentation about Extending and Embedding
On 13/05/2012 19:14, Stefan Behnel wrote:
Mark Lawrence, 13.05.2012 19:44:
On 13/05/2012 18:38, Stefan Behnel wrote:
Mark Lawrence, 13.05.2012 19:23:
On 13/05/2012 16:39, Chris Angelico wrote:
On Sun, May 13, 2012 at 11:25 PM, David Shi wrote:
Can anyone tell me how to call and exectute C
good things on "Python Essential Reference".
Thanks.
Could you please pass the line for tutorial?
google for python tutorial - IIRC first hit is to the tutorial for
version 2.7.3
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ity I wouldn't touch it with a barge pole.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
and start
building a new community. Why didn't the rebels do that?
Cheers,
Daniel
Typical shabby Nazi trick.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
iles with a
'.py' extension to use a different executable based on the Python
version the script targets. This will be done by borrowing the existing
practices of another operating system - scripts will be able to nominate
the version of Python they need by way of a "sheba
ere a way to do this in iPython or matplotlib?
Sorry don't know but wouldn't it make sense to ask on the matplotlib
users mailing lst, cos like most python users the're extremely friendly?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
alone.
I find it amazing that this doesn't come up more often
http://www.python.org/dev/peps/pep-0397/
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
uiters? You are a cruel,
hard and absolutely correct man :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 07/06/2012 11:05, David Shi wrote:
Hi, folks.
Where is the lastest step by step guide to compile Python into an executable?
Regards.
David
Google.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ut picking appropriate algorithms for the code,
or a sensible database design or whatever. And heaven forbid that
anyone suggest using a command line even if this was the better solution
for the problem that the user wants solved.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
the python rules long~ time.
what do you think about future of this lang
or famous lang like C, JAVA, C#, LISP&C
I believe that this still holds true
http://www.gossamer-threads.com/lists/python/python/129650?do=post_view_threaded
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/l
that it's also pre-installed on OS X.
It's just a pity that Python is no longer maintained on the finest OS
ever, i.e. VMS :(
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 15/06/2012 13:18, Gonzalo de Soto wrote:
Dear Python Org,
It wanted to know if already PIL's
version is available for Python 3.2.3.
Thanks.
Gonzalo
Please refer to Matthew 7:7 for a way forward.
--
Cheers.
Mark Lawrence.
--
.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ou, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
;m pointing out
the disgraceful state of gg and why it should be dropped as it's less
than useless.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
with the gmane website. Just point any
(semi-)decent mail client like Thunderbird at news.gmane.org and you've
access to hundreds of Python lists and thousands of other technical
lists. I find the search facilities perfectly adequate.
--
My fellow Pythonistas, ask not what our language
ts
['MILANI,', 'JOHN', 'C', 'Tmt.', 'Dt.']
# I'll leave you to grab the names, and strip the comma from the last name.
>>> start = bits[3].find('- ')
>>> stop = bits[3].find('(')
>>> date = bits[3][start + 2: stop].strip()
>>> date
'05/28/2014'
Apologies for the variable names used, I'm sure that you can think of
something better :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
l(MyDict)
print(x)
Thanks in advance for any help.
Was the string methods solution that I gave a week or so ago so bad that
you still think that you need a regex to solve this?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
hich I
believe was purely accidental.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
On 13/02/18 18:08, Stanley Denman wrote:
On Tuesday, February 13, 2018 at 9:41:14 AM UTC-6, Mark Lawrence wrote:
On 13/02/18 13:11, Stanley Denman wrote:
I am trying to performance a regex on a "string" of text that python isinstance
is telling me is a dictionary. When I run the
ou, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
ervice is resumed :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
One is the BDFL
http://www.computerhistory.org/press/2018-fellow-honorees.html
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
or their own work?
According to https://github.com/byt3bl33d3r/CrackMapExec/issues/167,
which reports the same error, you just need to update the requests package.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
park for every
test that was run.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
nd then
help(atws) shows help so I'm guessing that it's just a poor
informational message, so I suggest that you just try running your code
and see what happens.
p.s. enjoying the curling at the Winter Olympics?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
s I can't see this happening in
a month of Sundays.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
On 05/03/18 01:01, Ooomzay wrote:
On Sunday, 4 March 2018 23:57:24 UTC, Mark Lawrence wrote:
On 04/03/18 02:28, Ooomzay wrote:
On Friday, 2 March 2018 15:37:25 UTC, Paul Moore wrote:
[snip]
def fn():
for i in range(1):
with open(f"file{i}.txt",
can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
json if that content type was specified.
Could you please give some context when you reply, TIA.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
'istory! It's off
the twig! It's kicked the bucket, it's shuffled off its mortal coil,
run down the curtain and joined the bleedin' choir invisible!!
THIS IS AN EX-VERSION!!
"""
Pythonically-yers,
-tkc
I'd still like to know what the core develo
uage can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
as I can't
be bothered any more. That is I would go onto gg and directly mark all
the spam as spam. Is this coincidence?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
-list
When originally reported I was getting, and am still getting, 502.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
On 30/04/18 19:41, Bill Deegan wrote:
back up for me.
Ditto :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
n.org/3/library/stdtypes.html#old-string-formatting
The new style
https://docs.python.org/3/library/string.html#format-string-syntax
If you have Python 3.6 f-strings
Thanks in advance
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do fo
sy) way, so there's no point debating this.
Fortunately for the rest of us, status quo wins a stalemate.
ChrisA
Please stop feeding the OP, to my knowledge he's never once come up with
any sensible suggestion for Python.
--
My fellow Pythonistas, ask not what our language can do for yo
as, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
lowing your question; len(s)-1 is much faster than
enumerating over the string just to get the last index.
-1 is even faster.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
501 - 600 of 3466 matches
Mail list logo