Here in this blog, I will be explaining how we proceed with this process for any program written in Python. We might sometimes face a situation where we need to provide code directly to a client for obvious reasons, but by doing so, we will lose control of the code. In such cases, w...
To activate the venv run command below . venv/bin/activate What is virtual environment? Once you activated venv, we need to install main libraries by following commands: pip3 install gTTS SpeechRecognition PyAudio pygame gTTS(Google Text-to-Speech) is a Python library and CLI tool to inter...
In this tutorial, you will learn how to create a watchdog in Python; we will explain how to detect changes in a particular directory (Let’s suppose the directory hosting the logs of your application(s)). Whenever a change occurs, the modified or newly created files of predefined types wi...
~/my_site/personal_web/mysite/my_app (main)$ python trial.py Traceback (most recent call last): File "trial.py", line 37, in <module> with smtplib.SMTP_SSL("smtp.gmail.com", 465, context=context) as server: TypeError: __init__() got an unexpected keyword argument 'context' ...
In this step-by-step tutorial, you'll discover how to use Arduino with Python to develop your own electronic projects. You'll learn how to set up circuits and write applications with the Firmata protocol. You'll control Arduino inputs and outputs and int