Name: [3253] gasto
Member: 77 months
Authored: 41 videos
Description: C/C++ and python programmer. Some knowledge of graphic design too. Interested in Game Artificial Intelligence and Artificial Life. Currently studying(by myself)too many things to be worth the mention. Happy to contribute to the 'help-without-compensation-asked' community. I hope every one that r ...

Python 3.0 changes - Part I - [ID:1209] (1/1)

in series: Python 3.0 changes

video tutorial by gasto, added 03/09

(Showmedo is undergoing major changes. To report any problems viewing the videos please email us and include browser and OS specifics. Cheers - Kyran.)

In this screencast, I show you in immediate mode, the main changes happening from CPython 2.x (Cpython 2.4, 2.5 , 2.6)

  • print statement is now a built-in function.
  • dict.keys(), dict.items() and dict.values() return “views” instead of lists
  • dict.iterkeys(), dict.iteritems() and dict.itervalues() methods are no longer supported
  • map() and filter() return iterators
  • range() now behaves like xrange() used to behave

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 771 (since July 30th)
  • Plays in last week: 0
  • Published: 62 months ago

Thank-yous, questions and comments

If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?

You may also want to see our ShowMeDo Google Group to speak to our active users and authors.

Your email address will not be published.

Show some quick comments >>








All comments excluding tick-boxed quick-comments

10. anonymous Fri, 20 Nov 2009 05:01

very informative video


9. anonymous Mon, 28 Sep 2009 11:39

I thought the tutorial was very slow, better organization could have made this tutorial much better. The idea of showing 2.x and 3.0 side by side is brilliant. But unfortunately, frequent typos and slow pace works against the video.


8. anonymous Tue, 07 Jul 2009 04:34

I also thought the side-by-side 2.x & 3.0 windows was a good way to highlight differences.

Thanks


7. anonymous Wed, 20 May 2009 11:36

Good content, but extremely slow; should be redone to take 5 minutes, not nearly 40.


6. anonymous Wed, 15 Apr 2009 06:52

amazing and i take your tutorial abaut python 3.0


5. anonymous Wed, 15 Apr 2009 06:50

amazing and i take your tutorial abaut python 3.0


4. anonymous Tue, 14 Apr 2009 12:55

Very valuable tutorials!

Thnk You, Gasto !


Hi Gasto,

I thought that the screen display and the sound quality were excellent. I would suggest writing out the code in advance and cutting and pasting it into the shells. This would allow you to spend more time describing the conceptual differences between the two versions of Python. I too liked displaying the 2.x and the 3.0 shells simultaneously. I hope you continue with the series, and perhaps dedicate one screencast to dictionaries.

Thanks for your contribution! I look forward to seeing more of the same.

Jerol


Hi Kyran.

I am not that bad a typing, having to deal with multiple natural languages with multiple programs in Windows XP is a damnation :)

Also notice I used the fastest method for screencasting... record all in one shot.

Again, I miscalculated the contents of the screencast. You probably intuited that from the initial proclamation "...in this mini-tutorial..."

I have to get a grasp on time management for screencasting. A skill to be tamed

Thanks for the feedback. I hope comments start appearing, as I learn a lot too, from people´s comments.


love the side-by-side comparison, but I do think it could benefit hugely from being broken into smaller chunks, even if the splits are a bit rough. There's quite a bit to absorb and I'd hate to have to try and find my way back through 30+ mins of material. Also I'm having to use a crappy mobile internet at the moment and the video does take a very long time to come down the tubes. Other than that, I think replicating code from Py3 and py2.5 is just the right way to demonstrate the changes and it's cool to see how different the 'print' statement is and also to appreciate some of its extra power. And we should all learn to touch-type like Ian ;)

btw - don't worry about low comments at the moment. We've had a small disaster which has hit web-traffic + the comment-system is still being updated.

keep up the good work.


Showmedo is a peer-produced video-tutorials and screencasts site for free and open-source software (FOSS)- with the exception of some club videos, the large majority are free to watch and download.

how to help » about » faq »

Educating the Open-source Community With Showmedo

Although as important as the software it supports, education and documentation are relatively neglected in the Open-source world. Coders love to code, and explaining how best to use or improve the software tends to be deferred or even sidelined.

At Showmedo we believe the community can play a vital role here and also say thanks for the tools and software that make our lives easier. If you have a piece of software you love or a programming langugage you are enthusiastic about, why not make a screencast showing others how to use it? All the stuff you wish you'd been told, the tips, tricks, insights that would have saved you time and frustration.

Screencasting is easier than you think, and we're happy to help you. You can emailus for advice or just use some of the how-to screencasts on the site. This screencasting learning-pathis a good place to start.

Kudos and Thanks for gasto

Content

Feedback

Showmedo's development is fairly rapid and bugs will inevitably creep in. If you have any problems please drop us a line using the contact address below. Likewise, any suggestions for improvements to the site are gratefully received.

feedback@showmedo.com