Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [python-3.x]

DO NOT USE UNLESS YOUR QUESTION IS FOR PYTHON 3 ONLY. Always use alongside the standard [python] tag.

python-3.x
0 votes
0 answers
3 views

Update Onprem oracle table from aws glue python shell using oracledb

I have a usecase that needs to update an onprem table using the aws glue python shell. Please note i want to use cx_oracle in thick mode I have installed the oracledb I dba has set up a jdbc url to ...
Data girl's user avatar
  • 165
0 votes
0 answers
16 views

Problem with circular Relashionship in async SQLAlchemy

I have the following sqlalchemy structure for some objects: from typing import Optional from sqlalchemy import ForeignKey, Integer from sqlalchemy.orm import DeclarativeBase, mapped_column, ...
0 votes
0 answers
11 views

Using pymongo installed via virtualenv and Ansible returns an error

Since it's good practice to install pip modules in virtual environment, I have the following task in place: - name: Install python packages ansible.builtin.pip: name: - pymongo ...
matteo-g's user avatar
  • 329
0 votes
0 answers
6 views

Unable to debug Azure Function App deployment failure

I'm getting a weird bug for a Azure function app deployment. I'm not getting any error message so I don't know where the problem is. I suspect that the problem has something to do with the ...
Phoenix Liu's user avatar
-2 votes
0 answers
18 views

Organization of processes [closed]

I am new to Python development. My project has two Python scripts. One is responsible for processing requests from the user. The second is responsible for executing a scheduled task. Both run on a ...
tengentoppa's user avatar
0 votes
0 answers
13 views

problems with telegram bot

async def tasks_menu(update: Update, context: CallbackContext): telegram_id = update.message.from_user.id user = get_user(telegram_id) if not user: await update.message.reply_text(&...
truewalker's user avatar
0 votes
0 answers
10 views

Cache requests content to avoid redownloading

I have a function that fetches a large amount of data (around 20 MB) from the server. I want to cache r.content to avoid re-downloading it over and over again, at least until the max-age of the server....
sjko5's user avatar
  • 103
0 votes
0 answers
12 views

Elements in chrome browser are not clickable when opened with selenium, unless I leave the browser displayed

I am try to get get data from a site using selenium webdriver. Everything works well when I leave the browser opened/displayed on the screen, but when I minimise the browser tabs, nothing is clickable,...
Godsfavour's user avatar
0 votes
3 answers
31 views

How to call a number from a multi-dimensional complex list

I'm trying to make a sophisticated quiz that involves a list for a question and an answer that is included in a list. I want to call numbers from this multi-dimensional list using a "for" ...
Breadification's user avatar
-3 votes
1 answer
9 views

How can I upload a CSV file from a local folder to a specific folder within an S3 bucket using Python?

If I have a CSV file stored in a specific local folder, how can I upload it to a specific folder within an S3 bucket using Python?
Buddhadeb Mondal's user avatar
0 votes
1 answer
29 views

Can't scrape all the data from a lazy-loading table using Selenium

I'm trying to scrape three fields (player, logo, dkprice) from a table located in the middle of a webpage. To see all the data in that table, it is necessary to scroll down to the bottom of it. I've ...
SMTH's user avatar
  • 187
0 votes
0 answers
41 views

Why data that are being written to excel are not starting from the 'A' column?

I'm using pandas to copy data from one excel to another and the data are being copied just not at the right place. I have this function that reads the data: def updated_file(self, progress_bar): ...
Jugert Mucoimaj's user avatar
0 votes
0 answers
23 views

The model(DecisionTreeClassifier) gives wrong results

I'm taking a machine learning course with an assignment to implement a fit method for DecisionTreeClassifier. Here's my code: import numpy as np import pandas as pd class MyTreeClf: def __init__(...
Kibar Jafarguliyev's user avatar
-1 votes
0 answers
17 views

How can I fix "Control must be added to the page first." Error in flet?

I am trying to make a janggi(chess variant) game using flet. As I have to use the board in multiple places, I made a class called janggiBoard which inherits from ft.Stack. I wanted to use drag and ...
limbaksa's user avatar
0 votes
0 answers
5 views

Python script to download a file from sharepoint which is MS Authentication enabled

I need to download a file from a sharepoint which is MSA enabled.Only when i enter credentials and pass through MS authentication, i am able to view that sharepoint link and download that file. ...
snehapriya katikala's user avatar

15 30 50 per page
1
2 3 4 5
22890