| 1 | initial version |
The next free bus number can be found in this easy way:
def nextfreebus(ibus):
""" Returns the first unused bus number, starting from ibus
"""
while psspy.busexs(ibus)==0: ibus += 1
return ibus
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.