Friday, October 5, 2018

What are the Steps to learn Python?

In this post you will know the best stages to learn Python for beginners. Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. ... Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance.Python supports multiple programming paradigms, including object-oriented, imperative and functional programming or procedural styles. It features a dynamic type system and automatic memory management and has a large and comprehensive standard library.

Some things that Python is often used for are:


  • Web development
  • Game programming
  • Desktop GUIs
  • Scientific programming
  • Network programming.


The following stages are to learn Python for Beginners:


  1. Installs Python, requests, scrap a page within minutes, installs Django, Flask, feel like a God.
  2. Start struggling with libraries setups, “missing everything.h”, fails everywhere, things randomly stop working after some time.
  3. Realize you need a virtualenv, realize adding your project to PATH variable is a crap solution, things are getting better again.
  4. Besides every single warning your “production” app still runs on debug server. Realize it's time to Nginx + Gunicorn, fails to configure, try UWSGI, something is wrong, maybe another day.
  5. You now write code who spawn threads, processes…you can't understand why every single answer on stackoverflow is contradictory. Docs are becoming your best friend.
  6. You are now “hacking” too much. Django feels like a rock on your shoes, too much boilerplate, “I can make this better” - you say. “Flask for the rescue”. wrk/siege shows that your app is not that fast, you start blaming Python.
  7. Wrk shows that your crap written NodeJS code hold on a lot more users than your baby cared Python code. Something is wrong. Start learning about Tornado, Asyncio. Realize that architecture matters the most.
  8. You now need also to kid around with machine learning, scikit-learning, pandas, keras, how freaking good is Python again.
  9. You learn that Python is not written in C. Python is written in English, hell it's just a specification. You were using a C based interpreter. You may now be using PyPy, a Python based interpreter. Yes, you read it right, Python running Python. Maybe Cithon, maybe your own C extensions.
  10. At this stage you probably already had experiences with other languages and you still often write in Python because it's beautiful and enough to most use cases.

No comments:

Post a Comment

High Paying Jobs after Learning Python

Everyone knows Python is one of the most demand Programming Language. It is a computer programming language to build web applications and sc...