Python 2.7 Tutorial Part 3

preview_player
Показать описание

In part 3 of my Python 2.7 Tutorial I explain how to use a Dictionary, the Print function and Strings.
Рекомендации по теме
Комментарии
Автор

Thank you very much for the very kind message. I very much appreciate it :) I will continue to try and improve my videos. Always feel free to provide input and ask questions. As soon as I get my work under control you can expect to see videos on a more regular basis. Thank you for watching

derekbanas
Автор

Out of the number of technical tutorials I've watched including youtube, MIT's open courseware, etc. yours is the best most cleanest approach to teaching. Keep it up

prateek
Автор

@shaunhankey Thank you for taking the time to show your appreciation. I'm glad to help

derekbanas
Автор

I know you made this video eons ago, but just wanted to drop a line and give much thanks for your thoughts and consideration for this video. I'm a  33 year old dad going back to school to better my future for my little ones. So I can take all the help I can get. Don't let fools let you down for teaching, it is much appreciated here.

~C~Lo~

clowe
Автор

I've just finished your 3rd tutorial & wanted to let you know how easy you make this to learn. Thank you very very much! You're a star teacher!

shaunhankey
Автор

Sorry about that mess up. I meant that dictionaries and lists are mutable, but dictionary keys are immutable. A clear screw up on my part. Thanks for pointing it out

derekbanas
Автор

I'm not very popular, so I don't make any money, but I really enjoy making the videos :) The goal was always to provide a free education. I'm glad you like them

derekbanas
Автор

Look for my regular expression tutorial. It will help you do that and more with ease

derekbanas
Автор

Wait until you see my newer stuff. I cover an insane amount of information. Most videos start out as 30 minute videos and I edit them down to 12 or 13. For better or for worse, I don't think anybody makes videos like me. Emphasis on for better, or for worse :)

derekbanas
Автор

I've got to comment again on this. AWESOME tutorial Derek. Maybe the best I've watched so far. I'm gonna have to watch this thing several more times to remember everything I learned. (And this goes for ALL your tutorials). Python is really a neat language. I'm obviously no programmer, but I really think Python is cool, so many things you can do easily.

Colstonewall
Автор

There are a bunch of strange things about Python. Over time you'll find that there is a good reason why there are so many different languages. Each is particularly good at different tasks. Thank God they are easy to learn after you learn the first :)

derekbanas
Автор

You make the best programming tutorials i have ever found. Thanks!

_TheDudeAbides_
Автор

@mesmer19 Thanks, but feel free to ask any questions

derekbanas
Автор

Dictionaries are orderless, so that is why the output differs. Maybe use something else such as lists and tuples?

derekbanas
Автор

@ChrisSmithFB Thanks :) I'm glad you liked it

derekbanas
Автор

Left it alone for awhile and thought about different solutions. Came back, deleted the spaces inbetween the lines so it wasn't as confusing and it all of a sudden worked perfectly...? Computers can be so weird. Anyway thank-you for taking your time to answer, I really appreciate it!

BioshadowX
Автор

I broke down and actually tried this out in a script and it works basically like perl hashes. I was able to add/change/delete dictionary entries w/o any problem. I tried it in 2.5 and 2.6. I don't have 2.7. I'm very happy that this works the way I originally thought it should, On the other hand, it means I really don't know wtf "immutable" really means, but that's better than the converse!

fujiblimp
Автор

Each of those codes represents the data type for the variable. s is used when the variable is a string. d for numbers without decimal places. f for numbers with decimal places. %.*f is expecting a number with decimal places and allows you to define how many decimals to use. Does that make sense?

derekbanas
Автор

5 Tutorials and 2 books, with your tutorial I finally get it.  Thanks

joaquinmoreno
Автор

WOW, LOL, I thought I was not going to learn anything in this vid (thought I already knew all this), man I was WRONG!!! Awesome vid Derek, I learned all kinds of new things. I had no idea there was a %f for float or %i for int. All I knew was there was a %s for string. Learned a lot of other things too. Thanks D.

Colstonewall