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

I’m working with several Raman spectroscopy data files that use a proprietary binary format with the extension .jws. The original software that could read these files is no longer available, and there ...
KeDo 2517's user avatar
-5 votes
0 answers
39 views

re.search( r"(\d{1,4}[^\d:]{1,2}\d{1,4}[^\d:]{1,2}\d{1,4} | \w{3,10}.{,6}\d{4})", 'abc2024-07-08' ) Why does this regex extract the second pattern, "abc2024", not "...
Fuad Ak's user avatar
  • 148
-5 votes
0 answers
40 views

I am new to programming, and I am trying to start a project on cleaning my CSV file into different formats that I want. How should I go about doing that, and what resources can I use to do it?
CoderJer's user avatar
1 vote
2 answers
35 views

I want that when I upload a file, the label changes its name to file name to filename name. #File class class File: def __init__(self): self.filename = None def getFile(self): ...
v0id0100's user avatar
1 vote
0 answers
39 views

I’m using GridDB Cloud with the Python client (griddb_python) and found a reproducible issue where executing multiple sequential queries on a TimeSeries container causes the second query to return ...
VIK's user avatar
  • 66
2 votes
1 answer
51 views

I am looking for the nearest non exact match on the dates column: import polars as pl df = pl.from_repr(""" ┌─────┬────────────┐ │ uid ┆ dates │ │ --- ┆ --- │ │ i64 ┆ date ...
rainerpf's user avatar
-3 votes
0 answers
36 views

I want to enhance the following Python code so that it can print the transcript completely, and without extra spaces. def parse_item(self, response): # Getting the article box that ...
Mo Bilal's user avatar
Advice
0 votes
0 replies
13 views

Similar to How can I list all tags for a Docker image on a remote registry? but I am asking specifically how to do it using existing Docker credentials (i.e. I already did docker login private.repo) ...
Archimedes Trajano's user avatar
Best practices
1 vote
1 replies
23 views

How can I treat a file when the client imports a local file as a variable and using it later? def getFile(): return filedialog.askopenfilename() from operation.encryption import getFile ...
v0id0100's user avatar
-2 votes
0 answers
36 views

I maintain a large scientific Python application that uses several third-party modules like PyQtGraph (for plotting) and PyMeasure (for instrument control). I frequently need to add small custom ...
Dawid Maślanka's user avatar
0 votes
0 answers
29 views

I'm working on a crawler in Python that takes an e-commerce sitemap and classifies each URL into a page type, for example: home product product_category product_tag brand post static_page ...
Tasos Paraskevakis's user avatar
Advice
0 votes
1 replies
41 views

It would be nice if there were an easy way to define separate session expiry time for the admin area of a django website. So, admin users could log themselves into the "normal" website (seen ...
ventolin's user avatar
  • 2,997
1 vote
1 answer
34 views

Using o3-deep-research, I need strictly structured JSON for a research report with fixed keys and nested values. The keys are set, value structures are set, but ideally the LLM would be able to choose ...
Benedict Summers's user avatar
Advice
1 vote
3 replies
44 views

I want to implement in python some algorithms from a paper that allow for a pre-trained neural network to be modified (adding or removing neurons or layers) conserving (theoretically) the outputs of ...
Rubén Sales Castellar's user avatar
-3 votes
0 answers
24 views

I'm new to coding. I'm in VS Code, working with geopandas, leaflet, etc. I'm using the .explore() method to show interactive maps. Sometimes, after I run the .explore() method, the output tells me I ...
George Weiss's user avatar
-3 votes
0 answers
36 views

I want to build a program where a user can input any text they want to study. While reading, the user can select certain words. Each selected word should be stored in a dictionary or list. Later, when ...
alinader1371's user avatar
Advice
0 votes
6 replies
77 views

I've installed a package from a cloned repository, in "editable" mode (pip install -e .). I can't import the package in a script in the virtual environment where the package in installed (...
Cutter's user avatar
  • 1,852