Re: [ANN] Free Python tutorial with exercises, cscx.org

2021-04-13 Thread Russell via Python-list
Jach Feng wrote: > Is there any reason a student/beginner learn Python now start from Python2? > > --Jach Only if you want a job porting python2 to python3. Python 2.x is officially End Of Life. -- rust 0x68caecc97f6a90122e51c0692c88d9cb6b58a3dc -- https://mail.python.org/mailman/listinfo/p

Re: [ANN] Free Python tutorial with exercises, cscx.org

2021-04-06 Thread Jach Feng
Rudy Matela 在 2021年4月1日 星期四下午11:13:03 [UTC+8] 的信中寫道: > Hello python-list members, > > I would like to announce the following educational project: > > Computer Science by Example https://cscx.org/ is a collection of short > programming exercises. The site can automatically grade students' > so

Re: [ANN] Free Python tutorial with exercises, cscx.org

2021-04-06 Thread Rudy Matela
On Fri, Apr 02, 2021 at 05:00:40AM +1100, Chris Angelico wrote: > On Fri, Apr 2, 2021 at 2:14 AM Rudy Matela wrote: > > Computer Science by Example https://cscx.org/ is a collection of short > > programming exercises. The site can automatically grade students' > > solutions and it accepts submiss

Re: [ANN] Free Python tutorial with exercises, cscx.org

2021-04-01 Thread Chris Angelico
On Fri, Apr 2, 2021 at 2:14 AM Rudy Matela wrote: > > Hello python-list members, > > I would like to announce the following educational project: > > Computer Science by Example https://cscx.org/ is a collection of short > programming exercises. The site can automatically grade students' > solutio

[ANN] Free Python tutorial with exercises, cscx.org

2021-04-01 Thread Rudy Matela
Hello python-list members, I would like to announce the following educational project: Computer Science by Example https://cscx.org/ is a collection of short programming exercises. The site can automatically grade students' solutions and it accepts submissions in Python. The exercises start sim

Fwd: Reporting Documentation Bug in Documentation » The Python Tutorial »6.Modules

2018-04-27 Thread VijithNambiar
Hi I think there is a bug in the section https://docs.python.org/3/ tutorial/modules.html#more-on-modules where the outputs of the statements below is given as wrong as it is starting with a '0' >>> import fibo as fib>>> fib.fib(500)0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 >>> import fibo as fib>

Re: Your feedback on our free Advanced Python tutorial

2017-07-21 Thread Mario R. Osorio
It would be nice if you made it more 'readable' the light gray foreground color of the text makes it very uncomfortable to read, at least to me. Take a look at: HOW THE WEB BECAME UNREADABLE https://www.wired.com/2016/10/how-the-web-became-unreadable/ -- https://mail.python.org/mailman/listinfo

Re: Your feedback on our free Advanced Python tutorial

2017-07-20 Thread Noah
On 20 Jul 2017 3:03 p.m., "Aude Barral, CodinGame" wrote: Hi everyone, I am co-founder of a startup called CodinGame. A few days ago we've launched a project: Tech.io . It's a free knowledge-sharing platform that allows tech professionals to learn new programming concepts thro

Re: Your feedback on our free Advanced Python tutorial

2017-07-20 Thread Guido van Rossum
Hi Aude, Unfortunately I don't have time to review or endorse your Python materials. Good luck, --Guido On Wed, Jul 19, 2017 at 9:44 AM, Aude Barral, CodinGame wrote: > Hi everyone, > > I am co-founder of a startup called CodinGame. > > A few days ago we've launched a project: Tech.io

Re: perl + python tutorial available for download

2017-05-07 Thread retsithortmdk
On Monday, June 30, 2008 at 9:45:18 AM UTC-7, Xah wrote: > my perl and python tutorial > > http://xahlee.org/perl-python/index.html > > is now available for download for offline reading. > Download link at the bottom. > >Xah > ∑ http://xahlee.org/ > > ☄ --

RE: pdf version of python tutorial

2016-03-19 Thread Joaquin Alzola
Den 13-03-2016 kl. 14:45 skrev kamaraju kusumanchi: > Is there a pdf version of the python tutorial > https://docs.python.org/3/tutorial/index.html that I can download? The > idea is to have everything in one file so I can search easily, be able > to work offline. > > thanks &

Re: pdf version of python tutorial

