jupyter nbconvert --to script [filename].ipynb 

or

jupyter nbconvert --to python [filename].ipynb 



 

 

 

 
 
 
Posted by uniqueone
,