Git Product home page Git Product logo

learn-python-the-hard-way's Introduction

My answer for all exersices from Zed. A. Shaw Learn Python the Hard Way.

All the codes are written in both Python2(2.7.5) and Python3(3.3.2).

The best way to check my solution step by step is to use git log command. For instance,

$ git log -p Python2/ex04.py

Alternatively you can browse the history of any file on Github to see the change of it.

If you got a better answer, welcome to comment the code and share your version!

Screenshots

  1. The final web page game(ex52):

  1. A little battle system(ex47):

learn-python-the-hard-way's People

Contributors

stevibee avatar thewhip avatar wzpan avatar yehorlevchenko 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

learn-python-the-hard-way's Issues

Python Style

Hello,

I am very new to github and programming in general, but I am trying to complete the evaluation piece of EX 45 from LPTHW and I noticed a style edit I believe should be made. In the app.py file the import should be explicitly laid out not all at once. (This is probably too nit-picky but I thought I would bring it up.). If you think this matters I can make the edit and send the pull request.

Learn-Python-The-Hard-Way/Python2/game/skeleton/bin/app.py

import web, datetime, os

Shouldn't it be:

import web
import datetime
import os

imports section from PEP8:
http://pep8.org/

关于ex49的代码

您好,我用您写的test测试您的praser.py也无法通过,请问是为什么?有没有能用的代码可以给我学习学习

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.