Skip to content

Development

Joachim Metz edited this page Oct 2, 2014 · 7 revisions

Python development

Get version

import pyewf

pyewf.get_version()

Open handle

import pyewf

ewf_handle = pyewf.handle()

ewf_handle.open("image.E01")

ewf_handle.close()

Note that the explicit call to close is not required.

Open handle using a file-like object

import pyewf

file_object = open("image.E01", "rb")

ewf_handle = pyewf.handle()

ewf_handle.open_file_object(file_object)

ewf_handle.close()

Note that the explicit call to close is not required.

Also see

import pyewf

help(pyewf)
help(pyewf.handle)

Clone this wiki locally