Re: why i can't install ez_setup

2014-06-28 Thread Mark Lawrence
get-pip.py instead, it will also get you pip in addition to setuptools: https://bootstrap.pypa.io/get-pip.py Or get Python 3.4 which can get pip for you if you so desire. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: why i can't install ez_setup

2014-06-28 Thread Mark Lawrence
On 28/06/2014 19:15, Steven D'Aprano wrote: On Sat, 28 Jun 2014 18:24:21 +0100, Mark Lawrence wrote: [snip] Or get Python 3.4 which can get pip for you if you so desire. Hey Mark, how about trimming your replies a little, please? Thanks. Okay, as soon as folks stop using google g

Re: why i can't install ez_setup

2014-06-28 Thread Mark Lawrence
;ve used it and never had a problem, but it's certainly a case of "buyer beware". -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Ant

Re: Writing Multiple files at a times

2014-06-29 Thread Mark Lawrence
. https://docs.python.org/3/library/urllib.html#module-urllib https://pypi.python.org/pypi/requests/2.3.0 https://docs.python.org/3/library/queue.html -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free

Re: Convert Excel Range into python List

2014-07-01 Thread Mark Lawrence
uage can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: 1-0.95

2014-07-01 Thread Mark Lawrence
How to get 0.05 as result? bc has scale=2 . Has Python some similar feature? Asked and answered roughly one trillion times. Try searching for python floating point, not that this is specific to python. -- My fellow Pythonistas, ask not what our language can do for you, ask what you

Re: What's the "right" way to abandon an open source package?

2014-07-01 Thread Mark Lawrence
istas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: NEW JOB req: Python developer with Analytical risk

2014-07-02 Thread Mark Lawrence
On 02/07/2014 14:44, Suman Bharathi Balasubramanian wrote: Please post your jobs here https://www.python.org/community/jobs/ -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and

Re: general module auditing

2014-07-02 Thread Mark Lawrence
you can distort them as you please.-- You can check every users's program for import statements but do you really need to, why not check what's in the site-packages folder for your python install? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Image Upload with FalconFramework

2014-07-03 Thread Mark Lawrence
and Python versions, the exact code that you've tried to run, how you've tried to run it, what you expected to happen and what actually happened including the complete traceback if any. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for

Re: general module auditing

2014-07-03 Thread Mark Lawrence
On 03/07/2014 10:27, Rita wrote: On Thu, Jul 3, 2014 at 2:54 AM, Mark Lawrence mailto:[email protected]>> wrote: On 03/07/2014 02:17, Rita wrote: On Wed, Jul 2, 2014 at 2:46 PM, Irmen de Jong mailto:[email protected]> <mailto:irmen.nos.

Re: TypeError expected in an augmented assignment

2014-07-03 Thread Mark Lawrence
our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: OOP with MyTime

2014-07-03 Thread Mark Lawrence
https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing double line spacing and single line paragraphs, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because

Re: general module auditing

2014-07-03 Thread Mark Lawrence
get called it will be written to a log file with corresponding host and username. Is there an easy way to do that? Start here https://docs.python.org/3/library/logging.html#module-logging -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our langua

Re: PEP8 and 4 spaces

2014-07-04 Thread Mark Lawrence
mostly personal preference (though spaces are better!). But, mixing the two is right out, and should be stomped on hard. Yet another reason to switch to Python 3. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This ema

Re: PEP8 and 4 spaces

2014-07-04 Thread Mark Lawrence
s expected. Marko Only for the very old fashioned Python 2, the modern Python 3 has booted mixed tabs and spaces into touch. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses a

Re: PEP8 and 4 spaces

2014-07-04 Thread Mark Lawrence
or you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: PEP8 and 4 spaces

2014-07-04 Thread Mark Lawrence
On 04/07/2014 16:57, Emile van Sebille wrote: On 7/4/2014 7:57 AM, Mark Lawrence wrote: On 04/07/2014 15:28, Grant Edwards wrote: On 2014-07-03, Emile van Sebille wrote: Just watch out for mixed tabs and spaces in the same file -- a tab counts as eight spaces and can be used

Re: PEP8 and 4 spaces

