probably not screen reader friendly
Ada (the moon girl) 🏳️⚧️ @Axolotl1@gaygeek.social
Content warning: probably not screen reader friendly
here's how I solved the issue I posted before going to sleep yesterday btw.
def memoryread(count):
with open(memorypath) as memory:
while count!=0:
store=memory.readline()
count=count-1
store=re.findall(r"\w+",store)
return(store[0])
the function goes through the file by an amount specified earlier until it reaches its destination. Then it updates store to remove all white space and returns index 0 in store.