Re: try/exception - error block

2014-08-03 Thread Mark Lawrence
On 03/08/2014 15:29, bruce wrote: [snipped to bits] Please see this http://sscce.org/ as already requested on the main mailing list. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman

Re: Correct type for a simple “bag of attributes” namespace object

2014-08-03 Thread Mark Lawrence
x27;m not quite sure how that class definition is meant to read, other than guessing that NS stands for NameSpace, any ideas? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Why does not pprint work?

2014-08-03 Thread Mark Lawrence
k not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: cmd.exe on WIndows - problem with displaying some Unicode characters

2014-08-03 Thread Mark Lawrence
tiple known problems with cmd.exe and unicode. A solution might be to use powershell, but windows being windows who really knows? :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: cmd.exe on WIndows - problem with displaying some Unicode characters

2014-08-03 Thread Mark Lawrence
on a daily basis :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: CodeSkulptor

2014-08-03 Thread Mark Lawrence
repair. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: CodeSkulptor

2014-08-03 Thread Mark Lawrence
machine? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Programing for the Absoulte Beginner

2014-08-04 Thread Mark Lawrence
iginal English is Python 0.1. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Pythonic way to iterate through multidimensional space?

2014-08-06 Thread Mark Lawrence
I for one? Give me slower but accurate code over faster but inaccurate code any day of the week? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

cinspect

2014-08-07 Thread Mark Lawrence
guage. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: more simple to split the string?

2014-08-08 Thread Mark Lawrence
, '');newstr '(\\HasNoChildren \\Junk) / [Gmail]/&V4NXPpCuTvY-' >>> substrings=newstr.split();substrings ['(\\HasNoChildren', '\\Junk)', '/', '[Gmail]/&V4NXPpCuTvY-'] -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Newbie needing some help

2014-08-08 Thread Mark Lawrence
ror db.rollback() # disconnect from server db.close() -- Matthew Smith -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Fwd: How to draw a map using python

2014-08-10 Thread Mark Lawrence
y fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: how to get the subject of email?

2014-08-10 Thread Mark Lawrence
Error: initial_value must be str or None, not bytes message = email.message_from_string(str(text)).get('subject') message # nothing displayed Could the answer to your numerous questions be in the docs, in this case https://docs.python.org/3/library/email.html ? -- My fellow Pythonistas, ask not what ou

Re: get the min date from a list

