JuliaPy / JuliaPy/PythonCall.jl
[docs][PythonCall] document syntax for "from ... import ..."
- Lenguaje dominante
- Julia
- Estrellas
- 1.1k
- Forks
- 86
- Merge medio
- 1 d 22 h
- PR fusionados (30 d)
- 3
Descripción
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?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- julia, python
- Área
- documentation
- Tipo de issue
- Documentación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100