Re: LangWart: Method congestion from mutate multiplicty

2013-02-10 Thread Mark Janssen
On Sun, Feb 10, 2013 at 4:10 PM, Steven D'Aprano wrote: > Mark Janssen wrote: > >> A unified data model as I define it, specifies a canonical atomic unit >> (like the unit integer) and an abstract grouping construct in which >> these atomic units can be arranged.

Re: LangWart: Method congestion from mutate multiplicty

2013-02-10 Thread Mark Lawrence
On 11/02/2013 02:05, alex23 wrote: I highly recommend not reading up on any modern physics as there'll be plenty there that just makes you angry. Spoil sport. Fancy not wanting rr's views on string theory :) -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Import redirects

2013-02-10 Thread Mark Lawrence
could come up with. import bar as foo -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: LangWart: Method congestion from mutate multiplicty

2013-02-10 Thread Mark Lawrence
On 11/02/2013 07:24, Chris Angelico wrote: On Mon, Feb 11, 2013 at 6:19 PM, Mark Lawrence wrote: On 11/02/2013 02:05, alex23 wrote: I highly recommend not reading up on any modern physics as there'll be plenty there that just makes you angry. Spoil sport. Fancy not wanting rr'

Re: Implicit conversion to boolean in if and while statements

2013-02-11 Thread Mark Janssen
he weekends. That's a funny quote, besides its questionable accuracy, but your initial sentences point out that having a unified data model might actually be of use. A unified data model does for data what lexical definitions and parsers do for code: organize it in a well-defined way that is a *complete* specification for all possible data organizations. (But see my other posts about that ;^) Mark Tacoma, Wa -- http://mail.python.org/mailman/listinfo/python-list

Re: LangWart: Method congestion from mutate multiplicty

2013-02-11 Thread Mark Janssen
On Mon, Feb 11, 2013 at 8:55 PM, Rick Johnson wrote: > On Monday, February 11, 2013 7:27:30 AM UTC-6, Chris Angelico wrote: > >> So... >> flatten([None, 23, [1, 2, 3], (2, 3), ["spam", "ham"]]) >> >> would return >> >> [None, 23, 1, 2, 3, (2, 3), "spam", "ham"] >> >> I think that's even more unexp

Re: string.replace doesn't removes ":"

2013-02-13 Thread Mark Lawrence
uld be one-- and preferably only one --obvious way to do it." BROKEN BROKEN BROKEN! "If the implementation is hard to explain, it's a bad idea." BROKEN! "If the implementation is easy to explain, it may be a good idea." REINFORCED BY BAD EXAMPLE jmf and rr in combination reminded me of this. I hope you all get my drift :) http://www.cc.gatech.edu/fac/Spencer.Rugaber/poems/love.txt -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: any chance for contracts and invariants in Python?

2013-02-14 Thread Mark Janssen
See the python extension called "Vigil": https://github.com/munificent/vigil . mark -- http://mail.python.org/mailman/listinfo/python-list

Re: Howto parse a string using a char in python

2013-02-15 Thread Mark Lawrence
ked at regular expressions and string functions, so far no luck. Custom function required? Thank you. - Spoog98 More likely a visit to the opticians :) See http://docs.python.org/2/library/stdtypes.html#string-methods for the find and index methods. -- Cheers. Mark Lawrence -- http://ma

Re: Dictionaries with tuples or tuples of tuples

2013-02-18 Thread Mark Lawrence
on 3. col = {"1": ((0,1,2,3),), "2": ((0,1,2,3),(2,3,4,5))} for key,tuples in col.items(): for t in tuples: print(key,t) A slight aside, your keys look more like strings to me than numbers :) -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Dictionaries with tuples or tuples of tuples

2013-02-18 Thread Mark Lawrence
On 19/02/2013 01:38, Jon Reyes wrote: Hi Mark. Well, doesn't iteritems() work the same? It's iteritems for Python 2, items for Python 3. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: CBT code in python

2013-02-19 Thread Mark Lawrence
ilable to get your answer. Why not use one before posting your question? -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: IOerror : need urgent help