2014-08-10 Thread Mark Lawrence
'Sat, 9 Aug 2014 22:51:29 -0400 (EDT)', 'Sun, 10 Aug 2014 07:34:44 +0200', 'Tue, 5 Aug 2014 01:55:24 +000 0 (UTC)'] >>> min(date) 'Fri, 8 Aug 2014 20:48:44 -0700 (PDT)' The result is wrong,the min date should be 'Tue, 5 Aug 2014 01:55:24 +000 0 (UTC)' ,how can i get it ? The result is probably correct (I haven't checked) as you're comparing strings. I'll leave you to read the docs to find out how to convert the strings to datetimes and compare them. Start here https://docs.python.org/3/ as that way you'll get used to finding your way around them. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: how to get the ordinal number in list

2014-08-10 Thread Mark Lawrence
if it ain't broke, please don't fix it, for some definition of fix. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Template language for random string generation

2014-08-11 Thread Mark Lawrence
what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python and IDEs [was Re: Python 3 is killing Python]

2014-08-11 Thread Mark Lawrence
Wolfgang The references header is conspicious by its absence. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: What's the future of perfect Python?

2014-08-11 Thread Mark Lawrence
t send a card around for me to sign either. Cheapskates or what? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: how to get the ordinal number in list

2014-08-11 Thread Mark Lawrence
y matters for x as it'll still be x when it gets assigned to y, but what would you call the shift on y that gets assigned to x? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: how to get the ordinal number in list

2014-08-11 Thread Mark Lawrence
portance in the real world is the Irish navvy convention. Are there any such people lurking here who can give us the required insight? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Nuitka Release 0.5.4

2014-08-11 Thread Mark Lawrence
To me rather more interesting than discussing the relative merits of '=' compared to '==', '<=' or ':='. See here http://nuitka.net/posts/nuitka-release-054.html -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do

Re: Python Object Systems

2014-08-11 Thread Mark Lawrence
and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the double line spacing and single line paragraphs above, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https

Re: converting ISO8601 date and time string representations to datetime

2014-08-11 Thread Mark Lawrence
k what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: converting ISO8601 date and time string representations to datetime

2014-08-11 Thread Mark Lawrence
ench, and Korean." -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Begginer in python trying to load a .dll

2014-08-12 Thread Mark Lawrence
org/ -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: how to get the ordinal number in list

2014-08-12 Thread Mark Lawrence
manages to avoid "Sent to jail. Do not pass Go. Do not collect £200" or where he gets his supply of "Get out of jail free" cards from? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Begginer in python trying to load a .dll

2014-08-12 Thread Mark Lawrence
Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python and IDEs [was Re: Python 3 is killing Python]

2014-08-13 Thread Mark Lawrence
Ditto Steven D'Aprano's *plonk* Wolfgang -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: how to change the time string into number?

2014-08-14 Thread Mark Lawrence
do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: what is the "/" mean in __init__(self, /, *args, **kwargs) ?

2014-08-14 Thread Mark Lawrence
th for that. Something to do with the Argement Clinic http://legacy.python.org/dev/peps/pep-0436/ ??? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: how to write a function to make operation as a argument in the function

2014-08-14 Thread Mark Lawrence
do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Unable to run print('Réussi') on windows and on linux

2014-08-14 Thread Mark Lawrence
u can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: get the min date from a list

2014-08-14 Thread Mark Lawrence
On 14/08/2014 15:10, luofeiyu wrote: How many times do you have to be asked not to top post before the message sinks in? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python

Odd floor-division corner case

2014-08-14 Thread Mark Lawrence
From http://bugs.python.org/issue22198 >>> -0.5 // float('inf') -1.0 What should it be? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: get the min date from a list

2014-08-14 Thread Mark Lawrence
can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: get the min date from a list

2014-08-15 Thread Mark Lawrence
On 15/08/2014 01:56, Dan Stromberg wrote: On Thu, Aug 14, 2014 at 5:44 PM, Mark Lawrence wrote: I really don't understand why people here are spoon feeding you when you still insist on top posting. Ever heard the term "manners"? Oh what a stupid comment, obviously not. *p

Re: Captcha identify

2014-08-15 Thread Mark Lawrence
do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: timedelta problem

2014-08-15 Thread Mark Lawrence
nguage can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: get the min date from a list

2014-08-15 Thread Mark Lawrence
bean do be careful, I've been suffering nightmares having been accused of nagging, I wouldn't want you to suffer the same fate. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Unicode in cgi-script with apache2

2014-08-17 Thread Mark Lawrence
On 17/08/2014 13:02, Dominique Ramaekers wrote: if style == TOP_POSTING: *plonk* -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Why Python 4.0 won't be like Python 3.0

2014-08-17 Thread Mark Lawrence
A blog from Nick Coghlan http://www.curiousefficiency.org/posts/2014/08/python-4000.html that should help put a few minds to rest. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman

Re: python scikits.audiolab Sndfile special chars in file name

2014-08-19 Thread Mark Lawrence
ChrisA Then once you've got rid of your coding errors, add the ones you do need to catch, for example FileNotFoundError is often needed in people's code. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- h

Re: Functions on list items

2014-08-19 Thread Mark Lawrence
lists or do I need some Python Db module (if it exists)? Kurt Maybe http://pandas.pydata.org/ ??? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: 'is not' or '!='

2014-08-19 Thread Mark Lawrence
ld happily support your issue on the bug tracker to get it deleted from the docs :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python in financial services

2014-08-19 Thread Mark Lawrence
x27;m wrong. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: dynamic values in yaml

2014-08-20 Thread Mark Lawrence
. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: asyncio subprocess PIPE output lost

2014-08-20 Thread Mark Lawrence
Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Matplotlib Contour Plots

2014-08-20 Thread Mark Lawrence
/moin/GoogleGroupsPython to prevent us seeing double line spacing and single line paragraphs, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: what do you get with 1 divide by 998001, interesting results

2014-08-21 Thread Mark Lawrence
rg/mailman/listinfo/python-list or read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing double line spacing and single line paragraphs, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence

Re: what do you get with 1 divide by 998001, interesting results

2014-08-21 Thread Mark Lawrence
you keep mentioning. You have three options. 1) Carry on the way you are and get plonked. 2) Change and be accepted. Take your pick. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman

Re: what do you get with 1 divide by 998001, interesting results

2014-08-21 Thread Mark Lawrence
and refuse to change, with the dread google groups conspicious throughout your posts. Much more of this and I'll be reaching for the plonk key. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.pyt

Re: what do you get with 1 divide by 998001, interesting results

2014-08-21 Thread Mark Lawrence
the spam targeted at python-list, including the stuff that gets caught and discarded by me or another moderator. Google gives the appearance of being indifferent to being spam source #1. Or maybe they see it as a mark of success somehow. 0b. By default, GG does not follow normal and reason

Re: what do you get with 1 divide by 998001, interesting results

2014-08-21 Thread Mark Lawrence
r our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: what do you get with 1 divide by 998001, interesting results

