Category: python

Deploying a New Python Package to Pypi

Python is a great programming language. The main reason python is so popular is the growing number of packages available to anyone. You can find those packages in many websites and in package managers. The official package manager for python is pypi¬†, there are 2 versions – one for testing and one for production Lets […]

Read more

Interesting Python Standard Library Modules

Python developers use pypi to find packages. You need to search, filter some packages, read reviews from other developers, read the documentation and explore examples if exists. Anyone can build and deploy a package to pypi so you really don’t know if the package you found is working ok. Python standard library is full of […]

Read more

8 Python Modules For Files Handling

Python has input/output features which are very easy to use.¬†Files are accessed through file objects and you can open, read, write and close files using a very simple and easy to use functions from the standard library. To manage files and deal with special file formats (xml, json..) python provides special packages that make the […]

Read more

Python – Regular Expressions Practical Guide

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 […]

Read more

Python Multitasking – MultiThreading and MultiProcessing

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 […]

Read more

Python Machine Learning Example – Linear Regression

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 […]

Read more

10 Python Interview Questions You need to know

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:

Is it possible to make obj call the base class show? In other words I […]

Read more

Simple Image Processing with Python

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 […]

Read more

Machine Learning With Python – Introduction

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 – […]

Read more

Angular and Django – WebSockets Communication

Django is a great Web framework for server side , Angular is a great JS framework for client side. While Integrating both frameworks, we get many benefits. This is the 3rd post about integrating both frameworks For getting started tutorial for using both Angular and Django see this post For integrating data packages – numpy, […]

Read more