> >> Like the topic.. .
> >> I use Python a lot, both Windows and Linux, and it's little weird to have
> >> many python process without fast distinction which is what.
> >
> > I've no idea if it's even possible on Windows. On Linux, what you want
> > is the prctl function, which (AFAIK) isn't dire
> >> Like the topic.. .
> >> I use Python a lot, both Windows and Linux, and it's little weird to have
> >> many python process without fast distinction which is what.
> >
> > I've no idea if it's even possible on Windows. On Linux, what you want
> > is the prctl function, which (AFAIK) isn't dire
I have a USB GPS dongle using this for getting position information. I
installed gpsd daemon so that any clients can read data from that. It is
working fine
used xgps, cgps as clients.
*gpsd -n -N -D2 /dev/ttyUSB0 *
import gps, os, time
g = gps.gps(mode=gps.WATCH_NEWSTYLE)
while 1:
os.system('cl
On 3/15/12 5:59 AM, Cameron Simpson wrote:
On 15Mar2012 12:22, Ben Finney wrote:
| Roy Smith writes:
|> I'll admit I hadn't considered that, but I don't see it as a major
|> problem. The type intuition could be designed to only work for types
|> other than NoneType.
|
| −1, then. It's growin
On 15Mar2012 10:06, Robert Kern wrote:
| On 3/15/12 5:59 AM, Cameron Simpson wrote:
| > On 15Mar2012 12:22, Ben Finney wrote:
| > | Roy Smith writes:
| > |> I'll admit I hadn't considered that, but I don't see it as a major
| > |> problem. The type intuition could be designed to only work for
On 3/15/2012 7:23, alex23 wrote:
Rick Johnson wrote:
However, when we are talking about the Python
programming language "readable" simply means: "neophyte readable".
That is, "readable to someone with little or no experience with the
language".
Nonsense. List comprehensions are not immediatel
On Thu, Mar 15, 2012 at 9:44 PM, Kiuhnm
wrote:
> Let's try that.
> Show me an example of "list comprehensions" and "with" (whatever they are).
I'll do a list comp, because they lend themselves well to one-liners.
what_am_i = '\n'.join(["%X\t%c"%(i,i) for i in range(128)])
Okay, that one also use
Am 15.03.2012 11:44 schrieb Kiuhnm:
Let's try that.
Show me an example of "list comprehensions" and "with" (whatever they are).
with open("filename", "w") as f:
f.write(stuff)
with lock:
do_something_exclusively()
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
On 3/15/2012 11:50, Chris Angelico wrote:
On Thu, Mar 15, 2012 at 9:44 PM, Kiuhnm
wrote:
Let's try that.
Show me an example of "list comprehensions" and "with" (whatever they are).
I'll do a list comp, because they lend themselves well to one-liners.
what_am_i = '\n'.join(["%X\t%c"%(i,i) for
On Thu, Mar 15, 2012 at 10:27 PM, Kiuhnm
wrote:
> On 3/15/2012 11:50, Chris Angelico wrote:
>> I'll do a list comp, because they lend themselves well to one-liners.
>> what_am_i = '\n'.join(["%X\t%c"%(i,i) for i in range(128)])
>
>
> A few conjectures:
> 1) '\n' is an object and join one of its me
On 3/15/2012 12:14, Thomas Rachel wrote:
Am 15.03.2012 11:44 schrieb Kiuhnm:
Let's try that.
Show me an example of "list comprehensions" and "with" (whatever they
are).
with open("filename", "w") as f:
f.write(stuff)
Here f is created before executing the block and destroyed right after
On 3/15/2012 12:47, Chris Angelico wrote:
On Thu, Mar 15, 2012 at 10:27 PM, Kiuhnm
Your first example suggests that range(n) is a sequence iterator which
returns, if queried n times,
0,...,n-1
(which is a bit counterintuitive, IMHO).
It's a little odd, perhaps, if seen in a vacuum. But every
On Thu, Mar 15, 2012 at 10:59 PM, Kiuhnm
wrote:
> On 3/15/2012 12:47, Chris Angelico wrote:
>> It's a little odd, perhaps, if seen in a vacuum. But everything counts
>> from zero - list indices, etc - so it makes sense for range(len(lst))
>> to return indices valid for lst.
>
> Maybe range uses [.
On 3/14/2012 6:07 AM, Gelonida N wrote:
Hi,
At the moment I use ConfigParser
http://docs.python.org/library/configparser.html
for one of my applications.
Now I'm looking for a library, which behaves like config parser, but
with one minor difference.
The write() mehtod should keep existing co
Chris Angelico writes:
> Yup. It's amazing how accurate your conjectures are - it's almost like
> you've been reading the docs! :D But yeah, that's pretty logical IMHO;
> and having gotten used to [) intervals in many areas of computing,
> I've come to find [] intervals disconcerting. Bible passa
On Thu, Mar 15, 2012 at 11:31 PM, Ben Finney wrote:
> Another good reason to advocate for proper typography. "John 14:5-7"
> indicates a range (because it uses U+2013 EN DASH), whereas "7-5"
> indicates subtraction (because it uses U+2212 MINUS SIGN). A hyphen ('-'
> U+002D) is inappropriate in ei
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.8
python-ldap provides an object-oriented API to access LDAP directory
servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for
that purpose. Additionally it contains modules for other LDAP-related
st
Chris Angelico writes:
> On Thu, Mar 15, 2012 at 11:31 PM, Ben Finney
> wrote:
> > Another good reason to advocate for proper typography. "John 14:5-7"
> > indicates a range (because it uses U+2013 EN DASH), whereas "7-5"
> > indicates subtraction (because it uses U+2212 MINUS SIGN). A hyphen
>
In article ,
Robert Kern wrote:
> Yes. Not all type(default) types can be called with a string to produce a
> valid
> value. Note that "type=" is really a misnomer. argparse doesn't really want a
> type object there; it wants a converter function that takes a string to an
> object.
Orthogon
On Fri, Mar 16, 2012 at 12:16 AM, Ben Finney wrote:
> Chris Angelico writes:
>
>> On Thu, Mar 15, 2012 at 11:31 PM, Ben Finney
>> wrote:
>> > Another good reason to advocate for proper typography. "John 14:5-7"
>> > indicates a range (because it uses U+2013 EN DASH), whereas "7-5"
>> > indicate
Chris Angelico writes:
> On Fri, Mar 16, 2012 at 12:16 AM, Ben Finney
> wrote:
> > Hopefully, the fact that your quoting of my text munged the
> > characters down to ASCII is also pure coincidence, and is soon to be
> > corrected at your end? Or has your client program not joined the
> > rest o
On 15/03/2012 11:48, Kiuhnm wrote:
On 3/15/2012 12:14, Thomas Rachel wrote:
Am 15.03.2012 11:44 schrieb Kiuhnm:
Let's try that.
Show me an example of "list comprehensions" and "with" (whatever they
are).
with open("filename", "w") as f:
f.write(stuff)
Here f is created before executing the
On Fri, Mar 16, 2012 at 1:06 AM, Mark Lawrence wrote:
> Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
>
with open("filename", "w") as f
> File "", line 1
>
> with open("filename
On 3/15/2012 13:21, Chris Angelico wrote:
On Thu, Mar 15, 2012 at 10:59 PM, Kiuhnm
wrote:
On 3/15/2012 12:47, Chris Angelico wrote:
It's a little odd, perhaps, if seen in a vacuum. But everything counts
from zero - list indices, etc - so it makes sense for range(len(lst))
to return indices va
On 3/15/2012 15:06, Mark Lawrence wrote:
On 15/03/2012 11:48, Kiuhnm wrote:
On 3/15/2012 12:14, Thomas Rachel wrote:
Am 15.03.2012 11:44 schrieb Kiuhnm:
Let's try that.
Show me an example of "list comprehensions" and "with" (whatever they
are).
with open("filename", "w") as f:
f.write(stuff
On 15/03/2012 14:19, Kiuhnm wrote:
On 3/15/2012 15:06, Mark Lawrence wrote:
On 15/03/2012 11:48, Kiuhnm wrote:
BTW, aren't those ':' redundant?
Kiuhnm
Nope.
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" fo
Kiuhnm wrote:
> BTW, aren't those ':' redundant?
>
They are required by the grammar, but in a sense you are correct. You could
modify Python's grammar to make the colons optional and still keep it
unambiguous but that would make it harder for other tools (such as text
editors or indeed human
I'm trying to do client ssl verification with code that looks like the sample
below. I am able to reach and read urls that are secure and have no client
certificate requirement OK. If I set explicit_check to True then verbose output
indicates that the server certs are being checked fine ie I see
On Fri, Mar 16, 2012 at 1:16 AM, Kiuhnm
wrote:
> Don't worry. Soon you'll be using C++0x :)))
I use gcc/g++ with most of the new features enabled. There's some
pretty handy features in it. Frankly, though, if I'd known about
Cython when I started the current project, I would have argued to
write
On 3/15/2012 15:23, Duncan Booth wrote:
Kiuhnm wrote:
BTW, aren't those ':' redundant?
They are required by the grammar, but in a sense you are correct. You could
modify Python's grammar to make the colons optional and still keep it
unambiguous but that would make it harder for other tools
On 3/15/2012 15:29, Chris Angelico wrote:
On Fri, Mar 16, 2012 at 1:16 AM, Kiuhnm
wrote:
Don't worry. Soon you'll be using C++0x :)))
I use gcc/g++ with most of the new features enabled. There's some
pretty handy features in it. Frankly, though, if I'd known about
Cython when I started the c
On 3/15/12 2:30 PM, Kiuhnm wrote:
On 3/15/2012 15:23, Duncan Booth wrote:
Kiuhnm wrote:
BTW, aren't those ':' redundant?
They are required by the grammar, but in a sense you are correct. You could
modify Python's grammar to make the colons optional and still keep it
unambiguous but that wou
On Fri, Mar 16, 2012 at 1:30 AM, Kiuhnm
wrote:
> Sorry, but I can't see how it would make it harder for humans to understand.
> Are there particular situations you're referring to?
In a trivial example, it's mostly just noise:
if a == b# who needs the colon?
print(c)
But when your condi
On 3/15/2012 15:28, Tim Golden wrote:
On 15/03/2012 14:19, Kiuhnm wrote:
On 3/15/2012 15:06, Mark Lawrence wrote:
On 15/03/2012 11:48, Kiuhnm wrote:
BTW, aren't those ':' redundant?
Kiuhnm
Nope.
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit
(Intel)] on win32
Type "help",
On Fri, Mar 16, 2012 at 1:55 AM, Kiuhnm
wrote:
> By the way, the more elaborate parsing consists of looking for an
> END_OF_LINE followed by one or more spaces. It doesn't sound that
> complicated.
Only in the trivial case. What if you want to break your condition
over multiple lines? (Although y
On 3/15/2012 15:48, Chris Angelico wrote:
On Fri, Mar 16, 2012 at 1:30 AM, Kiuhnm
wrote:
Sorry, but I can't see how it would make it harder for humans to understand.
Are there particular situations you're referring to?
In a trivial example, it's mostly just noise:
if a == b# who needs t
On 3/15/12 2:55 PM, Kiuhnm wrote:
On 3/15/2012 15:28, Tim Golden wrote:
http://docs.python.org/faq/design.html#why-are-colons-required-for-the-if-while-def-class-statements
The second one is slightly easier to read because it's syntax-highlighted. Was
that on purpose?
No, it's an unintende
On Fri, Mar 16, 2012 at 2:05 AM, Kiuhnm
wrote:
> I had thought about the single-line case. What I hadn't thought about is
> that Python strives to be as regular as possible, so having different cases
> just for saving one keystroke isn't worth it.
Yep. Have you read the Zen of Python?
>>> import
In article ,
Chris Angelico wrote:
> I use gcc/g++ with most of the new features enabled. There's some
> pretty handy features in it. Frankly, though, if I'd known about
> Cython when I started the current project, I would have argued to
> write it all in Python and Cify (is that a word?) the mo
On 3/15/2012 15:43, Robert Kern wrote:
On 3/15/12 2:30 PM, Kiuhnm wrote:
On 3/15/2012 15:23, Duncan Booth wrote:
Kiuhnm wrote:
BTW, aren't those ':' redundant?
They are required by the grammar, but in a sense you are correct. You
could
modify Python's grammar to make the colons optional an
On Fri, Mar 16, 2012 at 2:14 AM, Roy Smith wrote:
> While it's nice to know that we've got the ability to write extensions
> in C, not once have we ever felt the need. I suppose if you're running
> a CPU-bound application, that might not be the case, but surprisingly
> few applications really are
In article ,
Chris Angelico wrote:
> "We're talking about a file that someone's uploaded to us, so it
> won't matter". Whatever processing we do is massively dwarfed by
> network time, and both scale linearly with the size of the file.
That last part (both scaling linearly) may not be true.
Am 15.03.2012 12:48 schrieb Kiuhnm:
On 3/15/2012 12:14, Thomas Rachel wrote:
Am 15.03.2012 11:44 schrieb Kiuhnm:
Let's try that.
Show me an example of "list comprehensions" and "with" (whatever they
are).
with open("filename", "w") as f:
f.write(stuff)
Here f is created before executing th
On Fri, Mar 16, 2012 at 1:16 AM, Kiuhnm
wrote:
> On 3/15/2012 13:21, Chris Angelico wrote:
>>
>> On Thu, Mar 15, 2012 at 10:59 PM, Kiuhnm
>> wrote:
>>>
>>> On 3/15/2012 12:47, Chris Angelico wrote:
It's a little odd, perhaps, if seen in a vacuum. But everything counts
from zero -
On 03/15/2012 03:26 AM, xliiv wrote:
Like the topic.. .
I use Python a lot, both Windows and Linux, and it's little weird to have many
python process without fast distinction which is what.
I did google, I've played with Exemaker (it works perfect, but not py3) and
i've seen questions on St
Several questions here, but they're related.
I'm trying to incorporate an sqlite3 database that was created using
Sqliteman1.2.2. I don't know what version of sqlite3 that one uses,
but it seems to have ignored any attempts to create foreign keys for
its tables.
I'm using Python 2.7.2, and I kno
On Wednesday, 14 March 2012 21:16:05 UTC, Terry Reedy wrote:
> On 3/14/2012 4:49 PM, Arnaud Delobelle wrote:
> > On 14 March 2012 20:37, Croepha wrote:
> >> Which is preferred:
> >>
> >> for value in list:
> >> if not value is another_value:
> >> value.do_something()
> >> break
>
> Do
Question 1:
I have a class A with one attribute and I define __get__ and __set__ for that
class. Then I create another class B that uses it.
Why does B require that the instance of A be a class variable in B and not
created as an instance variable in __init__?
E.g.,
# This works fine.
class
So I have a context manager used to catch errors
def __exit__( self, exceptionClass, exception, tracebackObject ):
if isinstance( exception, self.exceptionClasses ):
#do something here
Normally exception would be the exception instance, but for
AttributeError it seems to be a string
On 15/03/2012 16:01, Alec Taylor wrote:
C++0x? You mean C++11? :P
On that note, is Python upgrading to use C11? :V
Not for Windows given
http://mail.python.org/pipermail/python-dev/2012-February/116258.html.
I've no idea regarding *nix, os x or whatever.
--
Cheers.
Mark Lawrence.
--
htt
On Wed, Mar 14, 2012 at 8:27 PM, Chris Angelico wrote:
> On Thu, Mar 15, 2012 at 10:54 AM, Arnaud Delobelle wrote:
>> I don't know this book and there may be a pedagogical reason for the
>> implementation you quote, but pairwise_sum is probably better
>> implemented in Python 3.X as:
>>
>> def pa
> > > Hopefully, the fact that your quoting of my text munged the
> > > characters down to ASCII is also pure coincidence, and is soon to be
> > > corrected at your end? Or has your client program not joined the
> > > rest of us in the third millennium with Unicode?
Outlook showed the EN DASH but
On Thu, Mar 15, 2012 at 11:32 AM, Steven W. Orr wrote:
> Question 1:
>
> I have a class A with one attribute and I define __get__ and __set__ for
> that class. Then I create another class B that uses it.
>
> Why does B require that the instance of A be a class variable in B and not
> created as an
On 2012-03-15, Dave Angel wrote:
> On 03/15/2012 03:26 AM, xliiv wrote:
> Like the topic.. .
> I use Python a lot, both Windows and Linux, and it's little weird to have
> many python process without fast distinction which is what.
>>>
>>
>> I did google, I've played with Exemaker (it
Prasad, Ramit wrote:
> So I have a context manager used to catch errors
>
> def __exit__( self, exceptionClass, exception, tracebackObject ):
> if isinstance( exception, self.exceptionClasses ):
> #do something here
>
> Normally exception would be the exception instance, but for
> A
> Prasad, Ramit wrote:
>
> > So I have a context manager used to catch errors
> >
> > def __exit__( self, exceptionClass, exception, tracebackObject ):
> > if isinstance( exception, self.exceptionClasses ):
> > #do something here
> >
> > Normally exception would be the exception insta
15.03.12 16:19, Kiuhnm написав(ла):
> Ok, so they're mandatory, but I was mainly talking of design. Why are they
> needed?
http://python-history.blogspot.com/2011/07/karin-dewar-indentation-and-colon.html
--
http://mail.python.org/mailman/listinfo/python-list
On 3/15/2012 16:08, Chris Angelico wrote:
On Fri, Mar 16, 2012 at 1:55 AM, Kiuhnm
wrote:
By the way, the more elaborate parsing consists of looking for an
END_OF_LINE followed by one or more spaces. It doesn't sound that
complicated.
Only in the trivial case. What if you want to break your c
On Thu, Mar 15, 2012 at 1:10 PM, Prasad, Ramit
wrote:
>> Prasad, Ramit wrote:
>>
>> > So I have a context manager used to catch errors
>> >
>> > def __exit__( self, exceptionClass, exception, tracebackObject ):
>> > if isinstance( exception, self.exceptionClasses ):
>> > #do something
> > ...
> > (, "'A' object has no attribute 'x'",
> )
> > AttributeError: 'A' object has no attribute 'x'
> >
> > As you can see, I am getting a string while you are not.
>
>Ian Kelly said:
> Looks like a version difference. I don't have Python 2.6 handy to
> test on, but I get a str in Python 2
On Thu, Mar 15, 2012 at 2:25 PM, Prasad, Ramit
wrote:
>> > ...
>> > (, "'A' object has no attribute 'x'",
>> )
>> > AttributeError: 'A' object has no attribute 'x'
>> >
>> > As you can see, I am getting a string while you are not.
>>
>>Ian Kelly said:
>> Looks like a version difference. I don't h
Prasad, Ramit wrote:
>> Prasad, Ramit wrote:
>>
>> > So I have a context manager used to catch errors
>> >
>> > def __exit__( self, exceptionClass, exception, tracebackObject ):
>> > if isinstance( exception, self.exceptionClasses ):
>> > #do something here
>> >
>> > Normally excepti
On 15 March 2012 00:27, Chris Angelico wrote:
> On Thu, Mar 15, 2012 at 10:54 AM, Arnaud Delobelle wrote:
>> I don't know this book and there may be a pedagogical reason for the
>> implementation you quote, but pairwise_sum is probably better
>> implemented in Python 3.X as:
>>
>> def pairwise_su
On 15Mar2012 09:28, Roy Smith wrote:
| In article ,
| Robert Kern wrote:
| > Yes. Not all type(default) types can be called with a string to produce a
| > valid
| > value. Note that "type=" is really a misnomer. argparse doesn't really want
a
| > type object there; it wants a converter funct
On 14Mar2012 13:13, Tim Chase wrote:
| On 03/14/12 12:06, Terry Reedy wrote:
| > On 3/14/2012 6:07 AM, Gelonida N wrote:
| >> Now I'm looking for a library, which behaves like config parser, but
| >> with one minor difference.
| >>
| >> The write() mehtod should keep existing comments.
| >
| > Ass
Le 15/03/2012 03:48, Steven W. Orr a écrit :
On 3/14/2012 6:07 AM, Gelonida N wrote:
Hi,
At the moment I use ConfigParser
http://docs.python.org/library/configparser.html
for one of my applications.
Now I'm looking for a library, which behaves like config parser, but
with one minor differenc
On 03/15/2012 01:40 PM, Kiuhnm wrote:
> Moreover, I think that
>if (
>
>):
>
>
>
> is not very readable anyway.
Sure but neither is
if ( \
\
On 03/15/2012 09:18 AM, Kiuhnm wrote:
> > After early user testing without the colon, it was discovered that
> the meaning of the indentation was unclear to beginners being taught the
> first steps of programming. <
>
> The addition of the colon clarified it significantly: the colon some
Kiuhnm writes:
> Moreover, I think that
> if (
>
> ):
>
>
>
> is not very readable anyway.
I agree, and am glad PEP 8 has been updated to recommend an extra level
of indentation for contin
On 15 March 2012 22:35, Ben Finney wrote:
> Kiuhnm writes:
>
>> Moreover, I think that
>> if (
>>
>> ):
>>
>>
>>
>> is not very readable anyway.
>
> I agree, and am glad PEP 8 has been upda
On 3/15/2012 23:17, Michael Torrie wrote:
On 03/15/2012 09:18 AM, Kiuhnm wrote:
> After early user testing without the colon, it was discovered that
the meaning of the indentation was unclear to beginners being taught the
first steps of programming.<
The addition of the colon clarified
On 3/16/2012 0:00, Arnaud Delobelle wrote:
On 15 March 2012 22:35, Ben Finney wrote:
Kiuhnm writes:
Moreover, I think that
if (
):
is not very readable anyway.
I agree, and am
On Fri, 16 Mar 2012 01:48:09 +1100, Chris Angelico wrote:
> On Fri, Mar 16, 2012 at 1:30 AM, Kiuhnm
> wrote:
>> Sorry, but I can't see how it would make it harder for humans to
>> understand. Are there particular situations you're referring to?
>
> In a trivial example, it's mostly just noise:
>
Arnaud Delobelle writes:
> On 15 March 2012 22:35, Ben Finney wrote:
> > I agree, and am glad PEP 8 has been updated to recommend an extra
> > level of indentation for continuation, to distinguish from the new
> > block that follows
> > http://www.python.org/dev/peps/pep-0008/#indentation>.
>
>
On 15/03/2012 23:46, Kiuhnm wrote:
On 3/16/2012 0:00, Arnaud Delobelle wrote:
On 15 March 2012 22:35, Ben Finney wrote:
Kiuhnm writes:
Moreover, I think that
if (
):
is not very readable anyway.
I agree, and am glad
On Fri, 16 Mar 2012 00:46:35 +0100, Kiuhnm wrote:
> On 3/16/2012 0:00, Arnaud Delobelle wrote:
>> On 15 March 2012 22:35, Ben Finney wrote:
>>> Kiuhnm writes:
>>>
Moreover, I think that
if (
):
>>>
On 03/15/2012 10:42 PM, Cameron Simpson wrote:
> On 14Mar2012 13:13, Tim Chase wrote:
> | On 03/14/12 12:06, Terry Reedy wrote:
> | > On 3/14/2012 6:07 AM, Gelonida N wrote:
> | >> Now I'm looking for a library, which behaves like config parser, but
> | >> with one minor difference.
> | >>
> | >>
On Thu, 15 Mar 2012 00:34:47 +0100, Kiuhnm wrote:
> I've just started to read
>The Quick Python Book (2nd ed.)
Is this the one?
http://manning.com/ceder/
> The author claims that Python code is more readable than Perl code and
> provides this example:
>
> --- Perl ---
> sub pairwise_sum {
On 03/15/2012 02:39 PM, Grant Edwards wrote:
On 2012-03-15, Dave Angel wrote:
On 03/15/2012 03:26 AM, xliiv wrote:
Like the topic.. .
I use Python a lot, both Windows and Linux, and it's little weird to have many
python process without fast distinction which is what.
I did google, I've playe
On Thu, 15 Mar 2012 20:54:30 +, Arnaud Delobelle wrote:
> On 15 March 2012 00:27, Chris Angelico wrote:
>> On Thu, Mar 15, 2012 at 10:54 AM, Arnaud Delobelle
>> wrote:
>>> I don't know this book and there may be a pedagogical reason for the
>>> implementation you quote, but pairwise_sum is p
On 16/03/2012 01:53, Steven D'Aprano wrote:
On Thu, 15 Mar 2012 00:34:47 +0100, Kiuhnm wrote:
I've just started to read
The Quick Python Book (2nd ed.)
Is this the one?
http://manning.com/ceder/
The author claims that Python code is more readable than Perl code and
provides this examp
Hi, everyone
I am trying to write a small application using python but I am not
sure whether it is possible to do so..
The application aims to simulate user activity including visit a
website and perform some interactive actions (click on the menu,
submit a form, redirect to another pages...etc)
I
On Thu, Mar 15, 2012 at 7:23 PM, choi2k wrote:
> Hi, everyone
>
> I am trying to write a small application using python but I am not
> sure whether it is possible to do so..
> The application aims to simulate user activity including visit a
> website and perform some interactive actions (click on
On Fri, Mar 16, 2012 at 10:52 AM, Steven D'Aprano
wrote:
> On Fri, 16 Mar 2012 01:48:09 +1100, Chris Angelico wrote:
>
>> In a trivial example, it's mostly just noise:
>>
>> if a == b # who needs the colon?
>> print(c)
>
> The reader, for the same reason that above you wrote:
>
> "In a triv
On Fri, Mar 16, 2012 at 5:39 AM, Grant Edwards wrote:
> Seems like an awfully obtuse way of doing things -- I don't really
> want to have 15 different copies of Python (or even links), and it
> requires root privleges every time you want to run a Python program
> with the "correct" name.
Why do y
On Thu, Mar 15, 2012 at 10:54 PM, Chris Rebert wrote:
> On Thu, Mar 15, 2012 at 7:23 PM, choi2k wrote:
>> The application aims to simulate user activity including visit a
>> website and perform some interactive actions (click on the menu,
>> submit a form, redirect to another pages...etc)
>
> Did
On Fri, 16 Mar 2012 00:32:52 +0100, Kiuhnm wrote:
> Pick up two math books about the same topic but on two different levels
> (e.g. under-graduated and graduated). If you compare the proofs you'll
> see that those in the higher-level book are almost always sketched. Why
> is that? Because they're
87 matches
Mail list logo