Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Mark Lawrence
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

Re: save dictionary to a file without brackets.

2012-08-14 Thread Mark Lawrence
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

Re: something about split()???

2012-08-15 Thread Mark Lawrence
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

Re: _mysql_exceptions.OperationalError: (2005, "Unknown MySQL server host

2012-08-15 Thread Mark Lawrence
;, 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

Re: OT: Monty Python in Syria

2012-08-15 Thread Mark Lawrence
attention? -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: [ANNC] pybotwar-0.8

2012-08-16 Thread Mark Lawrence
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

Re: Dynamically determine base classes on instantiation

2012-08-18 Thread Mark Lawrence
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

Re: Regex Question

2012-08-18 Thread Mark Lawrence
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

Re: How do I display unicode value stored in a string variable using ord()

2012-08-18 Thread Mark Lawrence
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

Re: How do I display unicode value stored in a string variable using ord()

2012-08-18 Thread Mark Lawrence
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

Re: How do I display unicode value stored in a string variable using ord()

2012-08-18 Thread Mark Lawrence
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

Re: How do I display unicode value stored in a string variable using ord()

2012-08-18 Thread Mark Lawrence
html ROFLMAO doesn't adequately some up how much I laughed. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I display unicode value stored in a string variable using ord()

2012-08-18 Thread Mark Lawrence
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

Re: Encapsulation, inheritance and polymorphism

2012-08-19 Thread Mark Lawrence
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

Re: Branch and Bound Algorithm / Module for Python?

2012-08-19 Thread Mark Lawrence
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

Re: How do I display unicode value stored in a string variable using ord()

2012-08-19 Thread Mark Lawrence
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

Re: Encapsulation, inheritance and polymorphism

2012-08-19 Thread Mark Lawrence
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

Re: New internal string format in 3.3

2012-08-19 Thread Mark Lawrence
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

Re: New internal string format in 3.3

2012-08-19 Thread Mark Lawrence
he FUD approach that you've been using throughout this thread? -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: New internal string format in 3.3

2012-08-19 Thread Mark Lawrence
ble". jmf How convenient. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I display unicode value stored in a string variable using ord()

2012-08-19 Thread Mark Lawrence
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

Re: Why doesn't Python remember the initial directory?

2012-08-19 Thread Mark Lawrence
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

Re: Why doesn't Python remember the initial directory?

2012-08-20 Thread Mark Lawrence
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

Re: Why doesn't Python remember the initial directory?

2012-08-20 Thread Mark Lawrence
rd is go :) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: ONLINE SERVER TO STORE AND RUN PYTHON SCRIPTS

2012-08-20 Thread Mark Lawrence
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

Re: How to convert base 10 to base 2?

2012-08-20 Thread 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

Re: Top-posting &c. (was Re: [ANNC] pybotwar-0.8)

2012-08-20 Thread Mark Lawrence
way to go to catch up with me then :) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: protobuf + pypy

2012-08-21 Thread Mark Lawrence
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

Re: something about split()???

2012-08-22 Thread Mark Lawrence
-- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Top-posting &c. (was Re: [ANNC] pybotwar-0.8)

2012-08-22 Thread Mark Lawrence
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

Re: Books?

2012-08-22 Thread Mark Lawrence
ed it, I'd highly recommend Dive Into Python -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Reimporting modules, and sandboxing?

2012-08-22 Thread Mark Lawrence
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

Re: Objects in Python

2012-08-22 Thread Mark Lawrence
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

Re: Objects in Python

2012-08-22 Thread Mark Lawrence
ent of fact. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Objects in Python

2012-08-22 Thread Mark Lawrence
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

Re: Objects in Python

2012-08-22 Thread Mark Lawrence
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

Re: Objects in Python

2012-08-22 Thread Mark Lawrence
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

Re: Guarding arithmetic

2012-08-23 Thread Mark Lawrence
le Pythonistas) here would come up with The Best Solution ™ to your problem. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Flexible string representation, unicode, typography, ...

2012-08-23 Thread Mark Lawrence
'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

Re: Flexible string representation, unicode, typography, ...

2012-08-23 Thread Mark Lawrence
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

Re: Data cleaning workouts

2012-08-24 Thread Mark Lawrence
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

Re: Does a wxPython program not run on 64bit Windows?

2012-08-24 Thread Mark Lawrence
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

python-list@python.org

2012-08-24 Thread Mark Lawrence
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

Re: Flexible string representation, unicode, typography, ...

2012-08-24 Thread Mark Lawrence
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. --

Re: Filter versus comprehension (was Re: something about split()???)

2012-08-24 Thread 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? -

Re: Publish unittest results from test discovery

2012-08-25 Thread Mark Lawrence
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.

Re: Objects in Python

2012-08-25 Thread Mark Lawrence
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

Re: Flexible string representation, unicode, typography, ...

2012-08-25 Thread Mark Lawrence
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

Re: Objects in Python

2012-08-25 Thread Mark Lawrence
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

Re: Flexible string representation, unicode, typography, ...

2012-08-25 Thread Mark Lawrence
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

Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting?

2012-08-25 Thread Mark Lawrence
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

