can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
. 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
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
for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
n do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
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
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
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
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
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
#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
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
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
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
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
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
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
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
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
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
;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
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
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
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
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
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
--
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
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
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
--
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
--
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
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
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
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
/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
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/
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
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
uage can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-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
#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
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
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
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
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
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
can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
' 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
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
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
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
;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
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
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
, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
ou, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
sk
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
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
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
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
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
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
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
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
r language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
;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
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,
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
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
_, __: _,
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
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
ur language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
1901 - 2000 of 5534 matches
Mail list logo