Στις 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.
So
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 wrote:
>
>> On Sun, 23 Jun 2013 15:24:14 -0400, Roy Smith wrote:
>>
>> > In article <51c74373$0$2$c3e8da3$54964...@news.astraweb.com>,
>> > Steven D'A
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
--
http://mail.python.org/mailman/listinfo
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/
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 suppor
In article <51c7fe14$0$29973$c3e8da3$54964...@news.astraweb.com>,
Steven D'Aprano 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 as familiar with MI.
OK, fair e
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
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. Esp
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 simi
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 Succ
On 2013-06-22, Ian Kelly wrote:
> On Fri, Jun 21, 2013 at 7:15 PM, Steven D'Aprano
> 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 "MutableArgumentWarning".
*school-bell*
>>> I not
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 wrote:
> On 06/23/2013 07:58 PM, Stefan Urbanek wrote:
>
>> If you have any comments, suggestions or questions, le
On 2013-06-23, cutems93 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 tools.
--
Grant
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 for
On 24/06/2013 15:22, Grant Edwards wrote:
On 2013-06-22, Ian Kelly wrote:
On Fri, Jun 21, 2013 at 7:15 PM, Steven D'Aprano
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 "MutableArgumentWarning".
*school-
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
>
>> 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 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 behaviour, and
On Mon, Jun 24, 2013 at 9:58 AM, 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)
On the one hand, eww.
On the other h
On 2013-06-24, MRAB 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
>>> deployments?
>>>
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
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 cooperate...where does the while statement belong?
while T
On Mon, Jun 24, 2013 at 8:42 PM, John Gordon wrote:
> In
> 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
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
In
=?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?=
writes:
> > while True:
> > username = raw_input("Please enter your username: ")
> > password = raw_input("Please enter your password: ")
> >
> > if username == "john doe" and password == "fopwpo":
> > print "Login Suc
On 24 Jun 2013 13:39, 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 that it uses Pytho
On 06/24/2013 03:00 PM, John Gordon wrote:
In
=?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= writes:
while True:
username = raw_input("Please enter your username: ")
password = raw_input("Please enter your password: ")
if username == "john doe" and password == "fopwpo":
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 cl
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 (wh
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 wh
On Mon, Jun 24, 2013 at 1:52 PM, 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
In
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 = False
> else:
> w.itemc
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, 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 begin?
--
htt
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 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 presses button-1.
On Mon, Jun 24, 2013 at 8:52 PM, 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 20:52, 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 motivation
On 24 June 2013 21:19, 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, though; it's fine for
On 06/24/2013 04:12 PM, John Gordon wrote:
In
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 = False
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 (don't
Your syntax makes great sense. Avoiding new keywords is obviously preferable.
-Original Message-
From: Fábio Santos
To: jimjhb
Cc: python-list
Sent: Mon, Jun 24, 2013 4:34 pm
Subject: Re: Is this PEP-able? fwhile
On Mon, Jun 24, 2013 at 8:52 PM, wrote:
> Syntax:
>
> fwhile X in L
On Mon, Jun 24, 2013 at 3:01 PM, Ian Kelly wrote:
> On Mon, Jun 24, 2013 at 2:34 PM, Fábio Santos
> 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?
>
>
On Mon, Jun 24, 2013 at 2:34 PM, Fábio Santos 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 comprehensions and generat
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 wrote:
| On 2013-06-23, cutems93 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
1) vi/
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 Dave Angel
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 called isWhite.
> >
> Actually that's irrelevant. Whether
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? I think that's the
solution: teach people that loops are there to be interrupted and
manipulated. And then it's a s
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:
Ru
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
--
http://mail.
On Tue, Jun 25, 2013 at 8:30 AM, 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 breakin
On Mon, Jun 24, 2013 at 4:41 PM, Fábio Santos wrote:
>
> On 24 Jun 2013 22:29, "Ian Kelly" wrote:
>>
>> On Mon, Jun 24, 2013 at 2:34 PM, Fábio Santos
>> wrote:
>> > This can probably be best achieved by adding to the existing for loop,
>> > so maybe taking advantage of the existing for...if synt
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.
>
> from minor_gripes import breaking_ou
On 24 Jun 2013 22:29, "Ian Kelly" wrote:
>
> On Mon, Jun 24, 2013 at 2:34 PM, Fábio Santos
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
On Mon, Jun 24, 2013 at 4:35 PM, Chris Angelico wrote:
> On Tue, Jun 25, 2013 at 8:30 AM, 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
On 24/06/2013 23:35, Chris Angelico wrote:
On Tue, Jun 25, 2013 at 8:30 AM, 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 25 Jun 2013 00:04, "MRAB" wrote:
>
> On 24/06/2013 23:35, Chris Angelico wrote:
>>
>> On Tue, Jun 25, 2013 at 8:30 AM, 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 comp
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 breaking_out_of_nested_loops_t
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 appro
On Tue, Jun 25, 2013 at 8:43 AM, Ian Kelly wrote:
> On Mon, Jun 24, 2013 at 4:41 PM, Fábio Santos
> wrote:
>>
>> On 24 Jun 2013 22:29, "Ian Kelly" wrote:
>>>
>>> On Mon, Jun 24, 2013 at 2:34 PM, Fábio Santos
>>> wrote:
>>> > This can probably be best achieved by adding to the existing for loop
On 25 Jun 2013 00:06, "Fábio Santos" 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 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 saying that
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 fo
On 25/06/2013 6:12 AM, Ian Kelly wrote:
On Mon, Jun 24, 2013 at 1:52 PM, 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 alternative is thi
chrem 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 exceptions you can actually
deal
On 25 Jun 2013 00:31, "alex23" wrote:
>
> On 25/06/2013 6:12 AM, Ian Kelly wrote:
>>
>> On Mon, Jun 24, 2013 at 1:52 PM, 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.
>
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:
http://docs.pyth
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
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 troubl
On Mon, Jun 24, 2013 at 4:48 PM, alex23 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 the
On 25 Jun 2013 01:08, "alex23" 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
On Tue, Jun 25, 2013 at 10:19 AM, Fábio Santos
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
> and I just wanted to
In article ,
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
I prefer:
Quite Wonderful Electronic Rollout Tool
--
http://m
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 a
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,
Christ
在 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. Confi
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 conf
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
(thou
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 emotional
On Tue, Jun 25, 2013 at 12:01 PM, rusi 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 break
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
som
On Mon, Jun 24, 2013 at 8:54 PM, Chris Angelico wrote:
> On Tue, Jun 25, 2013 at 12:01 PM, rusi 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 'conti
On Jun 24, 2013 5:36 AM, 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 likewise written in P
On Mon, Jun 24, 2013 at 6:41 PM, wu wei 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 basically just tak
On Tuesday, June 25, 2013 4:44:44 AM UTC+5:30, alex23 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):
>
>
Nice idiom -- thanks
Yes it does not correspond to a takewhile (or break in the control stru
Im required to import ha certain dll called 'NHunspell.dll' which is used for
Spell Checking purposes. I am using Python for the software. Although I checked
out several websites to properly use ctypes, I have been unable to load the dll
properly.
When I use this code.
from ctypes import *
On Tuesday, June 25, 2013 9:48:44 AM UTC+5:30, jyou...@kc.rr.com wrote:
> 1. Is there another way to get metadata out of a pdf without having to
> install another module?
> 2. Is it safe to assume pdf files should always be encoded as latin-1 (when
> trying to read it this way)? Is there a chanc
92 matches
Mail list logo