I suppose.
>>> help(__builtins__.sum)
Help on built-in function sum in module __builtin__:
...
--
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
you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
, 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
ase can somebody help me by modifying my code or write a new one?
If you can use third party modules I suggest you look at docopt, it's
available on pypi.
--
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 2 source code, because they have
nothing better to do?
--
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 PEP I think, can someone please help me out, 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
Before you repost would you please read and action this
https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the
double line spacing 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
Time") == False. And what the hell *IS*
coordinated? If that was the case this part of this thread wouldn't
exist :)
Perhaps the solution is the Chinese way, don't have timezones at all.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can d
ut the year mainly for commercial reasons,
especially regarding time conformity with other European countries". My
source http://www.timeanddate.com/time/uk/time-zone-background.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
ady celebrated its 10th birthday. It doesn't say
much for the amount of effort that we put into looking after issues.
--
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
=datetime.timezone.utc)
--
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
tetime.now(timezone.utc)".
--
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
step and made it a method.
So all of the itertools recipes should be part of the Python module and
not in more-itertools on pypi?
--
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
of interest here. Still at draft issue unfortunately.
--
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 09/01/2014 16:01, Ethan Furman wrote:
On 01/09/2014 12:42 AM, Mark Lawrence wrote:
On 09/01/2014 01:27, Roy Smith wrote:
Naive datetimes are what everybody uses. It's what utcnow() gives you.
So why make life difficult for everybody? Python 3 didn't win a convert
today.
Yep,
On 09/01/2014 17:07, Roy Smith wrote:
I wrote:
Recipes are a cop-out
On Thursday, January 9, 2014 11:30:31 AM UTC-5, Mark Lawrence wrote:
So all of the itertools recipes should be part of the Python module and
not in more-itertools on pypi?
Certainly, the recipes that are documented on the
It's a peanuts cartoon https://www.pinterest.com/pin/44613852532468697/
--
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
nesota. Drat, drat and double drat!!!
My point: we deserve the teasing.
--
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
the know who can explain this phenomenon?
--
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
umpteen to choose 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
from Python 2.x to 3.x." it might have helped
garner more answers. Still, if we leave the list open for long enough
we'll all be able to discuss porting python 2.x to python 4.x :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our
Hi
I need to convert the following existing c extension code to support
Python 3.
// --- existing code --
// PyBuffer_New() deprecated in python3
if (!(pyBuf = PyBuffer_New(len)))
{
return NULL;
}
// should use memoryview object in python3
if (PyObject_AsW
r our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
thonistas, 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
:)
However if you wish to ask more questions would you please read and
action this https://wiki.python.org/moin/GoogleGroupsPython to prevent
us seeing the double line spacing above, thanks.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our langu
On 10/01/2014 21:31, Mark Lawrence wrote:
On 10/01/2014 20:38, Skip Montanaro wrote:
Anyone in the
know who can explain this phenomenon?
I don't think I can explain it authoritatively, but I can hazard a
guess. Skimming the archives sorted by author, it looks like most/all
the correspon
he's trying to make is that he also reads the pythondev
mailing list, where Steven D'Aprano posted this very example, stating it
is "Python 2 nonsense". Fixed in Python 3. Don't mention... :)
--
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
ll the
relevant docs and unit tests, then finds some warm hearted person to
commit the changes. Five minute job. Simples :)
--
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 13/01/2014 15:28, Chris Angelico wrote:
On Tue, Jan 14, 2014 at 2:24 AM, Mark Lawrence wrote:
But it could theoretically happen if Neal wants it so badly that he raises
an issue on the bug tracker against Python 2.7, finds all the relevant
source code in Python 3, back ports it, modifies
r our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
hen you're
unemployed, and you can choose the interesting problems to work on.
No it ain't :(
--
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
e not followed this thread closely but would this help
http://pandas.pydata.org/ ? When and if you get back to it, that is!!!
--
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
man/listinfo/python-list
Please do a little work before asking such a trivial question, it's
hardly difficult from the interactive interpreter, particularly when you
already have an example to start with.
--
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
till i have the same
result (print the last row)
Thanks
Your print statement needs to be inside the for loop, you currently have
it after the loop has finished.
Would you also please read and action this
https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the
double li
bottom for Peter Otten, how dare he? :)
--
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
Twenty-Four Hours?
ChrisA
Totally unfair, Steven D'Aprano amongst others would have a head start :)
--
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
maybe put it in __init__? Or are there other techniques
people use for this sort of thing?
--
--- Get your facts first, then you can distort them as you please.--
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
y, that's a tuple of dictionaries
For the benefit of lurkers, newbies or whatever it's the commas that
make the tuple, not the brackets.
--
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
le line spacing 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
;.join(output)
Cheat, you've used a 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
On 17/01/2014 01:40, Tim Chase wrote:
On 2014-01-17 11:14, Chris Angelico wrote:
UTF-8 specifies the byte order
as part of the protocol, so you don't need to mark it.
You don't need to mark it when writing, but some idiots use it
anyway. If you're sniffing a file for purposes
On 17/01/2014 01:00, Terry Reedy wrote:
On 12/6/2013 8:35 PM, Terry Reedy wrote:
On 12/6/2013 12:03 PM, Mark Lawrence wrote:
Is it just me, or is this basically useless?
>>> help(object)
Help on class object in module builtins:
class object
| The most base type
Given that th
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
ne spacing 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
On 17/01/2014 09:43, Chris Angelico wrote:
On Fri, Jan 17, 2014 at 8:10 PM, Mark Lawrence wrote:
Slight aside, any chance of changing the subject of this thread, or even
ending the thread completely? Why? Every time I see it I picture Inspector
Clouseau, "A BOM!!!" :)
Special d
on3" is almost 17% longer. We're a lazy bunch! :-)
-tkc
For the really lazy the obvious solution is to switch to Windows where
it's simply "py -2" or "py -3".
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our l
for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
#x27;s being addressed right now via PEPs 460, 461 and
possibly others.
--
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
ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
sk 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 it would have been scrapped in Python 3, not
renamed to input.
--
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 2014-01-11 01:10, Stefan Behnel wrote:
Mark Heieis, 11.01.2014 06:47:
I need to convert the following existing c extension code to support Python 3.
// --- existing code --
// PyBuffer_New() deprecated in python3
if (!(pyBuf = PyBuffer_New(len)))
{
return
On 18/01/2014 18:41, Mark Lawrence wrote:
On 18/01/2014 18:30, Roy Smith wrote:
Pardon me for being cynical, but in the entire history of the universe,
has anybody ever used input()/raw_input() for anything other than a
homework problem?
Not me personally. I guess raw_input must have been
e can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
On 19/01/2014 18:15, Grant Edwards wrote:
On 2014-01-19, Mark Lawrence wrote:
On 18/01/2014 18:41, Mark Lawrence wrote:
On 18/01/2014 18:30, Roy Smith wrote:
Pardon me for being cynical, but in the entire history of the universe,
has anybody ever used input()/raw_input() for anything other
On 19/01/2014 19:24, Larry Martell wrote:
On Sun, Jan 19, 2014 at 12:17 PM, Mark Lawrence wrote:
On 19/01/2014 18:15, Grant Edwards wrote:
On 2014-01-19, Mark Lawrence wrote:
Actually, to go off at a tangent, I'm just getting into GUIs via
wxPython. I've discovered there ar
://bugs.python.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
influences that are outside of your sphere of control prevent you
from doing so?
--
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 20/01/2014 17:06, Rustom Mody wrote:
On Monday, January 20, 2014 10:10:32 PM UTC+5:30, Devin Jeanpierre wrote:
On Mon, Jan 20, 2014 at 8:16 AM, Mark Lawrence wrote:
On 20/01/2014 16:04, Neil Cerutti wrote:
I use regular expressions regularly, for example, when editing
text with gvim. But
On 20/01/2014 17:09, Neil Cerutti wrote:
On 2014-01-20, Devin Jeanpierre wrote:
On Mon, Jan 20, 2014 at 8:16 AM, Mark Lawrence
wrote:
On 20/01/2014 16:04, Neil Cerutti wrote:
I use regular expressions regularly, for example, when
editing text with gvim. But when I want to use them in Python
27;t
the faintest idea as to whether or not it does what you want, sorry :(
--
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
Hi,
I've been migrating a python2 package+extension to python3. The problem
I'm running into is with ./configure and which version it picks up or
doesn't in this case.
The default is python2 and works just fine as expected.
However, when ./configure PYTHON=python3 is run, the problems occur.
g the
double line spacing that google inserts, 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
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
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
.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
I thought this blog might interest some of you
http://pydanny.com/awesome-slugify-human-readable-url-slugs-from-any-string.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
xyz into your favourite search
engine. For this case xyz would be something like "python single
element tuple".
--
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 23/01/2014 07:18, [email protected] wrote:
Le mercredi 22 janvier 2014 20:23:55 UTC+1, Mark Lawrence a écrit :
I thought this blog might interest some of you
http://pydanny.com/awesome-slugify-human-readable-url-slugs-from-any-string.html
My fellow Pythonistas, ask not what our language
Hi,
On my Debian stable 64-bit system, SQLite3 has FTS (full text search) enabled
(although at version 3 rather than the recommended version 4):
Python 3.2.3 (default, Feb 20 2013, 14:44:27) [GCC 4.7.2] on linux2
Type "copyright", "credits" or "license()" for more information.
>>> import sqlite3
On 23/01/2014 10:41, [email protected] wrote:
Le jeudi 23 janvier 2014 10:14:48 UTC+1, Mark Lawrence a écrit :
On 23/01/2014 07:18, [email protected] wrote:
Le mercredi 22 janvier 2014 20:23:55 UTC+1, Mark Lawrence a écrit :
I thought this blog might interest some of you
http
On 23/01/2014 13:24, Asaf Las wrote:
On Thursday, January 23, 2014 2:20:31 PM UTC+2, Mark Summerfield wrote:
Hi,
On my Debian stable 64-bit system, SQLite3 has FTS (full text search)
enabled (although at version 3 rather than the recommended version 4):
Python 3.2.3 (default, Feb 20 2013, 14
On Thursday, 23 January 2014 14:09:19 UTC, Antoine Pitrou wrote:
> Hi,
>
>
>
> Mark Summerfield qtrac.plus.com> writes:
>
> >
>
> > My guess is that on Debian, the packagers install a full SQLite 3 and the
>
> Python package uses that. But on
&
type."
--
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
development.
--
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
ad batch has been sold, please
change your dealer immediately.
--
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
ith design reviews or the like :)
--
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
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
ur question has been answered.
Now would you please read and action this
https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the
double line spacing 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
ogies to
regex fans if they're currently choking over their tea, coffee, cocoa,
beer, scotch, saki, ouzo or whatever :)
--
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
postal code that I do not want there.
Furthermore, the FarmID is being added on to the end of the postal code under
the original address column for each address. This also is not supposed to be
happening, and I am having trouble designing an iterative loop to
remove/prevent that from happening.
Any help is greatly appreciated!
Make your life easier by using the csv module to read and write your
data, the write using the excel-tab dialect, see
http://docs.python.org/3/library/csv.html#module-csv
--
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
uld help me out with my question of removing the
FarmID from the postal code?
Any chance that you could read and action this
https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the
double line spacing above?
--
My fellow Pythonistas, ask not what our language can do for you,
r language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
, 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
low 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
0:
remove two characters from the address column
Would you please read and action this
https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the
double line spacing above, thanks.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our
On 27/01/2014 15:53, Chris Angelico wrote:
Frankly, I don't "idol worship" *any* language.
I worship English because it's so easy to learn. Ducks and runs :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mar
"
--
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
r you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
el. No thread appears to be safe from him
jumping in with this nonsense.
--
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
r 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
e read and action this
https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the
double line spacing 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
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
ocal variable 'GLOBAL' referenced before assignment
And I don't know why :(
Anyone ?
Thanks!!
You must tell the update function that GLOBAL is global.
--
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 please
read and action this https://wiki.python.org/moin/GoogleGroupsPython to
prevent us seeing the double line spacing 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
On 31/01/2014 10:17, [email protected] wrote:
Is the double line spacing that you still use despite being asked not to
ASCII or unicode?
--
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
1501 - 1600 of 5534 matches
Mail list logo