Re: The Cost of Dynamism (was Re: Pyhon 2.x or 3.x, which is faster?)

2016-03-24 Thread Mark Lawrence
can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Mark Lawrence
On 24/03/2016 22:49, Chris Angelico wrote: On Fri, Mar 25, 2016 at 9:31 AM, Mark Lawrence wrote: On 24/03/2016 22:08, [email protected] wrote: If you do find anything like c.l.p for Javascript, let us know... OK! :-) I'd try c.l.bartc as he is the world's leading expert on

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Mark Lawrence
On 24/03/2016 22:45, [email protected] wrote: Mark Lawrence wrote: On 24/03/2016 22:08, [email protected] wrote: If you do find anything like c.l.p for Javascript, let us know... OK! :-) I'd try c.l.bartc as he is the world's leading expert on everything that you need to know

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Mark Lawrence
On 24/03/2016 23:33, Ian Kelly wrote: On Thu, Mar 24, 2016 at 4:58 PM, Mark Lawrence wrote: No. While this idiot, BartC, is let loose on this forum, I'll say what I like. Good to know. I've been on the fence about this for a long time, but lately the frequency of your outburst

Re: The Cost of Dynamism (was Re: Pyhon 2.x or 3.x, which is faster?)

2016-03-25 Thread Mark Lawrence
. The devs are trying to grab some of that back. I'd still say that the additions in Python 3, many of which were backported to 2.6/7, were worth this regression. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mar

Re: Problem With Embedded Icon and Python 3.4

2016-03-25 Thread Mark Lawrence
TH. -- 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: Interpretation

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

Re: Suggestion: make sequence and map interfaces more similar

2016-03-26 Thread Mark Lawrence
same thing by subclassing dict. Why don't you try it and let us know how you get 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: PLEASE HELP -- TOTALLY NEW TO PYTHON

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

Re: How to make Python interpreter a little more strict?

2016-03-26 Thread Mark Lawrence
possible to make python complain in this case? Or maybe solve such an issue somehow else? How does the interpreter work out that you've typed 'next' instead of 'continue'? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Mark Lawrence
trouble is that there are very many usenet Javascript lists and it's difficult to guess which one[es] might be good. Perhaps this http://transcrypt.org/ is the way to go? :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Law

Re: Exclude every nth element from list?

2016-03-26 Thread Mark Lawrence
you don't have to count from zero. The 'start' keyword can be set to anything you like. -- 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: help with program

2016-03-26 Thread Mark Lawrence
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: repeat items in a list

2016-03-26 Thread Mark Lawrence
eat way to learn. You might also want to take a look at the itertools module https://docs.python.org/3/library/itertools.html. This is often used in building structures like the ones you've been asking about today. To me it is the Swiss Army Knife of the stdlib. -- My fellow Pythoni

Re: Suggestion: make sequence and map interfaces more similar

2016-03-27 Thread Mark Lawrence
On 27/03/2016 19:01, Marco S. via Python-list wrote: Mark Lawrence wrote: I cannot see this happening unless you provide a patch on the bug tracker. However I suspect you can get the same thing by subclassing dict. Why don't you try it and let us know how you get on? The problem w

Re: Problem With Embedded Icon and Python 3.4

2016-03-28 Thread Mark Lawrence
On 26/03/2016 02:37, Wildman via Python-list wrote: On Sat, 26 Mar 2016 01:42:37 +, Mark Lawrence wrote: On 25/03/2016 05:10, Wildman via Python-list wrote: I have a program that I have been trying to rewrite so it will run on Python 2.7 and 3.4. This http://pythonhosted.org/six/ might

Re: I am out of trial and error again Lists

2014-10-22 Thread Mark Lawrence
es and are guarantied not to change. Lists are useful because they can be updated. This is wrong, commas define tuples. type mytest.py a = 1, 2 print(type(a)) c:\Users\Mark\MyPython>mytest.py -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for

Re: I am out of trial and error again Lists

2014-10-22 Thread Mark Lawrence
expect to happen and what actually happened? Give us the actual code that you ran and the full traceback. -- 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: I am out of trial and error again Lists

