课程: Programming Foundations: Fundamentals
Why Python?
- When choosing the language for this course, I had two main requirements. It needed to be popular and easy to learn. As far as being popular, right now, the top five programming languages are Java, Python, JavaScript, C++ and C#. That narrowed down the list considerably. But when it comes to ease of learning, both Python and JavaScript have fewer Syntax requirements than the other languages, so let's look at those two. Both Python and JavaScript tend to be more concise. This means it takes fewer lines of code to get things done. They're also easier to understand, as both languages use structuring and wording that are closer to human language. But which one to choose? Well, JavaScript was designed to work with and manipulate webpages, and it continues to be widely used for that very reason, although, it can also be used for non-web applications. Python, on the other hand, was designed to be a general purpose language. You can use Python to create web apps, internal company tools, perform scientific analysis, as well as create games. The Python language has been around for decades, and it's available on multiple platforms including Mac, Windows, Linux and more. It's a great choice for exploring the various concepts that we're going to cover. So for this course, Python is the winner. We've already seen some Python code. Remember our simple, "Hello world!" program? That was written in Python. This is also Python code. Can you guess what it does? If not, that's okay. By the end of this course, not only will you know what it does, but you'll be able to write some of the programs yourself.
内容
-
-
-
-
Why Python?1 分钟 52 秒
-
Installing Python on a Mac4 分钟 19 秒
-
Installing Python on Windows1 分钟 49 秒
-
Running Python on the command line on Mac3 分钟 8 秒
-
Running Python on the command line on Windows4 分钟 10 秒
-
Installing Visual Studio Code on a Mac3 分钟 43 秒
-
Installing Visual Studio Code on Windows3 分钟 40 秒
-
Running Python in an IDE3 分钟 37 秒
-
Basic statements and expressions4 分钟 2 秒
-
Troubleshooting issues4 分钟 2 秒
-
-
-
-
-
-