<commit_before>python-class
============

Sunlight's 2014 Summer Python class


First Class!
06/18/2014
[See lesson-1/first_class.py for more notes and code](https://github.com/LindsayYoung/python-class/blob/master/lesson-1/first_class.py)

* Intro

* What is Python?
..* A Python program (or any program) is a list of instructions for you computer
..* Python is an intermediate language that makes these instructions somewhat more readable for humans
..* Like any language, Python has syntax and grammatical rules that you need to follow to facilitate understanding between yourself and the computer
..* Breaking these rules causes syntax errors that break your program

* [PythonAnywhere](https://www.pythonanywhere.com)
1. run a line of code directly in the IPython console (we are using 2.7)
2. make a file and click save and run
3. make a file and  and open the Bash console and type: python the_name_of_your_file.py

(You can only have 2 consoles open at a time so you may have to close a console to see the console options)


* The python prompt
..* “Hello World!”
* Your first file!
..* “Hello World!”
* The Bash prompt

###Variables and assignment
types and changing types - <commit_msg>formatting markdown<commit_after>python-class
============

Sunlight's 2014 Summer Python class


First Class!
06/18/2014
[See lesson-1/first_class.py for more notes and code](https://github.com/LindsayYoung/python-class/blob/master/lesson-1/first_class.py)

* Intro

* What is Python?
..- A Python program (or any program) is a list of instructions for you computer
..- Python is an intermediate language that makes these instructions somewhat more readable for humans
..- Like any language, Python has syntax and grammatical rules that you need to follow to facilitate understanding between yourself and the computer
..- Breaking these rules causes syntax errors that break your program

* [PythonAnywhere](https://www.pythonanywhere.com)
1. run a line of code directly in the IPython console (we are using 2.7)
2. make a file and click save and run
3. make a file and  and open the Bash console and type: python the_name_of_your_file.py

(You can only have 2 consoles open at a time so you may have to close a console to see the console options)


* The python prompt
.. “Hello World!”
* Your first file!
.. “Hello World!”
* The Bash prompt

###Variables and assignment
types and changing types - 
{'fraction_non_alphanumeric': 0.08096828046744574, 'fraction_numerical': 0.01669449081803005, 'mean_word_length': 4.210869565217391, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2665431', 'n_tokens_mistral': 685, 'n_tokens_neox': 638, 'n_words': 325}