2016-03-14 Thread Jesper K Brogaard
Den 13-03-2016 kl. 14:45 skrev kamaraju kusumanchi: Is there a pdf version of the python tutorial https://docs.python.org/3/tutorial/index.html that I can download? The idea is to have everything in one file so I can search easily, be able to work offline. thanks raju Try here: https

Re: pdf version of python tutorial

2016-03-13 Thread kamaraju kusumanchi
On Sun, Mar 13, 2016 at 1:34 PM, Chris Warrick wrote: > > There is a download link on the documentation index: > > https://docs.python.org/3/download.html > Exactly what I needed. Thanks. raju -- Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog -- https://mail.python.org/mailman/lis

Re: pdf version of python tutorial

2016-03-13 Thread Chris Warrick
On 13 March 2016 at 14:45, kamaraju kusumanchi wrote: > Is there a pdf version of the python tutorial > https://docs.python.org/3/tutorial/index.html that I can download? The > idea is to have everything in one file so I can search easily, be able > to work offline. >

pdf version of python tutorial

2016-03-13 Thread kamaraju kusumanchi
Is there a pdf version of the python tutorial https://docs.python.org/3/tutorial/index.html that I can download? The idea is to have everything in one file so I can search easily, be able to work offline. thanks raju -- Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog -- https

Re: good python tutorial

2016-02-23 Thread Aaron Christensen
Thanks for sharing! On Tue, Feb 23, 2016 at 1:48 AM, Mike S via Python-list < python-list@python.org> wrote: > This site was recommended by a friend, it looks really well put together, > I thought it might be of interest to people considering online tutorials. > > http://www.python-course.eu/inde

good python tutorial

2016-02-22 Thread Mike S via Python-list
This site was recommended by a friend, it looks really well put together, I thought it might be of interest to people considering online tutorials. http://www.python-course.eu/index.php -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Tutorial

2014-06-16 Thread Zachary Ware
/ and I'm sure a Google search for "python tutorial" will turn up many options as well :). You may also be interested in the Python 'tutor' mailing list, see https://mail.python.org/mailman/listinfo/tutor Regards, -- Zach -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Tutorial

2014-06-16 Thread jonadina
hello... pls how did ur tutorial creation go? Could i get it as i am starting to learn python thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: mistake in python tutorial

2012-06-05 Thread MRAB
On 06/06/2012 03:00, Dave Angel wrote: On 06/05/2012 09:43 PM, Miriam Gomez Rios wrote: Hello, I think that the example in section 4.4 in the tutorial for python 2.7X is wrong. http://docs.python.org/tutorial/controlflow.html It will end up printing this if you run the exact code listed

Re: mistake in python tutorial

2012-06-05 Thread Dave Angel
On 06/05/2012 09:43 PM, Miriam Gomez Rios wrote: > Hello, I think that the example in section 4.4 in the tutorial for python > 2.7X is wrong. > > http://docs.python.org/tutorial/controlflow.html > > > > It will end up printing this if you run the exact code listed in the tutorial. > > > > 3 is a p

mistake in python tutorial

2012-06-05 Thread Miriam Gomez Rios
Hello, I think that the example in section 4.4 in the tutorial for python 2.7X is wrong. http://docs.python.org/tutorial/controlflow.html It will end up printing this if you run the exact code listed in the tutorial. 3 is a prime number 4 equals 2*2 5 is a prime number 5 is a prime numbe

Re: generate and send mail with python: tutorial

2011-08-13 Thread aspineux
On Aug 13, 3:00 am, Ben Finney wrote: > Ben Finney writes: > > What is the process if the OP, or someone to whom the OP delegates > > authority, wants to [contribute their work to the Python > > documentation]? > > The answer is partly at http://docs.python.org/documenting/>: > >     If you’re in

Re: generate and send mail with python: tutorial

2011-08-12 Thread Ben Finney
Ben Finney writes: > What is the process if the OP, or someone to whom the OP delegates > authority, wants to [contribute their work to the Python > documentation]? The answer is partly at http://docs.python.org/documenting/>: If you’re interested in contributing to Python’s documentation [

Re: generate and send mail with python: tutorial

2011-08-12 Thread Ben Finney
Terry Reedy writes: > >> aspineux wrote: > >>> Hi I have written a tutorial about how to generate and send emails > >>> with python. > Have you considered contributing a HOW-TO? I think Terry is referring to http://docs.python.org/howto/>. I agree that this should be submitted to that collecti

Re: generate and send mail with python: tutorial