2014-07-04 Thread Mark Lawrence
. Just make sure all your method names are 7 letters long :-) When the homework gets handed in I guess the lecturer will know who's read this thread :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is

Re: PEP8 and 4 spaces

2014-07-05 Thread Mark Lawrence
code runs quickly. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailma

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Mark Lawrence
tps://mail.python.org/mailman/listinfo/python-list or read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing double line spacing and single line paragraphs, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Mark Lawrence
you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Mark Lawrence
you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: How do you use `help` when write your code

2014-07-06 Thread Mark Lawrence
they don't have to mess around. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://

Re: open() and EOFError

2014-07-07 Thread Mark Lawrence
what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: What is 're.M'?

2014-07-07 Thread Mark Lawrence
not delivered or did you not bother to read it? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: What is 're.M'?

2014-07-07 Thread Mark Lawrence
paragraphs, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman

Re: Question about metacharacter '*'

2014-07-07 Thread Mark Lawrence
On 07/07/2014 19:51, [email protected] wrote: Will you please do something about the double spaced google crap that you keep sending, I've already asked you twice. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Law

Re: open() and EOFError

2014-07-07 Thread Mark Lawrence
(at least to my eye) cleaner looking code. Somehow I think we'll get agreement on the best way to do this when the cows come home. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruse

PyPy-STM: first "interesting" release

2014-07-08 Thread Mark Lawrence
A GIL-less Python? See http://morepypy.blogspot.co.uk/2014/07/pypy-stm-first-interesting-release.html -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast

Re: NaN comparisons - Call For Anecdotes

2014-07-08 Thread Mark Lawrence
r you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Help me write better Code

2014-07-09 Thread Mark Lawrence
do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Help me write better Code

2014-07-10 Thread Mark Lawrence
On 10/07/2014 15:39, sssdevelop wrote: Mark - thank you so much. You have suggested be new best tool/module. It's going to help me many places. Was not aware of such powerful tool. thank you, I'm pleased to see that you have several answers. In return would you please use the ma

Re: Newbie: unexpected indenting error

2014-07-13 Thread Mark Lawrence
r and [dostuff] are indented) /Martin S You've gone A Space Too Far. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://

Re: Do I need to call close on the handle returned by urlopen?

2014-07-14 Thread Mark Lawrence
-- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Not enough memory.

2014-07-14 Thread Mark Lawrence
you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Not enough memory.

2014-07-14 Thread Mark Lawrence
text to print. See also https://bugs.python.org/issue21927, specifically msg222761 -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: NaN comparisons - Call For Anecdotes

2014-07-14 Thread Mark Lawrence
, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3 is killing Python

2014-07-14 Thread Mark Lawrence
fact that as usual they didn't bother turning up at the start. And apart from that... -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protecti

Re: initializing "parameters" class in Python only once?

2014-07-14 Thread Mark Lawrence
to be pretty much the same thing on pypi. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https

Re: Python 3 is killing Python

2014-07-15 Thread Mark Lawrence
Britain? No chance, we took years building the moat we call the English Channel. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is

Re: Python 3 is killing Python

2014-07-15 Thread Mark Lawrence
what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: NaN comparisons - Call For Anecdotes

2014-07-15 Thread Mark Lawrence
tinfo. Try here http://news.gmane.org/index.php?prefix=gmane.comp.python -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active.

Re: Python 3 is killing Python

2014-07-15 Thread Mark Lawrence
at you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3 is killing Python

2014-07-15 Thread Mark Lawrence
e.org/ https://github.com/nandoflorestan/nine -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.py

Re: Python 3 is killing Python

2014-07-15 Thread Mark Lawrence
iest tongue in cheek comment I've read in the 10+ years I''ve been hanging around here. It was tongue in cheek, wasn't it? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is fre

Re: Python 3 is killing Python

2014-07-15 Thread Mark Lawrence
is is almost as heinous a crime as using the infamous google groups b) complete nonsense, it's actually 2020 -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast!

Re: Python 3 is killing Python

