Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/a/c/academictorrents_uploader-HEAD/upload.py   academictorrents_uploader(Download)
#!/usr/bin/python3
import sys
import json
from base64 import b64encode
from py3createtorrent import main as maketorrent
# if file exists, we assume torrent already created
if not exists(torrentname):
    maketorrent(torrent_args)
 
# get base64 of torrent