2013-02-19 Thread Mark Lawrence
test.arff", "w") as w: IOError: [Errno 22] invalid mode ('w') or filename: 'C:\\Users\\inshu.chauhan\\Desktop\test.arff' Why my programme is not working ?? :( Thanks in Advance !! Use a raw string for the output file name or forward instead of back slashes. Exp

Re: IOerror : need urgent help

2013-02-19 Thread Mark Lawrence
n\\Desktop\\test.arff" ++ Thomas Yuck :) -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Python module import failed error

2013-02-19 Thread Mark Lawrence
actually set to? You can find out by running python interactively, then import os os.environ['PYTHONPATH'] -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Python module import failed error

2013-02-19 Thread Mark Lawrence
On 19/02/2013 16:57, [email protected] wrote: What is PYTHONPATH actually set to? You can find out by running python interactively, then i dont know. how do i run pythoin interactively? Type python at a command prompt :) -- Cheers. Mark Lawrence -- http://mail.python.org

Re: Is there a graphical GUI builder?

2013-02-19 Thread Mark Lawrence
ht find something, if not you'll have to write your own or do without. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Crate is a new kind of Python package index

2013-02-20 Thread Mark Lawrence
Today was the first I've heard about it, can anyone shed any light as documentation appears to be rather sparse? https://crate.io/ -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: ** Please Rank These Learning Sources **

2013-02-21 Thread Mark Janssen
t's still > 2013. On quora, they say that you need to code for it to actually do things. > Could someone who is good at it rank these sources (or provide a good one) > on how well they solve the problem? Sorry, I'm not familiar with those sources, but I can tell that for tackling r

Re: ** Please Rank These Learning Sources **

2013-02-21 Thread Mark Janssen
Sorry, I gave you the wrong book (a different Lutz book). The correct title is _Programming Python_, by Mark Lutz. It's like 1600 pages and is application focused. Cheers! mark -- http://mail.python.org/mailman/listinfo/python-list

Re: Checking for valid date input and convert appropriately

2013-02-21 Thread Mark Lawrence
something like. c:\Users\Mark>python Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from datetime import datetime >&g

Re: Python Newbie

2013-02-21 Thread Mark Lawrence
as it is. I will see how it goes. Pete Perhaps look at code in the standard library to get a feel for things? This should help you overcome OCD, i.e. Obsessive C Disorder :) -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Python scheduler

2013-02-21 Thread Mark Lawrence
ython implementation of cron which can schedule tasks (functions) from standard cron expressions or python objects." -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: How to write a language parser ?

2013-02-22 Thread Mark Lawrence
yet. Are there other parsers you have used for complete languages ? Thank you, Timothy Madden http://nedbatchelder.com/text/python-parsers.html -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Newbie

2013-02-22 Thread Mark Lawrence
#x27;s value proposition. -m [*] of course, future is hard to predict, especially when it hasn't yet happened. Seems like as good a time as any to throw this into the pot http://www.gossamer-threads.com/lists/python/python/129650?do=post_view_threaded -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Unit Test case for complie/test

2013-02-23 Thread Mark Lawrence
Gauld provided on the tutor mailing list. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: time as float since Jan 1, 0001?

2013-02-23 Thread Mark Lawrence
+ t.second / 86400.0 but that's really ugly. Is there no cleaner way to do this conversion? IIRC you needn't bother, matplotlib will do all the conversions for you. In the highly likely case that I'm wrong this should help http://matplotlib.org/api/dates_api.html#mo

Re: What happened to 2.7.4 and 3.2.4 ??

2013-02-23 Thread Mark Lawrence
cancelled ? Postponed see http://comments.gmane.org/gmane.comp.python.devel/137017 -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Newbie

2013-02-23 Thread Mark Lawrence
/issue16061 for work being done to handle edge cases. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Newbie

2013-02-24 Thread Mark Lawrence
is the lack of a switch/case structure. This has to be done with a less convenient extended if/elif/.../else structure. Or a dict, there are umpteen recipes showing how to do this. Peter -=- Larry -=- -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Newbie

2013-02-24 Thread Mark Lawrence
On 22/02/2013 21:37, [email protected] wrote: if (some statement):# short form rather than if (some statement == true):# long form What all those ugly brackets are for? Peter -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Newbie

2013-02-24 Thread Mark Lawrence
On 24/02/2013 19:40, [email protected] wrote: if (some statement):# short form rather than if (some statement == true):# long form What all those ugly brackets are for? Mark, Back in the day when C was king, or take many newer long established languages (C

Re: webbrowser.open("./documentation/help.html")-- No Go in Windows

2013-02-24 Thread Mark Lawrence
tes the downside of the Python philosophy of "There should be only one obvious way to do things". If that one obvious way has a fatal bug, you're pretty much SOL. Misquoted as always. I guess that some day someone will quote it correctly. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Newbie

2013-02-24 Thread Mark Lawrence
g our code, unlike those who use statically typed languages which work perfectly once they've been compiled. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: python 3 problem: how to convert an extension method into a class Method

2013-02-26 Thread Mark Lawrence
27; 100 loops, best of 3: 0.473 usec per loop c:\Users\Mark\MyPython>python Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. &g

Re: Do you feel bad because of the Python docs?

2013-02-26 Thread Mark Janssen
don't think so at all. I think the python docs are quite well organized. Who googles for python knowledge when you can just go to the official site and use the doc search? Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: Do you feel bad because of the Python docs?

2013-02-27 Thread Mark Lawrence
warning or explanation.) Another response to the blog post, by one of the core developers: http://blog.briancurtin.com/posts/why-i-dont-feel-so-bad.html Not really when we've got world leading experts to help us out http://xahlee.info/perl-python/python_doc.html :) * sys.maxint -- Cheers

Re: Nuitka now supports Python 3.2

2013-02-27 Thread Mark Lawrence
[0.11000708521282831, 0.0994753634273593, 0.09901023634051853] jmf Haven't I seen you at the airport throwing bread crumbs to the helicoptors, as clearly that's just how stupid you are? -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Do you feel bad because of the Python docs?

2013-02-27 Thread Mark Lawrence
topic that I have ever seen... To me, this is a lying troll rant worth less than most of RantingRick's posts. Rather making his point, aren't you? [...] No. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: raw format string in string format method?

2013-02-28 Thread Mark Lawrence
3.X ? Thanks, Helmut. Nope please see http://mail.python.org/pipermail/python-dev/2012-February/116790.html -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Failure of Python devs to deliver - Battle Police SIG

2013-03-01 Thread Mark Lawrence
suits like day jobs or leisure activities. The colours will be raised outside of RR's home at 05:00 Saturday 02/03/2013. For more data please contact RR directly, not me. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: os.system() not responding on django... any reason?

2013-03-01 Thread Mark Lawrence
On 01/03/2013 16:23, Jaiky wrote: it is running in view.. When replying can you please ensure we have the complete context, otherwise we have to spend time looking, thanks. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Dealing with exceptions

2013-03-02 Thread Mark Lawrence
much bigger manual, for most other commands. OSError will cover a wide swath of possible exceptions here. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Tk MouseWheel Support

2013-03-02 Thread Mark Lawrence
On 02/03/2013 21:47, [email protected] wrote: that code and other mousewheel code arent working on my pc running windows 7 32bit python 2.6 and Mouse USB whats the solution ? Post something that we can read, or do I give up on Thunderbird? :) -- Cheers. Mark Lawrence -- http

Re: [Python-ideas] string.format() default variable assignment

2013-03-05 Thread Mark Lawrence
at. *dives for cover* ChrisA It's unlikely to happen but the UK should bring back the death penalty when it gets that bad :) -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Downloading a file form a displayed table

2013-03-05 Thread Mark Lawrence
g the print statement/function. 4) Not taking any notice of what people tell you. 5) Not showing what you expect to happen and what actually happens. 6) You're not doing six wrong. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Inserting-embedding some html data at the end of a .py file

2013-03-05 Thread Mark Lawrence
On 05/03/2013 17:11, Νίκος Γκρ33κ wrote: Any ideas on hopw to embed some html data at the end of each python script? Write some code. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Inserting-embedding some html data at the end of a .py file

2013-03-05 Thread Mark Lawrence
show=stats";> %d ''' ''' % data[0] template = htmldata + counter print ( template ) = But still doens't embed co

Re: Do you feel bad because of the Python docs?

2013-03-05 Thread Mark Lawrence
on You'll be delighted to know that everybody will have to sign a contributor agreement if they're supplying a patch file on the bug tracker, see http://blog.python.org/2013/03/introducing-electronic-contributor.html and http://mail.python.org/pipermail/python-dev/2013-March/1245

