How to specify host in Flask
Flask is a micro web framework written in Python. Bydefault Flask will listen on localhost only. But we can specify
Read MoreFor Techs.... Techniques.... Technologies....
Flask is a micro web framework written in Python. Bydefault Flask will listen on localhost only. But we can specify
Read MoreAnsible mysql_db module can be used to take dump and restore MySQL databases. Sample code to dump the MySQL database
Read MoreError: jinja2.exceptions.templatenotfound Sometimes you may face this error on loading Airflow while calling shell script in DAG. This is because
Read MorePIP is the package installer for Python. This article explains the steps to install pip in Linux. Step1: Download pip
Read MoreWe can count the number of lines in a file using readline utility in Python. Here we need to replace
Read MoreIn-order to check a file is empty or not, we can use the os functionality in Python. Here we need
Read MoreSometimes we need to exit from Python script in certain conditions. We can use the sys utility to accomplish this
Read MoreBoto is the Amazon Web Services (AWS) SDK for Python. It enables Python developers to create, configure, and manage AWS
Read MoreSometimes we need to get the previous month date for scripting purposes. We can use Python datetime module to acheive
Read MoreTo check whether a Python module is installed or not, #python -c "import module" #echo $? Here we need to
Read MoreWe can use the Python module zipfile for extracting the zip files. The syntax is as given below. import zipfile
Read More