2014-10-22 Thread Mark Lawrence
On 23/10/2014 00:26, Seymore4Head wrote: On Wed, 22 Oct 2014 23:55:57 +0100, Mark Lawrence wrote: On 22/10/2014 23:30, Seymore4Head wrote: On Wed, 22 Oct 2014 16:30:37 -0400, Seymore4Head wrote: One more question. if y in str(range(10) Why doesn't that work. Invalid syntax, it s

Re: I am out of trial and error again Lists

2014-10-23 Thread Mark Lawrence
You're trying to run IDLE. We're talking the interactive interpreter. If (at least on Windows) you run a command prompt and then type python you should see something like this. Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:16:31) [MSC v.1600 64 bit (AMD64)] on win32 T

Re: I am out of trial and error again Lists

2014-10-23 Thread Mark Lawrence
On 23/10/2014 08:56, Ian Kelly wrote: On Thu, Oct 23, 2014 at 1:20 AM, Mark Lawrence wrote: If you were to read and digest what is written it would help. You're trying to run IDLE. We're talking the interactive interpreter. IDLE includes the interactive interpreter. If (a

Re: I am out of trial and error again Lists

2014-10-24 Thread Mark Lawrence
#x27;s only one way for you to find out http://www.greenteapress.com/thinkpython/ :) -- 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: I am out of trial and error again Lists

2014-10-24 Thread Mark Lawrence
On 24/10/2014 08:05, Mark Lawrence wrote: On 22/10/2014 21:30, Seymore4Head wrote: def nametonumber(name): lst=[""] for x,y in enumerate (name): lst=lst.append(y) print (lst) return (lst) a=["1-800-getcharter"] print (nametonumber(a))#18004382427

Re: I am out of trial and error again Lists

2014-10-24 Thread Mark Lawrence
k here keep helping you 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: I am out of trial and error again Lists

2014-10-24 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: I am out of trial and error again Lists

2014-10-24 Thread Mark Lawrence
tas, 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: I am out of trial and error again Lists

2014-10-25 Thread Mark Lawrence
files anyway. How about running your Python 2 version of IDLE and opening your files using File->Open or CTRL-O? -- 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: I am out of trial and error again Lists

2014-10-25 Thread Mark Lawrence
extra to make this work on Windows. The Python launcher for Windows should be taken into account here 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 -- https://mail.python.org/mailman/listinfo/python-list

Re: (test) ? a:b

2014-10-25 Thread Mark Lawrence
to their own. -- 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: % symbol in python

2014-10-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 -- https://mail.python.org/mailman/listinfo/python-list

Re: % symbol in python

2014-10-29 Thread Mark Lawrence
On 29/10/2014 05:48, [email protected] wrote: kindly let me know what does %%(%s)% mean What did you not understand from the link I posted ten hours ago? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https

Re: optional types

2014-10-29 Thread Mark Lawrence
;m all for them, but I'm not holding my breath. -- 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: Classes

2014-10-31 Thread Mark Lawrence
o __init__ method to construct instances __init__ initialises instances, __new__ constructs them -- 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: set environmental variable from python

2014-10-31 Thread Mark Lawrence
th regedit?? The question really is: Why do you wish to do this from within python? Or do it directly with something like 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 can do for ou

Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7

2014-11-02 Thread Mark Lawrence
phs which makes it difficult to read. Can you change your email settings to correct this or if you're on google groups action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing them, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what y

Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7

2014-11-02 Thread Mark Lawrence
usly to it again, hopefully it will. Please post some context, we're not yet mind readers :) Can you use pip to do your installation, it's far easier than other mechanisms? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mar

Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7

2014-11-02 Thread Mark Lawrence
installations are not so straightforward. For the second time will you please quote some context. Have you tried using pip as I've already suggested? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --

Re: what can i do to improve my skill after finished python course on codecademy

2014-11-02 Thread Mark Lawrence
er 'start' (which defaults to 0). When the iterable is empty, return start. -- 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: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7

2014-11-02 Thread Mark Lawrence
es you requested: html5lib. Do you need to install a parser library? Have you tried this from the command prompt? pip install html5lib And please do something about the extra newlines and single lined paragraphs above, there's no need for it all. -- 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: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7

2014-11-02 Thread Mark Lawrence
ourth time have you tried from the command prompt:- pip install html5lib ??? For (at least) the third time will you please do something about one line paragraphs. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --

Re: support for boost::python for build double object

2014-11-03 Thread Mark Lawrence
ry that I can't help directly but try here https://mail.python.org/mailman/listinfo/cplusplus-sig which is also available as gmane.comp.python.c++ -- 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.or

Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7

2014-11-03 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: Understanding "help" command description syntax - explanation needed

2014-11-05 Thread Mark Lawrence
thon.org/issue22785 -- 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: Misunderstanding buffering - flushing isn't

2014-11-05 Thread Mark Lawrence
like this help http://fruch.github.io/2014/11/06/taming-the-logging-formatter/ ? -- 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: Understanding "help" command description syntax - explanation needed

2014-11-05 Thread Mark Lawrence
pert but I need someone to show me how; build me one here in my front yard. Against a requirements specification that changes on a daily basis, I want it delivered yesterday and no you can't have any more resources to help out, so don't ask :) -- My fellow Pythonistas, ask

