Space in path for python
Solution
- for dcm readfile or python os.path.join
"C://Users//00000//Desktop//Yang Liping" (No need for processing space)
- for cmd command
'C://Users//00000//Desktop//"Yang Liping"' (adding "" for part with space)
- Adapted to 2 in Python code
my_string = "Hello"
my_string_with_quotes = '"' + my_string + '"'
Link1: https://www.cnblogs.com/Hellowshuo/p/15622203.html
Link2: https://wenku.csdn.net/answer/ae59e75c80d748b780abeb4a2b642bcc
Link3: https://blog.csdn.net/chouzhou9701/article/details/103049322
Link4: https://blog.csdn.net/xiaoyu_wu/article/details/115248762
Win path
Link1: https://blog.csdn.net/qq_43444008/article/details/106668830
Link2: https://blog.csdn.net/qq_44886213/article/details/123333467