Skip to content

Evalyadam/Py-Read-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

db68fcc · Jun 1, 2024

History

7 Commits
Mar 24, 2024
Jun 1, 2024
Mar 23, 2024

Repository files navigation

Description

This is Py Read Script, an alternative to DLL's. Its readable, with Python code in a .pyreadscript file. Error handling is like normal python, and shows the line, error message, and error code.

How to Use

pyreadscript()

You will put the pyreadscript.py file in the same directory as your project and import it, by adding in the file: import pyreadscript as prs Now, to call a function, you use prs.pyreadscript(filename).

printfilecontents()

There is another function called printfilecontents(filename), this one prints the file contents of a .pyreadscript file. and could be moved to another extension. (eg. .pyscriptcontents.)

to call it you use prs.printfilecontents(filename), replace filename with your actual script name.

About

An alternative to DLL's. Simple, fast, readable.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages