JuliaPy / JuliaPy/PythonCall.jl
Multi-line seval() in JuliaCall?
Aperta
question
- Lingua principale
- Julia
- Stelle
- 1.1k
- Fork
- 86
- Merge medio
- 1g 22h
- PR unite (30g)
- 3
Descrizione
Hi, I want to run Julia script from Python code.
The only way I know how to achieve this is by:
```
with open("my_cuda_script.jl") as f:
jl_code_lines = f.readlines()
for line in jl_code_lines:
out = jl.seval(line)
print(out)
```
Clearly, this is not an ideal setup and likely adds unnecessary overhead.
How can I run the whole script, or more generally Julia code string with many lines, all at once?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.