2014-08-21 Thread Mark Lawrence
o for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Global indent

2014-08-22 Thread Mark Lawrence
itting Tab. ChrisA There are also indent and dedent options on the format menu. Using default settings on Windows 8.1, python 3.4.1 these are CTRL+] and CTRL+[ respectively. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence

Re: Python code to distinguish between data having, 2 different formats, in a given cell(MS Excel).

2014-08-23 Thread Mark Lawrence
est a sample python code. Start here http://www.python-excel.org/ -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Working with decimals

2014-08-23 Thread Mark Lawrence
can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Working with decimals

2014-08-23 Thread Mark Lawrence
d loads of references which will explain them far better than I can. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: ANN: binario - simple work with binary files

2014-08-25 Thread Mark Lawrence
What were you discussing and with whom? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Media Conversion Using Python - Converting MP3 to Other Formats

2014-08-25 Thread Mark Lawrence
or our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Help improving the future of debugging

2014-08-25 Thread Mark Lawrence
le already been trying to ease software debugging for at least 20 years prior to that? :) It's a typo, it should have been 1944 :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: GO vs Python

2014-08-25 Thread Mark Lawrence
microbenchmark will get trotted out this time? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Working with decimals part 2

2014-08-25 Thread Mark Lawrence
interactive prompt. You'll need something like it if you insist on mixing function calls that contain various types of string formatting with string formatting. An alternative is to apply the KISS principle. print ("{x}{y}{z}".format(count, payment, balance)) is all you need,

Re: Switching from nose to unittest2 - how to continue after an error?

2014-08-25 Thread Mark Lawrence
ctest and presumably others. Horses for courses? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Switching from nose to unittest2 - how to continue after an error?

2014-08-25 Thread Mark Lawrence
On 25/08/2014 20:54, Skip Montanaro wrote: On Mon, Aug 25, 2014 at 1:59 PM, Mark Lawrence wrote: If you wish to write tests using something that can be compiled out please don't let me stop you. Having said that if nose or even nose2 works for you why not stick with it? There&#

Re: This formating is really tricky

2014-08-25 Thread Mark Lawrence
cover what you need to know. Here for example is a rather obscure one that I first stumbled across many moons ago https://docs.python.org/3/tutorial/index.html -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Media Conversion Using Python - Converting MP3 to Other Formats

2014-08-25 Thread Mark Lawrence
On 26/08/2014 00:23, Dan Stromberg wrote: On Mon, Aug 25, 2014 at 9:04 AM, Mark Lawrence wrote: On 25/08/2014 16:28, Parth Trivedi wrote: Dear All, I need some help of yours. I want to convert audio in MP3 format to other formats including uncompressed raw format, WAV etc. and I am using

Re: This formating is really tricky

2014-08-25 Thread Mark Lawrence
can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: This formating is really tricky

2014-08-26 Thread Mark Lawrence
On 26/08/2014 12:24, MRAB wrote: On 2014-08-26 06:57, Mark Lawrence wrote: On 26/08/2014 02:10, Joel Goldstick wrote: you should try python-tudor mailing list I'd try python-stewart and please don't top post, you've been around long enough and ought to know better :)

Re: send keys in windows

2014-08-26 Thread Mark Lawrence
http://stackoverflow.com/questions/1823762/sendkeys-for-python-3-1-on-windows -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: This formating is really tricky

2014-08-26 Thread Mark Lawrence
tement (untested) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Mark Lawrence
do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Mark Lawrence
aragraphs above, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python programming

2014-08-27 Thread Mark Lawrence
what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: python string, best way to concat

2014-08-28 Thread Mark Lawrence
Peter Please quote context, there's some smart people on this list but none of them are mind readers :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: python string, best way to concat

2014-08-28 Thread Mark Lawrence
is case, a space), into the first string: ' '.join([string1, string2]) Be aware of the various ways, then pick the one that works for you. Which reminds me of http://code.activestate.com/recipes/577845-format_iter-easy-formatting-of-arbitrary-iterables/ -- My fellow Pythonistas

Re: running a python program

2014-08-28 Thread Mark Lawrence
On 28/08/2014 10:31, ngangsia akumbo wrote: i have done so before posting here Done what, fed the cat? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: To modify IDLE source code

2014-08-28 Thread Mark Lawrence
tinfo/idle-dev or gmane.comp.python.idle -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: running a python program

2014-08-28 Thread Mark Lawrence
On 28/08/2014 16:53, ngangsia akumbo wrote: thanks i figured it out So what did you feed the cat in the end? Or are we on a new topic? Or what? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https

Draft PEP - get the regex module into stdlib

