import pybinsim import logging pybinsim.logger.setLevel(logging.INFO) # defaults to INFO # Use logging.WARNING for printing warnings only with pybinsim.BinSim('settings.cfg') as binsim: binsim.stream_start()
import pybinsim if __name__ == "__main__": with pybinsim.BinSim('config/demo4.cfg') as binsim: binsim.stream_start()
import pybinsim import logging pybinsim.logger.setLevel(logging.WARNING) # defaults to INFO #Use logging.WARNING for printing warnings only with pybinsim.BinSim('config/RoomA_SDM10.cfg') as binsim: binsim.stream_start()
import pybinsim if __name__ == "__main__": with pybinsim.BinSim('config/config.cfg') as binsim: binsim.stream_start()