Have a web app developed in Python with the Streamlit framework. Deploying as an Azure app service. Authentication to the app is via AAD. I'm unable to get deta
I have a batch file that I use to run my jupyter lab. file.bat call <anaconda_dir>\Scripts\activate.bat rasa_ai_conda jupyter lab conda deactivate call co
So, I've been trying to make a macro for a game on Roblox and sometimes the inputs don't actually work? Why does this happen? I've tried this in pydirectinput,
I am trying to import shap. I am getting the following bug. I installed the lower version of NumPy still the problem is not solved. Thank you! import shap Im
I want to make 5 buttons in a loop, and for each buttons bind a commend to print the index. In the following solution it always prints the same index. My code
Using selenium I have a code that determines if an item is 'in stock' or 'out of stock'. The code can detect once an 'out of stock' item becomes 'in stock'. Usi
So I'm trying to test an endpoint in flask that I need to call multiple times in one test. The issue I am having is that on the second request the objects I pla
So i am currently trying to make something that will print . and remove it then print .. and also remove it then print ... When i tried using sys module to remo
I am trying to make a simple autoclicker, I want it so that if i press a command key, ('a' for example), it will hold down the down arrow for 10 seconds, then t
import requests from geopy.geocoders import Nominatim import streamlit as st import numpy as np import pandas as pd import random, string print('ville :') code
I'm trying to write a python program to calculate the shaded area of the circle in this picture: [![enter image description here][1]][1] Here is the input and o
I have written an API on FastAPI with filename api.py: from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Username(BaseMode
I am trying to scrape accounts which are similar/related to a given account in instagram. Querying URLS: https://www.instagram.com/{username}/?_a=1 doesn't prov
I want to turn a Python list of objects into a numpy array of objects for easier manipulation of the list, e.g. index slicing, etc. However, numpy coerces list-
I just run this code in one cell, but it don't work. %config Completer.use_jedi = False
I have a C++ application that runs on Python 2.7, today I decided to upgrade to Python 3.9 but ever since then I've been getting the following error in visual s
I have a teams app running on a standalone server with an AzureBot setup for message extensions on the app. I've got a class implementing message handling exten
I have the following dataframe: import pandas as pd import numpy as np from numpy import rec, nan df1=pd.DataFrame.from_records(rec.array([(202001L, 2020L, 'app
I am trying to establish a connection with an SFTP with paramiko. I was able to generate the known_hosts file in my local system by using ssh my.domain.com The
#here I want to define the self.__tree but I am not sure how to do so, how would I create the tree? oijh0ij0ihoihihoihou