775 questions
Tooling
1 vote
3 replies
97 views
Convert complex pdf to an excel
I'm currently searching for a solution to read a pdf and convert it to an excel. For now I found the "tabula-py" library, which seems to be good. But I'm not quite sure because the pdf has ...
0 votes
1 answer
104 views
transforming .md files into json based on a template
i'm searching for a way to replicate a specific json template in python that looks like this : { "conversations": { "0": [ { "from": "human",...
0 votes
1 answer
194 views
How do you convert a .cif file to a .mol file?
I've been working with AlphaFold 3 on a Linux HPC, and I've been trying to use Posebusters to evaluate the results of AlphaFold 3 by comparing the predicted structures with the ground truth structures ...
0 votes
0 answers
59 views
GLB to USD conversion: color is not converted and visible
I am trying to convert a .glb file to an USD in order to use RealityKit. I have to textured models which works well, but when I try a simple model with color only, I get some issues. When I try to ...
-1 votes
1 answer
107 views
Batch Convert all .MOV in a directory to mp4s
Just downloaded a whole bunch of videos from my phone to desktop. How to convert all the .MOV files in a directory to mp4s quickly, using ffmpeg.
0 votes
1 answer
102 views
How to suppress popup dialog box when converting pdf to docx using pywin32
I'm running a python script on a windows laptop to convert some sample pdf files to docx. However, for each file, a dialog box pops up that prompts me to click OK when the script tries to convert said ...
0 votes
0 answers
54 views
How to convert .dimacs file to g6 with python
I would like to convert all my .dimacs graphs to .g6. I wrote a Python script to do this, but when I open my graph.g6, I realize that the string is not in the correct format. How can I properly ...
0 votes
0 answers
44 views
Why does Pandoc add "\[" tags to Markdown?
I'm using Pandoc to convert LaTeX to Markdown. The conversion is great, except Pandoc adds "[" and "]" all over (example below). How can I stop that? 1. \[ \] **a heading ...
0 votes
0 answers
65 views
Extracting coordinates from ANSYS .inp file in Python
I'm working on a project that involves manipulating node coordinates from an ANSYS .inp file. I'm trying to extract the node coordinates, modify them (e.g., multiply the z-coordinate by 1.5), and then ...
1 vote
0 answers
116 views
Google Sheets 'Image in Cell' when converting to xlsx
So google sheets 'Image in Cell' option is awesome for organizing and stuff, but when I convert my sheet to xlsx and download it, it comes out of the cell and is larger (opening in numbers or ...
0 votes
0 answers
28 views
How to deal with Pop-Ups during doc to docx/xls to xlsx conversions using win32
While converting a large number of old MS office documents, Pop-Ups asking for document passwords, permission to save a file without macros, or hinting that files contain comments or revisions occur ...
-2 votes
1 answer
286 views
How to convert image to EPL code correctly?
Hi i want to parse image to EPL code to print it on Zebra thermal printer using C# This is epl output i got from simplest image of text in white background N GW0,0,34,1,...
2 votes
2 answers
279 views
Converting py to exe - module not found PySide6
I try to convert my .py scripts (using PySide6 to create an interface - the script is working great on VisualStudioCode) in an .exe using auto_py_to_exe and because it didn't work multiple times I ...
0 votes
0 answers
379 views
Convert wav to mulaw in Python
I'm opening a wav file and attempting to convert it into mulaw unsuccessfully. The mulaw is then sent to Twilio to play. The code is as follows: with wave.open('audio/test.wav', 'rb') as wav: ...
4 votes
3 answers
3k views
HTML to image html2image doesn't save files
My main goal is to save pandas dataframe with html and scc styles as image. I'm having problems imgkit so I tried html2image. And it worked for me. But a few days later the same code doesn't do ...