What is Python? Python vs Javascript vs HTML, what’s the difference?

For someone who is new to Artificial Intelligence or coding in general, the terms Python, Javascript, HTML5 etc can all seem very confusing in the beginning. So exactly what is Python, Javascript, HTML5? What are the differences and which should I learn?

Well, in short, Python, Javascript and HTML5 are computer languages. Think of them as no different from the languages we humans speak. You can tell your girlfriend “I love you” if she speaks English, or “Te Amo”, if she speaks Spanish, and both girlfriends will still get the same warm fuzzy feeling as long as they understand what you are saying.

Python, Javascript, HTML5 etc, in the broad term, follows the same concept. We use these languages to tell the machine what we are trying to say and achieve. We use these languages to speak to these machines so that there’s an “internationally” understood command and short code for a specific request.

For example, in HTML, if I wanted a space break in between paragraphs, I will use <br> in my code. If I had type <b> (this means bold) or <bre> or <brea>, the engine wouldn’t have understood what exactly I wanted it to do.

So what should you learn?

As you probably have guessed, for the case of Artificial Intelligence, the answer is most commonly Python. Javascript is primarily use to script Web pages and HTML5 is the primary language used to structure content on the World Wide Web.

Python on the other hand is a general purpose programming language. It’s well built data structure coupled with dynamic typing and binding makes it a great language to use to connect various existing components together. Python’s wide array of functionalities has been used to practically build almost all of the softwares we use today and it is commonly referred to as the “Swiss army knife” of the programming world, as you can just do so many things with Python.

The best part about Python is that you don’t even need to start from scratch for most of your codes. Python allows you to create packages that other users can then use for similar purposes, and vice versa. Now imagine, instead of having to create a new code each time, you can simply download similar models and tweak them based on your needs. This “transfer learning” method means that we all benefit from each other and save a lot of time in the process.

Did I also mention that Python is absolutely free (also known as open source)? To use Python, simply download the latest version at https://www.python.org/downloads

Leave a Comment!