Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
17 views

I am trying to build wxPython in a virtual environment. Debian 13 does not come with Python 3.14. I have installed Python 3.14 in a virtual environment. I have installed the dependencies and it seems ...
Richard Crossley's user avatar
0 votes
1 answer
20 views

I am scraping Facebook Ads Library using Playwright (Python) and intercepting GraphQL responses via page.on("response"). The problem is that my interceptor does NOT capture ads from the ...
Nikita Kliuchnyk's user avatar
-4 votes
1 answer
23 views

I face the error above when trying to run any Python code on VSC; it might be because my computer has the "KidSafe" program on it ("KidSafe" is the literal name). If it really is, ...
Trần Thị Mỹ Huyền's user avatar
0 votes
2 answers
29 views

I am using jupyter notebook and numpy with the intention of making a program that orthonormalizes any given base following the Gram-Schmidt method for linear algebra. Why doesn't the np.dot() method ...
good day's user avatar
0 votes
0 answers
19 views

I am developing a frameless window using QML and Python 3.13.8, PySide6 and QtQuick. I work on macOs Sequoia 15.2. I want the borders of the content area to be shifted from the main window so I add ...
M-T's user avatar
  • 296
-3 votes
0 answers
25 views

I need help with a problem I have with a Tetris game I'm making, The blocks of the Tetris Pieces are pixels away from each other, making it look like a single square. The Pieces are essentially ...
Souless Person Who Has No Life's user avatar
-3 votes
0 answers
36 views

Just spent a few hours debugging a frustrating pytest-cov issue and wanted to share what I found, since I couldn't find this specific case documented anywhere. Running pytest tests/ --cov=mypackage ...
Arthur Alves Martins's user avatar
Advice
3 votes
1 replies
37 views

I'm trying to re-shape a rather large array of encoded data efficiently. The original array (orig_array) is encoded using thermometer encoding (enc_array) import numpy as np from numpy.lib....
carpediem's user avatar
  • 491
0 votes
0 answers
25 views

I need to use some Hugging Face AI agents: Text-To-Video and Text-To-Music, Speech. Then my project will be ready and I will host it 24/7 using Render. Ok, now about Hugging Face: I already knew about ...
Daniel's user avatar
  • 1
-1 votes
1 answer
79 views

I have the following recursive Python function. The goal is to return the index of the first occurrence of it in the list. Is it possible to fix this code within a maximum of 12 edits? def index_of(it,...
user32086462's user avatar
-3 votes
0 answers
35 views

I created a class that inherits from the pygame.sprite.Sprite class. In the init() method i create a rect and set its position. I have another method(set_pos()) where i also set the position of the ...
Buff_Tauntauns's user avatar
0 votes
0 answers
17 views

I am working on a binary image classification task using TensorFlow/Keras (TensorFlow version: 2.19.0). My model architecture is a multimodal setup with two input branches (CT and PET scans), and its ...
Moyo Adeyefa's user avatar
2 votes
2 answers
42 views

If I have /www/code/foo.py and /www/code/bar.py, where foo.py contains from . import bar, I can do the following to dynamically load and execute foo.py path = '/www/code/foo.py' spec = importlib.util....
Bean Taxi's user avatar
  • 1,299
-7 votes
1 answer
88 views

I'm just use for this logo in two sum numbers program but are not work for this used in --> this are not to work but I'm using a self how it works are you explain for this question? class ListNode: ...
Shaikh Tashif's user avatar
-4 votes
0 answers
49 views

I’m working on a project in Python 3.10, and after experiencing heavy CPU throttling, I realised that all computations are running on the CPU instead of the GPU. I’ve attempted to enable GPU ...
Mihir Kanani's user avatar

15 30 50 per page
1
2 3 4 5
147268