TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Reverse Engineering PowerPoint's XML to Build a Slide Generator

7 点作者 antonoo3 个月前

1 comment

gwbas1c3 个月前
&gt; I searched everywhere, but there wasn’t a single library that had all the functionality I needed. I ended up going with python-pptx, since it seemed to be the best of imperfect options. As you can guess from the name, it’s a Python library. It was a bit inconvenient to integrate with the existing typescript stack, but it was worth the effort. At Listen, we believe in using the best tool for a task instead of sticking with one language just for the sake of i<p>I find that calling a library in a different language can often be more effort than it&#x27;s worth; in many cases the effort needed for a cross-language integration can take a lot more time than just accepting the limitations of the tools available in your language. Other times, it&#x27;s easier to choose the language based on tool availability.<p>IE, once I used IKVM (a C# tool that converts .jars to .Net dlls) to call Rhino, a Javascript interpreter, because there weren&#x27;t good Javascript interpreters in .Net. That turned out to be flakey, so then I tried running Javascript in a 2nd process, where the 2nd process was Java. That also turned out to be flakey, because there were some corner cases in my interprocess communication library.