Re: sync databse table based on current directory data without losign previous values

2013-03-06 Thread Mark Lawrence
O files (URL, host, lastvisit) VALUES (%s, %s, %s)''', (filename, host, date) ) except MySQLdb.Error, e: print ( "Query Error: ", sys.exc_info()[1].excepinfo()[2] ) == Thank you. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: draw a line if the color of points of beginning and end are différent from white

2013-03-06 Thread Mark Lawrence
package, Python version and OS, plus give us a code sample, what you expect to see and what actually happens. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: An error when i switched from python v2.6.6 => v3.2.3

2013-03-08 Thread Mark Lawrence
and MI6. Note however that it's difficult to hack some of these people as of course they don't actually exist :) -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: An error when i switched from python v2.6.6 => v3.2.3

2013-03-08 Thread Mark Lawrence
s to knowing very little about *nix commands, but I believe the second command referenced above does something like delete everything on your hard drive. Not that this is a problem as your improved security ensures that this can't happen, doesn't it? -- Cheers. Mark Lawrence -- h

Re: An error when i switched from python v2.6.6 => v3.2.3

2013-03-09 Thread Mark Lawrence
d section 2 of this http://wiki.python.org/moin/GoogleGroupsPython to prevent all of your posts having an excessive number of quoted blank lines. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling J from Python

2013-03-09 Thread Mark Lawrence
slagging six years ago when first posted, what's changed to make it worth evaluating? -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Regular expression problem

2013-03-11 Thread Mark Lawrence
representation does! And away from technical aspects, you even succeeded to somehow lose unicode compliance. jmf Please stick to something you know about such as sexual self abuse. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding the Min for positive and negative in python 3.3 list

2013-03-13 Thread Mark Lawrence
rst case performance O(n log n), best case O(n) and average case O(n log n). Please don't shoot the messenger :) -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: how to get the coordonnée of a line from his Id in canvas python??

2013-03-13 Thread Mark Lawrence
e group as they're linked, select one or the other. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: What's the easiest Python datagrid GUI (preferably with easy database hooks as well)?

2013-03-15 Thread Mark Lawrence
ython is getting there with its so called Phoenix see http://wxpython.org/Phoenix/snapshot-builds/ -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Mark Lawrence
, easily done I know. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Mark Lawrence
On 16/03/2013 04:35, rusi wrote: On Mar 16, 9:09 am, Chris Angelico wrote: On Sat, Mar 16, 2013 at 2:56 PM, Mark Lawrence wrote: On 16/03/2013 02:44, Thomas 'PointedEars' Lahn wrote: Chris Angelico wrote: Thomas and Chris, would the two of you be kind enough to explain to m

RE: How to automatically get the indent level from code?

2013-03-16 Thread Mark Shroyer
t indent_level() = 4 second indent_level() = 8 But hopefully it's a start. Mark -Original Message- From: Python-list [mailto:[email protected]] On Behalf Of Peng Yu Sent: Sunday, March 17, 2013 12:53 AM To: [email protected] Subject: How t

Re: pprint defaultdict one record per line

2013-03-17 Thread Mark Lawrence
e(15) pprint.pprint(d) Try writing a for loop that prints one record per line. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Message passing syntax for objects

2013-03-17 Thread Mark Janssen
ive things from outside of it. Things it can't handle (a string sent to an int) just have to be dropped to some other space, much like stderr does within the O.S. There are probably many other very interesting examples, but the key idea I'm working on (as noted in other messages), is a sor

Re: Message passing syntax for objects

2013-03-17 Thread Mark Janssen
On Sun, Mar 17, 2013 at 9:26 PM, Mark Janssen wrote: > Continuing on this thread, there would be a new bunch of behaviors to > be defined. Since "everything is an object", there can now be a > standard way to define the *next* common abstraction of "every object > i

Re: [Python-ideas] Message passing syntax for objects

2013-03-18 Thread Mark Janssen
ft is that by enforcing a syntax that moves away from invoking methods and move to message passing between objects, you're automatically enforcing a more modular approach. Mark -- http://mail.python.org/mailman/listinfo/python-list

[Python-ideas] Message passing syntax for objects

2013-03-18 Thread Mark Janssen
> Ian Cordasco wrote: >> >> On Sun, Mar 17, 2013 at 11:53 PM, Mark Janssen >> wrote: >> >>> Hello, >>> >>> I just posted an answers on quora.com about OOP (http://qr.ae/TM1Vb) >>> and wanted to engage the python community on the

Re: [Python-ideas] Message passing syntax for objects

2013-03-18 Thread Mark Janssen
C++ decided to overload the existing operators to mean > reading into and writing out of a stream doesn't mean it's a good > idea. You're right, perhaps there's a better set of symbols that suggest "moving data". Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: [Python-ideas] Message passing syntax for objects

2013-03-18 Thread Mark Janssen
On Mon, Mar 18, 2013 at 12:06 PM, Georg Brandl wrote: > Am 18.03.2013 05:26, schrieb Mark Janssen: >> Continuing on this thread, there would be a new bunch of behaviors to >> be defined. Since "everything is an object", there can now be a >> standard way to defin

Re: [Python-ideas] Message passing syntax for objects

2013-03-18 Thread Mark Janssen
e whether they become > friends or dinner. You're model of computer programming is very alien to me. So I don't think it will be productive to try to convince you of what I'm suggesting, but feel free to continue... Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: Small program ideas

2013-03-18 Thread Mark Lawrence
On 18/03/2013 23:51, eli m wrote: Any other ideas? How about coming up with a new message passing syntax for objects? I understand from recent postings that this should be fairly easy :) -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: [Python-ideas] Message passing syntax for objects

2013-03-19 Thread Mark Janssen
I'm making, and it's significant because other programmers can't see other's mental models. mark -- http://mail.python.org/mailman/listinfo/python-list

OOPv2: [Was: Message passing syntax for objects]

2013-03-19 Thread Mark Janssen
wrong direction as many people found when programmers started making vast hierarchies of objects to try to categorize reality (Suburu inherits from Car inherits from Vehicle inherits from.). So we went the wrong direction. What's to replace it? There was an interesting discussion on comp.

Re: join()

2013-03-20 Thread Mark Lawrence
weather is sunny today " raw.split() ['the', 'weather', 'is', 'sunny', 'today'] But how do I do it using join() ?? Thanks ' '.join(raw.split()) -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Lists and Decimal numbers

2013-03-20 Thread Mark Lawrence
-mini- language> and a list comprehension would streamline things further t=[round(x*1.0/60),4 for x in range(1440)] #compatible with V2.7 & V3.0) Really? c:\Users\Mark\Python>python Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win3

Re: Top 10 python features

2013-03-20 Thread Mark Lawrence
this http://wiki.python.org/moin/GoogleGroupsPython -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: how to install indico software?

2013-03-23 Thread Mark Lawrence
If you are specific about what you tried and what went wrong you are far more likely to get answers that will take you forward. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: "monty" < "python"

2013-03-23 Thread Mark Lawrence
find('a')") [0.44333188136533863, 0.4232506078969891, 0.4225164843046514] jmf Are you saying that to be compliant a unicode implementation has to perform within given time bounds? -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: "monty" < "python"

2013-03-23 Thread Mark Lawrence
at existed in Python prior to version 3.3 is simply not an option. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: "monty" < "python"

2013-03-24 Thread Mark Lawrence
laining why they are wrong, except arguing the flexible string representation exists! Sheer unadultered crap. Was your education at the Dr Goebbels Institute? jmf -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: ImportError: No module named multipli

2013-03-24 Thread Mark Lawrence
On 24/03/2013 15:48, Chris Angelico wrote: On Mon, Mar 25, 2013 at 2:35 AM, yahya Kacem wrote: file named multipli: and file naled test: from multipli import table Try naming it multipli.py ChrisA Before or after fixing the infinite loop? :) -- Cheers. Mark Lawrence -- http

Re: Vowels [was Re: "monty" < "python"]

2013-03-24 Thread Mark Lawrence
rs I've felt it was wrong that people apologised for their poor English. Having read the above link I feel compelled to state, please do not apologise for your poor English. -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: ImportError: No module named multipli

2013-03-24 Thread Mark Lawrence
d it? Please read this as it helps prevent the bill from my optician soaring http://wiki.python.org/moin/GoogleGroupsPython -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: i need advice

2013-03-24 Thread Mark Lawrence
/moin/BeginnersGuide ? -- Cheers. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: problem with sys import argv

2013-03-26 Thread Mark Lawrence
t, userName = argv ValueError: need more than 1 value to unpack what can i do? thanks! Write some error handling to allow for the script being run without the user name. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Performance of int/long in Python 3

2013-03-26 Thread Mark Lawrence
oogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Performance of int/long in Python 3

2013-03-26 Thread Mark Lawrence
On 26/03/2013 21:14, Chris Angelico wrote: On Wed, Mar 27, 2013 at 8:08 AM, Grant Edwards wrote: On 2013-03-26, Mark Lawrence wrote: On 26/03/2013 20:44, jmfauth wrote: A character is not an integer (short form). So? A character is not an integer. jmf But you are an idiot. I

Re: how do you make a loop run in reverse?

2013-03-26 Thread Mark Lawrence
org/3/library/stdtypes.html#range and http://docs.python.org/3/library/functions.html#reversed -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Performance of int/long in Python 3

2013-03-26 Thread Mark Lawrence
On 27/03/2013 00:00, Ned Deily wrote: In article , Mark Lawrence wrote: But you are an idiot. I repeat the friendly reminder I posted a few weeks ago and I'll be a little less oblique: please avoid gratuitous personal attacks here. It reflects badly on the group and especially on

Re: Performance of int/long in Python 3

2013-03-27 Thread Mark Lawrence
On 27/03/2013 01:31, Ned Deily wrote: In article , Mark Lawrence wrote: On 27/03/2013 00:00, Ned Deily wrote: [...] I repeat the friendly reminder I posted a few weeks ago and I'll be a little less oblique: please avoid gratuitous personal attacks here. It reflects badly on the grou

Re: flaming vs accuracy [was Re: Performance of int/long in Python 3]

2013-03-28 Thread Mark Lawrence
7;re a tonic as I've just clawed my way out of bed at 12:00 GMT having slept for 15 hours. Once the PEP393 unicode debacle has been sorted, does anyone have a cure for Chronic Fatigue Syndrome? :) -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/Googl

Re: No errors displayed but i blank scren nstead.

2013-03-28 Thread Mark Lawrence
On 28/03/2013 18:37, Νίκος Γκρ33κ wrote: Will someone help me out here please? I suggest you take a course in diplomacy, but not one given by me :) -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.pytho

Re: flaming vs accuracy [was Re: Performance of int/long in Python 3]

2013-03-28 Thread Mark Lawrence
Instrument For the Transplantation of Dirt (Is an antique Steam Shovel ever a Steam Spade?) Surely you can spade a lot more things than dirt? -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/ma

Re: Surrogate pairs in new flexible string representation [was Re: flaming vs accuracy [was Re: Performance of int/long in Python 3]]

2013-03-28 Thread Mark Lawrence
#x27;re using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Interlacing of images

2013-03-29 Thread Mark Lawrence
to use a for loop. Thanks, Eric Use the builtin zip function? -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Export data from python to a txt file

2013-03-29 Thread Mark Lawrence
f.close()" But it doesn't have the format I want. Can you help? Thanks! -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: flaming vs accuracy [was Re: Performance of int/long in Python 3]

2013-03-31 Thread Mark Lawrence
x27;z'") [0.6362570846925735, 0.6159128762502917, 0.6200501673623791] (Just an opinion) jmf I'm feeling very sorry for this horse, it's been flogged so often it's down to bare bones. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Creating a dictionary from a .txt file

2013-03-31 Thread Mark Janssen
e: > > ['1899 Horsey Horseless', '1909 Ford Model T', '1911 Overland OctoAuto', > '2003 Hummer H2', '2004 Chevy SSR'] > > Any help would be appreciated! > > As long as your data is consistently ordered, just use list inde

Re: Help with python code!

2013-03-31 Thread Mark Lawrence
l to mktime, 12 open round brackets to 14 close if I've counted correctly. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: How to do this?

2013-04-01 Thread Mark Lawrence
GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

<    33   34   35   36   37   38   39   40   41   42   >