Update: use PowerShell script PythonEmbed4Win.ps1.
The instructions in this gist have some subtle problems and this gist will not be updated.
The instructions in this gist have some subtle problems and this gist will not be updated.
import requests | |
def format_bytes(size): | |
# 2**10 = 1024 | |
power = 2 ** 10 | |
n = 0 | |
power_labels = {0: '', 1: 'K', 2: 'M', 3: 'G', 4: 'T'} | |
while size > power: | |
size /= power |
./ethdcrminer64 -epool stratum+tcp://eth.f2pool.com:8008 -ewal 0xd700fa0aa9fa61431f076f4ee19712e6e3817e07 -epsw x -eworker miner4 -dpool stratum+tcp://sc.f2pool.com:7777 -dwal 3b07048a42cf48503d2b64103f1dd3bf634adb54894317b3e24cefe15f9910ede6a62999d587.miner4 -dpsw x -dcoin sc -dcri 20 -logfile noappend.txt |