avadhootdivekar / scripts

This repository hosts some simple scripts. Intention is to let people pick up some readily available scripts which they can use in their projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scripts

This repository hosts some simple scripts. Intention is to let people pick up some readily available scripts which they can use in their projects.

Number conversion script.

This script changes number from one base to other base. It also recognizes and formats output based on delimeter and prefix requests. User can also provide the files for input and output. Can be used to convert between decimal,binary, octal , hexadecimal etc upto bsae 36.

Usage

python3 num_conv.py  -d " " --out-delimeter="," --in-base=10 --out-base="2"  --out-prefix="0b" --s "165 170 255 1024" 

About

This repository hosts some simple scripts. Intention is to let people pick up some readily available scripts which they can use in their projects.

License:MIT License


Languages

Language:Python 92.3%Language:Shell 7.7%