I’m currently writing some code, nothing special, but then i got this while trying to fix indents.
File "/data/data/com.termux/files/home/ttc2/main.py", line 67
return await asyncio.gather(*[self._check(sess, u) for u in self.to_check])
^
IndentationError: expected an indented block after 'with' statement on line 66
Now, I’m confused where the indent is required, could anyone help?
>Solution :
Please post the code so we could help you, anywho
you should make an indentation after using with
with open(filename,mode) as w:
w.write('hello')