-
How to do REST API call and read/write excel file using Python 3
Introduction Today we are going to see how to read the excel’s each cell and pass the value to the REST API request On successful response we will parse the JSON response Read the JSON element and write it to the excel Prerequisite In your terminal or CLI run pip3 install package_name (Based on your OS instead of pip3 run pip. In some OS both python2 and python3 installed then check your pip version pip –version or pip3 –version and execute the command) We need the following packages to be installed requests and openpyxl Command: pip3 install requests openpyxl Once…
-
Shortcut to run previous shell command as superuser
Old Procedure Most of the time when we execute a permission required command but we forget to add sudo at the start of the command then terminal throws the error permission denied So what we will do enter up arrow (navigation key) and enter home or continuously press left arrow key to go to the initial position of the previously executed command In command at the start position we will start type sudo Instead of that we have an alternative to avoid navigating towards start of your command New Procedure Now we are going to see how to execute the…
-
The Devilbox
Introduction In past days replicating the development environment of one machine to another is difficult We can’t assure each system is exact clone of other system But by using Devilbox we can create a highly customisable dockerized LAMP stack No need worry about operating systems if all system have identical .env file then all system work similarly One of the use case is it will provide identical environment which help developers in different territory can maintain their stack identical When a new project arrive we can handle the requirement analysis, delivery date, estimate over all cost, task assigning to team,…