GithubHelp home page GithubHelp logo

python_code_academy's Introduction

Getting Started

Installation

MacOS

  1. Download Anaconda (for macOS Installer) Python distribution version 3.7 from https://www.anaconda.com/distribution/#macos

  2. Install Anaconda and Visual Studio Code (VSCode)

Windows

  1. Download Anaconda (for Windows Installer) Python distribution version 3.7 from https://www.anaconda.com/distribution/#windows

  2. Install Anaconda and Visual Studio Code (VSCode)

    • While installing tick run the advanced options, tick Add Anaconda to my PATH env variable
  3. Install git for windows from git-scm.com

Setup the Interactive Development Environment (IDE)

  1. Open VSCode

  2. Clone this Git Repo in VSCode

  3. Open the Workspace python-bridge.code-workspace (a popup should ask you if you want to do this)

  4. Install Python Test Explorer extension in VSCode

    • From the "View" menu select the "Extensions" option

    • Install Python Test Explorer for Visual Studio Code

    • Install Test Explorer UI

    • From the "Code" menu select "Preferences" and then click "Settings"

    • Using the settings search box search for "pytest"

    • Check "Enable unit testing using pytest" box

    • For "Python Test Explorer: Test Framework" select "pytest" from the dropdown

  5. Run the tests from using the "Test Explorer" icon on the left hand panel

    • The test should all fail

    • Complete the exercise to make them pass

The exercise

The exercise is comprised of 8 parts. Each part should be completed in order

  1. Assertions
  2. Strings
  3. Lists
  4. Dictionaries
  5. Sets
  6. Control Structures
  7. Classes
  8. Dice Project

Each part is written as a series of tests that need to be completed in order to make them pass.

python_code_academy's People

Contributors

ab7 avatar adityagupta679 avatar akshaydandekar avatar arksega avatar brainwane avatar chuntaolu avatar cliftonmcintosh avatar dominiqueplante avatar endenis avatar flopezluis avatar gregmalcolm avatar icmurray avatar johnistan avatar karptonite avatar kissgyorgy avatar kjc avatar matt-deacalion avatar mgpb avatar mikelietz avatar mpirnat avatar mswell avatar newevolution avatar noloman avatar ryan1729 avatar santosh avatar shishirmk avatar stanov avatar thibaudcolas avatar viprs avatar ycflame avatar

Watchers

 avatar

Forkers

alejoartia

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.