

Installing Spark on Windows (pyspark)
Prerequisite: Follow these steps to install Apache Spark on windows machine. Now-a-days Python is used by many applications. So it is...


How can I get the source code of the Python Packages?
You can find source code on Github. Under cpython you will be able to find all the modules and python objects (written in C). You can...


What does // mean in python?
It’s floor division. Python docs has very nice documentation on this. Python3: Mathematical division that rounds down to nearest integer....


What programming language is famous amongst Russians?
According to Google Trends it seems like Javascript. However, I didn’t except Python as least popular language amongst Russians. First of...


What is the most efficient way to find prime factors of a number (python)?
One of the best method is to use Sieve of Eratosthenes 0 → False 1 → False 2 → True and so on.. Python program is shown below, def...


What is the difference between Python 2 and Python 3?
Below are the key differences which I have observed and encountered frequently while working on Python 2 and Python 3. Integer division...


Mutable vs Immutable Objects in Python example
Everything in Python is an object and all objects in Python can be either mutable or immutable. Immutable objects: An object with a fixed...


What is "is" in Python?
The operators is and is not test for object identity. x is y is true if and only if x and y are the same object (object location in...


Interesting and Unknown facts about Python programming
Python has gained more popularity in past 1 year! Actually, it’s the most popular programming language now. JAVA is the second most...