Re: Python Interview Questions

2012-07-10 Thread Mark Lawrence
aking They are both containers holding samples of protein Does the hair contain much more roughage? -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: lambda in list comprehension acting funny

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

Python professional certification

2012-07-13 Thread Mark Lawrence
Google tells me that various certifications are available but I'd like to know if any of these are approved by the PSF or whoever would be responsible? If there's anything out there I've missed it :-( -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Implicit conversion to boolean in if and while statements

2012-07-15 Thread Mark Lawrence
about a guy who pronounces c's as b's, hence Kings Bollege Bambridge -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Encapsulation, inheritance and polymorphism

2012-07-17 Thread Mark Lawrence
On 17/07/2012 12:01, Lipska the Kat wrote: Anyway, I'm looking at Python as a rapid prototyping language. Lipska One of the huge advantages of Python here is that you can simply blast stuff into the interactive prompt and see what happens, no need to write a script. -- Cheers.

Re: Encapsulation, inheritance and polymorphism

2012-07-17 Thread Mark Lawrence
ons of this for sure. Lipska It's difficult to get junkies off of their addictive substances but I'm sure that the qualities of Python will eventually overcome your Java habit :) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Encapsulation, inheritance and polymorphism

2012-07-17 Thread Mark Lawrence
o help here such as pylint, pychecker and pyflakes. For other modules check out pypi at http://pypi.python.org/pypi Still, I'm sure you're only kidding around with me :-) Kidding around on a Python mailing list, never, how dare you Sir, simply wouldn't be cricket :-) Lipska -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: assertraises behaviour

2012-07-17 Thread Mark Lawrence
guage issue rather than Python itself. Thankfully I'm sure that everything will come out in the wash. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Encapsulation, inheritance and polymorphism

2012-07-17 Thread Mark Lawrence
ve caught it. ;) ~Ethan~ Wouldn't the compiler have caught it before the unittests? :-) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Encapsulation, inheritance and polymorphism

2012-07-17 Thread Mark Lawrence
On 17/07/2012 19:43, Ethan Furman wrote: Mark Lawrence wrote: On 17/07/2012 18:29, Ethan Furman wrote: Terry Reedy wrote: On 7/17/2012 10:23 AM, Lipska the Kat wrote: Well 'type-bondage' is a strange way of thinking about compile time type checking and making code easier to

Re: Encapsulation, inheritance and polymorphism

2012-07-17 Thread Mark Lawrence
parable by default so there is nothing to do really. Lipska I would like to spend more time on this thread, but unfortunately the 44 ton artic carrying "Java in a Nutshell Volume 1 Part 1 Chapter 1 Paragraph 1 Sentence 1" has just arrived outside my abode and needs unloading :-) -- Ch

Re: Google the video "9/11 Missing Links". 9/11 was a Jew Job!

2012-07-18 Thread Mark Lawrence
gmane.org and google groups, and for any other Python list that I happen to read. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Encapsulation, inheritance and polymorphism

2012-07-20 Thread Mark Lawrence
ies and retain their world no.1 ranking. Of course if they lose the universe will collapse immediately or expand so far that it tears itself to tiny little pieces. Even The Ashes won't survive, something I should perhaps take up with the MCC. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Sudden doubling of nearly all messages

2012-07-21 Thread Mark Lawrence
27;s because I earlier deleted one of a pair. Could well be. Just sorry I can't be of more help. :( -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: dbf.py 0.94

2012-07-21 Thread Mark Lawrence
e is spelt bearable. and PS is spelt p.s. :) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: My first ever Python program, comments welcome

2012-07-22 Thread Mark Lawrence
finds eclipse+python (http://pydev.org/ ) Wouldn't describe myself as "an ol Java-head" but I disliked eclipse 10 years ago. I tried it again earlier this year and still disliked it. It's like entering a legless cart horse for the Derby or the Grand National. YMMV. -- Ch

Re: the meaning of rユ.......ï¾

2012-07-23 Thread Mark Lawrence
for that. well get writing then as there's nothing to stop you. Regads, Henrik -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: the meaning of rユ.......ï¾

2012-07-23 Thread Mark Lawrence
On 23/07/2012 15:43, Henrik Faber wrote: On 23.07.2012 16:43, Mark Lawrence wrote: Apparently, not all characters are fine with Python. Why can I not have domino tiles are identifier characters? 🀻 = 9 File "", line 1 🀻 = 9 ^ SyntaxError: invalid ch

Re: What's wrong with this code?

2012-07-23 Thread Mark Lawrence
coped. Care to reveal your programming background? ~Andrew strictly speaking Python doesn't have variables, it has names. This will possibly start a flame war which, by the standards of this ng/ml, will be an intense conflagration, hence the duck and cover. -- Cheers. Mar

Re: the meaning of rユ.......ï¾

2012-07-24 Thread Mark Lawrence
2, 2, ...] which means that, like it or not, 22/7 *is* associated with π. Any civil engineers reading this who would find 22/7 perfectly adequate for their task? -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: the meaning of rユ.......ï¾

