mem_edit/mem_edit/__init__.py

30 lines
614 B
Python
Raw Normal View History

2017-06-21 01:29:38 -07:00
"""
mem_edit
2017-06-21 01:43:32 -07:00
mem_edit is a multi-platform (Windows and Linux) python package for
2017-06-21 01:29:38 -07:00
reading, writing, and searching in the working memory of running
programs.
To get started, try:
from mem_edit import Process
help(Process)
"""
import platform
from .utils import MemEditError
2017-06-21 01:44:57 -07:00
__author__ = 'Jan Petykiewicz'
2022-08-18 23:42:12 -07:00
__version__ = '0.7'
version = __version__ # legacy compatibility
2017-06-21 01:44:57 -07:00
2017-06-21 01:29:38 -07:00
system = platform.system()
if system == 'Windows':
from .windows import Process
elif system == 'Linux':
from .linux import Process
else:
raise MemEditError('Only Linux and Windows are currently supported.')