Print not works with steamlit on debian system

Try using the os library instead: