HOPE: A Python just-in-time compiler for astrophysical computations

2015-06-20 Thread Mark Lawrence
Another beasty I've just stumbled across which you may find interesting http://www.sciencedirect.com/science/article/pii/S2213133714000687 -- 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/ma

Re: Classic OOP in Python

2015-06-20 Thread Mark Lawrence
On 19/06/2015 00:01, Laura Creighton wrote: In a message of Thu, 18 Jun 2015 11:50:28 +0100, Mark Lawrence writes: Throw in http://clonedigger.sourceforge.net/ as well and you've a really awesome combination. Mark Lawrence I didn't know about that one. Hey thank you, Mark. Looks

Re: thinking with laziness

2015-06-18 Thread Mark Lawrence
Reminds me of last night's AGM of the Apathy Society, which was an outstanding success as nobody turned up. -- 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: Classic OOP in Python

2015-06-18 Thread Mark Lawrence
ven if you don't want to use TTD, you will enjoy Ned's tool. It's GREAT. Thank you, Ned. Laura Throw in http://clonedigger.sourceforge.net/ as well and you've a really awesome combination. -- My fellow Pythonistas, ask not what our language can do for you, ask what you

Re: Classic OOP in Python

2015-06-17 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: Classic OOP in Python

2015-06-17 Thread Mark Lawrence
of time. Couldn't agree with you more. To once again quote my favourite part of the Zen of Python, "practicality beats purity". -- 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: Classic OOP in Python

2015-06-17 Thread Mark Lawrence
hould be the user manual. The developers should then go and build the product that fits the manual. Marko Awesome, one of the funniest things I've read in years. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- ht

Re: anaconda upgrade

2015-06-17 Thread Mark Lawrence
ecise details as to what you tried, the error messages, your OS and Python version. -- 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: Problem with PyPI login

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

Re: Testing random

2015-06-17 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 financial data cleaning

2015-06-16 Thread Mark Lawrence
On 15/06/2015 22:01, Sebastian M Cheung via Python-list wrote: On Monday, June 15, 2015 at 11:19:48 AM UTC+1, Mark Lawrence wrote: On 15/06/2015 11:12, Sebastian M Cheung via Python-list wrote: How to do financial data cleaning ? Say I assume a list of 1000 finance series data in myList

Re: Set a flag on the function or a global?

2015-06-15 Thread Mark Lawrence
f I have to choose it's a flag on the object, just no competition. -- 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: Creating .exe file in Python

2015-06-15 Thread Mark Lawrence
e to help. -- 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 financial data cleaning

2015-06-15 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: Is there a utility to tally function calls from other files?

2015-06-13 Thread Mark Lawrence
might come in handy for you one day. -- 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: Testing random

2015-06-13 Thread Mark Lawrence
am team. -- 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: Writting Dialog to enter preset items from a combo list

2015-06-12 Thread Mark Lawrence
more I will put more here You'd be better off putting your question(s) on the wxPython users list, see http://wiki.wxpython.org/wxPython-users -- 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: zip as iterator and bad/good practices

2015-06-12 Thread Mark Lawrence
dangerous code but I can't find a more elegant solution. Thanks! Fabien Start here https://docs.python.org/3/howto/pyporting.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/

Re: Java to Python autoconverters

2015-06-12 Thread Mark Lawrence
On 12/06/2015 12:36, Sebastian M Cheung via Python-list wrote: Are these available? Any good ones to recommend? Yes and no. -- 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

Re: Error in or

2015-06-11 Thread Mark Lawrence
"FINE" input1(1) PRINT YOUR QUERY:"Java" input1(1) PRINT YOUR QUERY:"Obama in London" input1(1) PRINT YOUR QUERY:Obama AND Bush FINE input1(1) PRINT YOUR QUERY:Obama OR Bush FINE you may get better my problem. Regards, Subhabrata Ban

Re: New Python student needs help with execution

2015-06-11 Thread Mark Lawrence
I'm not sure what you're asking but this https://docs.python.org/3/using/windows.html should help. -- 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 find number of whole weeks between dates?

2015-06-10 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: How to find number of whole weeks between dates?

