在i中使用python库

2024-09-30 04:30:46 发布

您现在位置:Python中文网/ 问答频道 /正文

我想使用iOS中的python库https://github.com/yann2192/pyelliptic来加密/解密。在

我浏览了以下帖子:

Is that possible to run a python built program on iOS as a static lib?

Embedding Python in an iPhone app

但没有找到运气。在

有办法吗?在


Tags: torunhttpsgithubcomthatison
1条回答
网友
1楼 · 发布于 2024-09-30 04:30:46

我在iPad上使用pythonista,与python2.7兼容的库完美地工作。如果要使用的库仅依赖于标准库(也支持numpy和matplotlib),则很容易(也可以解决对其他库的依赖性,但需要更多的工作)。简单地说,您需要将计划脚本中的库源代码复制/粘贴到pythonista中,然后可以从同样在pythonista中运行的脚本导入它。 我确信还有其他软件也能做到这一点,但我只有一个经验。在

相关问题 更多 >

    热门问题