These are a list of scripts sampled for Python 101 for PyOhio 2013.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| ## source available at: http://git.io/MYVymw | |
| def try_to_change_list_contents(the_list): | |
| print 'got', the_list | |
| the_list.append('four') | |
| print 'changed to', the_list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| ''' | |
| This file contains fake data which may be useful in | |
| demonstrating basic principles in Python. | |
| ''' | |
| import random | |
| colors = [ | |
| 'red', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| ## https://en.wikipedia.org/wiki/Heat_index#Formula | |
| c1 = -42.379 | |
| c2 = 2.04901523 | |
| c3 = 10.14333127 | |
| c4 = -0.22475541 | |
| c5 = -6.83783 * (10 ** (-3)) | |
| c6 = -5.481717 * (10 ** (-2)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| Checks to see if loggy.py is running | |
| """ | |
| import os | |
| import time | |
| from subprocess import * | |
| i = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # vim: set fileencoding=UTF-8 : | |
| import os | |
| import socket | |
| import string | |
| from subprocess import * | |
| import sys | |
| import time |
-
Indigenous Traditions
- Yoruba
- Aboriginal Dreaming
- Animism
- Native American Church
- Mesoamerican Religion
- Shenism
- Zoroastrianism
-
Eastern Spirituality
My model for assessing trust with people.
- Random strangers
- Acquaintances
- Most friends that are more than acquaintances
- Close friends
- Only me
- No additional bots in the channel. Only ChanServ and jenni are allowed.
- No automated scripts. (eg: No automatic /me's or messages when you go "away")
- No personal insults.
- No cheating.
- Do not highlight nicks unless you are conversing with said person or persons.
- Do not spam the channel with non-relevant commands to the current game.
- Do not beg/insist the ops ban somebody.