2015-06-10 Thread Mark Lawrence
o the 21st century the link is https://docs.python.org/3/library/calendar.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: Did the 3.4.4 docs get published early?

2015-06-10 Thread Mark Lawrence
istas, 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 NBSP DWIM

2015-06-10 Thread Mark Lawrence
t;> print(repr("hello\N{NO-BREAK SPACE}world".split())) ['hello', 'world'] What's the purpose of a non-breaking space if it's treated like a space for breaking/splitting purposes? :-) Is this a bug? -tkc IMNSHO yes. -- My fellow Pythonistas,

Re: enhancement request: make py3 read/write py2 pickle format

2015-06-09 Thread Mark Lawrence
pickle format. You know, backward compatibility? http://bugs.python.org/issue13566 -- 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: Cheat sheet for the new string formatting?

2015-06-09 Thread Mark Lawrence
ing was to be deprecated. See http://bugs.python.org/issue14123 which refers to http://www.gossamer-threads.com/lists/python/dev/969817 -- 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: Cheat sheet for the new string formatting?

2015-06-08 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: [OT] Re: Function to show time to execute another function

2015-06-07 Thread Mark Lawrence
On 07/06/2015 12:02, Marko Rauhamaa wrote: Mark Lawrence : Get your cheque book and go for paid support. Are checks still in use in Britain? I thought only Americans still did that. Marko Cheques are still in use in Britain. There was a move a year or so ago to get rid of them but too

Re: Function to show time to execute another function

2015-06-07 Thread Mark Lawrence
On 07/06/2015 09:22, Cecil Westerhof wrote: On Sunday 7 Jun 2015 09:39 CEST, Mark Lawrence wrote: On 07/06/2015 07:39, Cecil Westerhof wrote: Sometimes I just want to know how much time a function takes, but at the same time I also want the result of the function. For this I wrote the

Re: Function to show time to execute another function

2015-06-07 Thread Mark Lawrence
istas, 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 Python function return multiple data?

2015-06-04 Thread Mark Lawrence
t;>> tmp [] >>> x [] -- 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 Python function return multiple data?

2015-06-04 Thread Mark Lawrence
On 04/06/2015 19:34, Ian Kelly wrote: On Wed, Jun 3, 2015 at 3:56 PM, Mark Lawrence wrote: Now does Python pass by value or by reference? Happily sits back and waits for 10**6 emails to arrive as this is discussed for the 10**6th time. Troll. True indeed. As expected the "pass by

Re: Can Python function return multiple data?

2015-06-03 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: Let's make Python into LISP

2015-06-03 Thread Mark Lawrence
of interpreter impositions. 3. Forget *practicality*. All hail *purity*. Wait. Someone's time machine broke. Mark Hi Mark The way you keep bringing up Lisp, λ-calculus, etc completely without relevance to anything, I wonder if you had a bad experience with someone teaching these and the

Re: Everything is an object in python - object class and type class

2015-06-03 Thread Mark Lawrence
On 03/06/2015 22:33, BartC wrote: On 03/06/2015 21:58, Mark Lawrence wrote: Not so hypothetical in my case as I have to implement a lot of this stuff. I'm also quite interested in how Python does things. If it's a good idea I'll copy it, if not I'll try and avoid it!

Re: How to access the low digits of a list

2015-06-03 Thread Mark Lawrence
uction.html, "Slice indices have useful defaults; an omitted first index defaults to zero, an omitted second index defaults to the size of the string being sliced."? -- 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: Everything is an object in python - object class and type class

2015-06-03 Thread Mark Lawrence
ittle or no TLC. -- 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: Retrying to send message

2015-06-03 Thread Mark Lawrence
er in the first place, especially when you're developing? Far easier to let the exception bubble up, or are we talking cross purposes? -- 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/mailma

Re: Everything is an object in python - object class and type class

2015-06-03 Thread Mark Lawrence
00) => True The others all give True in all cases. It seems that older Python versions have a purer object model. No, you don't understand how cPython does things. -- 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

most ambiguous line of code ever written?

2015-06-03 Thread Mark Lawrence
k 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: Everything is an object in python - object class and type class