Re: wxPython Boxsizers

2014-11-06 Thread Mark Lawrence
/wxpython-users also available as http://news.gmane.org/gmane.comp.python.wxpython -- 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 is description attribute in python?

2014-11-09 Thread Mark Lawrence
l is to use the interactive prompt to run the above and the help facility at the same time. IMHO this is the best possible way to learn Python. -- 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: What is rstrip() in python?

2014-11-09 Thread Mark Lawrence
import sqlite3 conn = sqlite3.connect('dbase1') curs = conn.cursor() file = open('data.txt') rows = [line.rstrip().split(',') for line in file] -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawr

Re: Python script that does batch find and replace in txt files

2014-11-09 Thread Mark Lawrence
eque made payable to the Python Software Foundation has been cashed. I'll pluck a figure of £200 out of the air, YMMV. -- 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: I don't read docs and don't know how to use Google. What does the print function do?

2014-11-10 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: A syntax question

2014-11-10 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: What is \1 here?

2014-11-11 Thread Mark Lawrence
#x27;(.) spam', 'spam\\1', 'x spam, y spam')) def mapper(matchobj): return 'spam' + matchobj.group(1) print(re.sub('(.) spam', mapper, 'x spam, y spam')) What did your last skivvy die of, overwork? -- My fellow Pythonistas, ask not wh

Re: What is \1 here?

2014-11-11 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: I love assert

2014-11-11 Thread Mark Lawrence
llow 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: io.UnsupportedOperation: fileno

2014-11-13 Thread Mark Lawrence
On 13/11/2014 23:34, [email protected] wrote: What is the problem and how to overcome this problem? RTFM. -- 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: Bad file descriptor

2014-11-13 Thread Mark Lawrence
advice you so desperately need. Or follow the advice already given about asking smart questions. Or RTFM. Or simply go away. -- 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: Decorators

2014-11-14 Thread Mark Lawrence
I'll have no problem changing my view. Perhaps this helps http://blog.dscpl.com.au/2014/01/how-you-implemented-your-python.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: Decorators

2014-11-15 Thread Mark Lawrence
can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: import graphics library; causes error

2014-11-17 Thread Mark Lawrence
fun. I would never use this as a foundation for a mission critical business application. Thanks everyone! A bad workman always blames his tools. -- 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 do you download and install HTML5TreeBuilder ?

2014-11-18 Thread Mark Lawrence
' and other such petulancies, then please decline to respond, seeing as far as I'm concerned such trivialities are besides the point, and are of no help, so vent your ire elsewhere. YOurs Simon Evans. I never download files, I just leave the work to pip. I'm assuming this is

Re: Most gratuitous comments

2014-11-20 Thread Mark Lawrence
itten this? # Used for importing this. import 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: python 2.7 and unicode (one more time)

2014-11-20 Thread Mark Lawrence
y 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 access Qt components loaded from file?

2014-11-20 Thread Mark Lawrence
The docs aren't that clear for me. You also need to study the difference between top posting, interspersed posting and bottom posting. The second and third are very much the prefered styles here. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for

Re: Python docs disappointing

2014-11-20 Thread Mark Lawrence
;improvements" I suggest that many people who criticize the docs don't take up a career as a technical author. -- 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: Most gratuitous comments

