Skip to content

Commit 05c1888

Browse files
author
Dadsaster
committed
Added README
1 parent 9e7616c commit 05c1888

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Learning Resources
2+
3+
## Python
4+
5+
Python the Hard Way: http://learnpythonthehardway.org/book/
6+
CS approach to Python: http://cscircles.cemc.uwaterloo.ca/
7+
Making Games with Python & Pygame: http://inventwithpython.com/pygame/
8+
Play a game to learn Python: http://www.checkio.org/
9+
Slightly more advanced intro to Python: http://www.swaroopch.com/notes/python/
10+
Good CS intro: http://interactivepython.org/runestone/static/thinkcspy/index.html
11+
Good review of Python: https://docs.python.org/3/tutorial/
12+
intermediate Python tutorial: http://www.diveintopython3.net/
13+
14+
### free courses
15+
16+
Python and CS: https://www.edx.org/course/cs-all-introduction-computer-science-harveymuddx-cs005x?gclid=Cj0KEQjwvo6wBRCG3Zv92ZSLlIYBEiQA5PLVAvUlkz9RorB-R5PvhASYd3RCMroqHwNZi8nbf2Vmx8YaAlf18P8HAQ
17+
Another free course: https://www.coursera.org/course/interactivepython1
18+
19+
## JavaScript
20+
21+
Good JS primer: http://eloquentjavascript.net/
22+
CS and JS course: http://web.stanford.edu/class/cs101/
23+
Good JS book: http://bdcampbell.net/javascript/book/javascript_the_good_parts.pdf
24+
intermediate JS: http://jstherightway.org/
25+
intermediate JS: https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
26+
free MOOC: https://www.udacity.com/course/javascript-basics--ud804
27+
Beginner's course: http://www.microsoftvirtualacademy.com/training-courses/javascript-fundamentals-for-absolute-beginners
28+
29+
## Puzzle Sites
30+
31+
http://cyber-dojo.org/
32+
http://www.codewars.com/
33+
https://www.hackerrank.com/
34+
https://www.codechef.com/
35+
http://coderbyte.com/
36+
37+
## Learning
38+
39+
https://www.coursera.org/learn/learning-how-to-learn
40+
41+
## Other
42+
43+
Online developer bootcamp(paid): Bloc.io
44+
Free TreeHouse membership: https://teamtreehouse.com/code-oregon
45+
Free Full-stack on-line coure: http://freecodecamp.com/

basic/file_stuff.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import pprint
2+
3+
pp = pprint.PrettyPrinter(indent=4)
4+
5+
def get_text(filename):
6+
f = open(filename, 'r')
7+
text = f.read()
8+
f.close()
9+
return text
10+
11+
def count_words(words):
12+
counter = {}
13+
word_list = words.split()
14+
for word in word_list:
15+
if word in counter:
16+
counter[word] += 1
17+
else:
18+
counter[word] = 1
19+
pp.pprint(counter)
20+
21+
22+
words = get_text('alice.txt')
23+
count_words(words)

0 commit comments

Comments
 (0)