2015-06-02 Thread Mark Lawrence
/12/java-is-not-python-either.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: Everything is an object in python - object class and type class

2015-06-02 Thread Mark Lawrence
e as I can quite happily write working code, what with practicality beating purity and all that. Does it worry you that much? -- 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: Religion [was Re: Everything is an object in python - object class and type class]

2015-06-01 Thread Mark Lawrence
ke it off list, as it surely has no place here when we're meant to be discussing the Python programming langauge. -- 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: Create Web app on Win and run on Win or Mac

2015-06-01 Thread Mark Lawrence
ki.python.org/moin/WebFrameworks is hopefully the correct voltage and frequency :) I'll hazard a guess that your best bet for starters is the section "Popular Non Full-Stack Frameworks". -- My fellow Pythonistas, ask not what our language can do for you, ask what you

Re: Everything is an object in python - object class and type class

2015-06-01 Thread Mark Lawrence
taclass" term (because no one really knows that that is, so they feel *pretty* safe). A type is not an object in the same way an instantiated type is an object -- anymore than a blueprint for a building is the building itself. Point 1 Yes. You may be onto something here Mark [I

Re: Parser needed.

2015-06-01 Thread Mark Lawrence
t/python-parsers.html Can you also please stop sending so many emails as I believe some people still pay by the byte. -- 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: What use of string module?

2015-06-01 Thread Mark Lawrence
k 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: Pyton re module and POSIX equivalence classes

2015-06-01 Thread Mark Lawrence
doc.perl.org/perlrecharclass.html I wouldn't know directly as I tend to avoid them like the plague, but if not are they in the "new" regex module, see https://pypi.python.org/pypi/regex/2015.05.28 and/or http://bugs.python.org/issue2636 ??? -- My fellow Pythonistas, ask not what ou

Re: What is considered an "advanced" topic in Python?

2015-06-01 Thread Mark Lawrence
types so the choice was even narrower. Didn't Turbo C have compiler options to allow either BCD or fp? -- 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: Zero [was Re: What is considered an "advanced" topic in Python?]

2015-06-01 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: What is considered an "advanced" topic in Python?

2015-06-01 Thread Mark Lawrence
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: What use for reversed()?

2015-05-31 Thread Mark Lawrence
rror will get something to print :) -- 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: Basic Info

2015-05-31 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: Fwd: Lossless bulletproof conversion to unicode (backslashing) (fwd)

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

Re: Logic problem: need better logic for desired thruth table.

2015-05-28 Thread Mark Lawrence
uage 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.5 crashes on wrong %PYTHONHOME

2015-05-27 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: SyntaxError on progress module

2015-05-27 Thread Mark Lawrence
On 27/05/2015 16:18, Cecil Westerhof wrote: Op Wednesday 27 May 2015 16:51 CEST schreef Mark Lawrence: On 27/05/2015 15:11, Cecil Westerhof wrote: Op Wednesday 27 May 2015 15:44 CEST schreef Mark Lawrence: On 27/05/2015 09:42, Cecil Westerhof wrote: Op Wednesday 27 May 2015 09:30 CEST

Re: SyntaxError on progress module

2015-05-27 Thread Mark Lawrence
On 27/05/2015 15:11, Cecil Westerhof wrote: Op Wednesday 27 May 2015 15:44 CEST schreef Mark Lawrence: On 27/05/2015 09:42, Cecil Westerhof wrote: Op Wednesday 27 May 2015 09:30 CEST schreef alb: But here I have another question, as a python novice is there really any reason for me to use

Re: SyntaxError on progress module

2015-05-27 Thread Mark Lawrence
quot;a lot" whilst bearing in mind green against red here https://python3wos.appspot.com/ -- 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: should "self" be changed?

2015-05-26 Thread Mark Lawrence
eaking all the tools that rely on "self" being spelt "self" this looks like an excellent idea. -- 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: should "self" be changed?

2015-05-26 Thread Mark Lawrence
cratched. Anyone else have any thoughts? --mark Yes, how about you taking a permanent holiday rather than bother this list with more of your 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: SyntaxError on progress module