2012-07-25 Thread Mark Lawrence
On 25/07/2012 07:43, Ben Finney wrote: Mark Lawrence writes: Any civil engineers reading this who would find 22/7 perfectly adequate for their task? Civil engineering? Pffft, that deals with only a few orders of magnitude range at most. “π is roughly 3” is usually good enough in that arena

Re: from future import pass_function

2012-07-26 Thread Mark Lawrence
"I might not be a mechanical engineer, but that's fucking wrong". -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: from future import pass_function

2012-07-26 Thread Mark Lawrence
}() -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: from future import pass_function

2012-07-26 Thread Mark Lawrence
e you nuts, asbestos? My tin hat, camouflage net and trenching tool are very much safer :) *dives for cover without it* ChrisA -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: from future import pass_function

2012-07-26 Thread Mark Lawrence
urchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: pexcept module

2012-07-26 Thread Mark Lawrence
On 25/07/2012 12:29, Pritam Das wrote: Is dere any good tutorial for pexcept module. google and ye shall find. Regards, Pritam Das -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Search and replace text in XML file?

2012-07-28 Thread Mark Lawrence
vious text substitutions, an xml processor. Such things often make changes of various sorts. I highly recommend the use of notepad++. If anyone knows of a better text editor for Windows please let me know :) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Text editors

2012-07-29 Thread Mark Lawrence
On 29/07/2012 06:08, Ben Finney wrote: Tim Chase writes: On Sat, Jul 28, 2012 at 6:29 PM, Mark Lawrence wrote: I highly recommend the use of notepad++. If anyone knows of a better text editor for Windows please let me know :) I highly recommend not tying your editor skills to a single OS

Re: Python Error

2012-07-29 Thread Mark Lawrence
type: 'list' please let me know how may I resolve. And sometimes some good running program gives error all on a sudden with no parameter changed, how may I debug it? Thanking You in Advance, Regards, Subhabrata Banerjee. -- Cheers. Mark Lawrence. -- http://mail.python.o

Re: OT: Text editors

2012-07-29 Thread Mark Lawrence
On 29/07/2012 14:36, Robert Marshall wrote: On Sun, 29 Jul 2012, python.l...@tim.thechases.com wrote: On 07/29/12 05:28, Mark Lawrence wrote: On 29/07/2012 06:08, Ben Finney wrote: Tim Chase writes: Learn one of Emacs or Vim well, and you won't need to worry about text editors

Re: Is Python a commercial proposition ?

2012-07-29 Thread Mark Lawrence
is an acceptable question for this group You are hard pushed to find anything here that's unacceptable, that's why I like reading this list so much. Many thanks Lipska There's a list of companies who use python on www.python.org top right of the page. You may h

Re: Extracting bit fields from an IEEE-784 float

2012-07-30 Thread Mark Dickinson
On Monday, July 30, 2012 1:44:04 AM UTC+1, Steven D'Aprano wrote: > 1) Are there any known implementations or platforms where Python floats > are not C doubles? If so, what are they? Well, IronPython is presumably using .NET Doubles, while Jython will be using Java Doubles---in either case, that

Re: Extracting bit fields from an IEEE-784 float

2012-07-30 Thread Mark Lawrence
IEEE-754? The last ones I worked on that where the FP format wasn't IEEE were the DEC VAX and TI's line if 32-bit floating-point DSPs. I don't think Python runs on the latter, but it might on the former. Support for Python on VMS has been dropped for v3.3 see http://bugs.python.org

Re: Extracting bit fields from an IEEE-784 float

2012-07-30 Thread Mark Dickinson
EEE 754 stuff, not the hexadecimal bits. So unlikely to be an issue for Python. -- Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: Linux shell to python

