Re: IDLE won't run after installing Python 3.3 in Windows

2014-02-19 Thread Mark Lawrence
On 19/02/2014 17:30, Mark H. Harris wrote: The version of tcl/tk is completely irrelevant as it comes bundled in the Python msi installer. Does the previous version put stuff into the registry that keeps the new version from running correctly? Not that I'm aware of. But then

Can I use Python 3 - script on github

2014-02-19 Thread Mark Lawrence
https://github.com/brettcannon/caniusepython3 may be of interest to some of you fine folks. -- 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

Re: Remove comma from tuples in python.

2014-02-21 Thread Mark Lawrence
e itself has no such thing. >>> a = 1,2,3 >>> type(a) I see commas and a tuple above but I don't see a print. -- 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

Re: Win32 Write RAW Physical Disk Python 3.3.2

2014-02-21 Thread Mark Lawrence
nt email client or follow the instructions here https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing double line spacing. -- 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 viru

Re: Can global variable be passed into Python function?

2014-02-22 Thread Mark Lawrence
nistas, 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: Google app engine database

2014-02-22 Thread Mark Lawrence
ellow 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: Can global variable be passed into Python function?

2014-02-23 Thread Mark Lawrence
xpert. -- 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: Functions help

2014-02-23 Thread Mark Lawrence
ecise description :) -- 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/lis

Re: Functions help

