Rosalind题目第一题

今天在做第一道题的时候一直告诉我出错`

with open ("C:\rosalind\rosalind_dna.txt", "r") as f: OSError: [Errno 22] Invalid argument: 'C:\rosalind\rosalind_dna.txt'
`

后来才知道windows目录下面的转义符需要掉一个方向

'E:/rosalind/rosalind_dna.txt'

猜你喜欢

转载自blog.csdn.net/qq_39292916/article/details/91624080