Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import a local python file as a module #4

Open
jf--- opened this issue Jul 6, 2024 · 1 comment
Open

Import a local python file as a module #4

jf--- opened this issue Jul 6, 2024 · 1 comment

Comments

@jf---
Copy link

jf--- commented Jul 6, 2024

More of a question then an issue: is it possible to invoke py.call on a Python file in a local folder vs compiling inlined Python code?

@peng1999
Copy link
Owner

You can import a local file using typst's read function and then compile it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants