Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

This runs successfully: os.system('pg_dump sdtests > /home/bret/dump.custom') But doing it with subprocess gives an error: command = ['pg_dump', 'sdtests', '>', '/home/bret/dump.custom'] ...
Bret Hess's user avatar
  • 532
0 votes
0 answers
9 views

I am using the python-binance library to place a STOP_MARKET order on Binance Futures. The API call is successful and returns a valid order response with an algoId. However, the order appears in the ...
Emre's user avatar
  • 71
-1 votes
0 answers
15 views

I'm trying to revive an old blender add-on for personal use, all fixes were successful so far, but I stumbled upon this error: for prop in o.id_data.keys(): RuntimeError:IDPropertyGroup changed size ...
larvacode's user avatar
1 vote
2 answers
34 views

I am trying to convert a column of pd.Timestamp objects into a columns of type str where the dates are encoded in ISO format. The class pd.Timestamp has the handy classmethod .isoformat() that does ...
SeF's user avatar
  • 4,309
0 votes
0 answers
35 views

When pandas.read_excel(), df.to_excel(), geopandas.read_file() and gdf.to_file() are called in a certain order in different environments, pd.read_excel() sometimes causes "Kernel has died" ...
Azrael_DD's user avatar
  • 281
0 votes
1 answer
36 views

I have an application that divides the main window in two: Left: a canvas, where a map will be displayed Right: a frame, where several other frames will share space and one of them will be shown ...
Mike Duke's user avatar
  • 235
-1 votes
0 answers
8 views

I’m using Python’s configparser module and I want to wrap it in a small utility class. My goal is not to design a whole configuration system—I only want a clean way to load a .ini file and fetch ...
nithish 876's user avatar
Advice
0 votes
3 replies
108 views

hours = input("Enter hours: ") try: hours = float(hours) except: print('Please enter a valid number') quit() rate = input("Enter rate: ") try: rate = float(rate) ...
Baba's user avatar
  • 1
0 votes
0 answers
17 views

I am creating a tool with GUI using PyQT, so the Qiling emulation is being executed in a QThread object. I am using rootfs sandbox env with the qiling. Now I can create a file before the emulation ...
farhan jatt's user avatar
  • 1,146
-3 votes
1 answer
51 views

I'm having trouble making my Python code generate the correct TOTPs using the test secret key 12345678901234567890, the same one used in the RFC6238 appendix B examples. I was able to get the correct ...
Mayssa Ghanmi's user avatar
0 votes
1 answer
26 views

I am trying to assign a serie of line loads in Plaxis 2D from a Excel table by following steps below: LL_RD = [] Load_RD_NB = [] for i in range(0,12): LL_RD.append(g_i.line(point_I[i], point_I[i+...
Lana Vu's user avatar
-3 votes
0 answers
25 views

I’m using Python’s configparser module and I want to wrap it in a small utility class. My goal is not to design a whole configuration system—I only want a clean way to load a .ini file and fetch ...
nithish 876's user avatar
0 votes
1 answer
48 views

I have an arguably common problem, but I don't seem to find any instruction on the web. I have a 3D Numpy array containing the coordinates of N points: In[1]: import numpy as np In[2]: N = 50 In[3]: ...
Han NotSoSolo's user avatar
Tooling
0 votes
3 replies
48 views

I am a newbie in Python. My assignment requires me to use a graphical interface, and I plan to use tkinter for this purpose. However, I find manually typing code too complicated. Could any expert ...
Yanbing's user avatar
1 vote
1 answer
21 views

I’m trying to install a BLAS-enabled version of llama-cpp-python on WSL so that the GGML library uses OpenBLAS. I attempted two different pip install invocations with CMAKE_ARGS, but the module ...
Kunal Gupta's user avatar

15 30 50 per page
1
2 3 4 5
147288