Python for beginners

Getting started in Python programming took me just about a month of studying; given I’ve several years of C++ programming experience. This is an ok time frame for experienced programmers to get started, given you have something else going on in life as well. For beginners though, learning a new programming language in a useful manner is not as casual an affair as some tech youtubers would tend to suggest on the internet (‘learn X in 1 hour’ guides doesn’t work).

Computer systems need a fixed syntax and grammar which needs practice to get comfortable with. Python is easier than many other languages, but still, if you’re a beginner, you need to set aside a good amount of time learning it. People will forget to mention this when recommending books, but there are broadly two categories of programming books out there:

  • 1) for experienced programmers/Web Developers, and
  • 2) for beginners, with the language basics.

If you’re a beginner to programming, don’t pick the former.

If you just want to write some standalone scripts, then avoid books targeting Web Developers (Web developers would have to learn other topics, like a web framework, HTML rendering, REST APIs, etc., stuff that you can skip). I learnt it from Dive into Python, which is a bit advanced and not for you if this is the first computer language you are learning. It’s a great book though!

If you’re a beginner, just focus on the language syntax, keywords and the style of writing code. The book Byte of Python might be it for you. Or try Think Python.

Don’t try to learn by collecting tips from forums on random Python-related FAQs. It’s best if you start with a complete book. The forums will come in handy later when you have started coding and are stuck at some specific point. I haven’t studied programming through interactive online websites yet; I prefer working with native tools and find practising on the browser a bit cumbersome. It’s always better to practice coding in the environment you would be working on. Online interactive tutorials will give you a sense of accomplishment, with a quick start, but without actually building a good foundation. Having said that, there are a few good resources out there.

There are also some very good online video courses available now. “sentdex” on youtube has some awesome content.


P.S.: If you’re want to use Python for Web Development: then learning a web frameworks (e.g. Django), REST APIs, and Databases. will be the next steps. While if you want to use Python for Data analysis/Data Science/ML then start with learning Pandas and statistics (maths) next.


Posted

in

,

Comments

Leave a Reply