Re: Who uses IDLE -- please answer if you ever do, know, or teach

2015-08-06 Thread Mark Lawrence
r you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Linux users: please run gui tests

2015-08-07 Thread Mark Lawrence
| -] [arg] ... Try `python -h' for more information. Ah, I guess the -3.4 isn't valid. Correct. The "py -3.4" is the Python Launcher for Windows, hence the "run the linux version of". -- My fellow Pythonistas, ask not what our language can do for you, as

Re: Iterators membership testing

2015-08-09 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: Iterators membership testing

2015-08-09 Thread Mark Lawrence
what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Pipes

2015-08-09 Thread Mark Lawrence
is the general index for everything in all of the docs. Both of them are a real time saver. -- 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: Pipes

2015-08-09 Thread Mark Lawrence
at 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: Pipes

2015-08-10 Thread Mark Lawrence
ft to right *AND* from top to bottom. Would you like to keep to that convention here please as it makes following long threads much easier, thank you. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.pytho

Re: Pipes

2015-08-10 Thread Mark Lawrence
On 10/08/2015 15:05, [email protected] wrote: On Monday, August 10, 2015 at 7:45:28 AM UTC-6, Mark Lawrence wrote: On 10/08/2015 03:55, Roger Hunter wrote: I agree that some of Python is simple but the description of subprocess is certainly not. I spent much of my working career using

Re: Pipes

2015-08-10 Thread Mark Lawrence
t pythonlibs http://www.lfd.uci.edu/~gohlke/pythonlibs/ which is a godsend if you haven't got Visual Studio and don't want to install it. -- 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: Is Django the way to go for a newbie?

2015-08-10 Thread Mark Lawrence
esponse to. 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: AttributeError

2015-08-11 Thread Mark Lawrence
as told on the tutor mailing list several days ago, and he's also asked on the core mentorship list earlier today as well. -- 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: AttributeError

2015-08-11 Thread Mark Lawrence
language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Is this a correct way to generate an exception when getting a wrong parameter

2015-08-12 Thread Mark Lawrence
in functionality to docopt but I can never remember the name of it, anybody? -- 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: Hooking Mechanism when Entering and Leaving a Try Block

2015-08-12 Thread Mark Lawrence
unless you were taught to write top to bottom, left to write, or something similar. To put it another way M$ Outlook no more rules the world than does the BDFL :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https:

Re: AttributeError

2015-08-12 Thread Mark Lawrence
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

Re: AttributeError

2015-08-12 Thread Mark Lawrence
, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: AttributeError

2015-08-12 Thread Mark Lawrence
at 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: AttributeError

2015-08-12 Thread Mark Lawrence
On 12/08/2015 23:02, Ltc Hotspot wrote: FOR GOD'S SAKE WILL YOU PLEASE STOP TOP POSTING AND TRIM DOWN YOUR REPLIES. WHAT GRADE DO YOU EXPECT, A Z-? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --

Re: Hooking Mechanism when Entering and Leaving a Try Block

2015-08-13 Thread Mark Lawrence
On 13/08/2015 07:26, Sven R. Kunze wrote: On 13.08.2015 02:45, Chris Angelico wrote: On Thu, Aug 13, 2015 at 6:54 AM, Mark Lawrence wrote: On 12/08/2015 19:44, Sven R. Kunze wrote: On 12.08.2015 18:11, Chris Angelico wrote: (Please don't top-post.) Is this some guideline? I actually

Re: AttributeError

2015-08-13 Thread Mark Lawrence
d. -- 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: memory control in Python

2015-08-15 Thread Mark Lawrence
must surely be using numpy, but as usual there's only one way to find out? :) -- 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: Python 3 sort() problem

2015-08-17 Thread Mark Lawrence
can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: I2C protocol

2015-08-18 Thread Mark Lawrence
can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Sandboxing Python

2015-08-22 Thread Mark Lawrence
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: Sandboxing Python

2015-08-22 Thread Mark Lawrence
On 23/08/2015 00:44, Chris Angelico wrote: On Sun, Aug 23, 2015 at 9:25 AM, Mark Lawrence wrote: I was always led to believe that the subject was a difficult thing to do, but here https://www.reddit.com/r/learnpython/comments/3huz4x/how_to_do_math_inside_raw_input/ is a safe solution in only

Installing Python 2.7.5-1 on AIX 6.1

2015-08-26 Thread Manarski, Mark
python-2.7.5-1 libgdbm.a(libgdbm.so.3) is needed by python-2.7.5-1 libreadline.a(libreadline.so.6) is needed by python-2.7.5-1 libssl.a(libssl.so.0.9.8) is needed by python-2.7.5-1 libtcl8.4.so is needed by python-2.7.5-1 libtk8.4.so is needed by python-2.7.5-1 Mark M. -- https://mail.python.org/m

RE: Re: Installing Python 2.7.5-1 on AIX 6.1

2015-08-26 Thread Manarski, Mark
1:29 AM To: [email protected] Subject: [EXTERNAL] Re: Installing Python 2.7.5-1 on AIX 6.1 On 8/26/2015 10:35 AM, Zachary Ware wrote: > Hi Mark, > > On Wed, Aug 26, 2015 at 9:03 AM, Manarski, Mark > wrote: >> I have downloaded the “python-2.7.5-1.aix6.1.ppc.rpm” package from &

Re: Please don't make unfounded legalistic demands

2015-08-26 Thread Mark Lawrence
or you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Please don't make unfounded legalistic demands

2015-08-26 Thread Mark Lawrence
, 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: Please don't make unfounded legalistic demands

2015-08-27 Thread Mark Lawrence
news.gmane.org (as I am). I screwed already one time let's see if this post go through jm I'm using the time machine to fool you into thinking that this has all ready arrived :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mar

Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought

2015-08-29 Thread Mark Lawrence
-type-error http://stackoverflow.com/questions/1957396/why-dict-objects-are-unhashable-in-python However, I am still perplexed by this error. Any feedback is welcomed. Thank you. I haven't looked too deeply into the problem as it's 03:45 and I'm just heading off to bed, but I suspect you'd make your life easier by using https://docs.python.org/3/library/csv.html#csv.DictWriter -- 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: Casting to a "number" (both int and float)?

2015-08-30 Thread Mark Lawrence
proper parsing into native Python types, I would recommend YAML. "What's the best way to get from A to B?" "I recommend starting at C." - Every other usenet-discussion. -- 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: Connecting Terminal to Python 3.5

2015-08-30 Thread Mark Lawrence
On 29/08/2015 07:44, Nick Sarbicki wrote: On Sat, 29 Aug 2015 07:08 Sam Miller Will you please stop top posting here, thank you. -- 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

more itertools

2015-08-31 Thread Mark Lawrence
This contained the itertool recipes and was available on pypi but looks like it's gone. Can anybody tell me if it's defunct, superceeded or what? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.

Re: more itertools

2015-08-31 Thread Mark Lawrence
On 01/09/2015 02:52, Chris Rebert wrote: On Mon, Aug 31, 2015 at 6:42 PM, Mark Lawrence wrote: This contained the itertool recipes and was available on pypi but looks like it's gone. Can anybody tell me if it's defunct, superseded or what? What do you mean? It's sti

Re: more itertools

2015-08-31 Thread Mark Lawrence
On 01/09/2015 03:20, Chris Angelico wrote: On Tue, Sep 1, 2015 at 12:12 PM, Mark Lawrence wrote: Thanks Chris, and Chris Angelico. Just to make sure I'm not completely barking can you try a search on pypi, as I know I've found it that way in the past, but literally not right now.

Re: packing unpacking depends on order.

2015-09-02 Thread Mark Lawrence
econd result in both cases. You might find this interesting https://www.cyphar.com/blog/post/tuple-unpacking-oddness -- 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: Using enumerate to get line-numbers with itertools grouper?

2015-09-02 Thread Mark Lawrence
On 02/09/2015 13:03, Victor Hooi wrote: How many times do people have to be asked before they stop top posting? -- 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: Python handles globals badly.

2015-09-02 Thread Mark Lawrence
On 02/09/2015 19:47, [email protected] wrote: I agree with Skybuck Flying. First problem. Using the keyword global inside each(!) function only to mark the global var writeable in each of the functions is really an over-regulation and very annoying from my point of view. Second problem

Re: Python handles globals badly.

2015-09-02 Thread Mark Lawrence
3117 Conceptually something like this https://code.activestate.com/recipes/52308-the-simple-but-handy-collector-of-a-bunch-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: Python handles globals badly.

2015-09-02 Thread Mark Lawrence
language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python handles globals badly.

2015-09-02 Thread Mark Lawrence
On 02/09/2015 23:25, [email protected] wrote: Therefore still hoping a new PEP will arise. @Mark Lawrence This response I have not checked. Can you provide arguments or clarify your statement? The over use of globals is never to be encouraged, which is precisely what this would do. You

Re: Python handles globals badly.

2015-09-03 Thread Mark Lawrence
https://docs.python.org/3/reference/simple_stmts.html#the-nonlocal-statement fit into 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

Re: Need Help w. PIP!

2015-09-03 Thread Mark Lawrence
;ll have to ask, what happened when you tried the 'pip', 'get-pip.py' and 'easy-install.py' commands? What OS are you on? -- 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: Python handles globals badly.

2015-09-03 Thread Mark Lawrence
ot;Rejection Notice - A similar PEP for Python 3000, PEP 3103 [2], was already rejected, so this proposal has no chance of being accepted either." -- 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: Need Help w. PIP!

2015-09-03 Thread Mark Lawrence
" subfolder under the Python3.4 installation, pip.exe, pip3.exe and pip3.4.exe. -- 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: Need Help w. PIP!

2015-09-03 Thread Mark Lawrence
On 04/09/2015 02:04, Steve Burrus wrote: On Thursday, September 3, 2015 at 7:06:27 PM UTC-5, Mark Lawrence wrote: On 03/09/2015 23:20, Steve Burrus wrote: Well I hjave certainly noted more than once that pip is cont ained in Python 3.4. But I am having the most extreme problems with simply

Re: No request in module urllib ?

2015-09-03 Thread Mark Lawrence
ng to the way the time machine works, Steven still has Python versions -3.6 to -0.1 running. -- 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: Need Help w. PIP!

2015-09-03 Thread Mark Lawrence
On 04/09/2015 04:08, Chris Angelico wrote: On Fri, Sep 4, 2015 at 1:04 PM, Mark Lawrence wrote: On 04/09/2015 02:55, Chris Angelico wrote: On Fri, Sep 4, 2015 at 11:04 AM, Steve Burrus wrote: I have tried the 'python get-pip.py' command over amnd over again in my command prom

Re: Need Help w. PIP!

2015-09-04 Thread Mark Lawrence
a "pathing" problem? Read https://docs.python.org/3/using/windows.html#excursus-setting-environment-variables and if you can install the Rapid Environment Editor http://www.rapidee.com/en/about -- My fellow Pythonistas, ask not what our language can do for you, ask what you ca

Re: Need Help w. PIP!

2015-09-04 Thread Mark Lawrence
at 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: Wheels For ...

2015-09-06 Thread Mark Lawrence
forum. Or gmane.comp.python.pypa.devel -- 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: Python handles globals badly.

2015-09-08 Thread Mark Lawrence
On 08/09/2015 09:59, Antoon Pardon wrote: Op 04-09-15 om 02:47 schreef Mark Lawrence: On 04/09/2015 01:06, Michael Torrie wrote: On 09/03/2015 01:05 PM, [email protected] wrote: [The same e.g. with switch statement: add it] Switch is a nice-to-have thing, but definitely not essential. A PEP

Re: pygame basic question

2015-09-08 Thread Mark Lawrence
On 08/09/2015 11:14, Laura Creighton wrote: Try the pygame mailing list for that one. http://www.pygame.org/wiki/info?action=view&id=4890 Laura Or https://www.reddit.com/r/pygame -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Re: PIP does not appear to handle diacritics correctly.

2015-09-08 Thread Mark Lawrence
come with your Python installation? -- 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: Python handles globals badly.

2015-09-08 Thread Mark Lawrence
I vaguely recall that in CORAL66/250 you specified both bounds and the lower bound could be negative. Do other languages allow this or does the lower bound always have to be positive? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Re: Python handles globals badly.

2015-09-08 Thread Mark Lawrence
On 09/09/2015 00:20, MRAB wrote: On 2015-09-08 23:41, Mark Lawrence wrote: On 08/09/2015 18:41, MRAB wrote: On 2015-09-08 15:31, Ian Kelly wrote: On Tue, Sep 8, 2015 at 5:55 AM, Vladimir Ignatov wrote: I had some experience programming in Lua and I'd say - that language is bad examp

Re: Python handles globals badly.

2015-09-09 Thread Mark Lawrence
this dev-team simply overriding users is nonsense. -- 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: Python handles globals badly.

2015-09-09 Thread Mark Lawrence
nguage can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python handles globals badly.

2015-09-09 Thread Mark Lawrence
City? Or was it United? -- 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: Python handles globals badly.

2015-09-09 Thread Mark Lawrence
business benefits rather than better languages, then I believe we'd end up with better languages. However that depends on your (plural) definition of "better". -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawr

Can't use Python Launcher on Windows after update to 3.5

2015-09-09 Thread Mark Lawrence
le versions of Python, so it does not matter which version is installed. To check that the launcher is available, execute the following command in Command Prompt:", but:- C:\Users\Mark\Documents\MyPython>py -3.4 'py' is not recognized as an internal or external command, operabl

Re: Can't use Python Launcher on Windows after update to 3.5

2015-09-10 Thread Mark Lawrence
On 10/09/2015 11:20, Tim Golden wrote: On 10/09/2015 00:52, Mark Lawrence wrote: I've installed 3.5 for all users so it's in C:\Program Files From https://docs.python.org/3.5/using/windows.html#from-the-command-line it says "System-wide installations of Python 3.3 and lat

Re: Context-aware return

2015-09-11 Thread Mark Lawrence
ian equivalent of Broadmoor first. For those who don't know, Broadmoor is a famous place in the UK for the criminally insane. -- 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: Python handles globals badly.

2015-09-11 Thread Mark Lawrence
low 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: Python handles globals badly.

2015-09-11 Thread Mark Lawrence
do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python handles globals badly.

2015-09-11 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: Python handles globals badly.

2015-09-11 Thread Mark Lawrence
core devs, as far as I know.) IIRC Serhiy Storchaka pops in occasionally, as on the one genuine report from the RUE about the FSR. Slight aside, I swear blind that Serhiy never sleeps as he always seems to be doing something on the bug tracker. -- My fellow Pythonistas, ask not what ou

Re: Python handles globals badly.

2015-09-11 Thread Mark Lawrence
rence count, if you care about how the CPython garbage collector works) If everything in Python is an object, how can it assign a pointer? Especially how do Jython and IronPython assign pointers? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our langua

Re: Python handles globals badly.

2015-09-11 Thread Mark Lawrence
, the sticky note, here https://mail.python.org/pipermail/tutor/2006-October/049767.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

Re: Python handles globals badly.

2015-09-11 Thread Mark Lawrence
On 12/09/2015 05:06, Random832 wrote: Mark Lawrence writes: On 12/09/2015 01:11, [email protected] wrote: If everything in Python is an object, how can it assign a pointer? Especially how do Jython and IronPython assign pointers? The Java and .NET runtimes also have pointers, they just

Re: Python handles globals badly.

2015-09-11 Thread Mark Lawrence
On 12/09/2015 05:16, Random832 wrote: Mark Lawrence writes: My favourite analogy for Python names, the sticky note, here https://mail.python.org/pipermail/tutor/2006-October/049767.html Is player3[3] also a sticky note? Wouldn't the note have to have the id of player3 written on it so

Re: Python handles globals badly.

2015-09-11 Thread Mark Lawrence
On 12/09/2015 05:11, Mario Figueiredo wrote: On 12-09-2015 03:35, Mark Lawrence wrote: Ada took over from CORAL in the UK, at least in military projects. It was also used in the aircraft industry. My old work mates tell me that its completely died a death, to be replaced by C++. Someone

Re: Python handles globals badly.

2015-09-11 Thread Mark Lawrence
On 12/09/2015 05:34, Random832 wrote: Mark Lawrence writes: I think pointer is even worse because of its connection with C and hence cPython. What is wrong with object if that is the only thing Python knows about? Because the object is the *thing the arrow points at*. You don't hav

Re: Python handles globals badly.

2015-09-11 Thread Mark Lawrence
On 12/09/2015 06:07, Random832 wrote: Mark Lawrence writes: How do I access these pointers? Is there a builtin called pointer() that's analogous to id()? You access them *all the time*. They are the *only* thing you access. But if you want... pointer = lambda x: return x I'll

Re: Python handles globals badly.

2015-09-11 Thread Mark Lawrence
On 12/09/2015 06:35, Random832 wrote: Mark Lawrence writes: Let's put it another way, in the 15 years I've been using Python I do not recall any experienced Python programmer using "pointer", so what makes you think, in 2015, that you are correct and everybody else is wron

Re: Terminology: “reference” versus “pointer”

2015-09-11 Thread Mark Lawrence
th two names that refer to the same object. >>> x = [1,2,3] >>> y = x >>> x;y [1, 2, 3] [1, 2, 3] >>> del x >>> y [1, 2, 3] If y was a copy of x, then when x is blown away how can y still know about the list that x originally referred to? -- 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: Python handles globals badly.

2015-09-12 Thread Mark Lawrence
On 12/09/2015 17:29, Dennis Lee Bieber wrote: On Sat, 12 Sep 2015 05:11:46 +0100, Mario Figueiredo declaimed the following: On 12-09-2015 03:35, Mark Lawrence wrote: Ada took over from CORAL in the UK, at least in military projects. It was also used in the aircraft industry. My old work

Re: Python handles globals badly.

2015-09-12 Thread Mark Lawrence
On 12/09/2015 17:24, Dennis Lee Bieber wrote: On Sat, 12 Sep 2015 03:35:00 +0100, Mark Lawrence declaimed the following: Ada took over from CORAL in the UK, at least in military projects. It was also used in the aircraft industry. My old work mates tell me that its completely died a death

Re: Terminology: "reference" versus "pointer"

2015-09-12 Thread Mark Lawrence
tion them in any way, shape or form in any Python thread. What is so difficult to understand about that? I would say it's not rocket science, but the insurers that paid out over Ariane 5 maybe wouldn't be too happy with that. -- My fellow Pythonistas, ask not what our languag

Re: Terminology: "reference" versus "pointer"

2015-09-12 Thread Mark Lawrence
On 13/09/2015 01:44, rurpy--- via Python-list wrote: On 09/12/2015 06:02 PM, Ned Batchelder wrote: On Saturday, September 12, 2015 at 7:15:18 PM UTC-4, Mark Lawrence wrote: [...] But in C, pointers mean more than that. You can perform arithmetic on them, to access memory as a linearly

Re: convert element in a list to float

2015-09-13 Thread Mark Lawrence
e Strong hint, you do not cast the strings to floats, you call the builtin float() function to do the conversion. -- 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: Can't use Python Launcher on Windows after update to 3.5

2015-09-13 Thread Mark Lawrence
On 10/09/2015 16:56, Mark Lawrence wrote: On 10/09/2015 11:20, Tim Golden wrote: On 10/09/2015 00:52, Mark Lawrence wrote: I've installed 3.5 for all users so it's in C:\Program Files From https://docs.python.org/3.5/using/windows.html#from-the-command-line it says "System-wid

Re: Terminology: "reference" versus "pointer"

2015-09-13 Thread Mark Lawrence
On 14/09/2015 02:34, rurpy--- via Python-list wrote: Goodbye, *plonk* -- 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: how to build windows extensions for python 3.5

2015-09-14 Thread Mark Lawrence
t the installation went smoothly. -- 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: how to build windows extensions for python 3.5

2015-09-15 Thread Mark Lawrence
guage can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: True == 1 weirdness

2015-09-16 Thread Mark Lawrence
t great of an idea. Marko I disagree, perfectly logical where I sit. -- 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: True == 1 weirdness

2015-09-16 Thread Mark Lawrence
it should have been "==" not "=". -- 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: True == 1 weirdness

2015-09-16 Thread Mark Lawrence
honistas, 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: True == 1 weirdness

2015-09-16 Thread Mark Lawrence
he problem? node is bound to the boolean ptr is greater than or equal to left and right. -- 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: True == 1 weirdness

2015-09-16 Thread Mark Lawrence
and d is less than or equal to e else False. So where is the problem? -- 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: True == 1 weirdness

2015-09-16 Thread Mark Lawrence
On 16/09/2015 21:39, Carl Meyer wrote: On 09/16/2015 02:29 PM, Mark Lawrence wrote: On 16/09/2015 18:53, Sven R. Kunze wrote: On 16.09.2015 19:39, Steven D'Aprano wrote: node = left <= ptr => right Wow. I have absolutely no idea what this is supposed to mean. Do you care t

Re: True == 1 weirdness

2015-09-16 Thread Mark Lawrence
hat you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: True == 1 weirdness

2015-09-16 Thread Mark Lawrence
On 16/09/2015 23:15, Sven R. Kunze wrote: On 16.09.2015 23:30, Mark Lawrence wrote: Barry John art is also art. So, why does Python not have Barry John art to define graphs and diagrams? Too colorful for a grammer? I'm not with you, sorry. Is "grammer" the US spelling of

Re: True == 1 weirdness

2015-09-17 Thread Mark Lawrence
On 17/09/2015 02:33, Steven D'Aprano wrote: On Thu, 17 Sep 2015 10:06 am, Mark Lawrence wrote: On 16/09/2015 23:15, Sven R. Kunze wrote: On 16.09.2015 23:30, Mark Lawrence wrote: Barry John art is also art. So, why does Python not have Barry John art to define graphs and diagrams?

Re: True == 1 weirdness

2015-09-17 Thread Mark Lawrence
On 17/09/2015 13:07, alister wrote: On Thu, 17 Sep 2015 10:56:07 +0100, Mark Lawrence wrote: On 17/09/2015 02:33, Steven D'Aprano wrote: On Thu, 17 Sep 2015 10:06 am, Mark Lawrence wrote: On 16/09/2015 23:15, Sven R. Kunze wrote: On 16.09.2015 23:30, Mark Lawrence wrote: Barry John a

Re: windows 10

2015-09-19 Thread Mark Lawrence
s, you have to install it yourself. What do you actually mean by "Python (command line)"? -- 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: ConnectionError handling problem

2015-09-19 Thread Mark Lawrence
k=k+1 Any help will be highly appreciated. Never use a bare except in Python, always handle the bare minimum number of exceptions that you need to, in this case your ConnectionError. -- 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: Hello

2015-09-19 Thread Mark Lawrence
user installation, with "install for all users" going under "Program Files". -- 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: ConnectionError handling problem

2015-09-20 Thread Mark Lawrence
On 20/09/2015 13:45, Jon Ribbens wrote: On 2015-09-19, Mark Lawrence wrote: On 19/09/2015 07:13, shiva upreti wrote: try: r=requests.post(url, data=query_args) except: print "Connection error" Never

<    28   29   30   31   32   33   34   35   36   37   >