I tried this but it gives me a syntax error. Here 'win' is the folder and dosa_bce_win.py is the code file I want to write inside this folder.
!mkdir win
%%writefile dosa_bce_win.py
Thanks for the help:)
Okay so now I got the answer:
%%writefile ./win/dosa_bce_win.py
print("Hello")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.