repl.it
@mat1/

repl test

Python

No description

fork
loading
Files
  • main.py
  • repls.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import repls
import asyncio

async def main():
	repl = repls.Repl('https://repl.it/@mat1/repl-test')
	await repl.load()
	files = await repl.get_files()
	# use await repl.get_file(filename) to read files
	for f in files:
		print(str(f))
		print(await f.read())
		print('\n\n\n\n')
loop = asyncio.get_event_loop()
loop.run_until_complete(main())