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
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
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
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
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
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
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
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
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
guage.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
, '');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
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
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
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
'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
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
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
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
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
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
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
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
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
k
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
u can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
nguage can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
.
--
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
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
/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
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
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
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
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
r our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
o for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
or our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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,
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
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
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
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
can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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 :)
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
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
do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
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
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
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
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
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
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
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
;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
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
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
an do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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.
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
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
.
--
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
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
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
r language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
3501 - 3600 of 5830 matches
Mail list logo