fixed some file bugs
This commit is contained in:
parent
700cfbde66
commit
7bab2084eb
5 changed files with 15 additions and 5 deletions
|
@ -1,4 +1,7 @@
|
|||
with open('input.txt', 'r') as input:
|
||||
import os
|
||||
path = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
with open(path+'/input.txt', 'r') as input:
|
||||
counter = 0
|
||||
text = input.readline()
|
||||
for char in text :
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
with open('input.txt', 'r') as input:
|
||||
import os
|
||||
path = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
with open(path+'/input.txt', 'r') as input:
|
||||
pos = 0
|
||||
char_pos = 0
|
||||
text = input.readline()
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
with open("input.txt", "r") as commands:
|
||||
import os
|
||||
path = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
with open(path+"/input.txt", "r") as commands:
|
||||
x = 0
|
||||
y = 0
|
||||
history = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue