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:
- Installs Python, requests, scrap a page within minutes, installs Django, Flask, feel like a God.
- Start struggling with libraries setups, “missing everything.h”, fails everywhere, things randomly stop working after some time.
- Realize you need a virtualenv, realize adding your project to PATH variable is a crap solution, things are getting better again.
- 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.
- 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.
- 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.
- 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.
- You now need also to kid around with machine learning, scikit-learning, pandas, keras, how freaking good is Python again.
- 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.
- 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