Answers for "jupyter notebook pass variable to shell"

2

jupyter notebook pass python variable to shell

dir_path = "/home/foo/bar"
!cp file1 $dir_path

dir_path = "/home/foo/bar"
!cp file1 {dir_path}

!cp file1 {dir_path + sub_dir}
Posted by: Guest on January-21-2021

Python Answers by Framework

Browse Popular Code Answers by Language