Task <Task pending name='Task-11' coro=<Queue.get() running at C:\Users\Administrator\anaconda3\lib\asyncio\queues.py:166> cb=[_release_waiter(<Futu
I looking for script to record system audio, not microphone audio. I mean when I play music with a media player I want record it. I want record the sound output
I'm unable to capture stdout of runpy.run_module into a variable using StringIO. To demonstrate the problem, I created a script called runpy_test.py (code below
I have an SQL file which is manually generated. I use the code below to create it. conn = psycopg2.connect(host=t_host, port=t_port, dbname=t_dbname, user=t_nam
I just installed Python 3.10 on my work machine. I went to pip install pandas and got a Win32 error on a temp file within the AppData Temp Folder.I have tried
Running Python 3.10. I have three files in the same directory named Chess, one of which is a __init __.py to make sure it's considered a module. In one file, Ch
I was able to install InstaPy on an Oracle Ampere Compute VM (ARM processors) running Ubuntu 20.04 LTS. When I try running quickstart.py, it showed me the follo
I do a Post with some parameters, but one of them returns "field required" and "value_error.missing", but the field is there and it has a value. See the output
I'm trying to import a function called gcd from a module called fractions with from fractions import gcd. For some reason, PyCharm throws an ImportError: fr
Sorry for asking this very basic question - but I cannot understand why it does what it does. a = int(input('Enter No. of rows')) for i in ran
I have a local installation of VirtualBox running on my host machine, which is running Windows 10. I am able to start and run a virtual machine of Ubuntu via th
I have a python program that allows users to repeatedly press a key that will create a tkinter window where they can open an image an manipulate it. The problem
I'm trying to get the pixels of an ellipse from an image. For example, I draw an ellipse on a random image (sample geeksforgeeks code): import cv2 path = r'C:\U
I can unzip a url zip file of csvs using the below code: import requests from zipfile import ZipFile from io import BytesIO import pandas as pd z = 'www.someur
I created a sample flask application, I want to connect PostgreSQL database to my project. I installed flask_sqlalchemy. here is my Code from flask import Flask
I recently wrote a program using oop for an online coffee machine: from menu import Menu from coffee_maker import CoffeeMaker from money_machine import MoneyMa
I have project to do in my studies and it is my first project in Python. I must create simply program for bank. With GUI I'm creating an account on classes and
My app runs fine at heroku local but after deployed to Heroku, every time I try to login/register/login as admin, it returns this error shown below. I have trie
When doing a putitem to dynamo it is giving me the following error, the json I am reading from s3. this is the code dictItems = json.load(object_summary.get(
I installed 3.8.7, the dependencies didn't match up with the project I was trying so I uninstalled 3.8.7 and wanted to try 3.8.0. I get this error every time. T