You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mem_edit/mem_edit/__init__.py

31 lines
614 B
Python

"""
mem_edit
mem_edit is a multi-platform (Windows and Linux) python package for
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
__author__ = 'Jan Petykiewicz'
__version__ = '0.7'
version = __version__ # legacy compatibility
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.')