Answers for "jupyter notebook variable in command line"

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

Code answers related to "jupyter notebook variable in command line"

Python Answers by Framework

Browse Popular Code Answers by Language