-- Leo's gemini proxy
-- Connecting to squid.flounder.online:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini; charset=utf-8
sys
time
os
pandas
import sys arguments = sys.argv
with open('path/to/file','r') as file: file.read() # reads all the file into one string file.readlines() # reads the file into a list of lines file.close() # sometimes it helps to do this
with open('/path/to/file','w') as file: file.write(string) # writes a string into the file file.writelines(list) # writes a list into the file line by line file.close() # sometimes it helps to do this
with open('/path/to/file','a') as file: file.write(string) # same as with writing, same with file.writelines too file.close() # sometimes it helps to do this
os.system('command')
-- Response ended
-- Page fetched on Mon May 20 18:02:34 2024