2011-08-12 Thread Terry Reedy
On 8/12/2011 2:17 PM, aspineux wrote: On Aug 12, 3:38 pm, Steven D'Aprano wrote: aspineux wrote: Hi I have written a tutorial about how to generate and send emails with python. [...] Thank you, that is an extremely detailed tutorial. Thanks, It was my intention Have you considered cont

Re: generate and send mail with python: tutorial

2011-08-12 Thread aspineux
On Aug 12, 3:38 pm, Steven D'Aprano wrote: > aspineux wrote: > > Hi I have written a tutorial about how to generate and send emails > > with python. > > [...] > > Thank you, that is an extremely detailed tutorial. Thanks, It was my intention Alain > > -- > Steven -- http://mail.python.org/ma

Re: generate and send mail with python: tutorial

2011-08-12 Thread Steven D'Aprano
aspineux wrote: > Hi I have written a tutorial about how to generate and send emails > with python. [...] Thank you, that is an extremely detailed tutorial. -- Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: generate and send mail with python: tutorial

2011-08-12 Thread aspineux
On Aug 12, 8:51 am, Dennis Lee Bieber wrote: > On Thu, 11 Aug 2011 08:07:09 -0700 (PDT), aspineux > declaimed the following in gmane.comp.python.general: > > > Hi I have written a tutorial about how to generate and send emails > > with python. > >         Is that really such a difficult task? Ye

Re: generate and send mail with python: tutorial

2011-08-12 Thread maedox
On Friday, August 12, 2011 8:51:33 AM UTC+2, Dennis Lee Bieber wrote: > On Thu, 11 Aug 2011 08:07:09 -0700 (PDT), aspineux > declaimed the following in gmane.comp.python.general: > > > Hi I have written a tutorial about how to generate and send emails > > with python. > > Is that really su

generate and send mail with python: tutorial

2011-08-11 Thread aspineux
Hi I have written a tutorial about how to generate and send emails with python. You can find it here http://blog.magiksys.net/generate-and-send-mail-with-python-tutorial And here is the content. Enjoy. This article follows two other articles (1, 2) about how to parse emails in Python. These

Re: learnpython.org - an online interactive Python tutorial

2011-04-25 Thread Gregory Ewing
harrismh777 wrote: maybe the way to be really consistent (especially with the Zen of Python, explicit is better than implicit) that int --> float --> complex (imaginary) should not occur either ! Applying parts of the Zen selectively can be dangerous. Practicality also beats purity. I've used

Re: learnpython.org - an online interactive Python tutorial

