Visual Studio Code – Vscode env creates its own venv
I have a venv then a project sub folder . When I try and use ipynb file in the project folder I need to create a python environment. So I go and find the python.exe from the venv folder and…
I have a venv then a project sub folder . When I try and use ipynb file in the project folder I need to create a python environment. So I go and find the python.exe from the venv folder and…
I am trying to install modules for python on my raspberry pi 5 in a virtual environment but it just says that the environment is externally managed. I started with activating the virtual environment and trying to install the package…
I am trying to set up a school journal based on Django and Python, but I can't do it because of a 404 page with a problem in the title.then Python part is backend and Node + Yarn + HTML…
I'm trying to close a cookie consent pop-up on a site https://www.meinschiff.com/. I used selenium webdriver for chrome to find the close and accept div element and click on whichever is found first. If I manually choose deny button, then…
I try to collect stats from AWS CostExplorer using boto3 lib. I've used method get_cost_and_usage_with_resources ( see details: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ce/client/get_cost_and_usage_with_resources.html ) and it returns response with resources (ID or ARN), their usage and cost. I would like to map this data…
There is a model: class Categories(models.Model): name = models.CharField(max_length=150, unique=True, verbose_name='Name') slug = models.SlugField(max_length=200, unique=True, blank=True, null=True, verbose_name='URL') class Products(models.Model): name = models.CharField(max_length=150, unique=True, verbose_name='Name') slug = models.SlugField(max_length=200, unique=True, blank=True, null=True, verbose_name='URL') category = models.ForeignKey(to=Categories, on_delete=models.PROTECT, verbose_name='Categoy') I don't understand…
I have two docker containers, A and B, that are spun up with docker-compose files. I want to be able to bring the container B down with the command `docker-compose -f docker-compose.B.yaml down' from within container A. Is this possible?…
I'm a fairly new Linux user running Ubuntu (Mint), and I've been trying to learn to build a GUI app using tkinter. My understanding is this comes built-in with Python, and theoretically shouldn't need a separate installation. Unfortunately for me…
I am developing a Telegram bot in Python which must receive data from a web mini-app. The mini-app is supposed to send data to the bot when the user clicks a button. I followed the official Telegram documentation to configure…
On Mac, Option +Shift + F now brings up the "There is no formatter for 'python' files installed." message box: I tried installing this plugin, without a change seen to this situation: Is there a way that I can get…