Call hostlist.expand() from Python code
weijianwen opened this issue · 0 comments
weijianwen commented
I wrote Python scripts to maintain a SLURM cluster. I wonder if it is feasible to call host.expand()
from Python code.
I tried to import hostlist
then call host.expand()
, but got the following error.
AttributeError: module 'hostlist' has no attribute 'expand'
Thank you!