Sometime we need to copy some files on a daily basis from one folder to another. So it will be good to be able to
Author: AnthonyC
Split Python List into sublists base on index/indices
We will split a Python list into sublists base on the index position. The source code below and it’s quite self explanatory. The output :
Create a Python virtual environment in Windows
This post shows how to create a Python virtual environment (VE) to sandbox your coding projects. Python 3 comes with a library call venv, therefore
Using Python 3 to remove 1st or last line in multi line string
To remove 1st line, change multi line string to list and use list slicing to remove 1st line, see code below: Output before and after
Python text manipulation – Newline every sentences in a paragraph
This post is about text manipulation in a text paragraph. This script will move every new sentence into a newline when it faces a period(.).
Text Analysis using Python
Hi, this post we’ll talk about basic text analysis using Python. This is something that I learned from ‘Applied Text Analysis with Python’ by Benjamin