2014-02-23 Thread Mark Lawrence
On 24/02/2014 02:55, Benjamin Kaplan wrote: On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote: On 24/02/2014 11:09 AM, Mark Lawrence wrote: On 24/02/2014 00:55, alex23 wrote: for _ in range(5): func() the obvious indentation error above Stupid cut&paste :( -- Your mes

Re: Functions help

2014-02-24 Thread Mark Lawrence
On 24/02/2014 04:01, [email protected] wrote: On 02/23/2014 08:21 PM, Mark Lawrence wrote: On 24/02/2014 02:55, Benjamin Kaplan wrote: On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote: On 24/02/2014 11:09 AM, Mark Lawrence wrote: On 24/02/2014 00:55, alex23 wrote: for _ in range(5

Re: Python Distributors

2014-02-24 Thread Mark Lawrence
teven D'Aprano, Chris Angelico and MRAB. -- 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

Re: Can global variable be passed into Python function?

2014-02-24 Thread Mark Lawrence
iki.python.org/moin/GoogleGroupsPython, 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: Python 3.5, bytes, and %-interpolation (aka PEP 461)

2014-02-25 Thread Mark Lawrence
On 25/02/2014 08:07, [email protected] wrote: What is wrong by design will always stay wrong by design. Why are you making the statement that PEP 461 is wrong by design? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark

Re: Coding a simple state machine in python

2014-02-25 Thread Mark Lawrence
7;re making it TOO easy Bill ;) No, the _easy_ solution is: https://pypi.python.org/pypi?%3Aaction=search&term=state++machine&submit=search Or several recipes on Activestate. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our langua

Re: Python powerpoint automation using pywin32

2014-02-25 Thread Mark Lawrence
ted docs? Regards Jaydeep I don't need to read double spaced stuff so please read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing it, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Re: Install python 2 and 3 in the "wrong" order

2014-02-25 Thread Mark Lawrence
s (at least as far as I'm concerned) 2.7 is past its sell by date. -- 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 ac

Re: Python : parsing the command line options using optparse

2014-02-25 Thread Mark Lawrence
needed permissions to simply drop the argparse code into the 2.6 stdlib? Could you use the third party docopt instead? It's on pypi and I think it's awesome :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ---

Re: Intalling Python 2.6 on Mac OSX 10.9

2014-02-25 Thread Mark Lawrence
n another thread 16 hours ago. -- 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.or

Re: intersection, union, difference, symmetric difference for dictionaries

2014-02-25 Thread Mark Lawrence
s and tests and then everybody will be happy, won't they. -- 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: Functions help

2014-02-26 Thread Mark Lawrence
On 26/02/2014 02:06, Cameron Simpson wrote: On 24Feb2014 13:59, Mark Lawrence wrote: On 24/02/2014 04:01, [email protected] wrote: On 02/23/2014 08:21 PM, Mark Lawrence wrote: On 24/02/2014 02:55, Benjamin Kaplan wrote: On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote: On 24/02/2014 11:09 AM

Issue 7503

2014-02-26 Thread Mark Lawrence
27;s now 18:50. Technical glitch, people only just signing up or what? -- 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: Can global variable be passed into Python function?

2014-02-28 Thread Mark Lawrence
-3103/ -- 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: Can global variable be passed into Python function?

2014-02-28 Thread Mark Lawrence
On 28/02/2014 21:03, Marko Rauhamaa wrote: "Mark H. Harris" : Yep, my point exactly. nice illustration. So now, for you and me: let's compare. if key is ast.Assign: return ' '.join(dump(t) for t in node.targets) elif key is ast.AugAssign:

Re: Can global variable be passed into Python function?

2014-02-28 Thread Mark Lawrence
On 01/03/2014 00:40, Ned Batchelder wrote: On 2/28/14 6:36 PM, Mark H. Harris wrote: On Friday, February 28, 2014 3:03:25 PM UTC-6, Marko Rauhamaa wrote: Marko ... and between me and you, here is a snip from dmath.py from the atan(x) function: if (n**2 < D(1)):

Re: Can global variable be passed into Python function?

2014-02-28 Thread Mark Lawrence
k 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: Can global variable be passed into Python function?

2014-02-28 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: Tuples and immutability

2014-03-01 Thread Mark Lawrence
On 01/03/2014 06:16, Mark H. Harris wrote: On Friday, February 28, 2014 11:16:18 PM UTC-6, Ian wrote: How would you propose doing that? Bear in mind that while Python knows that tuples specifically are immutable, it doesn't generally know whether a type is immutable. hi Ian, conside

Re: Can global variable be passed into Python function?

2014-03-01 Thread Mark Lawrence
him onto my dream team some days ago? :) -- 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: Can tuples be replaced with lists all the time?

2014-03-01 Thread Mark Lawrence
there's usually spare slots available if you want to add something to it. In contrast you know when you create the tuple just how big it is so no overallocation is needed. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrenc

Re: Can global variable be passed into Python function?

2014-03-01 Thread Mark Lawrence
On 01/03/2014 21:40, Mark H. Harris wrote: On Saturday, March 1, 2014 12:24:15 AM UTC-6, Chris Angelico wrote: much code. If you want to change anything, you potentially have to edit three places: the list of constants at the top, the condition function, and the switch. This can't be

Re: Can global variable be passed into Python function?

2014-03-01 Thread Mark Lawrence
On 01/03/2014 22:07, Mark H. Harris wrote: On Saturday, March 1, 2014 4:01:12 PM UTC-6, Mark Lawrence wrote: No elipses, just the paragraphs not wrapped and the double line spacing. Good old gg, I just love it. How do I fix it? Is there a setting someplace? I tried pulling up the

Re: Can global variable be passed into Python function?

2014-03-01 Thread Mark Lawrence
On 02/03/2014 00:23, Mark H. Harris wrote: On Saturday, March 1, 2014 5:21:57 PM UTC-6, Mark Lawrence wrote: https://wiki.python.org/moin/GoogleGroupsPython Thanks, Mark. Whoohoo! Looks like gg has some work to do. rats(). Ok, so I'm typing away here and when I get to the boarder I s

Re: Can global variable be passed into Python function?

2014-03-01 Thread Mark Lawrence
shop. Not only can you subscribe to hundreds of Python lists there is also a setup that lets you take feeds from numerous Python blogs. -- 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: Can global variable be passed into Python function?

2014-03-02 Thread Mark Lawrence
ll. -- 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: Can global variable be passed into Python function?

2014-03-02 Thread Mark Lawrence
ow, os.POSIX_FAVD_RANDOM might return a random value for __eq__(). Marko Will you please be kind enough to stop writing this drivel. You've been told repeatedly that you don't know what you're talking about, so have the decency to just belt up. Now try testing these words

Re: Tuples and immutability

2014-03-02 Thread Mark Lawrence
nsistent. -- 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: Boxes of O's

2014-03-02 Thread Mark Lawrence
e 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: Can global variable be passed into Python function?

2014-03-02 Thread Mark Lawrence
o, for the final time of asking, how do I do the above with, and only with, the identity, even if you stupidly keep on trying to tell me that this is wrong? -- 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: [OT] Can global variable be passed into Python function?

2014-03-02 Thread Mark Lawrence
, I'll say structure, let's call the whole thing off :) -- 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.

3.4rc2 and pip on windows

