Free Python Books Online

Beginning to learn Python and in need of free Python materials? There are a number of wonderful Python resources online for free. Here is a list of free python eBooks that can be either read online or downloaded it as pdf files and read at your leisure. Although the Python Documentation is a great resource, […]

Getting Started With Python Dictionaries: Python Tips

Dictionary in Python is a data structure that lets users store and retrieve things in python. As the name “dictionary” suggests, it has “key” and “value”. Needless to say each key has to be unique, but you can have duplicates in values. How to Create a Dictionary in Python? An easy way to create dictionary […]

3 Ways to Read A Text File Line by Line in Python

Opening a file and reading the content of a file is pretty easy in Python. One easy way to read a text file and parse each line is to use the python statement “readlines” on a file object. readlines(): Read all lines in a file at once There are at least two ways read all […]