import asyncio import argparse from torrentp import TorrentDownloader def argsuments(): {} async def main(): torrent_file = TorrentDownloader("test.torrent", ".") # Добавляем ключевое слово await перед вызовом функции await torrent_file.start_download() ''' параметры запуска -h help file output ''' if __name__ == "__main__": asyncio.run(main())