2014-11-20 Thread Mark Lawrence
s well. Would you please clarify whether you are being serious or funny, 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: Using Python for date calculations

2014-11-21 Thread Mark Lawrence
use the Python 3 links. I know it's only a single character change but it's the principle to me. TIA. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: How to access Qt components loaded from file?

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

Re: Using Python for date calculations

2014-11-21 Thread Mark Lawrence
On 21/11/2014 15:50, Steve Hayes wrote: On Fri, 21 Nov 2014 10:20:06 +, Mark Lawrence As I'm using Python 2 and I asked the question, I'm grateful that the answer was given in my dialect. Luddite :) -- My fellow Pythonistas, ask not what our language can do for you, ask wh

Re: python 2.7 and unicode (one more time)

2014-11-22 Thread Mark Lawrence
ge troll is bad enough but he really takes the biscuit. -- 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 2.7 and unicode (one more time)

2014-11-22 Thread Mark Lawrence
On 22/11/2014 20:17, Chris Angelico wrote: On Sun, Nov 23, 2014 at 5:17 AM, Mark Lawrence wrote: Please don't feed him. Your average troll is bad enough but he really takes the biscuit. ... someone was feeding him biscuits? ChrisA Surely it's better than feeding him unic

Re: python 2.7 and unicode (one more time)

2014-11-22 Thread Mark Lawrence
On 22/11/2014 22:31, Chris Angelico wrote: On Sun, Nov 23, 2014 at 9:04 AM, Mark Lawrence wrote: My favourite "find thousand and one ways to make Python crashing or failing." but I don't recall a single bug report in the last two years from anybody regarding problems with the

Re: I have no class

2014-11-23 Thread Mark Lawrence
sing 'key' like this is a good idea is another matter! As I'm hopeless at thinking of good names to me it's always 'lookup'. -- 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: "**" in python

2014-11-23 Thread Mark Lawrence
python.org/3/genindex-Symbols.html where ** is the 11th one down in the left hand column. -- 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: PyWart: "Python's import statement and the history of external dependencies"

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

Re: FW: Unexpexted behaviot of python operators on list

2014-11-25 Thread Mark Lawrence
sk what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Documentation Improvement

2014-11-25 Thread Mark Lawrence
scenario. Patches are always welcome on the bug tracker. I observe that you already know the way :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

bug or feature in enum34 py2.7 backport?

2014-11-26 Thread Mark Summerfield
Hi, Here are two programs both executed with Python 2.7 with the enum34 backport and their output. Is this a bug or intended behavior? (It may well be intended to help ensure that the class name is ASCII for Python 2; but maybe it would be nicer to check a unicode to see if it is ASCII and if s

Re: GUI toolkit(s) status

2014-11-26 Thread Mark Summerfield
I've done a fair bit of Python GUI programming, so here's my 2c. Tkinter is small, fast, and v. frustrating to use (but maybe the latter is just me). It looks good on Windows (from 8.5), ugly on Linux, and OK on Mac (but you have to do a fair bit of if MAC do this else do that. The next three w

Re: bug or feature in enum34 py2.7 backport?

2014-11-26 Thread Mark Summerfield
6 PM UTC, Chris Angelico wrote: > On Thu, Nov 27, 2014 at 1:05 AM, wrote: > > On Wed, Nov 26, 2014, at 06:29, Mark Summerfield wrote: > >> TypeError: type() argument 1 must be string, not unicode > > > > If this is a bug, maybe it is one in type() itself - I get the same

Re: Suds Python 2.4.3 Proxy

2014-11-30 Thread Mark Lawrence
ib/liburllib2.tex should help. Otherwise, why not simply install Python 2.7 on those systems? It can happily coexist with the system 2.4. ChrisA -- 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.

2014-12-03 Thread Mark Lawrence
e variables every where I want to use em: Another example of a bad workman always blames his tools. -- 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.

2014-12-03 Thread Mark Lawrence
On 03/12/2014 23:02, Skybuck Flying wrote: "Mark Lawrence" wrote in message news:[email protected]... On 03/12/2014 02:27, Skybuck Flying wrote: Excuse is: "bad programming style". I don't need snot telling me how to program afte

Re: Python handles globals badly.

2014-12-04 Thread Mark Lawrence
threading safety problems. I do know that using globals is almost as bad as top posting on this list. -- 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: ORM opinion

2014-12-04 Thread Mark Lawrence
stas, 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

jitpy - Library to embed PyPy into CPython

2014-12-05 Thread Mark Lawrence
For those who haven't heard thought this might be of interest https://github.com/fijal/jitpy -- 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, C++ interaction

2014-12-07 Thread Mark Lawrence
it is). Please be careful, the guy who was selling forged Hungarian phrase books might now be selling French ones :) -- 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 Iterables struggling using map() built-in