2014-07-15 Thread Mark Lawrence
On 15/07/2014 23:13, Abhiram R wrote: a) What is "top post"? b)I did correct myself in the next post. Or maybe you missed that. On Wed, Jul 16, 2014 at 3:19 AM, Mark Lawrence mailto:[email protected]>> wrote: On 15/07/2014 22:35, Abhiram R wrote: Umm..Guido

Re: Python 3 is killing Python

2014-07-16 Thread Mark Lawrence
On 16/07/2014 00:53, Rick Johnson wrote: Another thing that irritates is those people who insist on shouting LIKE THIS throughout their posts. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free

Re: Python 3 is killing Python

2014-07-16 Thread Mark Lawrence
Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: This Python 3 is killing Python thread is killing me.

2014-07-16 Thread Mark Lawrence
an do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: This Python 3 is killing Python thread is killing me.

2014-07-16 Thread Mark Lawrence
On 16/07/2014 20:24, Jason Swails wrote: On Wed, Jul 16, 2014 at 11:40 AM, Mark Lawrence mailto:[email protected]>> wrote: On 16/07/2014 18:32, Deb Wyatt wrote: Can you all stop already with the non python US bashing? Please? Deb in WA, USA rr started i

Re: Python 3 is killing Python

2014-07-16 Thread Mark Lawrence
n 2 versus Python 3. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listi

Re: Python 3 is killing Python

2014-07-17 Thread Mark Lawrence
On 17/07/2014 04:14, Steven D'Aprano wrote: On Wed, 16 Jul 2014 18:16:16 -0700, Rick Johnson wrote: On Wednesday, July 16, 2014 6:00:16 PM UTC-5, Mark Lawrence wrote: I'm not aware of any mass exodus from core Python 3 to the fork that has consistently proposed to give the world

Re: Python 3 is killing Python

2014-07-17 Thread Mark Lawrence
ppen http://legacy.python.org/dev/peps/pep-0434/. How strongly this contrasts with '*IGNORING* valuable talent and *IMPEDING* the expansion of this "private boys club"'. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our lang

Re: Python 3 is killing Python

2014-07-17 Thread Mark Lawrence
l guaranteed to be available on all the major platforms. You might also like to view this https://www.youtube.com/watch?v=d1a4Jbjc-vU -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses an

Re: Python 3 is killing Python

2014-07-17 Thread Mark Lawrence
On 17/07/2014 02:16, Rick Johnson wrote: On Wednesday, July 16, 2014 6:00:16 PM UTC-5, Mark Lawrence wrote: Further the number of people assisting on the bug tracker at the moment appears to me to be going up, not down. It therefore strikes me that Python is extremely tenable, thus indicating

Re: Python 3 is killing Python

2014-07-17 Thread Mark Lawrence
. I'm looking forward to see the massive number of fixes that come from rr, assuming of course that he signs the CLA to make this possible. Or has he already done so? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Law

Re: Python 3 is killing Python

2014-07-18 Thread Mark Lawrence
On 18/07/2014 01:45, Andrew Berg wrote: On 2014.07.17 19:26, Mark Lawrence wrote: I'm looking forward to see the massive number of fixes that come from rr, assuming of course that he signs the CLA to make this possible. Or has he already done so? Maybe he's too busy working on R

Re: Python 3 is killing Python

2014-07-18 Thread Mark Lawrence
You are conspicious by your absence. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail

Re: Python 3 is killing Python

2014-07-18 Thread Mark Lawrence
, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3 is killing Python

2014-07-18 Thread Mark Lawrence
UNCHANGED FOR YEARS!!! This is patently wrong, IDLE is constantly being improved. I also don't recall ever seeing a bug report from yourself about IDLE. Your gretest strength seems to be complaining, your biggest weakness doing anything about whatever it is that you're complaini

Re: Python 3 is killing Python

2014-07-18 Thread Mark Lawrence
sk not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3 is killing Python

2014-07-18 Thread Mark Lawrence
call this "open source". We could even open the source for CPython itself! Could that work? What do you think? That plan is so cunning it makes Baldrick's cunning plans look good :) http://en.wikipedia.org/wiki/Baldrick Actually I believe we should just leave things alone, if i

Re: Python 3 is killing Python

2014-07-18 Thread Mark Lawrence
others do it? http://bugs.python.org/issue17620 Has time to complain but doesn't have time to fix bugs? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast!