2015-05-26 Thread Mark Lawrence
ine to go. -- 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: Documentaion of dunder methods

2015-05-26 Thread Mark Lawrence
wax about duck-typing but that translates into semi-formal protocols and they are just not documented All you need do is raise an issue on the bug tracker with an attached patch. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawren

Re: programmatically change windows regional settings?

2015-05-24 Thread Mark Lawrence
On 24/05/2015 15:16, Albert-Jan Roskam via Python-list wrote: - On Sun, May 24, 2015 3:07 PM CEST Mark Lawrence wrote: You're probably better off asking this on https://mail.python.org/mailman/listinfo/python-win32 which is also availab

Re: Setting prompt in ipython

2015-05-24 Thread Mark Lawrence
;d like to look into this issue? I'm not aware of anything on the bug tracker about 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: programmatically change windows regional settings?

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

Re: PYTHONPATH when calling from ipython

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

Re: PYTHONPATH when calling from ipython

2015-05-23 Thread Mark Lawrence
/PythonLibrary python2 … But I find that a little bit cumbersome. Is there a better way to do it? What makes you think this? Have you tried:- >>> import os >>> os.environ['PYTHONPATH'] 'C:\\Users\\Mark\\Documents\\Cash\\Python;C:\\Users\\Mark\\Documents\\MyPython'

Re: Ah Python, you have spoiled me for all other languages

2015-05-22 Thread Mark Lawrence
shall remain nameless. /Grrr It could be any of *nix, OSX or Windows as VMS is still vastly superior. -- 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: Camelot a good tool for me

2015-05-22 Thread Mark Lawrence
uot; and you're the only person who (hopefully) knows the course you're 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: No ttk in 2.7

2015-05-20 Thread Mark Lawrence
ine, for example: from six.moves import tkinter_ttk as ttk Thanks for the tip. I will look into it. https://docs.python.org/3/howto/pyporting.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.

Re: Slices time complexity

2015-05-20 Thread Mark Lawrence
s with the RUE (amongst others) making nonsensical claims, please don't take us down that path, 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/listinfo/python-list

Re: Slices time complexity

2015-05-19 Thread Mark Lawrence
What is the unladen air speed velocity of a swallow in flight? Who actually gives a stuff? -- 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: Slices time complexity

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

Green Tree Snakes - the missing Python AST docs

2015-05-18 Thread Mark Lawrence
en/latest/nodes.html Giga kudos to Thomas Kluyver methinks. -- 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: yum is dead, long live dnf!

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

Re: Survey -- Move To Trash function in Python?

2015-05-18 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 3: yum is dead, long live dnf!

2015-05-18 Thread Mark Lawrence
ton Churchill, not U Thant? -- 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: pip grabs tar.gz file instead of whl?

2015-05-15 Thread Mark Lawrence
On 16/05/2015 05:28, Terry Reedy wrote: On 5/16/2015 12:12 AM, Mark Lawrence wrote: The whole point is that setup.py never works because it can't find VS despite the fact that I know I've got the correct version installed. If I download a whl file, pip installs that version perfe

Re: pip grabs tar.gz file instead of whl?

2015-05-15 Thread Mark Lawrence
On 16/05/2015 03:17, Chris Angelico wrote: On Sat, May 16, 2015 at 11:58 AM, Mark Lawrence wrote: The way I see it, pip is great for handling the most common case where you just want to name a package and say "go fetch", but if you want to override its decisions, you should use the l

Re: Minimising stack trace

2015-05-15 Thread Mark Lawrence
rimination against people who live in Mudeford, which of course straddles the mighty River Mude. -- 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: Building CPython

2015-05-15 Thread Mark Lawrence
On 16/05/2015 02:55, Steven D'Aprano wrote: On Sat, 16 May 2015 09:27 am, Mark Lawrence wrote: On 15/05/2015 23:44, Marko Rauhamaa wrote: BartC : What /is/ a method lookup? Is it when you have this: A.B() and need to find whether the expression A (or its class or type) has a n

Re: pip grabs tar.gz file instead of whl?