2014-12-09 Thread Mark Lawrence
done, you really had me for a while. The Four Yorkshiremen was not actually a Monty Python sketch. Get it right, lad :) -- 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-Dev] Python 2.x and 3.x use survey, 2014 edition

2014-12-11 Thread Mark Roberts
ignore all of CPAN. It just doesn't make sense. -Mark On Thu, Dec 11, 2014 at 6:47 AM, Giampaolo Rodola' wrote: > > > On Wed, Dec 10, 2014 at 5:59 PM, Bruno Cauet wrote: > >> Hi all, >> Last year a survey was conducted on python 2 and 3 usage. >> Here i

Re: list comprehension return a list and sum over in loop

2014-12-11 Thread Mark Lawrence
list'. Thanks. I think you need something like this http://stackoverflow.com/questions/19339/a-transpose-unzip-function-in-python-inverse-of-zip I'll let you add the finishing touches if I'm correct :) -- My fellow Pythonistas, ask not what our language can do for you, ask

Re: Extension of while syntax

2014-12-12 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

Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition

2014-12-12 Thread Mark Roberts
the Python3 zealots are giving it credit for. Please don't claim it's "easy" to move over just because merely most of the top 20 libraries have been moved over. :-/ -Mark On Thu, Dec 11, 2014 at 12:14 PM, Dan Stromberg wrote: > On Thu, Dec 11, 2014 at 11:35 AM, Mark Roberts

Re: list comprehension return a list and sum over in loop

2014-12-13 Thread Mark Lawrence
;s been said in a thread, that certainly doesn't apply to me, and right now I'm just too lazy to go back and find out what this relates 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.py

Re: Python console rejects an object reference, having made an object with that reference as its name in previous line

2014-12-14 Thread Mark Lawrence
that Python was so smart. It can indicate a syntax error at the final 't' in print before it gets to the opening bracket that is required for the print function in Python 3 (and Python 2 if you're using "from __future__ import print_function")? -- My fellow Pythonistas,

Re: PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor

2014-12-18 Thread Mark Summerfield
On Thursday, December 11, 2014 4:53:04 AM UTC, iMath wrote: > I think the user interface shouldn't be freezed when using > concurrent.futures.ThreadPoolExecutor here,as it executes asynchronously , > but it doesn't meet my expectations,anyone can explain why ? any other > solutions here to not l

Re: newbie: installing setuptools

2014-12-19 Thread Mark Lawrence
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 World

2014-12-20 Thread Mark Lawrence
_, __: _, lambda _, __, ___: _, lambda _, __, ___, : _, lambda _, __, ___, , _: _, lambda _, __, ___, , _, __: _, lambda _, __, ___, , _, __, ___: _, lambda _, __, ___, , _, __, ___, : _ ) ) ) I am in total awe. So am I, that sure is some gauntlet to throw into the ring. -- 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: very weird pandas behavior

2014-12-21 Thread Mark Lawrence
t. --log-filePath to a verbose non-appending log, that only logs failures. This log is active by default at C:\Users\Mark\pip\pip.log. --log Path to a verbose appending log. This log is

Re: Hello World

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

Re: List Comprehensions

2014-12-22 Thread Mark Lawrence
ads.append(tmp_thread) tmp_thread.start() If it ain't broke don't fix 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: very weird pandas behavior

2014-12-22 Thread Mark Lawrence
ons around the world. Here are 41 real-life Python success stories, classified by application domain." So it looks as if this is yet another case of a bad workman always blames his tools, we seem to have had a lot of them this year. -- My fellow Pythonistas, ask not what our language can do

<    15   16   17   18   19   20   21   22   23   24   >