2012-07-31 Thread Mark Lawrence
ut anyone doing [ result- -computation for-item- -selection-clause if- -filter- -clause ] should be pecked to death by a dead parrot. Any particular species? -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: missing python-config and building python on Windows

2012-07-31 Thread Mark Hammond
uild with support for linking into mingw programs. Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: Is Python a commercial proposition ?

2012-08-01 Thread Mark Lawrence
extreme .. I usually sip contentedly from a glass :p You complete ignoramus, if it gets poured in advance that's no good to anybody as it'll go flat. Has to stay in the pump until you're ready to drink it from the glass. Don't you know anything about the importance of

Re: [Pythonmac-SIG] Py2app error

2012-08-01 Thread Mark Livingstone
Hi Guys, OK, taking Chris' advice, I installed on a Snow Leopard machine: cheyenne:dist marklivingstone$ ls ~/Downloads/ About Downloads.lpdf numpy-1.6.2-py2.7-python.org-macosx10.3.dmg wxMac-2.8.12.tar matplotlib-1.1.0-py2.7-python.org-macosx10.3.d

Re: Is Python a commercial proposition ?

2012-08-02 Thread Mark Lawrence
joy about reading here is the way things do go off topic. IMHO makes for a far more interesting experience. YMMV. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: The way to develope a graphical application to manage a Postgres database

2012-08-02 Thread Mark Lawrence
the GUI. Is on the Internet such a tutorial that can help me in this effort? Start here? http://zetcode.com/ -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling Values

2012-08-03 Thread Mark Lawrence
e wrong group, but I don't know the best one for psychiatrists :) Seriously I can't see what you're trying to achieve with this approach. Can you explain it and I'm certain that we'll come up with a decent solution to your problem, whatever that may be. -- Cheers.

Re: Eclipse and the Python plugin

2012-08-03 Thread Mark Lawrence
ska My opinion of Eclipse is unchanged by your words, it's like trying to run a legless carthorse in the Grand National or the Derby. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: dbf.py 0.94

2012-08-03 Thread Mark Lawrence
welcome! ;) ~Ethan~ Will this work with Recital software on VMS? :) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Eclipse and the Python plugin

2012-08-03 Thread Mark Lawrence
On 03/08/2012 13:23, lipska the kat wrote: On 03/08/12 13:10, Mark Lawrence wrote: On 03/08/2012 12:34, lipska the kat wrote: A while ago someone asked me what I thought of the Eclipse plugin for python, snip My opinion of Eclipse is unchanged by your words, it's like trying to

Re: ANN: dbf.py 0.94

2012-08-03 Thread Mark Lawrence
On 03/08/2012 13:50, Alex Strickland wrote: On 2012/07/21 11:49 PM, Mark Lawrence wrote: and PS is spelt p.s. :) Ahem, the absolutely authoritative reference on the subject: http://en.wikipedia.org/wiki/Postscript says PS or P.S. I'm sorry but you can't read my writing[1]. [

Re: python pynotify with textbox input

2012-08-04 Thread Mark Lawrence
On 03/08/2012 23:50, dark.k...@gmail.com wrote: how can i made a notification for gnome-shell with a textbox input ?? library: pynotify? Write some code and when you get problems with it post the code here and we'll gladly answer your questions. -- Cheers. Mark Lawrence. --

Re: On-topic: alternate Python implementations

2012-08-04 Thread Mark Lawrence
;t that right, Stefan? -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: On-topic: alternate Python implementations

2012-08-04 Thread Mark Lawrence
On 04/08/2012 11:59, Stefan Behnel wrote: Mark Lawrence, 04.08.2012 12:05: I agree so it's off topic and can't be discussed here. Isn't that right, Stefan? Hmm, in case you are referring to a recent friendly and diplomatic request of mine regarding a couple of people who w

Re: On-topic: alternate Python implementations

2012-08-04 Thread Mark Lawrence
From: Zero Piraeus To: Mark Lawrence Cc: python-list@python.org Sent: Saturday, 4 August 2012, 19:42 Subject: Re: On-topic: alternate Python implementations : On 4 August 2012 14:24, Mark Lawrence wrote: > > With arrogance like that German

Re: The way to develope a graphical application to manage a Postgres database

