Questions tagged [python-3.x]
I have the below as an entry point to an azure function app, when I open postman and send a post to this function app I'm getting this error. [Error] Executed 'Functions.http_trigger_from_vrli' (Failed, The error is not remotely useful
Continue reading →Is it possible to compare a set to multiple sets with a for loop? I want to create a function that will allow any number of sets to compare. ex1 = {'a','b','c'} ex2 = {'a','b','c','d'} ex3 = {'a','b','c','d','e'} list_of_sets = [ex1,ex2
Continue reading →when i try installing chatterbot i get this error here is the link to the error: https://gist.github.com/SusgUY446/c2c2ae5a1c07aacb0191c35e34d0d0aa cant they remove the minimum characters? either it to much or not enough. cant they remov
Continue reading →Any help would be really appreciated Input: /root/2/1/2 Expected Output: ['/root/2/1/2', 'root/2/1', 'root/2', '/root'] Thanks
Continue reading →Python packages vary in terms of their compatibility with different Python versions and platforms. For example, in the case of "cffi" packages on PyPI, you can find approximately 51 distinct packages tailored for various Python versions
Continue reading →sas_url = 'https://telemetria2023.blob.core.windows.net/geolocalizacao/edbaa694-0988-4b38-b45f-10835fc2272f/29/2023/11/02/22/30/66jaxcmrz4gwy' geo = pd.read_json(sas_url) geo = pd.DataFrame.from_dict(geo) geo[["alt", "lat", "lon"]] = (g
Continue reading →I have a function x as shown below that takes two numpy arrays as the input and I want to get back a boolean value upon some computation. import numpy as np def x(a,b): print(a) print(b) # Some computation... return bool
Continue reading →Let's say I have a Flask app, and Flask being a micro web framework, I turned to datatables to render my tables (with jquery of course). Now my template are the following: base.html (base template for all other templates) index.html othe
Continue reading →from bs4 import BeautifulSoup raw_text = """ Description Dryer is not working. Please have someone take a look at it """ soup = BeautifulSoup(raw_text,"html.parser") work_order_no = soup.find(
Continue reading →i am a mathematician and i tried to learn the basics of Python. I succeed in creating correct code (in SageMath online), but i faced a problem when i increased the number of iterations, the code didn't give a result. The code is working
Continue reading →python program for adding numbers in the list and must able to update an inputted number, and then display the updated number in the list and again add the updated number in list program must ask the user whether want to update the list
Continue reading →Question: I'm working on a Python3 script where I have the following equation: y = (s * (s**2 - x) * m - 3 * ((s**2 - x) * m) ** 2 * pow(2 * s, -1, p) - s * x) % p In this equation, I know the values of y, x, m, and p, but I need to sol
Continue reading →I have tried installing scikit-surprise using the following command conda install -c conda-forge scikit-surprise But when running the import on my jupyter notebook from surprise import Dataset I get the following error ModuleNotFoundEr
Continue reading →I searched but can't find anything. Seleniumwire is'not working. Any option that I can use proxy with username and password on Python selenium for Firefox browser.Please don't write solitions for working Chrome brwoser, only need for Fir
Continue reading →Using the tutorial by Patrick von Platen (https://huggingface.co/blog/fine-tune-xlsr-wav2vec2), I managed to fine-tune Wav2Vec2 for annotated audio datasets in a supervised manner. I now have a custom dataset which only consists of unann
Continue reading →