These are chat archives for ipython/ipython

1st
Jun 2018
darkknightawakens
@darkknightawakens
Jun 01 2018 05:04
@SofianeB yes i did import os. there is no error. its just that ls output is not shown. 0 is printed in the cell output. It can be easily reproduced by typing two lines in the notebook. import os; os.system("ls"). and its not just with ls, i mean any command wont work
SB
@SofianeB
Jun 01 2018 07:11
@darkknightawakens what about !ls? take a look here https://docs.python.org/3/library/os.html#os.system
darkknightawakens
@darkknightawakens
Jun 01 2018 10:14
@SofianeB no, !ls does not work.