Skip to content

Add ij.run_script signature that takes file paths #318

Open
@hinerm

Description

@hinerm

Instead of taking the full script text and language, we could just accept a fully qualified path, discern the language from the extension, and do

with open(script_path, "r") as f:
    script = "".join(f.readlines())

to avoid this boilerplate that is kind of annoying and feels unnecessary

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions