Skip to main content
0 votes
0 answers
30 views

Using PIL.Image version 7.0.0 with Python 3.8 on Ubuntu 20.04, I face a problem while writing the EXIF data to a new file. I try to use (possibly slightly modified) EXIF-data (i.e. tag 306 "...
Feiler's user avatar
  • 1
Advice
0 votes
0 replies
33 views

While studying up on Laplace expansion for a graphing class I saw code on the wikipedia page for a function that finds the determinant of a matrix using Laplace expansion written in Python (The code ...
Neptunium-Eater's user avatar
-1 votes
0 answers
47 views

I have an app password created by Google Mail (16 characters) trying to send an email through smtp.gmail.com. Here is the Python code am using: def send_html_email(to_email: str, subject: str): &...
Tomas Keri's user avatar
0 votes
0 answers
35 views

I have a Python tkinter app that will create and run a batch file after the tkinter window closes. This works fine as a .py file. However, when I compile the app using pyinstaller as a onefile .exe ...
RJTTAZ's user avatar
  • 75
0 votes
1 answer
51 views

I am trying to get my textbox to take up a majority of the bottom row of my screen, and the scrollbar to take up just the very right side. But currently, my code is causing the textbox and scrollbar ...
Owen Behlke's user avatar
-1 votes
0 answers
42 views

I want to use an image as a tooltip. I don't want text in the tooltip. I want the image to be shown in its entirety in the original size. The image is the same as is already shown in the column. How ...
Clodoaldo Pinto's user avatar
0 votes
0 answers
21 views

Long question with MCVE included. Goal I want to challenge the StaticLiveServerTestCase for multiple user flows. The strategy I will use is: Writting test mixins for business logic mixins in the code ...
jlandercy's user avatar
  • 11.7k
Best practices
0 votes
3 replies
68 views

I am stuck on this for quite some time, and the API guide lines are not helping. I am trying to retrieve impressions, viralImpressions, clicks etc from shares. I have all rights neccessary. I have ...
user32538112's user avatar
4 votes
1 answer
73 views

How to fix these kinks in the norm_pan and norm_tau curves? I tried using a quite high resolution and logarithmic spacing when defining t, but this did not fix the problem. import numpy as np import ...
Márton Horváth's user avatar
1 vote
1 answer
53 views

I'm currently learning to make a Gomoku ai script that uses minimax algorithm along with alpha beta pruning and other methods to improve performance. In this current state, I've implemented a ...
littlesky33's user avatar
0 votes
0 answers
33 views

I’m working on a project where I need to process fingerprint images and convert them into WSQ format. So far, I already have a working script that converts an image into WSQ format. That part is fine. ...
Tariq Hajeer's user avatar
-1 votes
0 answers
51 views

I'm using LangChain's ChatOpenAI.with_structured_output() with gpt-5-mini to classify user intent into a Pydantic model. Intermittently, the model returns malformed JSON — the response starts with a ...
Gevv's user avatar
  • 23
0 votes
0 answers
37 views

i am working on a project of my own which is based on (Nvidia instant NeRF mesh models) im using flutter app for the frontend, the problem that im facing is how do i detect wall collision on mesh ...
Muhammad Zunair's user avatar
0 votes
0 answers
40 views

Recently I faced an issue while reading HDF5 files using h5py-3.16.0 and python=3.10 version on a linux cluster. The data was generated by the same versions but on local macos. Inspecting the datatype ...
souloke sen's user avatar
-2 votes
0 answers
82 views

I have a text with SQL queries from which I want to extract all the SELECT blocks: sql_que = """ select p.value_n, p.enabled from proper p; select p.value_n, p.enabled from ...
senek's user avatar
  • 83

15 30 50 per page
1
2 3 4 5
147165