Quantcast
Channel: User Schwern - Stack Overflow
Viewing all articles
Browse latest Browse all 581

Comment by Schwern on Read same file from src and test in PyCharm

$
0
0
Note that open('words.txt') looks for words.txt in the current directory. It will only work if you run board.py from src/scrabble. It will fall if you run, for example, python src/scrabble/board.py from the project root.

Viewing all articles
Browse latest Browse all 581

Trending Articles