Name: [3253] gasto
Member: 105 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 variables and values. [ID:1333] (2/2)

in series: Python Terminology - introduction -

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 tutorial, I aim to teach absolute beginners the meaning of variables and values, how an expression can output a value in immediate mode of the interpreter without even using the print built-in function. The print built-in function ignores any quotation marks from a string argument.

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 8 (since July 30th)
  • Plays in last week: 0
  • Published: 89 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

Even though I already know what values and variables are; I learned another way to access them.

14. mac cosmetics foundation price Outlet Genuine Aw4v441Pfv Financial Development Sat, 24 Apr 2010 12:05

thank you

13. mac cosmetics foundation price Outlet Genuine Aw4v441Pfv Financial Development Sat, 24 Apr 2010 12:04

thank you

12. anonymous Sat, 23 May 2009 21:20

Yes, I would be happy to have your gc tutorial add nuance and texture to this simple introduction, and it's fine to lapse into that old way of thinking now and then, just with noobs (newbies) we wanna be clear on the mental models. Long threads about that, on variable names especially, on Python's edu-sig, here's my most recent, referring back to this video:

anonymous, you would be impressed if I told you I am working on a garbage collection tutorial that talks about that.

10. anonymous Sat, 23 May 2009 20:09

idea that values are "stored into" a variable is less the metaphor in Python, which is more about assigning or binding names to objects with the assignment operator (=). The problem with "store into" is then its hard to picture many names for the same object, yet that's easy when you think of a balloon with many strings.

If you reffer to :


then a has 1 stored to it until the program exits.

Of course a variable name may or may not be visible to the interpreter depending on the namespace, if the namespace is imported to the working file then it is visible.

8. anonymous Wed, 20 May 2009 14:02

Hello, I just saw this video on variables but I have a rather silly question as I am a newbie. I am working with GIS and with help got a variable to store a substring , which then can print so I know its working. My question is how can you set that variable to a record instead of screen printing it ?

Thanks for the video, definitely easy to understand.

just the right gradient for someone like me. thx for taking the time to record this.

6. anonymous Wed, 22 Apr 2009 10:21

thank for your time. Basic but informative. cheers.

4. anonymous Tue, 31 Mar 2009 12:42

Very basic (but useful) information for those with little programming experience.

3. anonymous Tue, 31 Mar 2009 12:42

Very basic (but useful) information for those with little programming experience.

Hi mystylplx,

humans have an experimental approach to learning by excellence. The purpose of these videos is that people start experimenting on the Python interpreter and figure things out by themselves.

If I cover every minimal detail of 'value' it'd span 2 hours at least. I think it is clear that a string called 'value' is an example of a string and not the unique way of creating values for strings.

Still, you are right that beginners might speculate strange ideas about what's being said. That is when experimentation comes handy.

The student thinks " 'value' is a string, so if I write on immediate mode 'sequence of characters', would it still be a string? "

So he goes ahead and execute that line of code and realizes it is a string.

Again, other doubts might come, as a beginner is prone to suffer from the impatience disorder, and run away from what is being learnt. But patience is handy when dealing with studying new subjects.

So, it is very important the study methods a student has. Be it self-taught or formal education student.

I might create a screencast out of this.

Thanks for the feedback.

A little confusing the way you use the string 'value' to illustrate a string value. Maybe you could make it a more clear that the value of a string can be any string... any collection of one or more characters, and that 'value' is only one possible example of the value of a string... if you see what I mean.

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

The basics of Javascript.

Thank you very much for the video

Bold Womens Adidas Big Tongue High Tops Luminous Upgrade Second Generation National Flag Shoes Classical
70 months ago
Python, sweet as candy.

insightful:keep it up

Balenciaga Loafers For Women On Sale Black Leather 2016 11 8.5
72 months ago

Related Videos



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.