How to use Itertools Python

What is itertools? Itertools is a Python module that used to iterate iterables using for-loop. As according to Python official itertools – Functions creating iterators for efficient looping It is useful to construct different of sequences using iterators....

How to make use os.path.join Python module

What is os.path.join Python module There will be time the need to get information or execute on local directories and file. Task like read and connect to database is one of the example that commonly used to create a function using os.path.join() module. A project read...

My Tmux setting

My Tmux setting # changing prefix from 'Ctrl+b' to 'Ctrl+a' unbind C-b set-option -g prefix C-a bind-key C-a send-prefix # start with window 1 (instead of 0) set -g base-index 1 # start with pane 1 set -g pane-base-index 1 # screen mode set -g...