Skip to content

Instantly share code, notes, and snippets.

View emilianobilli's full-sized avatar

Emiliano A. Billi emilianobilli

View GitHub Profile
from ethlite.Contracts import Contract
from ethlite.NetworkUtil import NetworkUtil
from json import loads
import requests
class Accounts(object):
endpoint = 'https://api.dydx.exchange/v1/accounts/'
@classmethod
@emilianobilli
emilianobilli / ftpserver.py
Last active October 20, 2015 02:08 — forked from scturtle/ftpserver.py
simple ftp server by python
#!/usr/bin/env python2
# coding: utf-8
import os,socket,threading,time
#import traceback
allow_delete = False
#local_ip = socket.gethostbyname(socket.gethostname())
local_ip = "0.0.0.0"
local_port = 8888