2012-08-05 Thread Mark Lawrence
ls by cutting and pasting the error people will be able to help. Can you give a short tutorial for newbies how to start to develope with tools you used successfully? Seek and ye shall find!!! -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Mark Lawrence
go with the video: http://assets.en.oreilly.com/1/event/45/Practical%20Python%20Patterns... Can someone here on this list give a trivial example of what object oriented programming is, using only Python? thanks in advance Jean Try this http://www.voidspace.org.uk/python/articles/OOP.shtml ???

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Mark Lawrence
On 05/08/2012 19:43, Ifthikhan Nazeem wrote: [top posting fixed] On Sun, Aug 5, 2012 at 8:28 PM, Mark Lawrence wrote: On 05/08/2012 19:04, Jean Dubois wrote: On 5 aug, 02:11, shearich...@gmail.com wrote: One reason you may be having difficulty is that unlike some languages (C++/Java

Re: [newbie] Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Mark Lawrence
s. Search for "design patterns alex martelli" and you'll get all you need and more. lipska -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Intermediate Python user needed help

2012-08-05 Thread Mark Lawrence
s before you use them. Or he meant to pass an optional parameter: beans, jars, crates = secret_formula(start=point) or an element access: beans, jars, crates = secret_formula(start.point) or a bunch of other possibilities. Like it, marks out of 10, 15 :) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Intermediate Python user needed help

2012-08-05 Thread Mark Lawrence
On 05/08/2012 23:00, John Mordecai Dildy wrote: since when did we start talking about lisp? Just about anything is on topic here. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Mark Lawrence
cribing how objects and classes interact is pretty useful. Just don't ask me to remember which kind of arrowhead I'm supposed to use in which situation. Ask nicely and I'll lend you my copy of Martin Fowler's UML Distilled which covers "version 1.2 OMG UML standard&qu

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread Mark Lawrence
sservice if you don't use the interactive shell. Trying code snippets at the interactive prompt is one of the big benefits of using Python, ignore it at your peril :) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: [newbie] Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Mark Lawrence
t what you like. Especially beloved by consultants as it means they can talk crap for hours and charge a fortune for it. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for a good introduction to object oriented programming with Python

2012-08-06 Thread Mark Lawrence
): '''Sample method This method does the difficult task X. Call this method with no arguments.'''#docstring pass then type : help(A.method) And viola! On 6 August 2012 20:26, Jean Dubois wrote: On 5 aug, 20:28, Mark Lawrence wrote: On 05/08/2012 19:04, Jean Du

Re: Looking for a good introduction to object oriented programming with Python

2012-08-07 Thread Mark Lawrence
On 07/08/2012 02:12, Steven D'Aprano wrote: On Mon, 06 Aug 2012 17:17:33 +0100, Mark Lawrence wrote: Please see my comment at the bottom hint hint :) Please trim unnecessary quoted text. We don't need to see the entire thread of comment/reply/reply-to-reply duplicated in *ev

Re: Procedure to request adding a module to the standard library - or initiating a vote on it

2012-08-07 Thread Mark Lawrence
hat commitment is not made, and I belive it's required to be several (10?) years, then the code may never get into the standard library. I'll happily stand corrected if anyone knows any better. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: I thought I understood how import worked...

2012-08-07 Thread Mark Lawrence
On 07/08/2012 14:28, Ramchandra Apte wrote: I don't think the modules are actually imported twice. The entry is just doubled;that's all Please don't top post, this is the third time of asking. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Procedure to request adding a module to the standard library - or initiating a vote on it

2012-08-07 Thread Mark Lawrence
elmut. This is a new concept, as an example see http://bugs.python.org/issue14814#msg164795 which refers to the implementation of PEP 3144, the ipaddress module. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: I thought I understood how import worked...

2012-08-07 Thread Mark Lawrence
rted the module. Which is kind of mind-blowing. Maybe not directly applicable to what you're saying, but Brett Cannon ought to know something about the import mechanism. I believe he's been working on it on and off for several years. See http://docs.python.org/dev/whatsnew/3.

Re: socketserver.BaseRequestHandler and socketserver.StreamRequestServer docs

2012-08-09 Thread Mark Lawrence
a Dennis was only trying to help so please don't shout, thanks. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: save dictionary to a file without brackets.

2012-08-09 Thread Mark Lawrence
ssed, the OP gives a dict with five entries and already we're optimising, a cunning plan if ever there was one. Hum, I think I'll start on the blast proof ferro-concrete bunker tonight just in case WWIII starts tomorrow. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: save dictionary to a file without brackets.