2014-08-28 Thread Mark Lawrence
Here it is in full, comments welcome. Please refer to http://bugs.python.org/issue2636 That's all folks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: hg, git, fossil, ...

2014-08-28 Thread Mark Lawrence
ted to the amended changeset will be considered during the merge). Tim Delaney Surely a lot of the hassle with version control systems could be avoided if people were to write bug free code in the first place? :) -- My fellow Pythonistas, ask not what our language can do for you, ask what

Re: python 3.4 use python-gcm can't import

2014-08-29 Thread Mark Lawrence
e responding to Ian Kelly. Having said that have you tried running the code through 2to3? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: To automate email login through browser

2014-08-29 Thread Mark Lawrence
https://mail.python.org/mailman/listinfo/python-list Please bottom post -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: python-dateutil suggestiopn

2014-08-29 Thread Mark Lawrence
Tomi and Gustavo, but thought that if it was an easy change it might be worthwhile. Skip The Gulf Stream is not likely to reach a large enough audience, I suggest you expand the numbers by trying the North Atlantic Drift. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: I have tried and errored a reasonable amount of times

2014-08-30 Thread Mark Lawrence
t;>> 'no'.isupper >>> 'no'.isupper() False >>> -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: I have tried and errored a reasonable amount of times

2014-08-30 Thread Mark Lawrence
On 30/08/2014 22:48, Seymore4Head wrote: On Sat, 30 Aug 2014 22:21:40 +0100, Mark Lawrence wrote: On 30/08/2014 19:48, Tim Chase wrote: On 2014-08-30 14:27, Seymore4Head wrote: I really tried to get this without asking for help. mylist = ["The", "earth", "Revolves

Re: This could be an interesting error

2014-08-31 Thread Mark Lawrence
;C:\Documents and Settings\Administrator\Desktop\Functions\test.py", line 22, in pigword return (pigword) UnboundLocalError: local variable 'pigword' referenced before assignment -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: This could be an interesting error

2014-08-31 Thread Mark Lawrence
On 31/08/2014 23:04, Seymore4Head wrote: On Sun, 31 Aug 2014 22:38:12 +0100, Mark Lawrence This is Python so please get rid of those unnecessary brackets. Having brackets must have been required in earlier versions maybe. No :) -- My fellow Pythonistas, ask not what our language can do

Re: This could be an interesting error

2014-08-31 Thread Mark Lawrence
On 31/08/2014 23:42, Seymore4Head wrote: On Sun, 31 Aug 2014 22:38:12 +0100, Mark Lawrence Unnecessary brackets? I tried deleting the brackets and that doesn't seem to work. I tried changing the brackets to parenthesizes and that didn't work. Although I would prefer brackets to par

Re: Psycopg2 package installation puzzle in Pycharm - any thoughts?

2014-08-31 Thread Mark Lawrence
an do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: This could be an interesting error

2014-08-31 Thread Mark Lawrence
On 01/09/2014 01:08, Seymore4Head wrote: On Mon, 01 Sep 2014 00:21:14 +0100, Mark Lawrence wrote: On 31/08/2014 23:42, Seymore4Head wrote: On Sun, 31 Aug 2014 22:38:12 +0100, Mark Lawrence Unnecessary brackets? I tried deleting the brackets and that doesn't seem to work. I tried cha

Re: This could be an interesting error

2014-08-31 Thread Mark Lawrence
On 01/09/2014 03:53, Steven D'Aprano wrote: Mark Lawrence wrote: return (pigword) These^ ^ Those are parenthesis :P But not having to use them is a time saver. Thanks No they are round brackets, as opposed to square or curly. True, they are round brackets

Re: Psycopg2 package installation puzzle in Pycharm - any thoughts?

2014-09-01 Thread Mark Lawrence
es us with some context" add nothing and are not exactly community inclusive. So you promptly send another message and still no context, what do you think we are, mind readers? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Re: Define proxy in windows 7

2014-09-02 Thread Mark Lawrence
what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Why doesn't this work

2014-09-02 Thread Mark Lawrence
On 02/09/2014 21:13, Seymore4Head wrote: I still can't get the syntax test='Hey buddy get away from my car' if test[0].alpha(): return True isalpha? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Law

Re: crc algorithm

2014-09-03 Thread Mark Lawrence
. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python is going to be hard

2014-09-04 Thread Mark Lawrence
nistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Looking for a suitable Python resource

2014-09-04 Thread Mark Lawrence
good source which can be used by a person who knows the basics of programming already? Thanks, Khushi http://www.diveintopython.net/ -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman

Re: My backwards logic

2014-09-05 Thread Mark Lawrence
r language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

<    31   32   33   34   35   36   37   38   39   40   >