from PIL import Image, ImageSequence import PIL GIF_PATH = Image.open(r"C:\Users\me_\My\Filw\Path.gif") IMAGE_PATH = Image.open(r"base.png") frames = [] for fr
I have an issue with this code: from netmiko import ConnectHandler from re import search lsite=[] try: NetworkDevice = { "host" : "ip", "u
I'm getting UnicodeEncodeError: 'charmap' codec can't encode character '\u200b' in position 756: character maps to error while running this code:: from bs4 imp
This is my try, it actually put the first and seconds groups of 3 digits between parenthesis while I only need to put the first group only between parenthesis
I'm up with python 3.8 and selenium but recently I downloaded the latest edge web driver zip file and runned the mswdedriver.exe from that and typed this code i
im studying coding in bugaria in highschool. Im in 8th grade, and were studying python and processing. Since the end of this schoolyear is near, our python tea
Im very new to flask and im trying to convert a python tkinter gui app to web. As you can understand i have all the functions made so it would be great if a cou
How can I get size of file while downloading it in Python so that I can show downloaded size and pending size of file to download? if file size is 2GB and 700mb
Below file runs successfully when run direct on the console, but give an error: No module named 'gspread' on server import gspread from oauth2client.service_acc
I'm programming a Telegram bot in python with the python-telegram-bot library for python3.x It's a bot for private use only (me and some relatives), so I would
pip install indicates that the nitime package was successfully installed but it is not. Why is this? $ pip3 install nitime Defaulting to user installation becau
I have products CSV file and I am trying to read this file with pandas python but i get this error my code import pandas as pd df = pd.read_csv('D:\\work\\am
Though this question has already been asked, but I am unable to implement that. I don't know how get the xticks for each subplot and then replace it with the ne
Though this question has already been asked, but I am unable to implement that. I don't know how get the xticks for each subplot and then replace it with the ne
Not sure if this helps but I couldn't run "python3 -m pip install --user pipx" and "python3 -m pipx ensurepath". Instead of "python3" I just used "python" and a
I have a question about how to correctly import module in python unit test module. this is my directory structure project - | _ Libra
I have plotted two line plots. For Y-axis as the number of values are less, the Y-axis is clearly visible. However, for X-axis there are 365 values correspondin
I am new to programming. I am trying to have my discord bot open up command prompt to confirm it can run, but I am getting this error: File "C:\Users\---\Ap
I need to compute a list with the mean values of another list. To be more precise, the input list have this form: input_list = ['1.538075/42.507325', '1.53796
I installed Python on Windows 11 normally after getting the setup from python.org but, by mistake, I deleted the partition Python was installed in (it was E dri