This commit is contained in:
parent
9c91fc5420
commit
23328de316
@ -1,7 +1,7 @@
|
||||
|
||||
import random
|
||||
def RandomDick():
|
||||
with open('dicktxt\dick_sinonims.txt', 'r', encoding='utf-8') as file:
|
||||
with open('dicktxt/dick_sinonims.txt', 'r', encoding='utf-8') as file:
|
||||
words = file.readlines()
|
||||
|
||||
random_line = random.choice(words).strip()
|
||||
|
Loading…
Reference in New Issue
Block a user