2012-08-09 Thread Mark Lawrence
hash of it? Only if you order it with spam, spam, spam, spam, spam, spam, and spam. Now now gentlemen we're getting slightly off topic here and wouldn't want to upset the people who insist on staying on topic. Or would we? :) -- Cheers. Mark Lawrence. -- http://mail.python.o

Re: save dictionary to a file without brackets.

2012-08-10 Thread Mark Lawrence
On 10/08/2012 09:54, Steven D'Aprano wrote: On Thu, 09 Aug 2012 19:16:58 -0500, Tim Chase wrote: On 08/09/12 18:33, Mark Lawrence wrote: On 10/08/2012 00:24, Roy Smith wrote: ... you mean, Python lets you make a hash of it? Only if you order it with spam, spam, spam, spam, spam, spam

Re: save dictionary to a file without brackets.

2012-08-10 Thread Mark Lawrence
On 10/08/2012 13:29, Roy Smith wrote: In article , Mark Lawrence wrote: On 10/08/2012 09:54, Steven D'Aprano wrote: On Thu, 09 Aug 2012 19:16:58 -0500, Tim Chase wrote: On 08/09/12 18:33, Mark Lawrence wrote: On 10/08/2012 00:24, Roy Smith wrote: ... you mean, Python lets you m

Re: Arithmetic with Boolean values

2012-08-12 Thread Mark Lawrence
On 12/08/2012 17:59, Paul Rubin wrote: which can be simplified to: for x in range(len(L)//2 + len(L)%2): for x in range(sum(divmod(len(L), 2))): ... So who's going to be first in with "and thou shalt not count to 4..."? -- Cheers. Mark Lawrence. -- http://mail.python.org/m

Re: suggesting a launcher wrapper script for portable python

2012-08-12 Thread Mark Lawrence
e waste of time but can you use the new windows launcher described here http://www.python.org/dev/peps/pep-0397/ ??? -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: save dictionary to a file without brackets.

2012-08-13 Thread Mark Lawrence
On 13/08/2012 01:15, alex23 wrote: On Aug 10, 7:37 pm, Mark Lawrence wrote: Well whatever you do *DON'T* mention Cython. I mentioned it just now but I think I've got away with it. While I'm not against threads straying off topic, you're beginning to come across as a b

Re: How to uncompress a VOB file? (Win XP)

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

Re: save dictionary to a file without brackets.

2012-08-13 Thread Mark Lawrence
On 13/08/2012 17:14, alex23 wrote: On Aug 13, 10:37 pm, Mark Lawrence wrote: Why on your say so? My mistake, I didn't realise you wanted to sound so tedious. Knock yourself out. Yes m'lud. Do I lick your boots or polish them? -- Cheers. Mark Lawrence. -- http://mail.

Re: save dictionary to a file without brackets.

2012-08-13 Thread Mark Lawrence
On 13/08/2012 01:15, alex23 wrote: On Aug 10, 7:37 pm, Mark Lawrence wrote: Well whatever you do *DON'T* mention Cython. I mentioned it just now but I think I've got away with it. While I'm not against threads straying off topic, you're beginning to come across as a b

Re: How to uncompress a VOB file? (Win XP)

2012-08-13 Thread Mark Lawrence
On 14/08/2012 00:00, Xantipius wrote: On Aug 13, 3:40 pm, Mark Lawrence wrote: On 13/08/2012 11:18, Xantipius wrote: subj Either a) write some code and when and if it fails give us a small code snippet that demonstates the problem with the complete traceback. or b) state how much you

Re: save dictionary to a file without brackets.

2012-08-14 Thread Mark Lawrence
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 your say so? My mistake, I didn't realise you wanted to sound so tedious. Knock yourself ou

Re: How to uncompress a VOB file? (Win XP)

2012-08-14 Thread Mark Lawrence
On 14/08/2012 04:00, Steven D'Aprano wrote: On Tue, 14 Aug 2012 01:34:46 +0100, Mark Lawrence wrote: When did you seek my permission to call me by my forename? Sheesh. It's 2012, not 1812. If you sign your posts with your full name, you have to expect that people will call you &qu

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

2012-08-14 Thread Mark Lawrence
ng it was tongue in cheek. You got me hook, line and sinker. :) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

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

2012-08-14 Thread Mark Lawrence
Python code snippet to calculate any number in any currency times zero? -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

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

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