2,207,362 questions
0
votes
1
answer
31
views
Trying to import numpy inside custom library
i have working on ipynb file, and in a cell i calling custom method from my custom library called mymodule. That method calling np.polyfit() which are import in first line of mymodule import numpy as ...
0
votes
1
answer
27
views
Camera with Isaac Sim 5.1
I have created an USD file with camera and other object.
I also used BasicWriter to write the current image seen from the camera to the disk.
It seeem that there is no way to grab the image seen from ...
-3
votes
1
answer
72
views
Automate the Boring Stuff with Python Chapter 4 Collatz Sequence
Just started learning Python and would like some clarity about why this specific code I made for this problem doesn't work but this other code does. I'm having issues understanding how the code is ...
0
votes
0
answers
28
views
Handling Unexpected Disconnects in DLMS
I am using the Gurux DLMS pyton client inside a Kubernetes pod to connect to a DLMS meter using HLS SHA256 authentication.
The client is able to successfully establish a connection and read data from ...
1
vote
1
answer
53
views
Exceeded max user connections in python / flask / mysql
I am trying to run a Python / Flask / MySQL app but whenever I try to run it (using the command "python -m flask run"), it gives me this error:
mysql.connector.errors.ProgrammingError: 1226 ...
-5
votes
0
answers
38
views
How Can I Split Python Files [duplicate]
I’m working on a Python project and would like to organize my code by splitting it into multiple files. What is the easiest and most effective way to do this? Specifically, how should I structure the ...
Advice
1
vote
3
replies
126
views
Recommendation of material, YouTube channel etc for dentist loving computer science?
I just start to dive in the world of programming. I'm in love with it and would be very nice to have some advice from you guys. I'm a dentist and I do love it, but still I love computer science. So, ...
-1
votes
0
answers
67
views
Client to Socket streaming using OpenCV with C++ and python [closed]
So, I have this "discord" copy that i made as training, now you cant flex on fiends if you cant even stream, lol, but I cant get this to work, the server is just a simple python script (it ...
1
vote
2
answers
46
views
Flask redirect causes session details not modified
I am building a simple shopping cart using cookie sessions to keep track on the content of the shopping cart.
I just added a function that would remove single item from the list of items. But I ran ...
-1
votes
0
answers
36
views
Using the pyarrow library in Python [closed]
I’ve installed pyarrow (23.0.1) and using Python 3.13.7 but getting the following error in my code
File pyarrow/error.pxi:92, in pyarrow.lib check_status() Could not get source, probably due ...
0
votes
0
answers
36
views
File metadata column with Blob Service Client
I need to get the last modified value from a blob that has delta table with json data.
Databricks has an option to return the matadata from a delta file with **metadata_file_modification_time, (**...
0
votes
0
answers
34
views
Custom PyEnvironment time_step and time_step_spec do not match
I'm creating a custom PyEnvironment in TensorFlow Agents to simulate the track and field decathlon. I've managed to create a functioning environment in the sense that I can use _step and _reset, but ...
0
votes
0
answers
43
views
Problem printing an image on a zebra printer
I wrote a Python application for printing various stickers. I'm having a problem with my img mode. The application, running locally, prints images without any problems. The printer is connected to a ...
3
votes
1
answer
96
views
Pandas IndexError: DataFrame indexer is not allowed for .iloc
I'm trying to plot actual vs predicted values using matplotlib.
Here is my code:
import pandas as pd
import matplotlib.pyplot as plt
from sklearn.model_selection import train_test_split
from sklearn....
-7
votes
0
answers
92
views
Tkinter Language format [closed]
Now that currently on development of personal project that I use python to do it and use tkinter as ui designs
The problem is the language I use to input the data to the database keep appearing ????? ...