JuliaPy / JuliaPy/PythonCall.jl
[docs][PythonCall] document syntax for "from ... import ..."
- Ngôn ngữ chính
- Julia
- Star
- 1.1k
- Fork
- 86
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 3
Mô tả
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?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- julia, python
- Lĩnh vực
- documentation
- Loại issue
- Tài liệu
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100