Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Whenever you start to learn Python, it's unavoidable that you'll encounter this topic of Python two
versus Python three.
So what is this all about?
And it's a very important topic.
Now, first of all, Python is created by a human right.
As a matter of fact, it was created by this person right here.
His name is Guido now a programming language is always evolving.
It's not like somebody creates a programming language.
It's perfect and that's it.
No, all programming languages are constantly being updated, just like on your phone.
You constantly get software updates.
Well, a programming language is constantly evolving to make it better and better because nobody gets
it right the first time.
And by the way, this is a great video that I'm going to link to.
You can check it out in the resources.
Now, Python was created in nineteen ninety one by this gentleman, and it was actually created with
the name from Monty Python, which was a British comedy group.
But like I said before, the language is always evolving.
And in 2008, Greedo decided that what Python version two, which has been used for a very long time,
had some things that he and the community wanted to change.
So in 2008, they decided to create Python three, a new version of the language here was the tricky
part.
You see when you update software, lets say on your phone or even on your laptop, you expect things
to keep working right?
Updates are usually good.
They're improvements.
But some of the features that Python two had, they didn't like or they wanted to change completely.
So Python three introduced what we call breaking changes.
That is, if you updated to Python three, remember the python interpreter?
The C Python translator that we've been talking about?
Well, as soon as you updated that your python to code wasn't really going to work, it's like updating
your phone and then all of a sudden all your apps stop working.
That doesn't sound very good, does it?
That's pretty much what happened in 2008, most companies that wrote their code in Python version two
just kept Python version two because, well, for them to upgrade meant that they had to go through
their code line by line and make some changes.
Now, these changes weren't that significant.
For example, I'll link to some resources, but don't worry, these are topics that we're going to cover
throughout the course.
But different things wouldn't work.
For example, the print function which we've learned about in Python two, it didn't have the brackets.
It looked like this.
And Python three.
Used the brackets, so all the code that had print like this would break.
Now, the differences themselves aren't that big.
I mean, you can read through them and we'll talk about this in the course, but overall, you can learn
them in a day.
That's why when we learn Python, most of the time we're learning Python three.
But you can use the same knowledge with the older version of Python.
Now, you may see some Python version two code out there for companies that have an upgraded, but it's
now what we call legacy, that is come 2020, it's going to stop receiving security updates.
So the community, python community as a whole is saying, hey, everybody, start using Python three
because we're going to stop maintaining Python two.
So we're going to learn the most up to date version three in this course.
But we're also going to touch on some older topics that Python two covers just in case you encounter
them when you work for a company that perhaps still supports legacy code.
But as I mentioned, the whole community as a whole is moving towards Python three, this website,
for example, shows you how many big packages, popular python packages, which we'll talk about support
Python three.
In our case, there's only four popular packages that don't support Python three.
So what I'm saying is Python three is the way to go.
It's the way of the future.
That's what we're going to learn in the course.
But I want you to be aware of the historical context and one thing to be careful of when in this course
you're searching for answers.
Or maybe I have some exercises that require you to Google things.
For example, if we go to the Python documentation, which is the reference of how well what the programming
language does, you'll see that.
You can choose the versions here and you always want to go with the latest, but you might find some
answers online that still use Python version two.
So you want to make sure that when you're searching for answers that you don't encounter any legacy
code.
Like I said, ninety five percent of the time, it's mostly the same, but you usually want to keep
current with the language it has the most community support, most up to date, most secure language.
So just a quick note about Python three versus Python two.
When you hear the word python, people are generally just talking about both Python three in Python
two.
And if you remember in our Reppel, when we created our first program, you see that you're using Python
version three point six.
This is the default standard version that Reppel comes.
So right away, we know that we're using Python three.
Awesome.
It's up to date.
It's new.
The whole community is behind it.
Well, most of the community is behind it, so we're all good to go.
I'll see in the next video.
Bye.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.