Skip to content

Commit

Permalink
added a sample
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanExtreme002 committed Nov 18, 2023
1 parent 508337b commit 57910f6
Show file tree
Hide file tree
Showing 8 changed files with 527 additions and 9 deletions.
2 changes: 1 addition & 1 deletion PyMemoryEditor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""

__author__ = "Jean Loui Bernard Silva de Jesus"
__version__ = "1.5.7"
__version__ = "1.5.8"


from .enums import ScanTypesEnum
Expand Down
5 changes: 4 additions & 1 deletion PyMemoryEditor/errors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
from .process.errors import ProcessIDNotExistsError, ProcessNotFoundError


class ClosedProcess(Exception):
def __str__(self):
return "operation on closed process."
return "operation on closed process."
15 changes: 15 additions & 0 deletions PyMemoryEditor/sample/application.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from .main_application_window import ApplicationWindow
from .open_process_window import OpenProcessWindow


def main(*args, **kwargs):
open_process_window = OpenProcessWindow()
process = open_process_window.get_process()

if process:
ApplicationWindow(process)
process.close()


if __name__ == "__main__":
main()
Loading

0 comments on commit 57910f6

Please sign in to comment.