"Solving a problem on a computer depends on the Algorithm you choose and doesn't depend on the programming language you choose."
When I was in my first year and first semester of Engineering I have learnt 'C' programming. In the first I have toiled to understand the concept(s) on how the programming language works. I didn't even understand how for loop and while loop worked the first time I have heard Bucky Roberts C programming language tutorials on Youtube on his channel thenewboston. After few days my teacher explained me on how the for loops work and then I got to know how it works. After I have understood the basics on how the concepts behind the programming I never turned back at learning new programming language. It was easy for me to learn other programming languages.
During my first semester when I was in the beginner stage of becoming a programmer, I wanted to started a bus booking site like redbus.in. Eventhough my idea was not unique I wanted to start a travel website. Back then I thought that we can only develop a desktop software with C language and so I contacted people on olx.in to design my website. But they quoted me a huge amount. I still remember, one company quoting me $1500 for single page. But I didn't had that much capital and so I googled on "how to design a website" and there were lots and lots of tutorials for learning on how to design a website. One of which I have learnt a lot on web designing is "w3schools.com". I have learnt HTML, CSS, Javascript one by one within a few months. This was because I got understanding of the concepts behind the programming.
When I was in my second semester my seniors told me about python and have learnt it. It was the easiest language. After that I have learnt Matlab.
Do you know why I have written all that stuff above? Because I just wanted to tell you how easy it is to learn other programming languages when you know one. If you know Matlab(just basics concepts and no need to remember any syntax) or even don't know Matlab you can learn Python easily.
I will start off with why should I learn python?
There are many reasons, but I will state you a few.
Even though python can do anything, python has been widely used in scientific computing, web technologies and few others.
If you have used google.com then the next time you use google then remember that a part of it was written in python again.
Okay have you used Instagram? Then again the next time you use instagram then remember that it was written in python. Now a days Mozilla is also using python.
Lets forget about what already has been done, lets see what can be done.
- You can use python like matlab using numpy, scipy and matplotlib.
- You can create awesome websites using django, flask, bottle, web2py etc. They are all light weight frameworks and using any one of the available frameworks you can create websites like instagram, dropbox etc. See 25 most popular websites built with python.
- You can create mobile apps using kivy.
- You can use games with pygame.
Did you know that all the above stated frameworks are free and open sourced including python.
You can even get a job for learning python, because it is in the top 10 most wanted programming languages list.
Differences and similarities between Matlab and Python
Sl. No | Python | Matlab |
---|---|---|
1. | Python has the same number of letters in its name as matlab | Even Matlab has the same number of letters as python |
2. | Python is open sourced | Matlab is not. |
3. | Python has tons of users | Matlab doesn't have as many users as python |
4. | Python has tons of frameworks to use in it many fields including scientific, web, application development | Matlab is best useful for scientific computing. |
5. | You can do all the work with python that Matlab can do. | The same is not true in case of Matlab |
6. | There are thousands of people who are ready to help you if you have any doubt. The response time is better than Matlab | The same is not true in case of Matlab |
Okay I am convinced. Where can I learn python?
There are number of websites which teach you python for free. My only suggestion is not to waste your money for learning python. I will give you a pattern based on my experience on how to learn python.
For beginners(Who are new to computer programming)
There are number of websites which teach you python for free. My only suggestion is not to waste your money for learning python. I will give you a pattern based on my experience on how to learn python.
For beginners(Who are new to computer programming)
- Go to codecademy, signup and start learning Python.(Take your own time to complete the course, don't compare yourself to others.)
- Read Learn Python the hard way.
- Read How to think like a computer scientist. The book is free, you can read it in HTML version or pdf version.
- Read the python documentation.(Fell free to choose any one of the documentations, python2 or python3)
- You are done. Go change your Resume first.
- Go read How to think like a computer scientist for free.
- Read the official documentation of python
- Go change your resume.
How many weeks will it take me to learn python?
It depends on the time you spend each week and the areas you want to apply your programming language. If you want to use python just instead of Matlab it will take you about a week if you can spend 4-5 hours a day(approx.). It also depends on how speed you can learn. But remember that it doesn't depend on the time you have spent it depends on how much you have understood about python. So take your own time to make it.I am not able to understand a few concepts in Python(documentation or any other). What should I do?
Failure are the secret of success. Remember that if don't understand any concept then type google.com in your favorite browser and then type your question. I am sure that you will find a relevant answer to your question. Also feel free to ask the python community on stackoverflow(A best place to find the solution to your question) or any other forums. One of the search results you may get for your question is again the documentation. Go to the documentation and read it, you doubt will for sure be cleared.
I have learnt python and understood it, but I am not able to use it.
Be happy that you have understood all the concepts in python. Remember that for every common functionality there is a builtin function in python. Go google your question and read the solution by some programmers and you will be good to go.
Thank you for this post. How can I help you?
If you read the official documentation you will find that it is not suitable for beginners. But reading the documentation is the way to heaven to python.
So I took the notes of the python official documentation which is available here: Github python_notes. All contributions will be recognized.
Will there be any change in content of Radius of Circle?
Well, I am not sure whether I will change all the post which I have already written on this blog, but I will use python in my future posts. It should be remembered that the posts will contain both the Matlab Program and Python Program but I will explain the python program in the explanation section.
Final Note
I have tried to explain everything in this post in such a way that it is easy for everyone to understand. But if you have not understood anything or have any doubt then please do contact me or comment in the comment box below. You can contact me from here: Contact me. Please do give your feedback in the comment box below.
"There is always something to improve"The above table has been generated using HTML Table Generator
Note: All the above written content may or may not be true. It is the responsibility of the user to check whether the data is true or false. Also in this post we are not against Matlab, we are only stating the advantages that python has when compared to Matlab. Matlab is a registered trademark of The MathWorks, Inc