There are several books om django. This is what you are looking for

Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: "abdulhakim haliru" <[email protected]>
Sender: [email protected]
Date: Sun, 31 Jul 2011 20:22:30 
To: <[email protected]>
Reply-To: [email protected]
Subject: [Tutor] How do I learn python for web development

Hi guys,

I am really interested in switching from PHP to python but there don't appear 
to be a book for such.

Can anyone advice me please.

Abdulhakim.
Sent from my BlackBerry wireless device from MTN

-----Original Message-----
From: [email protected]
Sender: [email protected]
Date: Sun, 31 Jul 2011 07:01:56 
To: <[email protected]>
Reply-To: [email protected]
Subject: Tutor Digest, Vol 89, Issue 92

Send Tutor mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.python.org/mailman/listinfo/tutor
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tutor digest..."


Today's Topics:

   1. Re: How to make tkMessage function to have duration
      (Steven D'Aprano)
   2. Re: How to make tkMessage function to have duration (Emeka)
   3. newbie needs pypy setup tips (Tom Roche)
   4. Re: newbie needs pypy setup tips ([email protected])
   5. Re: Mainloop conflict (Christopher King)
   6. Re: Mainloop conflict (Stefan Behnel)


----------------------------------------------------------------------

Message: 1
Date: Sat, 30 Jul 2011 21:25:27 +1000
From: Steven D'Aprano <[email protected]>
To: [email protected]
Subject: Re: [Tutor] How to make tkMessage function to have duration
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Emeka wrote:
> Hello All,
> 
> Say I have the below(code), .... I would want the message to last say 30
> seconds and afterwards disappear. I won't want the user to be the one to
> enable it to disappear.
> 
> Basically, what I want is to be able to show the user some message , and
> after some seconds, the message goes away

I *hate* it when applications do that. Just as I'm trying to read the 
message, take a screen shot, or whatever, the message disappears. I 
think that's one of the worst things you can do in an application.

If the message isn't important enough to require it to stay visible 
until the user explicitly closes it, then it shouldn't go into a dialog 
in the first place.



-- 
Steven


------------------------------

Message: 2
Date: Sat, 30 Jul 2011 16:27:21 +0100
From: Emeka <[email protected]>
To: "Steven D'Aprano" <[email protected]>
Cc: [email protected]
Subject: Re: [Tutor] How to make tkMessage function to have duration
Message-ID:
        <CAOypoo49WRri7EWAoiU96OUs8rPwCincc=telm4jxkooa5j...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Steven,,


Thanks!


Emeka

On Sat, Jul 30, 2011 at 12:25 PM, Steven D'Aprano <[email protected]>wrote:

> Emeka wrote:
>
>> Hello All,
>>
>> Say I have the below(code), .... I would want the message to last say 30
>> seconds and afterwards disappear. I won't want the user to be the one to
>> enable it to disappear.
>>
>> Basically, what I want is to be able to show the user some message , and
>> after some seconds, the message goes away
>>
>
> I *hate* it when applications do that. Just as I'm trying to read the
> message, take a screen shot, or whatever, the message disappears. I think
> that's one of the worst things you can do in an application.
>
> If the message isn't important enough to require it to stay visible until
> the user explicitly closes it, then it shouldn't go into a dialog in the
> first place.
>
>
>
> --
> Steven
> ______________________________**_________________
> Tutor maillist  -  [email protected]
> To unsubscribe or change subscription options:
> http://mail.python.org/**mailman/listinfo/tutor<http://mail.python.org/mailman/listinfo/tutor>
>



-- 
*Satajanus  Nig. Ltd


*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.python.org/pipermail/tutor/attachments/20110730/c3697f06/attachment-0001.html>

------------------------------

Message: 3
Date: Sat, 30 Jul 2011 17:49:02 -0400
From: Tom Roche <[email protected]>
To: [email protected],
Subject: [Tutor] newbie needs pypy setup tips
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii


I need advice about configuring pypy to run other python code. Why I ask:

I'm running a model implemented in python. Unfortunately a run on "straight" 
python 2.6.x or 2.7.x requires

- 130 min on my ubuntu laptop (on which working would be more convenient)
- 55 min on a better build machine on which I currently have access

However I have read that this model runs 5x faster under pypy, so I wanna get 
me that, but I'm finding the pypy docs pretty inscrutable. Nevertheless, I have 
managed to do

me@it:~$ uname -rv
> 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:13:52 UTC 2011
me@it:~$ which pypy
> /usr/local/bin/pypy
me@it:~$ ls -al $(which pypy)
> lrwxrwxrwx 1 root root 37 2011-07-30 16:06 /usr/local/bin/pypy -> 
> /opt/pypy-c-jit-1.5.0-alpha0/bin/pypy
me@it:~$ pypy --version
> Python 2.7.1 (b590cf6de419, Apr 30 2011, 02:00:34)
> [PyPy 1.5.0-alpha0 with GCC 4.4.3]

However, when I try to *really* run the @#$%^&! thing, it spews:

me@it:~$ pypy
> debug: WARNING: library path not found, using compiled-in sys.path and 
> sys.prefix will be unset
> 'import site' failed
> Python 2.7.1 (b590cf6de419, Apr 30 2011, 02:00:34)
> [PyPy 1.5.0-alpha0 with GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> debug: OperationError:
> debug:  operror-type: ImportError
> debug:  operror-value: No module named _pypy_interact

What do I need to do to fix its library path?

TIA, Tom Roche <[email protected]>


------------------------------

Message: 4
Date: Sat, 30 Jul 2011 22:06:04 +0000
From: [email protected]
To: [email protected],"Tom Roche" <[email protected]>
Subject: Re: [Tutor] newbie needs pypy setup tips
Message-ID:
        
<836810990-1312063566-cardhu_decombobulator_blackberry.rim.net-18925951-@b1.c28.bise6.blackberry>
        
Content-Type: text/plain

I think, but not 100 percent, that pypy has a list. You might get better 
traction there if you don't get a good *nswer here.

Although I have a couple questions. Have you profiled in python to look for 
hotspots?

Have you tried writting portions in c?

What kind of model is it, out of curiousity.
Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Tom Roche <[email protected]>
Sender: [email protected]
Date: Sat, 30 Jul 2011 17:49:02 
To: <[email protected]>
Reply-To: [email protected], Tom Roche <[email protected]>
Subject: [Tutor] newbie needs pypy setup tips


I need advice about configuring pypy to run other python code. Why I ask:

I'm running a model implemented in python. Unfortunately a run on "straight" 
python 2.6.x or 2.7.x requires

- 130 min on my ubuntu laptop (on which working would be more convenient)
- 55 min on a better build machine on which I currently have access

However I have read that this model runs 5x faster under pypy, so I wanna get 
me that, but I'm finding the pypy docs pretty inscrutable. Nevertheless, I have 
managed to do

me@it:~$ uname -rv
> 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:13:52 UTC 2011
me@it:~$ which pypy
> /usr/local/bin/pypy
me@it:~$ ls -al $(which pypy)
> lrwxrwxrwx 1 root root 37 2011-07-30 16:06 /usr/local/bin/pypy -> 
> /opt/pypy-c-jit-1.5.0-alpha0/bin/pypy
me@it:~$ pypy --version
> Python 2.7.1 (b590cf6de419, Apr 30 2011, 02:00:34)
> [PyPy 1.5.0-alpha0 with GCC 4.4.3]

However, when I try to *really* run the @#$%^&! thing, it spews:

me@it:~$ pypy
> debug: WARNING: library path not found, using compiled-in sys.path and 
> sys.prefix will be unset
> 'import site' failed
> Python 2.7.1 (b590cf6de419, Apr 30 2011, 02:00:34)
> [PyPy 1.5.0-alpha0 with GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> debug: OperationError:
> debug:  operror-type: ImportError
> debug:  operror-value: No module named _pypy_interact

What do I need to do to fix its library path?

TIA, Tom Roche <[email protected]>
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

------------------------------

Message: 5
Date: Sat, 30 Jul 2011 22:30:34 -0400
From: Christopher King <[email protected]>
To: python mail list <[email protected]>
Subject: Re: [Tutor] Mainloop conflict
Message-ID:
        <CAKBg9Z2eQmoYeBXxUhieCnCmnRWRiHwrEbJ=kbnwrn28t_5...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

I think I'll go with threading. I've become more familiar with it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.python.org/pipermail/tutor/attachments/20110730/9b42e528/attachment-0001.html>

------------------------------

Message: 6
Date: Sun, 31 Jul 2011 07:01:41 +0200
From: Stefan Behnel <[email protected]>
To: [email protected]
Subject: Re: [Tutor] Mainloop conflict
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed

Christopher King, 31.07.2011 04:30:
> I think I'll go with threading. I've become more familiar with it.

That's ok. When used carefully, threads can be pretty helpful to gain 
concurrency in I/O tasks.

But just in case you ever feel like using them for anything else, this is 
worth a read:

http://ptolemy.eecs.berkeley.edu/publications/papers/06/problemwithThreads/

Stefan



------------------------------

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor


End of Tutor Digest, Vol 89, Issue 92
*************************************
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to