cut! :)
This is starting to look like a worthy endeavour...
I've just worked out what's going on, its the PSU trying to raise more
funds. What a devious scheme, I love it!!!
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 14/08/2012 16:05, Alister wrote:
On Tue, 14 Aug 2012 12:33:20 +0100, Mark Lawrence wrote:
On 14/08/2012 03:54, Steven D'Aprano wrote:
On Mon, 13 Aug 2012 18:07:26 +0100, Mark Lawrence wrote:
On 13/08/2012 17:14, alex23 wrote:
On Aug 13, 10:37 pm, Mark Lawrence wrote:
Why on you
On 14/08/2012 18:09, Jean-Michel Pichavant wrote:
Ramchandra Apte wrote:
A pythonic answer would be bottom-posted :p
JM
He or she is still top posting. I'm given up asking.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
;, passwd = '123456', db = 'test', host = 'localhost'' (11004)")
My highly paid team of consultants suggest that you're trying to connect
to a MySQL server host that doesn't exist. However I'm sure that people
on this list with more
attention?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
or" into "pheromone sensor"
... and so on :p
JM
--
http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.org/mailman/listinfo/python-list>
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
onths back about Google Apps as it looked interesting. I
returned it in disgust rather rapidly as it was basically a "let's bash
Microsoft" tome.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
tally agree with the sentiment. There's a comparison of python
parsers here http://nedbatchelder.com/text/python-parsers.html
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
d the world (banking, accounting
applications).
jmf
Sorry but you've got me completely baffled. Could you please explain in
words of one syllable or less so I can attempt to grasp what the hell
you're on about?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
s due the "flexible represention".
Deeper reason. The "boss" do not wish to hear from a (pure)
ucs-4/utf-32 "engine" (this has been discussed I do not know
how many times).
jmf
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
The same story as the coding of text files, where "utf-8 == ascii"
and the rest of the world doesn't count.
jmf
Thinking about it I entirely agree with you. Steven D'Aprano strikes me
as typically American, in the same way that I'm typically Brazilian :)
--
Cheers.
M
html
ROFLMAO doesn't adequately some up how much I laughed.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
To be extreme, tools using pure utf-16 or utf-32 are, at least,
considering all the citizen on this planet in the same way.
jmf
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
at. Either that or you hire Ray Mears to produce the spark needed
to light the fire :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
find something, come back and tell us please.
In addition to the above there's always the Python Package Index at
http://pypi.python.org/pypi
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ual
way"?
End note. This kind of discussion is not specific to
Python, it always happen when there is some kind of
conflict between ascii and non ascii users.
Have a nice day.
jmf
Roughly translated. "I've been shot to pieces and having seen Monty
Python and the Holy Grail I
On 19/08/2012 12:50, lipska the kat wrote:
On 19/08/12 09:55, Mark Lawrence wrote:
On 19/08/2012 06:21, Robert Miles wrote:
On 7/23/2012 11:18 AM, Albert van der Horst wrote:
In article <5006b48a$0$29978$c3e8da3$54964...@news.astraweb.com>,
Steven D'Aprano wrote:
[snip]
tha
d you please provide examples and or evidence of what
you're on about, because you still have me baffled.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
he FUD approach that you've been using throughout
this thread?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ble".
jmf
How convenient.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
stock markets will all collapse tonight
when the news leaks out that those stupid Americans haven't yet realised
that much of Europe (with at least one very noticeable and sensible
exception :) uses Euros. I'd better sell all my stock holdings fast.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
tating the rationale
for it?
Thanks!
Why would you have a Python Enhancement Proposal to state the rationale
for this?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
quot;The OS is flawed so I
expect the Python core developers to do my work for me by producing code
that gets around every known flaw in every supported OS" club. Somehow
I don't think that will happen.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
rd is go :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 20/08/2012 08:03, coldfire wrote:
Thanks a ton I will look into these and Get back to u
Could we have plain English please and not text speech, thanks. If
nothing else that should help the people whose English is a second or
higher numbered language.
--
Cheers.
Mark Lawrence
exact thing that you
tried with the entire traceback. "Doesn't seem to work" doesn't tell us
a lot. Your OS and Python version is usually needed as well but we
might be able to skip those details in this case :) How much general
programming experience do you hav
way to go to catch up with me then :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 21/08/2012 22:55, Pedro Larroy wrote:
Hi
Anyone knows if it's possible to use protobuffers with pypy? Seems
there isn't much info on the web about this.
Pedro.
Did you mean this, in which case there loads on the web
http://code.google.com/p/protobuf/ ?
--
Cheers.
Mar
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
tribution line.
Yep, and the only solution is for everyone to top-post.
The only solution is for people to use common sense. At least one snag
is that Voltaire said common sense is not so common.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ed it, I'd highly recommend Dive Into
Python
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
threads on python-dev discussing
sandboxing. Whether there are any tie ins with importing is for me not
to know and for you to find out :) I'll also wonder out loud if the
reworking of the import mechanism for 3.3 has any impact at all on your
question.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
This shows just how poor the Python documentation is. I can't find the
"overcoming brainwashing" section anywhere!!!
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ent of fact.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 22/08/2012 18:06, lipska the kat wrote:
On 22/08/12 17:30, Mark Lawrence wrote:
On 22/08/2012 17:10, lipska the kat wrote:
On 22/08/12 16:58, MRAB wrote:
On 22/08/2012 15:59, lipska the kat wrote:
On 22/08/12 15:13, shaun wrote:
[snip]
Im very new to python and the object orientated
et to read about it here.
Once again, this is not a criticism, it's an observation
It is OK to to make (possibly erroneous) observations isn't it?
Not if undoes concepts that computer scientists have patiently been
trying to explain for years.
Thanks for taking the time to reply.
lipska
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ouble_it(x):
return x * 2
is not far from:
double_it = lambda x: x * 2
The only declarations are "global" and "nonlocal" (and the latter
exists only in recent versions of Python).
Looking at the self I'm assuming that's a method and not a functi
le Pythonistas)
here would come up with The Best Solution ™ to your problem.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
'BULLET' (code points > 0x2000),
and you will see all the optimization efforts destroyed.
sys.getsizeof('a' * 80 * 50)
4025
sys.getsizeof('a' * 80 * 50 + '•')
8040
Just my 2 € (code point 0x20ac) cents.
jmf
I'm looking forward to all the patch
ode.org/charts/).
In that case, why using unicode?
(A problematic not specific to Python)
jmf
What do you propose should be used instead, as you appear to be the
resident expert in the field?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
row your searching from
'python' to 'scipy' (or 'numpy').
Also perhaps ipython.
And then perhaps try those specific mailing lists/fora.
Since I dont know this area much, not saying more.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
or
unix-like systems, and Macintosh OS X.
”
Why don't you try it and see what happens?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 24/08/2012 15:23, Ramchandra Apte wrote:
As BFDL, I hereby command everybody to stop the discussion.
lets put time on useful stuff
Well I didn't vote for you :)
i am using google groups (i think it knows what to do)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/ma
On 24/08/2012 17:06, rusi wrote:
Actually what exactly are you (jmf) asking for?
Its not clear to anybody as best as we can see...
A knee in the temple and a dagger up the ? :) From another
Monty Python sketch for those who don't know.
--
Cheers.
Mark Lawrence.
--
roper newsreader?
Probably because their ISP doesn't offer a free server
Python lists are available on the free gmane mail-to-news server.
I don't think the core-mentorship list is available on gmane. Have I
missed it, has nobody asked for it to go on there or what?
-
a single thread.)
I have no idea about xmlrunner and unittest discovery, sorry.
I entirely agree with Steven's comments. I'd put a question like this
on a specialised list. How about gmane.comp.python.testing.general ?
Sorry I've no idea what it's called elsewhere.
On 25/08/2012 07:34, Chris Angelico wrote:
On Sat, Aug 25, 2012 at 1:04 PM, Steven D'Aprano
I'm just wondering out aloud if the number of times this type of thread
has been debated here will fit into a Python long or float?
--
Cheers.
Mark Lawrence.
--
http://mail.python.o
ring representation)
can not even benefit from it in his native language (I think
I'm correctly informed).
Hint: Google -> "Das grosse Eszett"
jmf
It's Saturday morning, I'm stone cold sober, had a good sleep and I'm
still baffled as to the point if any. Could
On 25/08/2012 11:23, Chris Angelico wrote:
On Sat, Aug 25, 2012 at 6:55 PM, Mark Lawrence wrote:
I'm just wondering out aloud if the number of times this type of thread has
been debated here will fit into a Python long or float?
Well, when I have to store currency information, I li
On 25/08/2012 10:46, Frank Millman wrote:
On 25/08/2012 10:58, Mark Lawrence wrote:
On 25/08/2012 08:27, wxjmfa...@gmail.com wrote:
Unicode design: a flat table of code points, where all code
points are "equals".
As soon as one attempts to escape from this rule, one has to
"p
ch for a solution, I did see some of the traffic regarding
the tracker issue, but the posts were all several years old and I was
hoping maybe there was a fix by now. I guess not. Maybe in Python 4, eh?
Thanks.
Alex
For the record issue 7676, yes?
--
Cheers.
Mark Lawrence.
--
http://mai
d as to how you get errors from one line of code.
Or
b) Provide the smallest sample of code that allows the problem to be
reproduced together with the complete traceback so we can see exactly
what happened.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 26/08/2012 14:34, Chris Angelico wrote:
Okay, that may be a bit of a fairy tale ending and completely illogical.
ChrisA
Then stick to the thread about flexible string representation, unicode
and typography :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo
something better or just share experiences?
Thank you,
Alex
I never test my own code as it's always perfect first time :) For those
who lack my talents here's a good starting point
http://wiki.python.org/moin/PythonTestingToolsTaxonomy
--
Cheers.
Mark Lawrence.
--
http://mail.
te
search engine, hit return and follow the links it comes back with.
Write some code. If you have problems give us the smallest code snippet
that reproduces the issue together with the complete traceback and we'll
help.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ev/library/logging.handlers.html
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
can anybody help meThanks in advance.
The short answer is no :) Unless you tell us exactly what you've tried
and the precise error details nobody can help you.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 29/08/2012 11:32, levinie...@gmail.com wrote:
Rather more useful than your question :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
or Windows for which
you might need administrator privileges as I've no idea what you're doing.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
p'/
Probably where Terry Reedy told you to look some hours ago!!!
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 31/08/2012 09:40, Mulla wrote:
[snip]
how can I do this ...>>?
Look forward for hear from you soon
Thank You
Search the archives as it's the fourth time the question has been asked
within a few weeks.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 31/08/2012 14:40, lipska the kat wrote:
Worryingly
I was hacking away at some x86_64 assembler today
when I found myself obsessively indenting my code
by EXACTLY 4 spaces or (multiples thereof)
Who'd have thought it.
lipska
What's wrong with structured assembler? :)
--
Che
On 31/08/2012 14:58, Grant Edwards wrote:
On 2012-08-31, Mark Lawrence wrote:
On 31/08/2012 14:40, lipska the kat wrote:
I was hacking away at some x86_64 assembler today
when I found myself obsessively indenting my code
by EXACTLY 4 spaces or (multiples thereof)
What's wrong
whatever other encoding you want instead of "ascii".
-tkc
The u"..." notation has been reintroducd for Python 3.3 see
http://docs.python.org/dev/whatsnew/3.3.html#pep-414-explicit-unicode-literals
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
"Well, it should be quite easy because most of the
_modules are either C accelerator (which there is no need to port) or a
C wrapper (which should be trivial to port)" means that I won't be
touching the project with a 10 foot long disinfected barge pole.
--
Cheers.
Mar
foreign words got to do with the internal representaion
of the individual characters?
(cf "Le Petit Robert")
or
The *letters* satisfying the requirements of the
"Imprimerie nationale".
jmf
I've just rechecked my calendar and it's definitly not 1st April today.
Poor old me I'm baffled as always.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
I've found the white paper which gives the technical basis for the
claims made by jmf so thought I'd better share in order to explain his
rationale.
http://www.montypython.net/scripts/right-think.php
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ite("%s" % line)
output.close()
IMHO better practice to use the with statement. See
http://docs.python.org/reference/compound_stmts.html#the-with-statement
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
hanks.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
=locale.strxfrm)
Hmm, and with locale.strxfrm Python 3.3 20% slower than 3.2.
That's it then I'm giving up with Python. In future I'll be writing
everything in machine code to ensure that I get the fastest possible run
times.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/m
On 02/09/2012 14:48, Ramchandra Apte wrote:
please make it *heavily optimized* machine code
Goes without saying. First thing I'll concentrate on is removing
superfluous newlines sent by crappy mail clients or similar.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/ma
e in the formatted string?
For example, in MATLAB I only had to do:
fprintf('1');fprintf('2')
12
fprintf works the same way if printing to a file. It only puts in
what you explicitly tell it to put in.
I'd settle for print 12, YMMV.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 02/09/2012 20:58, me wrote:
Well you can convert the ints to str then concatenate them.
print "1" + "2"
Please post other parts of the thread so people can get the context or
don't bother posting at all, thanks.
--
Cheers.
Mark Lawrence.
--
http://mail.py
living writing comedy for
big film or TV studios? Your response to Steven D'Aprano's "That's six
wins versus one loss." should be hilarious. Or do you not respond to
fact based posts?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
the minimum piece of code here that demonstrates the problem, what
you expect to happen, what actually happened, and if appropriate the
complete traceback.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
to save them to disk with a module like pickle or shelve. IMHO
using sqlite is a better option as it comes with Python.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 04/09/2012 05:56, Dan Sommers wrote:
That said, if I really wanted bloodshed, I would propose = for the third
string-equality operator! ;-)
Dan
Dan "agent provocateur" Sommers? :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ding semantics wrong if you don't
start from the front.
Good grief, what timing!!! The dust has yet to settle over the
"Flexible string representation, unicode, typography, ..." thread and
you ask this. I'll just cross my fingers and hope that people stick
with facts,
n
windows is awesome. It even works offline.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
point out *how* the original poster's question can
be improved.
It is my opinion that the OP got exactly what they deserved, hence I
entirely disagree with your response.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
e invented :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
u've done something wrong. If you'd like to tell us what
you've done to find out where the problem is, we are far more likely to
help. Please remember that the rates of pay here are amongst the lowest
in the world :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
from the advanced list is really going to stretch an
advanced Python developer, so only gurus need bother as it's so
difficult. Not.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
is an unhelpful response.
So we have to agree to disagree.
EOD.
Bye, Andreas
Thinking about it your post was very unhelpful as I couldn't find
anything about JTextField at the url you posted as seen above. Fancy
wasting my time like that :)
--
Cheers.
Mark Lawrence.
--
http://mail
pty argument matching the name of a handler you
declare." Is this what you plan to do in your code?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
see what
comes back and follow an appropriate link. Probably faster than asking
here.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
ess we'll see what happens.
-Dave
Say thanks to Terry Reedy for
http://bugs.python.org/issue15871
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
yourself?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 07/09/2012 02:08, Cameron Simpson wrote:
On 07Sep2012 01:30, Mark Lawrence wrote:
| On 07/09/2012 01:01, jimbo1qaz wrote:
| > Is it faster to use bitshifts or floor division? And which is better, & or
%?
| > All divisors and mods are power of 2, so are binary operations faster
tion of the imported module.
Not very elegant, but probably functional.
Thanks in advance for any other suggestions / ideas.
I hope this helps
http://stackoverflow.com/questions/3616952/how-to-properly-use-relative-or-absolute-imports-in-python-modules
--
Cheers.
Mark Lawrence.
--
ht
On 09/09/2012 11:15, Roy Smith wrote:
In article , John Nagle
wrote:
This really should be handled in the standard library, instead of
everybody rolling their own, badly.
+1
I'll second that given "There should be one-- and preferably only one
--obvious way to do it".
-
/datamodel.html#specialnames
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
http://docs.python.org/faq/windows.html#how-do-i-run-a-python-program-under-windows
Why have you posted this seeing that the OP stated that they're on Mac OS X?
The windows faq is outdated wrt PEP397. An up to date version is
available here http://docs.python.org/dev/using/windo
n the tutor mailing list.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
or 2.x
series of releases.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
:
ImportantError: DLL load failed: The specified module could not be found.
The error come from the line of code:
from OCC.BrepPrimAPI import *
How to fix the error? Thanks a lot!!
See above, I hope, I don't actually know :)
--
Cheers.
Mark Lawrence.
--
http://mail.pytho
x27;s Python
version and pythonOCC version. Others would be able to see this for
themselves but you insist on sending email without context. Please
don't do this.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 12/09/2012 14:51, Ken Seehart wrote:
[snip]
Could you please not top post on this list, thanks.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
city to ask for context :)
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 13/09/2012 21:34, Joshua Landau wrote:
On 13 September 2012 20:53, Mark Lawrence wrote:
On 13/09/2012 19:39, Prasad, Ramit wrote:
Dwight Hutto wrote:
Why don' you just time it,eit lops through incrementing thmax input/
What? Without context I have no idea what this
201 - 300 of 3466 matches
Mail list logo