Re: What's the proper style for a library string function?

2014-07-19 Thread Mark Lawrence
The third is really horrible in my book, YMMV. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: What's the proper style for a library string function?

2014-07-19 Thread Mark Lawrence
- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: OT: usenet reader software

2014-07-19 Thread Mark Lawrence
s not have. Sturla So what does clicking on Message->Create filter from message... do exactly? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus pr

Re: Improving Idle (was Re: Python 3 ...)

2014-07-20 Thread Mark Lawrence
and observe the result of this crazy type of behaviour. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast

Re: Writing Python File at Specific Interval

2014-07-20 Thread Mark Lawrence
-list or read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing double line spacing and single line paragraphs, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-20 Thread Mark Lawrence
for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Improving Idle (was Re: Python 3 ...)

2014-07-20 Thread Mark Lawrence
xploratory programming. IdleX runs with Python 2.6, 2.7, and 3.x." -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http:

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-20 Thread Mark Lawrence
ythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Mark Lawrence
've never come across a "reasonable user" then by that definition there are no bugs. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus pr

Re: Event loop documentation error

2014-07-21 Thread Mark Lawrence
in a position to add what you want to 3.5 :) ChrisA I'd check the bug tracker before doing anything. It's perfectly possible that somebody has already done this but the patch hasn't been reviewed yet. -- My fellow Pythonistas, ask not what our language can do for you, ask what

Re: I want to do something with data

2014-07-23 Thread Mark Lawrence
data from the web. I f any one could like guide me on what to learn that would be so good. Try this for starters http://pandas.pydata.org/ -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from

Re: Exploring Python for next desktop GUI Project

2014-07-24 Thread Mark Lawrence
you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Windows Studio 2008 Download

2014-07-29 Thread Mark Lawrence
sk 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

Re: What is best way to learn Python for advanced developer?

2014-07-30 Thread Mark Lawrence
ot 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

Re: speed up pandas calculation

2014-07-30 Thread Mark Lawrence
f[-3:] == 'csv' and f[-6:-4] in ('93', '94', '95', '96', '97', '98', '99', '00', '91', '02', '03', '04', '05'): drugs = drugs_98_05 elif f[-3:] == 'csv' and f[-6:-4] in ('06', '08', '09', '10'): drugs = drugs_current for n in drugs: df[n] = df[['MED1','MED2','MED3','MED4','MED5']].isin([drugs[n]]).any(1) Vincent Davis 720-301-3003 I suggest you ask here https://mail.python.org/mailman/listinfo/pandas-dev which I believe is also gmane.comp.python.pydata. -- 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

Re: converting ISO8601 date and time string representations to datetime

2014-07-31 Thread Mark Lawrence
7;d prefer to stick to the stdlib for this. Any suggestions ? Wolfgang Just check the length of the string? -- 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

Bug with help (was Re: Getting a list of all modules)

2014-07-31 Thread Mark Lawrence
uggestions? Look at how `help('modules')` is implemented. Though it crashes on my system. Have you reported this at bugs.python.org or is there already an issue for the problem that you see? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for

Re: dict to boolean expression, how to?

2014-08-01 Thread Mark Lawrence
7;b'] == 1 and cond['B'] == 0) or (cond['c'] == 1 and cond['C'] == 0) ) which can be simplified to: flag = any( cond[c] == 1 and cond[c.upper()] for c in ['a', 'b', 'c'] ) Shouldn't that be cond[c.upper()] == 0 ? -- 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

Re: dict to boolean expression, how to?

2014-08-01 Thread Mark Lawrence
mane. -- 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

Re: dict to boolean expression, how to?

2014-08-01 Thread Mark Lawrence
senting adults" approach here :) This newsgroup scares me, it appears to be for professional computer scientists only, the theoretical part is sometimes too much for this practical physicist with an old background in FORTRAN. If you're smart enough to state that your first question w

3 Suggestions to Make Python Easier For Children

2014-08-01 Thread Mark Summerfield
Last week I spent a couple of days teaching two children (10 and 13 -- too big an age gap!) how to do some turtle graphics with Python. Neither had programmed Python before -- one is a Minecraft ace and the other had done Scratch. Suggestion #1: Make IDLE start in the user's home directory. Sug

