771 questions
3
votes
1
answer
64
views
HandbrakeCLI can't find files when run from Python
I've got a bunch of uncompressed MKVs on a media server that I would like to compress to HEVC. Being a lazy person, I thought I would write a script to do this, instead of manually converting hundreds ...
Tooling
0
votes
1
replies
84
views
Python libraries or APIs for high-quality raster image to CorelDRAW (.cdr) conversion?
I am currently working on a Python project using the tools listed below:
import os
import sys
import argparse
import subprocess
import gradio as gr
import requests
import re
from typing import Tuple, ...
Tooling
1
vote
3
replies
108
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 ...
-1
votes
1
answer
160
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
260
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
78
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
218
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
128
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
63
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
48
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
82
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
147
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 ...
-2
votes
1
answer
361
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
365
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
427
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:
...