Skip to main content

Python : Learn it my way

Why Python

The first question we should ask ourself before learning something is "Why should we learn it".I don't know about other stuff but i can answer why should you learn python. Python is a scripting as well as programming language. What does that mean is we can use it for web servers, softwares etc. Also it has a vast open source community behind it which provides thousands of libraries, frameworks and applications based on python.Today, development is moving forward to use languages like python, perl , ruby etc. So if we want to keep ourself updated with latest technologies then we'll have to learn them.Python also becomes handy for GUI development.Learning python is considered to be easier than any other object oriented language.



Is this a python tutorial ?

Obviously not. This is not a python tutorial. I am just gonna show you the right path to get yourself into python. When i first faced python(during sublime plugin development), it seems so scary that i skipped the plugin development and moved to something else. But recently i found out some useful resources to learn python from and it took me a week to learn python sufficient for software development and obviously coding.So if you want to find out the right tutorials and stuff to learn python then keep reading otherwise you can skip all of this post.



Particular Resources

There are thousands of tutorials on the internet about the language but some of them don't start from the right point. Also finding right books is a hard task to do. So the first step you are gonna do which i did, just visit google python class web page and there you will learn the basics of pyhton in just one day.

Google Python Class

Then the next step is optional, you can attend codecademy course to practise what you learned at google python class. In that course you will come to learn about functions and classes as well.

Codecademy Course

Then the main part comes in. Getting a really good book or e-book. There are many books out there but many of them are just not so good. The books which i studied are:-

  1. Learn Python the Hard Way
  2. Dive into Python
  3. Rapid GUI Programming with Python and Qt: The Definitive Guide to PyQt Programming


All these books are good to read but the 3rd one is concise about python programing and the Dive into Python is a very elaborated material. The first one is actually teach you python in a simple way but its not much of use.



Want these e-books ?

If you want these e-books right in your e-mail inbox then just fill up the subscription form and i'll send you the books within 24 hours. Subscription to this blog is totally free and i don't spam my subscribers mail box so feel free to take advantage of this blog's free subscription.

Enter your email address:



Get your machine ready

Python is a interpreted language so you will be needing a python interpreter which you can easily download from their website Python Download. Ubuntu users don't need to install it at all becuase it comes pre-installed. How to run your programs is well explained in google class. If you want to know anything else then just drop a comment below and i'll help you asap.

Comments

Popular posts from this blog

Image Search Engine Using Python

Images provide a lot more information than audio or text. Image processing is the prime field of research for robotics as well as search engines. In this article we will explore the concept of finding similarity between digital images using python. Then we will use our program to find top 10 search results inside a dataset of images for a given picture. It won't be as good as google's search engine because of the technique we will be using to find similarity between images. But what we are going to make will be pretty cool. So lets start. Setting up the Environment Our Algorithm How the code looks Lets build the GUI Additional Techniques Setting up the Environment The code we are going to write requires a few tools which we need to install first. I will try to be as precise as i can and if you get stuck into installing some tool then you can drop a comment below and i will help you sort out the problem. So here are the tools and the steps to install

Understanding Python Decorators

If you have ever wondered what those @something mean above a python function or method then you are going to have your answers now. This @something line of code is actually called a decorator. I have red from various articles about them but some of them were not able to clarify the concept of a decorator and what we can achieve with them. So in this post we'll learn a lot about python decorators. Here is a list of topics we'll be covering. What is python decorator Understanding the concept Multiple decorators on same function class method decorator Where can we use decorators What is python decorator A python decorator is nothing but a function which accepts your given function as a parameter and returns a replacement function. So its like something this def decorator(your_func): def replacement(your_func_args): #do some other work return replacement @decorator your_func(your_func_args): #your_func code Now when your_func gets called then

Cordova viewport problem solved

Include the viewport settings in Cordova If you are facing the auto zooming problem of cordova then go read on the full article. Cordova actually ignores the viewport meta tag which causes the pixel density problem. So we need to tell cordova that viewport tag is equally important as other tags. To do this, we need to add some code to a file which is specify in the article. Corodva messes with pixels If you are using the latest cordova version or creating the cordova app for latest android versions then you may have faced the zoom malfunctioning.I also faced it when creating an app. Many of you may have already searched the web and found the answer of changing the meta tag attributes to get it working. But adding target-densitydpi=medium-dpi does not solve the problem for latest android versions. It may work for gingerbread but not for kitkat and others. So the final solution which i found was one of the stackexchange answer but rarely found. So i am gonna two things here, i