2014-03-02 Thread Mark Lawrence
Trying to install pyttsx, it doesn't strike me as very clever that, as seen below, you get "Successfully installed pyttsx" despite the syntax errors and you can't actually do an import. c:\Users\Mark\CrossCode>c:\Python34\Scripts\pip3.4.exe install pyttsx Downl

Re: how to get bytes from bytearray without copying

2014-03-02 Thread Mark Lawrence
is equivalent to calling the bytes constructor on the memoryview. >>> m = memoryview(b"abc") >>> m.tobytes() b'abc' >>> bytes(m) b'abc' -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our languag

Re: 3.4rc2 and pip on windows

2014-03-03 Thread Mark Lawrence
On 03/03/2014 00:07, Terry Reedy wrote: On 3/2/2014 6:55 PM, Mark Lawrence wrote: Trying to install pyttsx, it doesn't strike me as very clever that, as seen below, you get "Successfully installed pyttsx" despite the syntax errors and you can't actually do an import. c:\Us

Re: pip and distutils2-1.0a4

2014-03-03 Thread Mark Lawrence
On 03/03/2014 20:10, Mark H. Harris wrote: hi folks, I am having a fit with pip this afternoon. I finally got pip installed on this system from a binary blob (what nightmare, talk about 1987). Anyway, pip is installed, but when I go to PyPI to pull down distutils is gives a message that no

Re: Reference

2014-03-03 Thread Mark Lawrence
ust like to know why people are so obsessed with identities, I've never thought to use them in 10+ years of writing Python. Do I use the KISS principle too often? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --

Re: How security holes happen

2014-03-03 Thread Mark Lawrence
risA Or write every language in Applescript which has 42 not very obvious ways of doing each and everything. -- 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: Functional programming

2014-03-04 Thread Mark Lawrence
rned on so it picks up errors as they type, in which case they can also head down to the pub. -- 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 p

Re: OT Sine Rule [was Re: Functional programming]

2014-03-04 Thread Mark Lawrence
limosines? -- 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: Proper conversion of timestamp

2014-03-04 Thread Mark Lawrence
then we'll be happy to point you the error of your ways. -- 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.

Re: Proper conversion of timestamp

2014-03-04 Thread Mark Lawrence
then try dividing by 1000.0. You learn something new every day, I wasn't aware that you could multiply or divide timestamps. -- 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: Proper conversion of timestamp

2014-03-04 Thread Mark Lawrence
On 04/03/2014 21:55, Igor Korot wrote: But this particular question is easy. If it's easy why can't you answer it via the docs rather than ask here? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- Thi

Re: How security holes happen

2014-03-04 Thread Mark Lawrence
nguage 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: Geezer learns python

2014-03-04 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: How security holes happen

2014-03-04 Thread Mark Lawrence
On 04/03/2014 23:22, Chris Angelico wrote: On Wed, Mar 5, 2014 at 10:16 AM, Mark Lawrence wrote: Man, imagine what you could do with a Unicode version of Whitespace? Yes, but how do we pursuade the Python core devs to give us a decent implementation? Let's face it, according t

Re: Proper conversion of timestamp

2014-03-04 Thread Mark Lawrence
On 05/03/2014 02:13, Igor Korot wrote: Hi, Mark, On Tue, Mar 4, 2014 at 2:46 PM, Mark Lawrence wrote: On 04/03/2014 21:55, Igor Korot wrote: But this particular question is easy. If it's easy why can't you answer it via the docs rather than ask here? What I meant to say is:

Re: 3.4rc2 and pip on windows

2014-03-04 Thread Mark Lawrence
On 04/03/2014 05:32, Terry Reedy wrote: On 3/3/2014 2:47 PM, Mark Lawrence wrote: On 03/03/2014 00:07, Terry Reedy wrote: On 3/2/2014 6:55 PM, Mark Lawrence wrote: Trying to install pyttsx, it doesn't strike me as very clever that, as seen below, you get "Successfully instal

Re: Reference

2014-03-05 Thread Mark Lawrence
frankly I haven't got the faintest idea what you're going on about, so I'll just stick with writing plain, boring, working Python code. -- 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 f

Re: Reference

2014-03-05 Thread Mark Lawrence
. The Python philosophy is beautifully put in The Zen. I particularly like "Practicality beats purity" although there's plenty of other pieces of the whole to consider. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Re: Reference

2014-03-05 Thread Mark Lawrence
tulations, you've been promoted to captain of my dream team. -- 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: find and replace string in binary file

2014-03-05 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: Working with the set of real numbers

