def _progress(self, download_t, download_d, upload_t, upload_d):
        """On download/upload progress callback function"""

        import sys
        uploaded = 0
        if upload_t:
            uploaded = upload_d * 100 % upload_t
        sys.stdout.write(chr(27) + '[2K' + chr(27)+'[G')
        sys.stdout.write("Uploaded: %.2f%%" % uploaded)
dataset/ETHPy150Open rmnl/clack/clack/account_client.py/API._progress/operator `/` -> `%`