Giter Site home page Giter Site logo

pdb-tutorial's People

Contributors

alphactzo7g avatar atcold avatar chuhao95 avatar martinlwx avatar paudsu01 avatar spiside avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pdb-tutorial's Issues

Typo in 'PDB 101' chapter

Looks like the sentence

The method set_trace() hard codes a breakpoint at the line you place it the command.

has a typo or just weirdly phrased.

Additional translations

With the help of @mingrammer, pdb-tutorial has been translated into Korean! This got me thinking whether there are other translations that would be helpful to readers. If you would like to see the tutorial written in another language, or are interested in helping translate the tutorial, please feel free to discuss in this thread.

Bug fixes

In the solution for runner.py runner.consecutive_wins is not defined and it should be reset if a wrong answer is given.

Furthermore, I get a NameError if I type 'y' to continue playing so I would suggest using raw_input() in both the excercise and the solution.

Potential improvements to pdb-tutorial

Thanks for this great tutorial. This was very helpful in understanding how to use PDB.

I noticed a few issues, so I thought I could help improve this further

  1. On line 435, it says we should set a break point on line 35, but on line 436, it says the breakpoint is actually on line 32

(Pdb) b 35 Breakpoint 1 at /Users/Development/pdb-tutorial/dicegame/runner.py(32)run() (Pdb) c

Perhaps this is a typo.

  1. I also noticed a few typos and mismatches in README.md, which I corrected here

  2. As far as suggestions for improvement, perhaps some information about bt, u, d can be included

    1. https://www.youtube.com/watch?v=2FftatTS3jc
    2. https://pymotw.com/2/pdb/

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.