Hi,
I'm glad to announce the release of jsonrpclib-pelix 0.1.5 !
What is it ?
jsonrpclib-pelix is an implementation of the JSON-RPC specification.
It supports both the original 1.0 specification, as well as
the 2.0 specification, which includes batch submission, keyword arguments,
Hey all,
I wanted to first announce a python users' group in Madison, WI and
second ask that anyone with a desire to speak at the first meet-up get
in touch. Devin Walters and I are using meetup.com to coordinate the
event and would hope to start holding meet-ups on a regular basis.
If you're
Hi,
I'm happy to announce new Python data framework: Bubbles
Motto: Focus on the process, not the data technology.
Blog post: http://blog.databrewery.org/posts/bubbles-0-1-released.html
Here is a short presentation of the core concepts:
devpi, the caching pypi server and its optional upload/test/install helper
tool, just got a devpi-0.9.2 release. See the full updated docs here:
http://doc.devpi.net
Apart from some streamlining, there is a new upload option::
devpi upload --from-dir path/to/dir [--only-latest]
which
XMLtoPDFBook v1.1 released:
XMLtoPDFBook is a program that lets you create simple PDF books from XML text
content, including support for chapter numbers and names, headers and footers,
automatic pagination, and page numbers.
Please see this blog post about XMLtoPDFBook:
XMLtoPDFBook now
Hi,
I've just uploaded pypiserver 1.1.2 to the python package index.
pypiserver is a minimal PyPI compatible server. It can be used to serve
a set of packages and eggs to easy_install or pip.
pypiserver is easy to install (i.e. just 'pip install pypiserver'). It
doesn't have any external
On Monday, June 24, 2013 11:04:48 AM UTC+5:30, cutems93 wrote:
Alright. Thanks everyone for your responses. I just want to know what tools
are GENERALLY used by professional developers. I am helping somebody who
wants to know about software that he might use in his project. He does not
know
rusi rustompm...@gmail.com writes:
I dont know what you mean my 'scripting'
Any time someone has shown me a “Python script”, I don't see how it's
different from what I'd call a “Python program”. So I just mentally
replace “scripting with “programming”.
--
\ “Dvorak users of the
On Mon, 24 Jun 2013 02:53:06 +0100, Rotwang wrote:
On 23/06/2013 18:29, Steven D'Aprano wrote:
On Sat, 22 Jun 2013 23:40:53 -0600, Ian Kelly wrote:
[...]
Can you elaborate or provide a link? I'm curious to know what other
reason there could be for magic methods to behave differently from
On Monday, June 24, 2013 11:50:38 AM UTC+5:30, Ben Finney wrote:
rusi writes:
I dont know what you mean my 'scripting'
Any time someone has shown me a “Python script”, I don't see how it's
different from what I'd call a “Python program”. So I just mentally
replace “scripting with
Στις 24/6/2013 7:37 πμ, ο/η Michael Torrie έγραψε:
Why use mako's approach which requires 2 files(an html template and the
actual python script rendering the data) when i can have simple print
statements inside 1 files(my files.py script) ?
After all its only one html table i wish to display.
On Sun, 23 Jun 2013 21:38:33 -0400, Roy Smith wrote:
In article 51c7a087$0$2$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Sun, 23 Jun 2013 15:24:14 -0400, Roy Smith wrote:
In article
On 06/23/2013 07:58 PM, Stefan Urbanek wrote:
If you have any comments, suggestions or questions, let me know.
Hi Stefan,
GH readme links to http://bubbles.databrewery.org/ but this page times
out, can't connect to it.
cheers,
--
Dariusz Suchojad
--
Here is my code...I'm using 2.7.5
username=raw_input(Please enter your username: )
password=raw_input(Please enter your password: )
if username == john doe and password == fopwpo:
print Login Successful
else:
print Please try again
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
Any suggestions for a good name, for a framework that does automatic server
deployments?
It's like Fabric, but more powerful.
It has some similarities with Puppet, Chef and Saltstack, but is written in
Python.
Key points are that it uses Python, but is still very declarative and
In article 51c7fe14$0$29973$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
Mixins are such a limited version of MI that it's often not even counted
as MI, and even when it is, being familiar with mixins is hardly
sufficient to count yourself
In article 8b0d8931-cf02-4df4-8f17-a47ddd279...@googlegroups.com,
jonathan.slend...@gmail.com wrote:
Hi all,
Any suggestions for a good name, for a framework that does automatic server
deployments?
It's like Fabric, but more powerful.
It has some similarities with Puppet, Chef and
Op 23-06-13 16:29, ru...@yahoo.com schreef:
On 06/21/2013 01:32 PM, Antoon Pardon wrote:
Op 19-06-13 23:13, ru...@yahoo.com schreef:
The troll is outside the volition of the group and so his
appearance is effectively an act of nature.
This seems a rather artificial division. Especially
On 24/06/2013 13:50, Roy Smith wrote:
In article 8b0d8931-cf02-4df4-8f17-a47ddd279...@googlegroups.com,
jonathan.slend...@gmail.com wrote:
Hi all,
Any suggestions for a good name, for a framework that does automatic server
deployments?
It's like Fabric, but more powerful.
It has some
On Monday, June 24, 2013 5:42:51 PM UTC+5:30, christ...@gmail.com wrote:
Here is my code...I'm using 2.7.5
username=raw_input(Please enter your username: )
password=raw_input(Please enter your password: )
if username == john doe and password == fopwpo:
print Login Successful
else:
On 2013-06-22, Ian Kelly ian.g.ke...@gmail.com wrote:
On Fri, Jun 21, 2013 at 7:15 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Fri, 21 Jun 2013 23:49:51 +0100, MRAB wrote:
On 21/06/2013 21:44, Rick Johnson wrote:
[...]
Which in Python would be the
When the bubbles URL fails, Chrome suggests simply databrewery.org,
which seems to work, though it has no mention of bubbles.
Skip
On Mon, Jun 24, 2013 at 3:54 AM, Dariusz Suchojad ds...@gefira.pl wrote:
On 06/23/2013 07:58 PM, Stefan Urbanek wrote:
If you have any comments, suggestions or
On 2013-06-23, cutems93 ms2...@cornell.edu wrote:
I am new to python development and I want to know what kinds of tools
people use for python development.
1) emacs
2) Cpython
3) subversion
4) http://www.python.org/doc/
5) comp.lang.python
99.9% of the programs I write are command-line
On 24/06/2013 07:31, Steven D'Aprano wrote:
On Mon, 24 Jun 2013 02:53:06 +0100, Rotwang wrote:
On 23/06/2013 18:29, Steven D'Aprano wrote:
On Sat, 22 Jun 2013 23:40:53 -0600, Ian Kelly wrote:
[...]
Can you elaborate or provide a link? I'm curious to know what other
reason there could be
On 24/06/2013 15:22, Grant Edwards wrote:
On 2013-06-22, Ian Kelly ian.g.ke...@gmail.com wrote:
On Fri, Jun 21, 2013 at 7:15 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Fri, 21 Jun 2013 23:49:51 +0100, MRAB wrote:
On 21/06/2013 21:44, Rick Johnson wrote:
[...]
Which
On Monday, June 24, 2013 1:02:51 PM UTC+5:30, Νίκος wrote:
And also in my pelatologio.py and other script i use if statements to
check if user submitted data or not so to print them on screen and then
exit, like modularization.
foe example:
if( log ):
name = log
print
Mostly I'm saying that super() is badly named.
What else would you call a function that does lookups on the current
object's superclasses?
^. You make a symbol for it. ^__init__(foo, bar)
--
MarkJ
Tacoma, Washington
--
http://mail.python.org/mailman/listinfo/python-list
Also, I will use GUI interface for Python. What kind of widget
toolkits do you recommend? I know there are GTK+ and Qt.
wxPython, PyGUI...
Sincerely,
Wolfgang
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Jun 24, 2013 at 9:00 AM, Rotwang sg...@hotmail.co.uk wrote:
On 24/06/2013 07:31, Steven D'Aprano wrote:
I daresay that there are good reasons why new-style classes don't do the
same thing, but the point is that had the Python devs had been
sufficiently interested in keeping the old
On Mon, Jun 24, 2013 at 9:58 AM, Mark Janssen dreamingforw...@gmail.com wrote:
Mostly I'm saying that super() is badly named.
What else would you call a function that does lookups on the current
object's superclasses?
^. You make a symbol for it. ^__init__(foo, bar)
On the one hand, eww.
On 2013-06-24, MRAB pyt...@mrabarnett.plus.com wrote:
On 24/06/2013 13:50, Roy Smith wrote:
In article 8b0d8931-cf02-4df4-8f17-a47ddd279...@googlegroups.com,
jonathan.slend...@gmail.com wrote:
Hi all,
Any suggestions for a good name, for a framework that does automatic server
jonathan.slend...@gmail.com wrote:
Any suggestions for a good name,
for a framework that does
automatic server deployments ?
asdf : automatic server deployment framework
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday, June 23, 2013 6:18:35 PM UTC-5, christ...@gmail.com wrote:
How do I bring users back to beginning of user/password question once they
fail it? thx
Can't seem to get this to cooperate...where does the while statement belong?
--
http://mail.python.org/mailman/listinfo/python-list
In e41ce3a3-c8cb-4cfc-ba86-462f40f32...@googlegroups.com
christheco...@gmail.com writes:
On Sunday, June 23, 2013 6:18:35 PM UTC-5, christ...@gmail.com wrote:
How do I bring users back to beginning of user/password question once they
fail it? thx
Can't seem to get this to
On Mon, Jun 24, 2013 at 8:42 PM, John Gordon gor...@panix.com wrote:
In e41ce3a3-c8cb-4cfc-ba86-462f40f32...@googlegroups.com
christheco...@gmail.com writes:
On Sunday, June 23, 2013 6:18:35 PM UTC-5, christ...@gmail.com wrote:
How do I bring users back to beginning of user/password
On 24-6-2013 20:13, Cousin Stanley wrote:
jonathan.slend...@gmail.com wrote:
Any suggestions for a good name,
for a framework that does
automatic server deployments ?
asdf : automatic server deployment framework
:-)
wsad: wonderful serverside automatic deployments
(hm, could
In mailman.3754.1372100014.3114.python-l...@python.org
=?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= kwpol...@gmail.com
writes:
while True:
username = raw_input(Please enter your username: )
password = raw_input(Please enter your password: )
if username == john doe
On 24 Jun 2013 13:39, jonathan.slend...@gmail.com wrote:
Hi all,
Any suggestions for a good name, for a framework that does automatic
server deployments?
It's like Fabric, but more powerful.
It has some similarities with Puppet, Chef and Saltstack, but is written
in Python.
Key points are
On 06/24/2013 03:00 PM, John Gordon wrote:
In mailman.3754.1372100014.3114.python-l...@python.org
=?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= kwpol...@gmail.com writes:
while True:
username = raw_input(Please enter your username: )
password = raw_input(Please enter your
Hi there! I'm quite new to programming, even newer in python (this is actually
the first thing I try on it), and every other topic I've seen on forums about
my problem doesn't seem to help.
So, the following lines are intended to draw a white square (which it does),
turn it to blue when you
Just before anyone says, the reason I bind to the Canvas instead of binding
directly to the rectangle is because I plan to add more squares in the future.
Cheers.
--
http://mail.python.org/mailman/listinfo/python-list
Syntax:
fwhile X in ListY and conditionZ:
The following would actually exactly as: for X in ListY:
fwhile X in ListY and True:
fwhile would act much like 'for', but would stop if the condition after the
'and' is no longer True.
The motivation is to be able to make use of all the great
pablobarhamal...@gmail.com wrote:
Hi there! I'm quite new to programming, even newer in python (this is
actually the first thing I try on it), and every other topic I've seen on
forums about my problem doesn't seem to help.
So, the following lines are intended to draw a white square (which
Op 24-06-13 21:47, pablobarhamal...@gmail.com schreef:
Hi there! I'm quite new to programming, even newer in python (this is actually
the first thing I try on it), and every other topic I've seen on forums about
my problem doesn't seem to help.
So, the following lines are intended to draw a
On Mon, Jun 24, 2013 at 1:52 PM, jim...@aol.com wrote:
Syntax:
fwhile X in ListY and conditionZ:
The following would actually exactly as: for X in ListY:
fwhile X in ListY and True:
fwhile would act much like 'for', but would stop if the condition after the
'and' is no longer True.
In b3d3518a-f24a-4c32-a41a-b99145753...@googlegroups.com
pablobarhamal...@gmail.com writes:
isWhite = True
def change(event):
if event.x x1 and event.x x2 and event.y y1 and event.y y2:
if isWhite:
w.itemconfig(rect, fill=blue)
isWhite =
Thank's to you all!
Setting isWhite as global worked fine.
I'll probably be back soon with another silly question, see you then :)
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Jun 24, 2013 at 1:52 PM, jim...@aol.com wrote:
Syntax:
fwhile X in ListY and conditionZ:
Also, this syntax is ambiguous. Take for example the statement:
fwhile X in ListA and ListB and ListC and ListD:
At which and does the iterable expression stop and the condition
expression
Here's a little test to make sure you understand (this is one of the
most confusing parts of Python's closures in my opinion):
foo = I'm foo!
def working():
print(foo)
def broken():
print(foo)
if False: # There's no way this could cause a problem!
foo = This will *never*
On 24 June 2013 21:12, John Gordon gor...@panix.com wrote:
Since you're new to programming, this might be a bit tricky to explain,
but I'll do my best. :-)
The problem is that change() isn't being executed here; instead it's being
executed from within root.mainloop(), whenever the user
On Mon, Jun 24, 2013 at 8:52 PM, jim...@aol.com wrote:
Syntax:
fwhile X in ListY and conditionZ:
The following would actually exactly as: for X in ListY:
fwhile X in ListY and True:
fwhile would act much like 'for', but would stop if the condition after the
'and' is no longer True.
On 24 June 2013 20:52, jim...@aol.com wrote:
Syntax:
fwhile X in ListY and conditionZ:
The following would actually exactly as: for X in ListY:
fwhile X in ListY and True:
fwhile would act much like 'for', but would stop if the condition after the
'and' is no longer True.
The
On 24 June 2013 21:19, pablobarhamal...@gmail.com wrote:
Thank's to you all!
Setting isWhite as global worked fine.
I'll probably be back soon with another silly question, see you then :)
By the way, it's normally bad to use globals like this. When you're
learning it's something you just do,
On 06/24/2013 04:12 PM, John Gordon wrote:
In b3d3518a-f24a-4c32-a41a-b99145753...@googlegroups.com
pablobarhamal...@gmail.com writes:
isWhite = True
def change(event):
if event.x x1 and event.x x2 and event.y y1 and event.y y2:
if isWhite:
w.itemconfig(rect,
I find itertools clumsy and wordy. You shouldn't have to have a lambda
expression just to break out of a for!
I agree to not cater to bad practices, but if a clean improvement is possible
it will practically help code
overall, even if theoretically people shouldn't be adopting a practice
Your syntax makes great sense. Avoiding new keywords is obviously preferable.
-Original Message-
From: Fábio Santos fabiosantos...@gmail.com
To: jimjhb jim...@aol.com
Cc: python-list python-list@python.org
Sent: Mon, Jun 24, 2013 4:34 pm
Subject: Re: Is this PEP-able? fwhile
On Mon,
On Mon, Jun 24, 2013 at 3:01 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Mon, Jun 24, 2013 at 2:34 PM, Fábio Santos fabiosantos...@gmail.com
wrote:
This can probably be best achieved by adding to the existing for loop,
so maybe taking advantage of the existing for...if syntax and adding
On Mon, Jun 24, 2013 at 2:34 PM, Fábio Santos fabiosantos...@gmail.com wrote:
This can probably be best achieved by adding to the existing for loop,
so maybe taking advantage of the existing for...if syntax and adding
for...while would be a better idea?
The for...if syntax only exists for
Thanks everyone, I'll think about it.
The main reason is that I'm working on the documentation, and this a a good
opportunity to think about the naming. python-deploy-framework or
python-deployer could be too boring.
--
http://mail.python.org/mailman/listinfo/python-list
On 24Jun2013 14:28, Grant Edwards invalid@invalid.invalid wrote:
| On 2013-06-23, cutems93 ms2...@cornell.edu wrote:
| I am new to python development and I want to know what kinds of tools
| people use for python development.
|
| 1) emacs
| 2) Cpython
| 3) subversion
| 4)
Hi,
what is the best way to find out all exceptions for a class?
E.g. I want to find out all exceptions related to the zipfile (I'm
searching for the Bad password exception syntax).
thanks for your help or feedback,
Christophe
--
http://mail.python.org/mailman/listinfo/python-list
In mailman.3767.1372106609.3114.python-l...@python.org Dave Angel
da...@davea.name writes:
The problem is that change() isn't being executed here; instead it's being
executed from within root.mainloop(), whenever the user presses button-1.
And within root.mainloop(), there is no variable
On Tue, Jun 25, 2013 at 5:52 AM, jim...@aol.com wrote:
(NOTE: Many people are being taught to avoid 'break' and 'continue' at all
costs...
Why? Why on earth should break/continue be avoided? I think that's the
solution: teach people that loops are there to be interrupted and
manipulated. And
Le 24/06/13 23:35, chrem a écrit :
Hi,
what is the best way to find out all exceptions for a class?
E.g. I want to find out all exceptions related to the zipfile (I'm
searching for the Bad password exception syntax).
thanks for your help or feedback,
Christophe
without exception, it shown:
On 2013-06-25 07:38, Chris Angelico wrote:
Python has no issues with breaking out of loops, and even has
syntax specifically to complement it (the 'else:' clause). Use
break/continue when appropriate.
from minor_gripes import breaking_out_of_nested_loops_to_top_level
-tkc
--
On Tue, Jun 25, 2013 at 8:30 AM, Tim Chase
python.l...@tim.thechases.com wrote:
On 2013-06-25 07:38, Chris Angelico wrote:
Python has no issues with breaking out of loops, and even has
syntax specifically to complement it (the 'else:' clause). Use
break/continue when appropriate.
from
On Mon, Jun 24, 2013 at 4:41 PM, Fábio Santos fabiosantos...@gmail.com wrote:
On 24 Jun 2013 22:29, Ian Kelly ian.g.ke...@gmail.com wrote:
On Mon, Jun 24, 2013 at 2:34 PM, Fábio Santos fabiosantos...@gmail.com
wrote:
This can probably be best achieved by adding to the existing for loop,
On 24 Jun 2013 23:35, Tim Chase python.l...@tim.thechases.com wrote:
On 2013-06-25 07:38, Chris Angelico wrote:
Python has no issues with breaking out of loops, and even has
syntax specifically to complement it (the 'else:' clause). Use
break/continue when appropriate.
from minor_gripes
On 24 Jun 2013 22:29, Ian Kelly ian.g.ke...@gmail.com wrote:
On Mon, Jun 24, 2013 at 2:34 PM, Fábio Santos fabiosantos...@gmail.com
wrote:
This can probably be best achieved by adding to the existing for loop,
so maybe taking advantage of the existing for...if syntax and adding
for...while
On Mon, Jun 24, 2013 at 4:35 PM, Chris Angelico ros...@gmail.com wrote:
On Tue, Jun 25, 2013 at 8:30 AM, Tim Chase
python.l...@tim.thechases.com wrote:
On 2013-06-25 07:38, Chris Angelico wrote:
Python has no issues with breaking out of loops, and even has
syntax specifically to complement it
On 24/06/2013 23:35, Chris Angelico wrote:
On Tue, Jun 25, 2013 at 8:30 AM, Tim Chase
python.l...@tim.thechases.com wrote:
On 2013-06-25 07:38, Chris Angelico wrote:
Python has no issues with breaking out of loops, and even has
syntax specifically to complement it (the 'else:' clause). Use
On 25 Jun 2013 00:04, MRAB pyt...@mrabarnett.plus.com wrote:
On 24/06/2013 23:35, Chris Angelico wrote:
On Tue, Jun 25, 2013 at 8:30 AM, Tim Chase
python.l...@tim.thechases.com wrote:
On 2013-06-25 07:38, Chris Angelico wrote:
Python has no issues with breaking out of loops, and even has
On 24/06/2013 23:30, Tim Chase wrote:
On 2013-06-25 07:38, Chris Angelico wrote:
Python has no issues with breaking out of loops, and even has
syntax specifically to complement it (the 'else:' clause). Use
break/continue when appropriate.
from minor_gripes import
On 2013-06-24 23:39, Fábio Santos wrote:
On 24 Jun 2013 23:35, Tim Chase wrote:
On 2013-06-25 07:38, Chris Angelico wrote:
Python has no issues with breaking out of loops, and even has
syntax specifically to complement it (the 'else:' clause). Use
break/continue when appropriate.
On Tue, Jun 25, 2013 at 8:43 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Mon, Jun 24, 2013 at 4:41 PM, Fábio Santos fabiosantos...@gmail.com
wrote:
On 24 Jun 2013 22:29, Ian Kelly ian.g.ke...@gmail.com wrote:
On Mon, Jun 24, 2013 at 2:34 PM, Fábio Santos fabiosantos...@gmail.com
wrote:
On 25 Jun 2013 00:06, Fábio Santos fabiosantos...@gmail.com wrote:
I like how discussions on this list tend to go off topic ;)
And now I'm off topic myself :(
--
http://mail.python.org/mailman/listinfo/python-list
rusi rustompm...@gmail.com writes:
On Monday, June 24, 2013 11:50:38 AM UTC+5:30, Ben Finney wrote:
Any time someone has shown me a “Python script”, I don't see how
it's different from what I'd call a “Python program”. So I just
mentally replace “scripting with “programming”.
If you are
On 25/06/2013 7:43 AM, chrem wrote:
Le 24/06/13 23:35, chrem a écrit :
what is the best way to find out all exceptions for a class?
E.g. I want to find out all exceptions related to the zipfile (I'm
searching for the Bad password exception syntax).
The only way is to look at the source code
On 25/06/2013 6:12 AM, Ian Kelly wrote:
On Mon, Jun 24, 2013 at 1:52 PM, jim...@aol.com wrote:
Syntax:
fwhile X in ListY and conditionZ:
fwhile would act much like 'for', but would stop if the condition after the
'and' is no longer True.
I would advocate using the break myself. Another
chrem usenetnos...@chr1st0ph9.eu writes:
Hi,
Howdy, congratulations on finding the Python programming language.
what is the best way to find out all exceptions for a class?
Python is not Java. Your program doesn't need to know everything that
might happen; you should catch only those
On 25 Jun 2013 00:31, alex23 wuwe...@gmail.com wrote:
On 25/06/2013 6:12 AM, Ian Kelly wrote:
On Mon, Jun 24, 2013 at 1:52 PM, jim...@aol.com wrote:
Syntax:
fwhile X in ListY and conditionZ:
fwhile would act much like 'for', but would stop if the condition after
the
'and' is no longer
On 23/06/2013 3:43 AM, Mark Janssen wrote:
There was a recent discussion about this (under implicit string
concatenation). It seems this is a part of the python language
specification that was simply undefined.
It's part of the language reference, not an accidental artifact:
On Mon, 24 Jun 2013 08:58:23 -0700, Mark Janssen wrote:
Mostly I'm saying that super() is badly named.
What else would you call a function that does lookups on the current
object's superclasses?
^. You make a symbol for it. ^__init__(foo, bar)
If you want Perl, you can find it here:
On 25/06/2013 9:35 AM, Fábio Santos wrote:
I'd probably just go with a generator expression to feed the for loop:
for X in (i for i in ListY if conditionZ):
That is nice but it's not lazy. If the condition or the iterables took
too long to compute, it would be
On Mon, Jun 24, 2013 at 4:48 PM, alex23 wuwe...@gmail.com wrote:
On 23/06/2013 3:43 AM, Mark Janssen wrote:
There was a recent discussion about this (under implicit string
concatenation). It seems this is a part of the python language
specification that was simply undefined.
It's part of
On 25 Jun 2013 01:08, alex23 wuwe...@gmail.com wrote:
On 25/06/2013 9:35 AM, Fábio Santos wrote:
I'd probably just go with a generator expression to feed the for loop:
for X in (i for i in ListY if conditionZ):
That is nice but it's not lazy. If the condition or
On Tue, Jun 25, 2013 at 10:19 AM, Fábio Santos fabiosantos...@gmail.com
wrote:
for X in (i for i in open('largefile') if is_part_of_header(i)):
The above code would be wasting time on IO and processing. It would load
another line and calculate the condition for every line of the large file
In article kqa28v$4us$1...@dont-email.me,
Cousin Stanley cousinstan...@gmail.com wrote:
jonathan.slend...@gmail.com wrote:
Any suggestions for a good name,
for a framework that does
automatic server deployments ?
asdf : automatic server deployment framework
I prefer:
Quite
On Tuesday, June 25, 2013 3:08:57 AM UTC+5:30, Chris Angelico wrote:
On Tue, Jun 25, 2013 at 5:52 AM, wrote:
(NOTE: Many people are being taught to avoid 'break' and 'continue' at all
costs...
Why? Why on earth should break/continue be avoided?
Because breaks and continues are just
On 06/24/2013 05:43 PM, chrem wrote:
Le 24/06/13 23:35, chrem a écrit :
Hi,
what is the best way to find out all exceptions for a class?
E.g. I want to find out all exceptions related to the zipfile (I'm
searching for the Bad password exception syntax).
thanks for your help or feedback,
在 2013年6月24日星期一UTC+8上午4时40分07秒,cutems93写道:
Hello,
I am new to python development and I want to know what kinds of tools people
use for python development. I went to Python website and found several tools.
1. Automated Refactoring Tools
2. Bug Tracking
3. Configuration And
On Tuesday, June 25, 2013 4:41:22 AM UTC+5:30, Ben Finney wrote:
rusi writes:
I dont however think that the two philosophies are the same. See
http://www.tcl.tk/doc/scripting.html
That essay constrasts “scripting” versus “system programming”, a useful
(though terminologically confusing)
On 25/06/2013 03:24, rusi wrote:
On Tuesday, June 25, 2013 4:41:22 AM UTC+5:30, Ben Finney wrote:
rusi writes:
I dont however think that the two philosophies are the same. See
http://www.tcl.tk/doc/scripting.html
That essay constrasts “scripting” versus “system programming”, a useful
On Tuesday, June 25, 2013 8:09:19 AM UTC+5:30, MRAB wrote:
And convenience for the programmer.
Manipulating long texts using variable-length strings? Yes, I know
it's inefficient, but it's still faster than doing it by hand!
Well... did not say it because it tends to be emotionally
On Tue, Jun 25, 2013 at 12:01 PM, rusi rustompm...@gmail.com wrote:
On Tuesday, June 25, 2013 3:08:57 AM UTC+5:30, Chris Angelico wrote:
On Tue, Jun 25, 2013 at 5:52 AM, wrote:
(NOTE: Many people are being taught to avoid 'break' and 'continue' at all
costs...
Why? Why on earth should
Would like to get your opinion on this. Currently to get the metadata out of a
pdf file, I loop through the guts of the file. I know it's not the greatest
idea to do this, but I'm trying to avoid extra modules, etc.
Adobe javascript was used to insert the metadata, so the added data looks
On Mon, Jun 24, 2013 at 8:54 PM, Chris Angelico ros...@gmail.com wrote:
On Tue, Jun 25, 2013 at 12:01 PM, rusi rustompm...@gmail.com wrote:
On Tuesday, June 25, 2013 3:08:57 AM UTC+5:30, Chris Angelico wrote:
On Tue, Jun 25, 2013 at 5:52 AM, wrote:
(NOTE: Many people are being taught to
On Jun 24, 2013 5:36 AM, jonathan.slend...@gmail.com wrote:
Hi all,
Any suggestions for a good name, for a framework that does automatic
server deployments?
It's like Fabric, but more powerful.
It has some similarities with Puppet, Chef and Saltstack, but is written
in Python.
Er, Salt is
On Mon, Jun 24, 2013 at 6:41 PM, wu wei wuwe...@gmail.com wrote:
It's still possible by raising a StopIteration within the condition
function:
def is_part_of_header(x):
if header_condition:
return True
else:
raise StopIteration
Which is
Marc-Andre Lemburg added the comment:
On 23.06.2013 22:43, Alexander Belopolsky wrote:
Alexander Belopolsky added the comment:
unicodedata.name() was discussed in #12353 (msg144739) where MvL argued that
misspelled names are better than corrected because they are more likely to
appear
1 - 100 of 212 matches
Mail list logo