There are several books om django. This is what you are looking for
Sent from my Verizon Wireless BlackBerry -----Original Message----- From: "abdulhakim haliru" <abdulhakim.hal...@leproghrammeen.com> Sender: tutor-bounces+eire1130=gmail....@python.org Date: Sun, 31 Jul 2011 20:22:30 To: <tutor@python.org> Reply-To: abdulhakim.hal...@leproghrammeen.com 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: tutor-requ...@python.org Sender: tutor-bounces+abdulhakim.haliru=leproghrammeen....@python.org Date: Sun, 31 Jul 2011 07:01:56 To: <tutor@python.org> Reply-To: tutor@python.org Subject: Tutor Digest, Vol 89, Issue 92 Send Tutor mailing list submissions to tutor@python.org 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 tutor-requ...@python.org You can reach the person managing the list at tutor-ow...@python.org 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 (eire1...@gmail.com) 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 <st...@pearwood.info> To: tutor@python.org Subject: Re: [Tutor] How to make tkMessage function to have duration Message-ID: <4e33ea27.50...@pearwood.info> 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 <emekami...@gmail.com> To: "Steven D'Aprano" <st...@pearwood.info> Cc: tutor@python.org 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 <st...@pearwood.info>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 - Tutor@python.org > 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 <tom_ro...@pobox.com> To: tutor@python.org, Subject: [Tutor] newbie needs pypy setup tips Message-ID: <877h6zfnht....@pobox.com> 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 <tom_ro...@pobox.com> ------------------------------ Message: 4 Date: Sat, 30 Jul 2011 22:06:04 +0000 From: eire1...@gmail.com To: tutor@python.org,"Tom Roche" <tom_ro...@pobox.com> 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 <tom_ro...@pobox.com> Sender: tutor-bounces+eire1130=gmail....@python.org Date: Sat, 30 Jul 2011 17:49:02 To: <tutor@python.org> Reply-To: tutor@python.org, Tom Roche <tom_ro...@pobox.com> 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 <tom_ro...@pobox.com> _______________________________________________ Tutor maillist - Tutor@python.org 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 <g.nius...@gmail.com> To: python mail list <tutor@python.org> 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 <stefan...@behnel.de> To: tutor@python.org Subject: Re: [Tutor] Mainloop conflict Message-ID: <j12njl$3rj$1...@dough.gmane.org> 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 - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor End of Tutor Digest, Vol 89, Issue 92 ************************************* _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor