A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
| Python Technical Interview Transcript | |
| ------------------------------------- | |
| Interviewer: Good morning! I'm Alex, a senior software engineer here at TechCorp. Can you briefly introduce yourself? | |
| Candidate: Hi Alex! I'm Jamie. I've been working with Python for about 5 years, primarily in web development and data analysis. I have experience with various Python frameworks and libraries such as Django, Flask, and Pandas. | |
| Interviewer: Great to meet you, Jamie. Let's dive into some technical questions. Can you explain the difference between a list and a tuple in Python? |
| version: '3.8' | |
| services: | |
| redis: | |
| image: redis:latest | |
| networks: | |
| - main | |
| ports: | |
| - "6379:6379" |
| 'use strict'; | |
| const DataStore = artifacts.require('../contracts/DataStore.sol'); | |
| const Organisation = artifacts.require('../contracts/Organisation.sol'); | |
| const sha3 = require('solidity-sha3').default; | |
| contract('Organisation', function(accounts) { | |
| let bookStore, memberStore, org; |
| const fs = require("fs"); | |
| const solc = require('solc') | |
| let Web3 = require('web3'); | |
| let web3 = new Web3(); | |
| web3.setProvider(new web3.providers.HttpProvider('http://localhost:8545')); | |
| var input = { | |
| 'strings.sol': fs.readFileSync('strings.sol', 'utf8'), | |
| 'StringLib.sol': fs.readFileSync('StringLib.sol', 'utf8'), |