This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Tools for allowing Robot Framework to interact with Python objects.""" | |
import inspect | |
class RobotWrapper(object): | |
"""Exposes all methods of a wrapped Robot library as functions. | |
Usually, instance methods are bound to a class instance, so that the first | |
parameter (`self`) is automatically passed in. This wrapper is a hack that | |
"unbinds" instance methods, making them normal functions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json" |