Formatting and some completion to install script

This commit is contained in:
2024-12-29 20:34:10 +01:00
parent 77fbcb9b31
commit cf79b945dc
5 changed files with 158 additions and 110 deletions

View File

@@ -3,9 +3,12 @@ LEdit, a single line text editor made in Python
Version: 0.0.2-alpha1
Made as an example program for PyNVOS
"""
class ledit:
def __init__(self, instance):
self._kernel = instance
def prgm(self):
path_to_file = input("Enter location of file to edit/create: ")
path_to_file = self._kernel.fs(path_to_file)
@@ -14,4 +17,7 @@ class ledit:
f.write(text_to_write + "\n")
f.close()
exit()
if __name__ == "<run_path>":
raise NotImplementedError("no")