2014-03-05 Thread Mark Lawrence
orrow morning when the bin men come round. I fully expect them to dial 999 and ask that the paramedics are armed with plenty of sedatives. -- 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

Re: Reference

2014-03-05 Thread Mark Lawrence
, people starting out with Python have stated how easy it is to just start writing Python code. This would obviously not be possible if advanced concepts had to be learned up front. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark

Re: Reference

2014-03-05 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: Origin of 'self'

2014-03-06 Thread Mark Lawrence
you do with self in Python. You don't need to use self, you can call it anything you like, but you'll not be particularly popular if you do this. -- 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: Reference

2014-03-06 Thread Mark Lawrence
e sum has the usual maths definition and not Marko's. -- 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: beautiful soup get class info

2014-03-06 Thread Mark Lawrence
wish to ask further questions, would you please read and action this first https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the double line spacing above, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawre

spam (wasRe: extract from json)

2014-03-08 Thread Mark Lawrence
ively spam free. Thanks all. -- 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/m

Re: gdb unable to read python frame information

2014-03-08 Thread Mark Lawrence
guage. 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 performance

2014-03-08 Thread Mark Lawrence
line paragraphs above, 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

Re: Balanced trees

2014-03-08 Thread Mark Lawrence
tages to leaving specialist data structures on pypi or other sites, plus it means Python in a Nutshell can still fit in your pocket and not a 40 ton articulated lorry, unlike the Java equivalent. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our languag

Re: How is unicode implemented behind the scenes?

2014-03-09 Thread Mark Lawrence
ste of time. -- 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: gdb unable to read python frame information

2014-03-09 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: gdb unable to read python frame information

2014-03-09 Thread Mark Lawrence
hould anybody answer your question when you can't be bothered to supply all the needed data in one hit? -- 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: gdb unable to read python frame information

2014-03-09 Thread Mark Lawrence
On 10/03/2014 02:54, Wesley wrote: If you don't read the loop from the top, and don't tell me exactly what you want by just keep saying context, please ingore this post. Thanks. Wesley 在 2014年3月10日星期一UTC+8上午9时48分41秒,Mark Lawrence写道: On 10/03/2014 01:06, Wesley wrote: What's

Windows installation problem with 3.3.5

2014-03-09 Thread Mark Lawrence
k 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: Windows installation problem with 3.3.5

2014-03-10 Thread Mark Lawrence
On 10/03/2014 08:40, Tim Golden wrote: On 10/03/2014 03:16, Mark Lawrence wrote: It looks as if the upgrade from 3.3.4 to 3.3.5 has stolen my copies of py.exe and pyw.exe from c:\windows. Before I raise an issue on the bug tracker could someone please confirm this, as it wouldn't be the

Re: Balanced trees

2014-03-10 Thread Mark Lawrence
On 10/03/2014 08:53, Steven D'Aprano wrote: In other words, I suspect you are trolling. s/suspect/know/ , he didn't make captain of my dream team for nothing, you know :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our langua

Re: Windows installation problem with 3.3.5

2014-03-10 Thread Mark Lawrence
On 10/03/2014 12:51, Jurko Gospodnetić wrote: Hi. On 10.3.2014. 4:16, Mark Lawrence wrote: It looks as if the upgrade from 3.3.4 to 3.3.5 has stolen my copies of py.exe and pyw.exe from c:\windows. Before I raise an issue on the bug tracker could someone please confirm this, as it wouldn&#

Re: Save to a file, but avoid overwriting an existing file

2014-03-12 Thread Mark Lawrence
easier if the new exception hierarchy were used http://docs.python.org/3.3/whatsnew/3.3.html#pep-3151-reworking-the-os-and-io-exception-hierarchy ? -- 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: Deep vs. shallow copy?

2014-03-13 Thread Mark Lawrence
On 14/03/2014 00:22, Chris Angelico wrote: Trollbridge: you have to pay a troll to cross. And you mustn't be afraid of the Black Night? -- 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

blist in standard library (was Re: Balanced trees)

2014-03-15 Thread Mark Lawrence
On 15/03/2014 01:13, Joshua Landau wrote: On 8 March 2014 20:37, Mark Lawrence wrote: I've found this link useful http://kmike.ru/python-data-structures/ I also don't want all sorts of data structures added to the Python library. I believe that there are advantages to leaving speci

Re: Sharing: File Reader Generator with & w/o Policy

2014-03-15 Thread Mark Lawrence
On 16/03/2014 01:06, Mark H Harris wrote: On 3/15/14 4:56 PM, MRAB wrote: You can also shorten it somewhat: Thanks, I like it... I shortened the fnName() also: #- # fn2Name(filename) generator: file reader iterable

Re: Installing addition libraries in Portable Python 2.7 on Windows

2014-03-16 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

Correct idiom for determining path when frozen in 3.4

2014-03-17 Thread Mark Summerfield
Hi, What is the correct idiom for getting the path to a top-level module in 3.3 and 3.4 when the module might be frozen? At the moment I'm using this: if getattr(sys, "frozen", False): path = os.path.dirname(sys.executable) else: path = os.path.dirname(__file__) Thanks!

Re: Looking for someone who can build a 64-bit version of SpamBayes installer for Windows

2014-03-17 Thread Mark Lawrence
s gated to gmane.comp.python.windows -- 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: Looking for someone who can build a 64-bit version of SpamBayes installer for Windows

2014-03-17 Thread Mark Lawrence
On 17/03/2014 14:39, Mark Lawrence wrote: On 17/03/2014 14:08, Skip Montanaro wrote: As more and more Windows users have moved to 64-bit versions of Windows and Outlook, we've had more and more reports of failures. I think all that's necessary (speaking as someone who knows not

Re: Correct idiom for determining path when frozen in 3.4

2014-03-17 Thread Mark Summerfield
On Monday, 17 March 2014 08:44:23 UTC, Mark Summerfield wrote: > Hi, > > > > What is the correct idiom for getting the path to a top-level module in 3.3 > and 3.4 when the module might be frozen? > > > > At the moment I'm using this: > >

Re: test

2014-03-17 Thread Mark Lawrence
On 17/03/2014 16:42, Mark H Harris wrote: On 3/16/14 5:07 AM, Chris “Kwpolska” Warrick wrote: Why not use the mailing list instead? It’s a much easier way to access this place. I prefer to 'pull' rather than receive the 'push'. The newsreader idea is better because th

Re: 'complex' function with string argument.

2014-03-17 Thread Mark Dickinson
that issue because the proposed change seemed like unnecessary code churn, and there wasn't a clear consensus that the change was desirable (or even what that change should be). If it ain't broke, etc. -- Mark -- https://mail.python.org/mailman/listinfo/python-list

Re: Printing characters outside of the ASCII range

2014-03-19 Thread Mark Lawrence
kind enough to provide some. -- 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.pytho

Re: Printing characters outside of the ASCII range

2014-03-19 Thread Mark Lawrence
pert quite deliberately continues to use it in a manner which is designed to annoy. -- 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 ac

Re: running python 2 vs 3

2014-03-20 Thread Mark Lawrence
thon launcher for windows' see http://legacy.python.org/dev/peps/pep-0397/ -- 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 i

Re: running python 2 vs 3

2014-03-20 Thread Mark Lawrence
tandard library for what seems like an eternity to me. -- 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 -

Re: running python 2 vs 3

2014-03-20 Thread Mark Lawrence
On 20/03/2014 20:30, Marko Rauhamaa wrote: Mark Lawrence : The starter is 2to3 which had been in the standard library for what seems like an eternity to me. No problem there. It helps you transition from python2 to python3. However, python3 is here and you should be able to write genuine

Re: running python 2 vs 3

2014-03-20 Thread Mark Lawrence
On 20/03/2014 20:50, Marko Rauhamaa wrote: Mark Lawrence : On 20/03/2014 20:30, Marko Rauhamaa wrote: I must say, though, that Python3 destroyed "print" forever for me. To avoid nausea, I write sys.stdout.write() in all Python3 code. Not for me, I was using from __futur

Re: running python 2 vs 3

2014-03-20 Thread Mark Lawrence
egarded as independent languages. And I still say this is complete nonsense. -- 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 ac

Re: Installing ssdeep on Portable Python /advice

2014-03-20 Thread Mark Lawrence
six hours ago. It is considered polite to wait for at least 24 hours before again asking for assistance. -- 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: running python 2 vs 3

2014-03-21 Thread Mark Lawrence
ule 7 is :) -- 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: Python - Caeser Cipher Not Giving Right Output

2014-03-21 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: Github down?

2014-03-21 Thread Mark Lawrence
t 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: csv read _csv.Error: line contains NULL byte

2014-03-21 Thread Mark Lawrence
nt 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.

<    18   19   20   21   22   23   24   25   26   27   >