JuliaPy / JuliaPy/PythonCall.jl
Multi-line seval() in JuliaCall?
Đang mở
question
- 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ả
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?
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
Đánh giá
Issue này chưa được đánh giá.