initial commit
This commit is contained in:
commit
a6b5f94bf5
1 changed files with 1593 additions and 0 deletions
28
mem_edit/__init__.py
Normal file
28
mem_edit/__init__.py
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
"""
|
||||
mem_edit
|
||||
|
||||
mem_edit is a multiplatform (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)
|
||||
|
||||
"""
|
||||
__author__ = 'Jan Petykiewicz'
|
||||
|
||||
|
||||
import platform
|
||||
|
||||
from .utils import MemEditError
|
||||
|
||||
|
||||
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.')
|
||||
Loading…
Reference in a new issue