2015-05-15 Thread Mark Lawrence
On 16/05/2015 02:26, Chris Angelico wrote: On Sat, May 16, 2015 at 7:00 AM, Mark Lawrence wrote: The same file installed perfectly when downloaded and installed in two steps. Whether this is simply a known bug with zipfile handling, pip itself, a combination of both or what I've no ide

Re: Python: How to find out values of all feasible x under constraints.

2015-05-15 Thread Mark Lawrence
On 15/05/2015 13:35, Mark Lawrence wrote: On 15/05/2015 04:58, Xiang Zhang wrote: Dear all, I am writing a code using Python now. I want to know how to find out values of all feasible x under constraints. x = [x_1, x_2, x_3,..., x_10] constraints: x_i = 0,1,2,3 or 4, where i=1,2

Re: Building CPython

2015-05-15 Thread Mark Lawrence
s would find it far easier to grasp. -- 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: pip grabs tar.gz file instead of whl?

2015-05-15 Thread Mark Lawrence
On 15/05/2015 19:55, Chris Angelico wrote: On Sat, May 16, 2015 at 4:45 AM, Ethan Furman wrote: On 05/15/2015 06:04 AM, Mark Lawrence wrote: C:\Users\Mark\Documents\MyPython>pip install --no-cache-dir --trusted-host http://www.lfd.uci.edu/ -U -f http://www.lfd.uci.edu/~gohlke/pythonl

pip grabs tar.gz file instead of whl?

2015-05-15 Thread Mark Lawrence
hese days. However as you can see below despite my best efforts I'm still processing the tar.gz file, so what am I doing wrong? C:\Users\Mark\Documents\MyPython>pip install --no-cache-dir --trusted-host http://www.lfd.uci.edu/ -U -f http://www.lfd.uci.edu/~gohlke/pythonlibs/ numba Colle

Re: Building CPython

2015-05-15 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: Building CPython

2015-05-15 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: Python: How to find out values of all feasible x under constraints.

2015-05-15 Thread Mark Lawrence
to roll your own. See for example https://pypi.python.org/pypi/python-constraint/1.2 -- 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: a python pitfall

2015-05-14 Thread Mark Lawrence
ter than implicit." ? Thanks! Billy -- 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: Instead of deciding between Python or Lisp for a programming intro course...What about an intro course that uses *BOTH*? Good idea?

2015-05-13 Thread Mark Lawrence
e like a kick to the head. Mark, you seem to be labouring under the delusion that we don't agree with you because we "boneheads" don't understand what you are talking about. That's wrong. We understand what you are talking about. We don't agree with you because half of yo

Re: Looking for direction

2015-05-13 Thread Mark Lawrence
s I would need, or a tutorial it would be a great help. Thank you. Check this out 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 -- https://mail.python.org/mailman/listinfo/python-list

Re: Instead of deciding between Python or Lisp for a programming intro course...What about an intro course that uses *BOTH*? Good idea?

2015-05-13 Thread Mark Lawrence
ven't understood, padawan. *plonk* You took your time over that :) -- 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: Building CPython

2015-05-13 Thread Mark Lawrence
s.python.org/devguide/setup.html#windows -- 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: Basic misunderstanding on object creation

2015-05-13 Thread Mark Lawrence
sed comment like this? Please don't bother asking again after that response, especially to somebody with the stature of Terry Reedy. -- 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/

Re: Basic misunderstanding on object creation

2015-05-13 Thread Mark Lawrence
On 13/05/2015 18:05, Terry Reedy wrote: On 5/13/2015 12:38 PM, Mark Lawrence wrote: I'm completely convinced that I've seen a change go through on the bug tracker that impacts on this area, but many months if not years ago. Unfortunately searching the bug tracker for super, __new__

Re: Basic misunderstanding on object creation

2015-05-13 Thread Mark Lawrence
eballs overworked. At least I've tried but sorry, had to give up :( -- 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: Suggestion: PEP for tracking vulnerable packages within PyPI

2015-05-12 Thread Mark Lawrence
On 12/05/2015 22:56, Grant Murphy wrote: Please don't top post here it's extremely irritating. -- 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

<    4   5   6   7   8   9   10   11   12   13   >