Skip to content

Instantly share code, notes, and snippets.

@agatsoh
agatsoh / python3.7.3_on_MX_Linux_18_1.md
Last active September 8, 2020 05:52
Install python 3.7 on MX Linux 18.1

Installing Python 3.7.3 on MX-linux 18.1

I was following this blog to install python 3.7.3 on my MX-linux 18.1 machine. Step by step procedure is as follows

  1. Install the pre-requisites

sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev \
 libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev
import json
from eth_utils import encode_hex
from web3 import HTTPProvider, Web3
from solc import compile_source
from web3.contract import ConciseContract
# Solidity source code
contract_source_code = '''