• Stars
    star
    238
  • Rank 168,376 (Top 4 %)
  • Language
    Python
  • Created about 11 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

My answer for the book Learn Python The Hard Way

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):

More Repositories

1

wukong-robot

🤖 wukong-robot 是一个简单、灵活、优雅的中文语音对话机器人/智能音箱项目,支持ChatGPT多轮对话能力,还可能是首个支持脑机交互的开源智能音箱项目。
Python
5,319
star
2

cmake-demo

《CMake入门实战》源码
CMake
2,009
star
3

dingdang-robot

🤖 叮当是一款可以工作在 Raspberry Pi 上的中文语音对话机器人/智能音箱项目。
Python
1,857
star
4

BeamerStyleSlides

🌈Beamer风格的幻灯片模板集。包含了PowerPoint和Keynote两套格式。
TeX
949
star
5

hexo-generator-search

A plugin to generate search data for Hexo.
JavaScript
433
star
6

hexo-theme-freemind

Most powerful bootstrap theme for hexo.
CSS
392
star
7

QtEVM

C++ implementation of EVM(Eulerian Video Magnification), based on OpenCV and Qt.
C++
166
star
8

hexo-theme-wixo

A wiki theme for Hexo.
CSS
155
star
9

comment.js

[Archived] A tiny comment system based on Github issue comments.
JavaScript
113
star
10

wukong-contrib

来自用户贡献的wukong-robot插件集
Python
82
star
11

2dMorphing

2D Image Morphing Algorithms based on mesh warping. C++ project, which is transplanted from the c codes given by Yurong Sun and George Wolberg. Details: http://davis.wpi.edu/~matt/courses/morph/2d.htm
C++
68
star
12

orgwiki

用org-mode搭建的wiki,已经停止更新。新的笔记放在http://hahack.com/wiki
JavaScript
42
star
13

wzpan.github.io

个人博客,转载请保留出处。
HTML
36
star
14

rhubarb-lip-sync-ccc

Cocos Creator extension for rhubarb-lip-sync
JavaScript
30
star
15

2048

使用 Cocos Creator 开发微信小游戏 2048(代码基于 Cocos Creator 1.10)
JavaScript
29
star
16

MusicBoxApi

从网易云音乐Musicbox项目抽离出来的API,去掉了界面相关逻辑。
Python
28
star
17

wukong-itchat

用于微信控制wukong-robot
Python
26
star
18

hexo-tag-bootstrap

Bootstrap tag plugins for Freemind.
JavaScript
25
star
19

org-beamer-cn

[Deprecated] org-mode Simple Chinese Template for Beamer
24
star
20

ChatGPT-python-example

演示如何使用4行代码调用ChatGPT的官方API
Python
21
star
21

dingdang-smart-mi-fan

叮当机器人的智米电风扇插件
Python
17
star
22

xiaoai-wukong

小爱音箱联动wukong-robot
Python
15
star
23

awesome-config

My config file for Awesome window manager.
Lua
14
star
24

python-muse

A toy project to demonstrate how to interact with Muse Headband in Python.
Python
12
star
25

wukong-starter

wukong-robot 的基本环境安装脚本
Python
11
star
26

wukong-robot-pi-installer

wukong-robot 的树莓派 docker 安装脚本
Shell
9
star
27

dissertation

LaTeX source code of my master dissertation.
TeX
9
star
28

FC-EVM

Foreground Constrained Eulerian Video Magnification(FC-EVM)
C++
9
star
29

lipsync-demo

Cocos lipsync 插件的 demo 示例
JavaScript
8
star
30

chinese-chess-bot

中国象棋QQ频道机器人
Python
8
star
31

ReSpeaker-Switcher

ReSpeaker 2-Mics Pi HAT 麦克风开关
Python
7
star
32

wukong-qq-guild

wukong-robot 的 QQ 频道机器人客户端
Python
6
star
33

oil-price-bot

油价助手QQ频道机器人
Python
6
star
34

python2-miio

Python2 library for interfacing with Xiaomi miio components
Python
5
star
35

Qt_Toys

Some toy exemplars for Qt start-up.
C++
4
star
36

git-repo-sync

A tool to sync all branches from a git repo to another.
Python
3
star
37

wukong-doc

wukong-robot 的 reference 文档
HTML
3
star
38

wukong-next

腾讯 Next 课堂版本的 wukong-robot
Python
2
star
39

awesome-instant-apps

Awesome list for google instant apps.
2
star
40

MiMeshHelper

🤖 小米 Mesh 助手
Python
2
star
41

hexo-theme-freemind-blog

source blog repo for hexo-theme-freemind
HTML
1
star
42

infer-xcode-plugin

Facebook infer plugin for xcode.
Objective-C
1
star
43

MuseFlappyBird

Use Muse headband to play Flappy Bird game with blink event.
Python
1
star
44

timeline

my story
CSS
1
star
45

handout-with-script

A LaTeX template for writing script with handout of slides.
1
star