Re: issue with struct.unpack

2012-08-25 Thread Mark Lawrence
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

Re: Objects in Python

2012-08-26 Thread Mark Lawrence
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

Re: Your favorite test tool and automation frameworks

2012-08-27 Thread Mark Lawrence
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.

Re: What do I do to read html files on my pc?

2012-08-27 Thread Mark Lawrence
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

Re: Can I get logging.FileHandler to close the file on each emit?

2012-08-29 Thread Mark Lawrence
ev/library/logging.handlers.html -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Issue installing pyopencv in mac

2012-08-29 Thread Mark Lawrence
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

Re: Are the property Function really useful?

2012-08-29 Thread Mark Lawrence
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

Re: Basic Question. Deploy new Master/Slave (M/S) datastore

2012-08-30 Thread Mark Lawrence
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

Re: Basic Question. Deploy new Master/Slave (M/S) datastore

2012-08-30 Thread Mark Lawrence
p'/ Probably where Terry Reedy told you to look some hours ago!!! -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Call perl to store data in DB

2012-08-31 Thread Mark Lawrence
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

Re: interfacing with x86_64 assembler

2012-08-31 Thread Mark Lawrence
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

Re: interfacing with x86_64 assembler

2012-08-31 Thread Mark Lawrence
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

Re: how to get character hex number?

2012-09-01 Thread Mark Lawrence
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

Re: py2c - an open source Python to C/C++ is looking for developers

2012-09-02 Thread Mark Lawrence
"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

Re: Flexible string representation, unicode, typography, ...

2012-09-02 Thread Mark Lawrence
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

Re: Flexible string representation, unicode, typography, ...

2012-09-02 Thread Mark Lawrence
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

Re: [2.5.1] Read each line from txt file, replace, and save?

2012-09-02 Thread Mark Lawrence
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

Re: Changing a Value in List of lists

2012-09-02 Thread Mark Lawrence
hanks. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Flexible string representation, unicode, typography, ...

2012-09-02 Thread Mark Lawrence
=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

Re: Flexible string representation, unicode, typography, ...

2012-09-02 Thread Mark Lawrence
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

Re: newbie ``print`` question

2012-09-02 Thread Mark Lawrence
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

Re: newbie ``print`` question

2012-09-02 Thread Mark Lawrence
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

Re: Flexible string representation, unicode, typography, ...

2012-09-02 Thread Mark Lawrence
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

Re: get the matched regular expression position in string.

2012-09-03 Thread Mark Lawrence
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

Re: simple client data base

2012-09-03 Thread Mark Lawrence
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

Re: Comparing strings from the back?

2012-09-04 Thread Mark Lawrence
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

Re: Comparing strings from the back?

2012-09-04 Thread Mark Lawrence
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,

Re: python docs search for 'print'

2012-09-04 Thread Mark Lawrence
n windows is awesome. It even works offline. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to tell people to ask questions the smart way

2012-09-04 Thread Mark Lawrence
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

Re: Error 32 - Broken Pipe . Please Help!!

2012-09-05 Thread Mark Lawrence
e invented :) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: why did the WindowsError occur?

2012-09-05 Thread Mark Lawrence
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

Re: Beginners question

2012-09-05 Thread Mark Lawrence
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

Re: How to tell people to ask questions the smart way

2012-09-05 Thread Mark Lawrence
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

Re: how can i register the non-default browser with the webbrowser module?

2012-09-05 Thread Mark Lawrence
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

Re: webkit related problems

2012-09-05 Thread Mark Lawrence
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

Re: python docs search for 'print'

2012-09-06 Thread Mark Lawrence
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

Re: Bitshifts and "And" vs Floor-division and Modular

2012-09-06 Thread Mark Lawrence
yourself? -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Bitshifts and "And" vs Floor-division and Modular

2012-09-07 Thread Mark Lawrence
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

Re: how to run python2.6 module with absolute imports stand alone

2012-09-07 Thread Mark Lawrence
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

Re: Parsing ISO date/time strings - where did the parser go?

2012-09-09 Thread Mark Lawrence
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". -

Re: Beginner Q: What does the double underscore __ mean?

2012-09-09 Thread Mark Lawrence
/datamodel.html#specialnames -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie: where's the new python gone?

2012-09-09 Thread Mark Lawrence
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

Re: How to send email programmatically from a gmail email a/c when port 587(smtp) is blocked

2012-09-11 Thread Mark Lawrence
n the tutor mailing list. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Which Version of Python?

2012-09-11 Thread Mark Lawrence
or 2.x series of releases. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: pythonOCC examples doesn't work?

2012-09-11 Thread Mark Lawrence
: 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

Re: pythonOCC examples doesn't work?

2012-09-12 Thread Mark Lawrence
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

Re: Boolean function on variable-length lists

2012-09-12 Thread Mark Lawrence
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

Re: Comparing strings from the back?

2012-09-13 Thread Mark Lawrence
city to ask for context :) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Comparing strings from the back?

2012-09-13 Thread Mark Lawrence
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

<    1   2   3   4   5   6   7   8   9   10   >