Coder Social home page Coder Social logo

anthonybriggs / python-101 Goto Github PK

View Code? Open in Web Editor NEW
2.0 5.0 0.0 1.6 MB

Code sample grab bag which I'll be using for my tutorial at PyCon AU 2017

License: MIT License

Python 99.06% HTML 0.61% CSS 0.06% JavaScript 0.27%
python toys learning-python learn-to-code in-progress

python-101's Introduction

Python-101

Code sample grab bag which I'll be using for my tutorial at PyCon AU 2017

This is a collection of small to medium sized programs that I've written or found lying around the internet over the years. Some of them are good, others are ... not so good: quick hacks or proof of concept scripts. But all of them should be interesting or useful in some way, even if you're just learning to program.

I may add to this if I find or write other useful little things, or if you know of something that I can include, let me know.

Contents

bad_tweet

Download a list of someone's followers, so that you can block them (or something else?). Used on some of the usual suspects on Twitter, so that I don't have to see Nazi garbage.

chat2

A simple(ish) campfire or slack-style web app, written in bottle.py and using websockets

hello_python_source_py3

The source code from my book, Hello! Python, mostly updated for Python 3 and modern libraries.

noise

A random noise wav generator. Can make white, brown, pink, pink-brown and perlin noise.

particle toys

grav Solar system "simulator". Particles in orbit, over time they (sort of) stick together and make a solar system.

repulser An electron-style simulator. Particles repel each other, but can only get so far apart.

passwords

A couple of scripts that I've used to generate secure passwords.

planetcute

Some simple game-like toys that I made with pyglet and Daniel Cook's PlanetCute graphic set (http://www.lostgarden.com/2007/05/dancs-miraculously-flexible-game.html)

pydome

A geometry program to calculate geodesic dome strut lengths. Works from first principles, so you can go arbitrarily high, eg. 10v

domain_hosts_list.py

A script to test a server / website migration. Hits a list of web sites, checks for common Django misconfigurations.

fizzbuzz

Lots of fizzbuzz examples in Python

maths_multiplication

Generate multiplication problems for my kids to practice with.

maths_problems

Generate BIMDAS-style problems for my kids to practice with.

maze_generator.py

Generate mazes using a depth-first search.

twitterfavlinks.py

Scrape your favorites and download all of the URLs

world.py

An attempt at creating a fractal world. The idea is to move half the map up or down randomly, over time it looks more like a real landscape.

python-101's People

Contributors

anthonybriggs avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

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.