2011-04-25 Thread Terry Reedy
On 4/25/2011 2:20 AM, harrismh777 wrote: Steven D'Aprano wrote: It seems to me that weak typing is a Do What I Mean function, and DWIM is a notoriously bad anti-pattern that causes far more trouble than it is worth. I'm even a little suspicious of numeric coercions between integer and float. (Bu

Re: learnpython.org - an online interactive Python tutorial

2011-04-24 Thread harrismh777
Steven D'Aprano wrote: It seems to me that weak typing is a Do What I Mean function, and DWIM is a notoriously bad anti-pattern that causes far more trouble than it is worth. I'm even a little suspicious of numeric coercions between integer and float. (But only a little.) I'm wondering about th

Re: learnpython.org - an online interactive Python tutorial

2011-04-24 Thread harrismh777
Dave Angel wrote: time echo "scale = 1010; 16 * a(1/5) - 4 * a(1/239)" |bc -lq Wouldn't it be shorter to say: time echo "scale = 1010; 4 * a(1)" |bc -lq Well, you can check it out by doing the math... (its fun...) ... you will notice that 'time' is called first, which on *nix systems c

Re: learnpython.org - an online interactive Python tutorial

2011-04-24 Thread jmfauth
On 24 avr, 05:10, harrismh777 wrote: > >     I've been giving this some more thought. From the keyboard, all I am > able to enter are character strings (not numbers). Presumably these are > UTF-8 strings in python3.  If I enter ... In Python 3, input() returns a unicode, a sequence/table/array o

Re: Re: learnpython.org - an online interactive Python tutorial

2011-04-24 Thread Dave Angel
On 01/-10/-28163 02:59 PM, harrismh777 wrote: Cameron Simpson wrote: | folks are not aware that 'bc' also has arbitrary precision floating | point math and a standard math library. Floating point math? I thought, historically at least, that bc is built on dc (arbitrary precision integer math, r

Re: learnpython.org - an online interactive Python tutorial

2011-04-24 Thread Steven D'Aprano
On Sat, 23 Apr 2011 22:10:47 -0500, harrismh777 wrote: > I've been giving this some more thought. From the keyboard, all I am > able to enter are character strings (not numbers). Presumably these are > UTF-8 strings in python3. If I enter the character string 57 then > python converts my ch

Re: learnpython.org - an online interactive Python tutorial

2011-04-24 Thread Chris Angelico
On Sun, Apr 24, 2011 at 6:13 PM, Steven D'Aprano wrote: > suppose an implementation might choose to trade off memory for time, > skipping string -> bignum conversations at the cost of doubling the > memory requirements. But even if I grant you bignums, you have to do the > same for floats. Re-impl

Re: learnpython.org - an online interactive Python tutorial

2011-04-24 Thread Steven D'Aprano
On Sun, 24 Apr 2011 11:35:28 +1000, Chris Angelico wrote: > On Sun, Apr 24, 2011 at 10:42 AM, Steven D'Aprano > wrote: >> This is much like my experience with Apple's Hypertalk, where the only >> data structure is a string. I'm very fond of Hypertalk, but it is >> hardly designed with machine eff

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread harrismh777
Steven D'Aprano wrote: If that's a "serious" flaw, it's a flaw shared by the vast majority of programming languages. Yes, agreed. As for the question of "consistency", I would argue the opposite: that auto-promoting strings to numbers arguably is useful, but that is what is inconsistent, n

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread harrismh777
Cameron Simpson wrote: | folks are not aware that 'bc' also has arbitrary precision floating | point math and a standard math library. Floating point math? I thought, historically at least, that bc is built on dc (arbitrary precision integer math, reverse polish syntax) and that consequently bc

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread Cameron Simpson
On 23Apr2011 19:37, harrismh777 wrote: [...] | Yes, my "big num" research stuff was initially done in REXX, on | VM/CMS. I later ported my libraries over to OS/2 and continued with | that well into the '90s, when I discovered Unix and 'bc'. Many | folks are not aware that 'bc' also has arbitrary

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread Chris Angelico
On Sun, Apr 24, 2011 at 10:42 AM, Steven D'Aprano wrote: > This is much like my experience with Apple's Hypertalk, where the only > data structure is a string. I'm very fond of Hypertalk, but it is hardly > designed with machine efficiency in mind. If you think Python is slow > now, imagine how sl

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread Steven D'Aprano
On Fri, 22 Apr 2011 01:38:21 -0500, harrismh777 wrote: > Heiko Wundram wrote: >> The difference between strong typing and weak typing is best described >> by: >> >> Python 2.6.5 (r265:79063, Jun 12 2010, 17:07:01) [GCC 4.3.4 20090804 >> (release) 1] on cygwin Type "help", "copyright", "credits" or

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread harrismh777
Chris Angelico wrote: Wow, someone else who knows REXX and OS/2! REXX was the first bignum language I met, and it was really cool after working in BASIC and 80x86 assembly to suddenly be able to work with arbitrary-precision numbers! Yes, my "big num" research stuff was initially done in REXX,

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread Westley Martínez
On Fri, Apr 22, 2011 at 04:48:39PM -0700, Dan Stromberg wrote: > On Thu, Apr 21, 2011 at 11:38 PM, harrismh777 wrote: > > > > > Yes. And you have managed to point out a serious flaw in the overall logic > > and consistency of Python, IMHO. > > > > Strings should auto-type-promote to numbers if app

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread Tim Chase
On 04/23/2011 11:51 AM, Dotan Cohen wrote: harrismh777 wrote: If an operation like (+) is used to add 1 + '1' then the string should be converted to int and the addition should take place, returning a reference to object int (2). No, the int 1 should be cast to a string, and the result shoul

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread Dotan Cohen
On Fri, Apr 22, 2011 at 09:38, harrismh777 wrote: > If an operation like (+) is used to add  1 + '1' then the string should be > converted to int and the addition should take place, returning a reference > to object int (2). > No, the int 1 should be cast to a string, and the result should be the

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread rantingrick
On Apr 22, 1:38 am, harrismh777 wrote: > Strings should auto-type-promote to numbers if appropriate. No they should not! We do not want a language to "guess" our intentions. We are big boys and girls and should be responsible for own actions. > This behavior should occur in input() as well. If

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread rantingrick
On Apr 23, 1:28 am, Dennis Lee Bieber wrote: > But what if /I/ want >                 "A" + 1 > to return >                 "B" No problem! Python even allows you to create your own functions! I know, amazing! 8-O >>> def succ(s): return chr(ord(s) + 1) >>> succ('a') 'b' >>> succ('B')

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread Dotan Cohen
On Wed, Apr 20, 2011 at 20:15, Ron wrote: > Hey everyone. > > I've written an online interactive Python tutorial atop Google App Engine: > http://www.learnpython.org. > > All you need to do is log in using your Google account and edit the wiki to > add your tutor

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread flebber
On Apr 23, 4:28 pm, Dennis Lee Bieber wrote: > On Fri, 22 Apr 2011 17:08:53 +1000, Chris Angelico > declaimed the following in gmane.comp.python.general: > > > I'm not so sure that all strings should autopromote to integer (or > > "numeric" generally). However, adding a string and a number _shoul

Re: learnpython.org - an online interactive Python tutorial

2011-04-22 Thread Dan Stromberg
On Thu, Apr 21, 2011 at 11:38 PM, harrismh777 wrote: > > Yes. And you have managed to point out a serious flaw in the overall logic > and consistency of Python, IMHO. > > Strings should auto-type-promote to numbers if appropriate. Please no. It's a little more convenient sometimes when you're c

Re: learnpython.org - an online interactive Python tutorial

2011-04-22 Thread Roy Smith
In article , Mel wrote: > > Strings should auto-type-promote to numbers if appropriate. > > "Appropriate" is the problem. This is why Perl needs two completely > different kinds of comparison -- one that works as though its operands are > numbers, and one that works as though they're strings

Re: learnpython.org - an online interactive Python tutorial

2011-04-22 Thread Mel
harrismh777 wrote: > Heiko Wundram wrote: >> The difference between strong typing and weak typing is best described >> by: >> >> Python 2.6.5 (r265:79063, Jun 12 2010, 17:07:01) >> [GCC 4.3.4 20090804 (release) 1] on cygwin >> Type "help", "copyright", "credits" or "license" for more information.

Re: learnpython.org - an online interactive Python tutorial

2011-04-22 Thread Chris Angelico
On Fri, Apr 22, 2011 at 4:38 PM, harrismh777 wrote: > My feelings about this are strongly influenced by my experiences with the > REXX language on IBM's SAA systems--- OS/2 and VM/CMS. In REXX everything is > a string... everything. If a string just happens to be a REXX number, then > it can be ma

Re: learnpython.org - an online interactive Python tutorial

2011-04-21 Thread harrismh777
Heiko Wundram wrote: The difference between strong typing and weak typing is best described by: Python 2.6.5 (r265:79063, Jun 12 2010, 17:07:01) [GCC 4.3.4 20090804 (release) 1] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> 1+'2' Traceback (most recent c

Re: learnpython.org - an online interactive Python tutorial

2011-04-21 Thread Diego Arias
On Thu, Apr 21, 2011 at 8:20 PM, Dan Stromberg wrote: > > On Thu, Apr 21, 2011 at 9:13 AM, MRAB wrote: > >> On 21/04/2011 15:14, Westley Martínez wrote: >> >>> On Thu, Apr 21, 2011 at 05:19:29PM +1000, Chris Angelico wrote: >>> On Thu, Apr 21, 2011 at 5:10 PM, Algis Kabaila wrote: >>>

Re: learnpython.org - an online interactive Python tutorial

2011-04-21 Thread Dan Stromberg
On Thu, Apr 21, 2011 at 9:13 AM, MRAB wrote: > On 21/04/2011 15:14, Westley Martínez wrote: > >> On Thu, Apr 21, 2011 at 05:19:29PM +1000, Chris Angelico wrote: >> >>> On Thu, Apr 21, 2011 at 5:10 PM, Algis Kabaila >>> wrote: >>> False: Python IS strongly typed, without doubt (though the >>

Re: learnpython.org - an online interactive Python tutorial

2011-04-21 Thread MRAB
On 21/04/2011 15:14, Westley Martínez wrote: On Thu, Apr 21, 2011 at 05:19:29PM +1000, Chris Angelico wrote: On Thu, Apr 21, 2011 at 5:10 PM, Algis Kabaila wrote: False: Python IS strongly typed, without doubt (though the variables are not explicitly declared.) Strongly duck-typed though. If

Re: learnpython.org - an online interactive Python tutorial

2011-04-21 Thread Westley Martínez
On Thu, Apr 21, 2011 at 05:19:29PM +1000, Chris Angelico wrote: > On Thu, Apr 21, 2011 at 5:10 PM, Algis Kabaila wrote: > > False: Python IS strongly typed, without doubt (though the > > variables are not explicitly declared.) > > Strongly duck-typed though. If I create a class that has all the r

Re: learnpython.org - an online interactive Python tutorial

2011-04-21 Thread Heiko Wundram
Am 21.04.2011 09:19, schrieb Chris Angelico: > On Thu, Apr 21, 2011 at 5:10 PM, Algis Kabaila wrote: >> False: Python IS strongly typed, without doubt (though the >> variables are not explicitly declared.) > > Strongly duck-typed though. If I create a class that has all the right > members, it ca

Re: learnpython.org - an online interactive Python tutorial

2011-04-21 Thread harrismh777
Algis Kabaila wrote: [quote] Python is completely object oriented, and not "strongly typed" [/quote] False: Python IS strongly typed, without doubt (though the variables are not explicitly declared.) Playing the advocate for a moment here, this is something that I was confused about early o

Re: learnpython.org - an online interactive Python tutorial

2011-04-21 Thread Chris Angelico
On Thu, Apr 21, 2011 at 5:10 PM, Algis Kabaila wrote: > False: Python IS strongly typed, without doubt (though the > variables are not explicitly declared.) Strongly duck-typed though. If I create a class that has all the right members, it can simultaneously be a file, an iterable, a database, an

Re: learnpython.org - an online interactive Python tutorial

2011-04-21 Thread Algis Kabaila
On Thursday 21 April 2011 03:15:50 Ron wrote: > Hey everyone. > > I've written an online interactive Python tutorial atop > Google App Engine: http://www.learnpython.org. > > All you need to do is log in using your Google account and > edit the wiki to add your tutori

Re: learnpython.org - an online interactive Python tutorial

2011-04-20 Thread Yico Gaga
well ,i can't visit your website ,required time out ,maybe it's the GFW'S problem ~ 2011/4/21 Ron > Hey everyone. > > I've written an online interactive Python tutorial atop Google App Engine: > http://www.learnpython.org. > > All you need to do is log in

Re: learnpython.org - an online interactive Python tutorial

2011-04-20 Thread Chris Angelico
On Thu, Apr 21, 2011 at 3:15 AM, Ron wrote: > Hey everyone. > > I've written an online interactive Python tutorial atop Google App Engine: > http://www.learnpython.org. That looks very handy! And I notice you've protected yourself by running it in a sandbox: im

Re: learnpython.org - an online interactive Python tutorial

2011-04-20 Thread Terry Reedy
On 4/20/2011 1:15 PM, Ron wrote: I've written an online interactive Python tutorial atop Google App Engine: http://www.learnpython.org. Currently giving 500 server error. Hope something clears up. -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list

Re: learnpython.org - an online interactive Python tutorial

2011-04-20 Thread FELD Boris
2011 at 1:15 PM, Ron wrote: > > Hey everyone. > > > > I've written an online interactive Python tutorial atop Google App Engine: > > http://www.learnpython.org. > > > > All you need to do is log in using your Google account and edit the wiki to > > add y

Re: learnpython.org - an online interactive Python tutorial

2011-04-20 Thread Ron
Thanks! :) -- http://mail.python.org/mailman/listinfo/python-list

Re: learnpython.org - an online interactive Python tutorial

2011-04-20 Thread Matty Sarro
Awesome project, I really like it. I'll see if I can't help adding some material that's missing when I get on the train. Keep up the great work! On Wed, Apr 20, 2011 at 1:15 PM, Ron wrote: > Hey everyone. > > I've written an online interactive Python tutorial at

learnpython.org - an online interactive Python tutorial

2011-04-20 Thread Ron
Hey everyone. I've written an online interactive Python tutorial atop Google App Engine: http://www.learnpython.org. All you need to do is log in using your Google account and edit the wiki to add your tutorials. Read more on the website. Thanks for your help, and I would appreciate i

Python Tutorial

2011-03-27 Thread Colin J. Williams
I have come across: http://www.java2s.com/Tutorial/Python/CatalogPython.htm On a quick skim, the above seems to cover more ground than the standard: http://docs.python.org/tutorial/ I spotted one bug in the former, but one of the Network examples was helpful. Colin W. -- http://mail.python.org

Re: Python Tutorial on Multithreading

2011-02-21 Thread Terry Reedy
On 2/21/2011 7:02 PM, KevinSimonson wrote: On Feb 21, 4:04 pm, Alexander Kapps wrote: That tutorial seems to be wrong. According to the official docs: "If the subclass overrides the constructor, it must make sure to invoke the base class constructor (Thread.__init__()) before doing anything

Re: Python Tutorial on Multithreading

2011-02-21 Thread KevinSimonson
On Feb 21, 4:04 pm, Alexander Kapps wrote: > > That tutorial seems to be wrong. > > According to the official docs: > > "If the subclass overrides the constructor, it must make sure to > invoke the base class constructor (Thread.__init__()) before doing > anything else to the thread." > > http://d

Re: Python Tutorial on Multithreading

2011-02-21 Thread Alexander Kapps
On 21.02.2011 23:30, KevinSimonson wrote: I've been teaching myself Python from the tutorial routed at "http:// www.tutorialspoint.com/python/index.htm". It's worked out pretty well, but when I copied its multithreading example from the bottom of the page at "http://www.tutorialspoint.com/python

Python Tutorial on Multithreading

2011-02-21 Thread KevinSimonson
I've been teaching myself Python from the tutorial routed at "http:// www.tutorialspoint.com/python/index.htm". It's worked out pretty well, but when I copied its multithreading example from the bottom of the page at "http://www.tutorialspoint.com/python/ python_multithreading.htm" and tried to ru

Re: How to read the Python tutorial?

2010-11-10 Thread Ian
On Nov 10, 8:13 am, Zeynel wrote: > But when I try > > datetime.datetime.mDATE.toordinal()) > > I get AttributeError. Others have already explained why "mDATE.seconds" does not work, but I wanted to touch on this as well. The above fails because "mDATE" is not an attribute of the "datetime.datet

Re: How to read the Python tutorial?

2010-11-10 Thread Terry Reedy
On 11/10/2010 10:13 AM, Zeynel wrote: For instance, when the tutorial has http://docs.python.org/release/2.6/library/datetime.html class datetime.datetime A combination of a date and a time. Attributes: year, month, day, hour, minute, second, microsecond, and tzinfo. Note 'second' singular, a

Re: How to read the Python tutorial?

2010-11-10 Thread MRAB
On 10/11/2010 15:13, Zeynel wrote: For instance, when the tutorial has http://docs.python.org/release/2.6/library/datetime.html class datetime.datetime A combination of a date and a time. Attributes: year, month, day, hour, minute, second, microsecond, and tzinfo. What does this mean? How do I

Re: How to read the Python tutorial?

2010-11-10 Thread Emile van Sebille
On 11/10/2010 8:19 AM rantingrick said... I would start at the loop and figure out what is going on from there with some print statements and the functions i showed you. Debugging is a large part of any programming project. We all do it everyday. So the sooner you learn the better. If you have a

How to read the Python tutorial?

2010-11-10 Thread Zeynel
For instance, when the tutorial has http://docs.python.org/release/2.6/library/datetime.html class datetime.datetime A combination of a date and a time. Attributes: year, month, day, hour, minute, second, microsecond, and tzinfo. What does this mean? How do I use it? For instance, I have a Date

Re: How to read the Python tutorial?

2010-11-10 Thread rantingrick
On Nov 10, 10:05 am, Zeynel wrote: > AttributeError: 'datetime.datetime' object has no attribute 'seconds' First of all put some scaffolding in this code. What is scaffolding. Basically some debug print statements so you can follow the trail of errors. You need to learn how to debug code and be

Re: How to read the Python tutorial?

2010-11-10 Thread rantingrick
On Nov 10, 9:13 am, Zeynel wrote: > For instance, when the tutorial > hashttp://docs.python.org/release/2.6/library/datetime.html > > class datetime.datetime > A combination of a date and a time. Attributes: year, month, day, > hour, minute, second, microsecond, and tzinfo. > > What does this mea

Re: How to read the Python tutorial?

2010-11-10 Thread Zeynel
On Nov 10, 10:51 am, rantingrick wrote: > Wait a minute i am confused...? Does Python have a "text" object that > magically turns into a datetime object? > > >>> mDATE = 2010-11-10 14:35:22.863000 > > SyntaxError: invalid syntax This is the reason I am asking the question. I am confused about wh

Python Tutorial

2010-08-13 Thread AK
Hello, I plan to make a new python tutorial and I'd like to collaborate with someone on it. I'm thinking of a slightly different approach than existing tutorials: the idea is that readers will learn from examples, going from small but complete and useful scripts to larger programs,

Re: * operator in python tutorial

2010-01-22 Thread Terry Reedy
On 1/22/2010 12:57 PM, ben wrote: On Jan 20, 8:30 pm, Gringo wrote: I am following through the python tutorial which gets to a line that uses the * operator with zip(). All such questions are at least briefly answered in my complete python3 symbol glossary (all syntax usages) at http

Re: * operator in python tutorial

2010-01-22 Thread ben
On Jan 20, 8:30 pm, Gringo wrote: > On 1/20/2010 12:38, ben wrote: > > > > > Hello, > > > I am following through the python tutorial which gets to a line that > > uses the * operator with zip(). I searched and searched but could find > > no information on t

Re: * operator in python tutorial

2010-01-20 Thread Gringo
On 1/20/2010 12:38, ben wrote: > Hello, > > I am following through the python tutorial which gets to a line that > uses the * operator with zip(). I searched and searched but could find > no information on the operator or how to use it in general. The > example from the tut is

Re: * operator in python tutorial

2010-01-20 Thread ben
I missed it because I skipped to the explanation of zip. I hit the back arrow and went on and saw the link to "Unpacking Argument Lists" which explained what I needed to know. Thanks. -- http://mail.python.org/mailman/listinfo/python-list

* operator in python tutorial

2010-01-20 Thread ben
Hello, I am following through the python tutorial which gets to a line that uses the * operator with zip(). I searched and searched but could find no information on the operator or how to use it in general. The example from the tut is as follows: >>> x = [1, 2, 3] >>> y = [4

Re: Usefull python tutorial

2009-08-26 Thread Simon Brunning
2009/8/26 gentlestone : > Can somebody give me an advise where I can found a really good online > tutorial? All I found are useless. is really good, as I remember, as is . For example no tutorial I found > explains this piece of code

Re: Usefull python tutorial

2009-08-26 Thread Chris Rebert
On Wed, Aug 26, 2009 at 4:44 AM, gentlestone wrote: > Can somebody give me an advise where I can found a really good online > tutorial? All I found are useless. For example no tutorial I found > explains this piece of code: > >    someList = [element for element in otherList if element is not > Non

Usefull python tutorial

2009-08-26 Thread gentlestone
Can somebody give me an advise where I can found a really good online tutorial? All I found are useless. For example no tutorial I found explains this piece of code: someList = [element for element in otherList if element is not None] or this example: a = a or [] There are only stupid e

Re: PDF version of Python Tutorial?

2009-07-17 Thread Gabriel Genellina
En Fri, 17 Jul 2009 22:12:31 -0300, Dr. Phillip M. Feldman escribió: Does anyone know if there is a PDF version of the Python Tutorial (URL= http://www.python.org/doc/current/tutorial/)? From that page, click on the top left corner to go up one level, and you'll see a download lin

Re: PDF version of Python Tutorial?

2009-07-17 Thread David Robinow
On Fri, Jul 17, 2009 at 9:12 PM, Dr. Phillip M. Feldman wrote: > > Does anyone know if there is a PDF version of the Python Tutorial (URL= > http://www.python.org/doc/current/tutorial/)? http://docs.python.org/download.html -- http://mail.python.org/mailman/listinfo/python-list

PDF version of Python Tutorial?

2009-07-17 Thread Dr. Phillip M. Feldman
Does anyone know if there is a PDF version of the Python Tutorial (URL= http://www.python.org/doc/current/tutorial/)? -- View this message in context: http://www.nabble.com/PDF-version-of-Python-Tutorial--tp24543817p24543817.html Sent from the Python - python-list mailing list archive at

Re: python tutorial

2009-06-18 Thread Carl Banks
On Jun 17, 5:36 pm, "steve" wrote: > >"Carl Banks" wrote in message > >news:2f6271b1-5ffa-4cec-81f8->>0276ad647__begin_mask_n#9g02mg7!__...__end_mask_i?a63jfad$...@p5g2000pre.googlegroups.com... > >On Jun 15, 7:56 pm, "steve" wrote: > &g

Re: python tutorial

2009-06-18 Thread Aahz
In article , D'Arcy J.M. Cain wrote: > >I really loved CP/M in its day but isn't it time we let go? +1 QOTW -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "as long as we like the same operating system, things are cool." --piranha -- http://mail.python.org/mail

  1   2   3   >