Skip to content

amendl/sndisplay-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

sndisplay-python

Porting sndisplay library to PyROOT. All credits should go to the original code, this is just a wrapper.

Example:

import ROOT

def import_arbitrary_module(module_name,path):
    import importlib.util
    import sys

    spec = importlib.util.spec_from_file_location(module_name,path)
    imported_module = importlib.util.module_from_spec(spec)
    sys.modules[module_name] = imported_module
    spec.loader.exec_module(imported_module)

    return imported_module

# or import sndisplay
sndisplay = import_arbitrary_module('sndisplay',<path-to-sndisplay.py>)
ROOT.sndisplay_demonstrator_test()

adam.mendl@cvut.cz, amendl@hotmail.com

About

Porting the sndisplay library into Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages