I knew C before I learnt Python. There are differences between the languages, but, it is very easy if Python is your second language.
Why learn Python? C has tens of lines of codes which could be done within one line with the help of Python Libraries. Python is just easier and equally powerful. It is also a great scripting language if you wanted to learn a scripting language.
If you have a programming background, Python is pretty
straightforward to pick up. The most onerous task is learning the
libraries and idioms.
You already know how programs work and you might have an idea about programming methodology. This makes learning Python a simple process. If you're learning Python and want to do it fast, I recommend this:
Learn X in Y minutes(Python)
This will teach you the keywords and syntax in a matter of minutes.
Most people don't know this, but the official Python docs are a goldmine.
It is very well written and is as good as any book. Already knowing how to program in a different programming language just makes it easier to understand using these docs.
Official Python Docs
Python Syntax in 5 Minutes!
If you already know Java, use this:
Python for Java Programmers
If you already know JavaScript:
Python for JavaScript Programmers Made Easy
You could also use a book like Dive Into Python
Other helpful links:
For Python libraries, you need to specialize in the libraries that might be useful for you.
Why learn Python? C has tens of lines of codes which could be done within one line with the help of Python Libraries. Python is just easier and equally powerful. It is also a great scripting language if you wanted to learn a scripting language.
You already know how programs work and you might have an idea about programming methodology. This makes learning Python a simple process. If you're learning Python and want to do it fast, I recommend this:
Learn X in Y minutes(Python)
This will teach you the keywords and syntax in a matter of minutes.
Most people don't know this, but the official Python docs are a goldmine.
It is very well written and is as good as any book. Already knowing how to program in a different programming language just makes it easier to understand using these docs.
Official Python Docs
Here are a few other resources that might help you:
A quick introduction:Python Syntax in 5 Minutes!
If you already know Java, use this:
Python for Java Programmers
If you already know JavaScript:
Python for JavaScript Programmers Made Easy
You could also use a book like Dive Into Python
Other helpful links:
- Automate the Boring Stuff with Python
- Ideas for Python Projects
- Hitchhiker’s Guide to Python
- Python Course
- First Steps With Python
- A curated list of awesome Python frameworks, libraries and software
- 30 Python Language Features and Tricks You May Not Know About
- Official Style Guide for Python
- Python 3 Computer Science Circles
- Dive Into Python 3
- A Crash Course in Python for Scientists
For Python libraries, you need to specialize in the libraries that might be useful for you.
- For Web Development(Frameworks): Django, Flask, Web2Py, TurboGears etc
- If you're doing number crunching you'll almost certainly want to become familiar with the Numpy and Scipy libraries
- The Requests
library is the defacto standard for making HTTP requests in Python. It abstracts the complexities of making requests behind a beautiful, simple API so that you can focus on interacting with services and consuming data in your application.
- Beautiful Soup is a Python package for parsing HTML and XML documents. It creates a parse tree for parsed pages that can be used to extract data from HTML, which is useful for web scraping.
- If you are involved in web-scraping then this is a must have library for you. After using Scrapy library you won’t use any other.
- You could learn something like SQLAlchemy for databases.
- If you're into game development, PyGame is the library for you!
- For Machine Learning, you could look into something like TensorFlow, Scipy or PyTorch
- For Data Science, go for Pandas and Matplotlib
- For Network Programming, paramiko, socket, tftpy, HTTPLib2
- IPython
The Best Way to Learn:
These links will just help you to learn the basics. But, the best way to learn is to start programming right away.
Choose a big project you like to build or something you've already built and BUILD IT USING PYTHON.
This will automatically make you learn. You could use websites like Reddit or StackOverflow to get your queries and doubts answered.
This will automatically make you learn. You could use websites like Reddit or StackOverflow to get your queries and doubts answered.
Final Thoughts:
JUST START. Learn the syntax and the keywords and START WITH A PROJECT. Python is easy to learn but a very powerful language.
My advice is to find a problem and set off to solve it with Python. You will learn a lot in the process.
You already know the concept, its just learning the syntax and a few extra thing because it works slightly differently.
Happy Coding!
Thanks for reading,
AZID
Comments
Post a Comment