Regular Expressions are commonly used in Linux command line tools like sed, awk, grep etc. Most programming languages support them in either built – in or through an external library. The main problem of using them is that they difficult to understand, but they are well worth the effort to learn. Using a regular expression […]
Modern operating systems allow a user to run several applications simultaneously, so that some tasks can be run in the background while the user continues with other work in the foreground. The user can also run multiple copies of the same program at the same time. To create a task we can use process or […]
In my previous post, I went over the basic concepts in machine learning and I used a very small amount of data. I got great feedbacks but also notes to make more complex example with bigger dataset. In this post I will use a bigger dataset and use pandas , seaborn and scikit-learn to illustrate […]
Python is very popular programming language with many job offers. I collected some questions (with answers) from many students interviews. Test yourself: are you ready to work with python? 1. Base and derived classes: Look at the following code:
print 'base show'
print 'derived show'
obj = B()
Is it possible to make obj call the base class show? In other words I […]
Python is not a programming language for writing algorithms. It is a dynamic language , secure and high level. If we want to write a complex algorithm we need pointers for efficiency and we will probably use C/C++. Python do have tons of external packages, some of them implemented in C and using a simple […]
Python is a great programming language for data analysis. With tons of packages for data handling it is the best choice for data analysts , algorithm developers and more Lets get started with understanding the relationship between some very popular data packages Numpy is package for multi dimension arrays – very effective implementation Scipy – […]
Django is a great python web framework for server side. If we want to communicate with the client it can be done using the request-response model and also using a web socket especially when we want to send push notifications to the client. This is a very simple example of how to create and communicate […]
Pandas is a great python library for data handling. It declares 2 main classes: Series – for one dimensional array DataFrame – for 2 dimensional tables (and with multi-indexing can display more dimensions) Typical flow of using Pandas will be – load the data, manipulate and store again. This is very similar to SQL use […]
There are many alternatives to build a site , you need to select a client framework , a server platform, a database server and many other building blocks to help you link everything , develop, debug and deploy One great option for server side development is python. With its huge number of packages and tools […]