776 questions
Tooling
1
vote
3
replies
92
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
182
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 ...
-1
votes
1
answer
106
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
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
62
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 ...
0
votes
0
answers
23
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
2
answers
265
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 ...
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 ...
0
votes
0
answers
81
views
Convert SVG into PNG using batik
I'm trying to convert an SVG that I have in my program as a String into a PNG using the Batik library, but I'm facing the problem that one path that contains the style transform-origin is not in the ...
1
vote
0
answers
320
views
How can one convert a .mlpackage Core ML model to a .mlmodel Core ML model?
How can one convert a .mlpackage model to a .mlmodel model?
Example of a .mlpackage Core ML model created on Ubuntu 20.04 (tested with Python 3.10 and torch 2.3.1) with Hugging Face's Exporters lib:
...
0
votes
0
answers
56
views
InDesign doc to HTML doc conversion
Due to some reasons, we want to convert InDesign documents to responsive and accessible HTML. If we do manually, it would be very time consuming and costly as well. We want to automate or semi-...
0
votes
0
answers
46
views
PHP MP4.to API usage
I am trying to convert an av1 file to mp4, however, i cannot seem to get it to work.
I am using an apache2 webserver to serve the php file.
Here is the documentation link.
Here is my code:
<?php
...
-1
votes
1
answer
56
views
ImageMagick: shaded colors become total black [closed]
I need to convert a pdf file containing only one image to a .jpeg or .png format using ImageMagick.
This is the image. Original PDF file: https://file.io/WMEsCGtbodwz
Using the command line
convert -...
-1
votes
1
answer
429
views
When usg ffmpeg to convert from .mp4 to .avi, how do I get the .avi files to contain the correct (trimmed) frames from the .mp4?
I am using ffmpeg to convert a batch of .mp4 videos to the .avi format from the command line. The .mp4 videos are all trimmed videos that are sub-videos of a longer video. I have basically segmented ...
-2
votes
1
answer
392
views
Convert PCAP to CSV
I have 82 .pcap files and I need to convert all of them into .csv format. Is there any way that I can convert all of the files together?
The way I could find was using WireShark but using that I’ll ...
0
votes
0
answers
133
views
Save Jupyter notebook as a functional custom-format / single-page PDF
The Jupyter ecosystem offers different ways to create a PDF, however, none suits me well so far – either because the process is buggy, because not all features are supported, or because it looks ...
0
votes
2
answers
868
views
How to convert from netcdf4 format back to netcdf/netcdf3? Ocean Current files
My company is using RPS Oilmap software to accurately model, simulate, and mitigate the impact of oil spills on marine and coastal environments. This software reads from current and wind data files in ...
0
votes
0
answers
457
views
Unable to debug (potential) issues with "pyheif" or "libheif" libraries or in my script to convert heic files -> png
wrote python script to convert a .heic image into .png to practise some coding
Step 1. Created the script
Step 2. Updated library to python3
Step 3. Ensured the installed Pyheif library is latest
Step ...
1
vote
1
answer
91
views
Iterating through a folder and converting all text files to csv files Error
I ran a Powershell code that outputted a bunch of text files.
The text files look like this:
This is my aText.txt
Clark Kent
Dolly Parten
Charlie Brown
Gary Numan
It's just text files ...
0
votes
2
answers
49
views
Parse latex macro trough sed
General overview
The goal is to match the content of all \foo occurrences to transform it into <p>content of \foo</p>.
The details
The goal is to match some LaTeX macro’s content from it ...
0
votes
1
answer
767
views
Can't import .dta file with either Python or R
I am trying to read a Stata .dta file into either python or R so that I can work with it and it is giving me a version error in Python and R . I was wondering how I could resolve this.
Here is my code:...
0
votes
0
answers
352
views
Converting .html file to .csv file but .html file contains logs and it has nested tables
I am trying to convert a .html file which contains logs in tabular form and it has nested tables.
i am converting it to .csv file.
one column has error report and it as new table inside that column. i ...
1
vote
0
answers
75
views
Is there a way to convert an .xml file into .textgrid?
I have time stamped transcripts with 2 different speakers in .xml (created as Adobe Premiere XML file). I would like to turn this into a two-tiered textgrid to work with in Praat, with one speaker in ...
0
votes
0
answers
67
views
Retaining Audio in Audio Files in Matlab
I’m trying to read a collection of audio files - recordings of people talking - into MATLAB. The files are in WebM format. When I try to read these files into MATLAB using the audioread() function, ...
1
vote
0
answers
1k
views
Convert rtf to html, keep colors
I need to convert a bunch of RTF files to HTML keeping the same formatting as possible
So I tried that python script that converts all rtf files from a folder to its html variants:
from glob import ...