Do you want to know how to develop your skillset to become a Web Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. Building web apps with Node.js
2. HTML5 Programming Cookbook
3. CSS Programming Cookbook
4. AngularJS Programming Cookbook
5. jQuery Programming Cookbook
and many more ....
I agree to the Terms and Privacy Policy

FREE Programming books with the WCG Newsletter

Here at Web Code Geeks we know how much you love books about programming; we are geeks ourselves. After all, a programmer that respects himself should always have his face in a book, he has to keep up with the latest technologies and developments. For this reason, we have decided to distribute 9 of our books for free. You can ...

Read More »

Python time module (Simple Examples)

Python’s time module plays a fundamental part in many applications of computer science. It allows you to perform some major functions efficiently and concisely. You can calculate the performance of your code, suspend the execution of thread in your program, or simply retrieve the current time when an event is triggered. The time module also makes it easy to work ...

Read More »

Lists VS Tuples in Python

Python introduces four built-in data types that let you hold a collection of objects or values: list, tuple, dictionary, and set. These are arguably the most versatile data structures that can store heterogeneous collections of Python objects. List and tuples fall into the category of sequence data types. They allow you to store data in containers and retrieve it in ...

Read More »

Sort NumPy arrays in Python

Many of Python’s popular libraries use NumPy under the hood as a fundamental pillar of their infrastructure. Beyond slicing, dicing, and manipulating arrays, the NumPy library offers various functions that allow you to sort elements in an array. Sorting an array is useful in many applications of computer science. It lets you organize data in ordered form, look up elements ...

Read More »

Python NumPy arange() Tutorial

NumPy library offers a wide range of functions and, arange function is one of the most used methods. The arange function is used to create evenly spaced values and then returns the reference to them. NumPy provides four parameters for the NumPy arange function:Start: The Start parameter takes an integer value which denotes the first value of the array.Stop: The ...

Read More »

Python: PyWeek 32: Lil Miss Vampire

TL;DR A world that scrolls infinitely in any direction, an RPG-like UI, and simple, real-time fighting. My younger kids and I built this entry for PyWeek 32 based on the theme “Neverending”. The key innovations are: It has a neverending world. As the player walks along, it picks up tiles and places new ones invisibly. It uses an LRUDict to remember the ...

Read More »

CSV processing using Python

Throughout this tutorial, we will explore methods for reading, writing, and editing CSV (Comma-Separated Values) files using the Python standard library “csv”. Due to the popularity of CSV files for databasing, these methods will prove crucial to programmers across different fields of work. CSV files are not standardized. Regardless, there are some common structures seen in all sorts of CSV ...

Read More »

Remove punctuation using Python

If you have ever worked processing a large amount of textual data, you would know the pain of finding and removing irrelevant words or characters from the text.Doing this job manually, even with the help of modern word processors, can be time-consuming and frustrating.Fortunately, programming languages such as Python support powerful text processing libraries that help us do such clean-up ...

Read More »

Python math functions (Simple Examples)

In this tutorial, you will learn about Python math functions in the math module of Python. Mathematical calculations are always required in any type of project. However, the math module does not work on complex numbers and you need to use the cmath module to perform operations on complex numbers. In Python, some built-in math operators do not require the ...

Read More »

Generate random numbers in Python

There are two types of random number generators: pseudo-random number generator and true random number generator.Pseudorandom numbers depend on computer algorithms. The computer uses algorithms to generate random numbers. These random numbers are not truly random because they are predictable like the generated numbers using NumPy random seed. Whereas, truly random numbers are generated by measuring truly physical random parameters ...

Read More »