Re: 3 Suggestions to Make Python Easier For Children

2014-08-02 Thread Mark Summerfield
On Saturday, 2 August 2014 08:14:08 UTC+1, Marko Rauhamaa wrote: > Mark Summerfield: > > > Suggestion #1: Make IDLE start in the user's home directory. > > > Suggestion #2: Make all the turtle examples begin "from turtle import > > *" so no

Re: 3 Suggestions to Make Python Easier For Children

2014-08-02 Thread Mark Lawrence
On 02/08/2014 07:45, Mark Summerfield wrote: Last week I spent a couple of days teaching two children (10 and 13 -- too big an age gap!) how to do some turtle graphics with Python. Neither had programmed Python before -- one is a Minecraft ace and the other had done Scratch. Suggestion #1

Re: eval [was Re: dict to boolean expression, how to?]

2014-08-02 Thread Mark Lawrence
e.org. -- 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

Re: 3 Suggestions to Make Python Easier For Children

2014-08-02 Thread Mark Summerfield
On Saturday, 2 August 2014 08:46:04 UTC+1, Mark Lawrence wrote: > On 02/08/2014 07:45, Mark Summerfield wrote: > [snip] > > > Suggestion #1: Make IDLE start in the user's home directory. > > Entirely agree. Please raise an enhancement request on the bug tracker &g

Re: Tkinter grid autosize help

2014-08-02 Thread Mark Lawrence
://sscce.org/, thanks. p.s. being British I must point out that I is spelt I and not i :) -- 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

Re: 3 Suggestions to Make Python Easier For Children

2014-08-02 Thread Mark Lawrence
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

Re: Correct type for a simple "bag of attributes" namespace object (was: 3 Suggestions to Make Python Easier For Children)

2014-08-02 Thread Mark Summerfield
On Saturday, 2 August 2014 20:58:59 UTC+1, Ben Finney wrote: > Steven D'Aprano writes: > > > If you need instances which carry state, then object is the wrong > > class. Fair enough. > Right. The 'types' module provides a SimpleNamespace class for the > common "bag of attributes" use case:: >

Re: Correct type for a simple "bag of attributes" namespace object

2014-08-02 Thread Mark Lawrence
On 02/08/2014 22:05, Chris Angelico wrote: On Sun, Aug 3, 2014 at 6:46 AM, Mark Summerfield wrote: But perhaps what I should be asking for is for a new built-in that does what types.SimpleNamespace() does, so that without any import you can write, say, foo = namespace(a=1, b=2) # or bar

Re: Getting a list of all modules

2014-08-02 Thread Mark Lawrence
above, thanks. -- 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

Re: Correct type for a simple "bag of attributes" namespace object

2014-08-02 Thread Mark Lawrence
On 02/08/2014 22:16, Mark Lawrence wrote: On 02/08/2014 22:05, Chris Angelico wrote: On Sun, Aug 3, 2014 at 6:46 AM, Mark Summerfield wrote: But perhaps what I should be asking for is for a new built-in that does what types.SimpleNamespace() does, so that without any import you can write, say

Re: Python Programing for the Absoulte Beginner

2014-08-02 Thread Mark Lawrence
g the command line and the GUI. I get the feeling there is something else I need to run. http://imgur.com/RH3yczP If the book is for Python 2 and you have 3.3 it should be print("Game Over") -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do

Re: Correct type for a simple “bag of attributes” namespace object

2014-08-03 Thread Mark Lawrence
of-named/ -- 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

Re: Getting a list of all modules

2014-08-03 Thread Mark Lawrence
lelib/AutoComplete.py of any use? I found it when looking at this http://bugs.python.org/issue18766 -- 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

Re: try/exception - error block

2014-08-03 Thread Mark Lawrence
out everything (including the commented-out code) which isn't necessary to demonstrate the behavior. How to go about this is at "Short, Self Contained, Correct (Compilable), Example" at http://sscce.org/ -- My fellow Pythonistas, ask not what our language can do for you, ask what you

<    30   31   32   33   34   35   36   37   38   39   >