JuliaPy / JuliaPy/PythonCall.jl
[docs][PythonCall] document syntax for "from ... import ..."
未关闭
- 主要语言
- Julia
- 星标
- 1.1k
- 派生
- 86
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 3
描述
It took me some digging through the issues to discover that the python import
```python
from x import f as g
```
can be translated in julia to
```julia
using PythonCall
@py import x: f as g
```
Can this be added to the PythonCall's guide in the documentation?
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start with the PythonCall guide in the documentation and find the section covering Python imports. Add the documented Julia syntax for translating “from ... import ...” with an alias, using the example from the issue; the guide should clearly show the equivalent Python and Julia forms.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- julia, python
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100