Coder Social home page Coder Social logo

bytecode's Introduction

Python Puzzles

Short snippets of Python code with some tricky questions! Knowledge of the dis module might be very helpful.

Getting Started

Problems are split into:

  • fundamental - great place to start if you haven't got much experience of working with Python and are still building a mental map how it works. They shouldn't be too taxing but will address important aspects of the language.

  • working - they assume a reasonable familiarity with Python and are actually something you might encounter in your everyday code.

  • esoteric - you might have a lifetime experience of Python coding and still scratch your head! While fun they do constitute corner cases rarely encountered.

Prerequisites

You will need a jupyter notebook installed and a Python 3. If you don't know what you are doing follow the steps below:

  • Open your terminal or command line or windows and type pip --version hopefully it should tell you a current version of pip followed by the path to your default Python installation and its version (If it is 3.x you are good to go)

  • pip install virtualenv this will install virtualenv a tool to create isolated Python environments.

  • virtualenv notebook will create a new folder notebook which contains Python executable and a copy of pip library.

  • activate the new virtualenv on Unix type source notebook\activate on Windows notebook\scripts\activate.bat

  • pip install jupyter this will install jupyter notebook and all of its dependencies in your new virtualenv.

  • change directory to folder with this code samples and run jupyter notebook

bytecode's People

Contributors

janhak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bytecode's Issues

Slides?

Hi Jan,

I overheard somebody ask you if the slides from your (popular!) talk would be available, and I think you said you'd be adding them to this repo? (or at the very least, could there be a link to them from the README please?)

Cheers,
Andy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.