Hands on Python

Introductory course into programming, specifically to Python. Course aimed at students who are willing to learn programming and have limited or no experience with it. Course will cover fundamentals and provide numerous hands on opportunities! Class subreddit

  1. Hello Python!

    I do not think that prompting a wall of code would be appropriate. Instead lets make a program. Yes you might not have python installed yet, but there are websites which can compile it for you! There are 2 very good ones: Visualize Python Python Shell

    I think 1st one is a bit better as it allows to have more than one line of code at a time what is closer to what you would get in python programs. It also allows to run code step by step.

    Well lets begin. It would be rude to start without saying hi to python:

    print('Hello Python!') 

    console output is Hello Python

    This is a very simple program which will literally print: Hello Python. stuff # allows to make comments which are not read by interpreter when code is run (it seems that visualize python does not like comments so for now lets not add them). In other words this is a great place for you to leave notes about what your program does.

    Now lets add another step to make an extremely friendly program which greets everyone:

    name=raw_input('Hello, my name is Python what is yours? ') 

    stores a string in variable name

    raw_input('prompt') allows to store user input in a variable. In our case the variable is name.

    print('Hello '+name) 

    prints Hello and name of the usr!

    • allows to add strings together! (You cant subtract them though :/)

    Now you have an awesome program which can greet anyone instead of you !) Don't be shy to show off your awesome skills to others.

    I am planning to add more lessons in the near future and they should be much more interesting that this one and have more fun things to do! If you have any questions contact me!

    • How to set up Python. Please do not skip this one as it could be helpful

      Quick explanation on how to set up python. It also should answer some questions for example why python 2.7? PS probably the most boring part of this course. Bare with me ;)

    • Let's code!

      Let's write some code and make awesome programs! We will learn about strings, integers, if statements and while loop!

    • Logic and Lists

      Lets continue exploring the power of if statements as well as talk about boolean variables and lists. Make sure that you took a break after lecture 3 as it was quite content heavy and this one is kinda too!

    • Finishing off basic toolset

      lecture covers functions, loops, tuple, random, datetime and time libraries.

    • PART 2: Advanced topics in python. A quick glance.

      The second part of the part 2 is coming! It is much smaller than part 1 and will have one big project at the end! Glad to see that you made it through other lectures!

    • Useful links

      Useful resources




    Hands on Python: Syllabus This is an entry course focused on teaching fundamentals of Python language/script. It is great for those who have limited experience with python and/or with programming languages. The course is aimed at providing numerous hands on opportunities as well as encouraging students to continue. The final goal is to encourage the student to continue learning about programming languages and more importantly provide them with basic tools for creating simple but rewarding programs.

    Topics to be covered: Intro and how to set up python (dont skip this you might find some info helpful) Variables such as integer, string, boolean. Introduction to lists, dictionaries and tuples. Intro to loops, logic and if statements. Working with user input and displaying information in console. FUNctions (Now its getting real). Additional topics [A)These are simple B)WIll help a lot with readability of the code]: Organizing code and keeping it simple. Making code readable through documentation. END OF PART 1. WIll be added later (once I feel I can explain it well to you guys): File editing. Classes (welcome to object oriented world!) Generators and lambda. Final:Where next? Useful resources.( provided) Some other things might be added

    Course materials will be hosted primarily on: Google docs/drive (I do not think you need to have an account) Google hangouts (account needed if you are to participate, prob chat only though) Prezi (no account) Github (account needed if you are to submit code) and of course UofReddit some other fancy stuff if required ie collabedit or visualize python I want to experiment with resources available and see which work best

    This course will have a final review live session probably going to be a Sunday and probably I will be able only to chat but I will try my best to help you guys out!

    Also I will be available through PM Nunuvin on reddit and subreddit: Hands on programming as well as email: slow2answer@gmail.com PLEASE if you are contacting me about your code please host it on github is preffered/bitbucket/gitlab or put it in the body of the email (please host it on one of those websites formatting is gonna be so much easier). I do not feel like opening attachments. Also make sure to search online on resources such as Stack Overflow or Google. It is quicker as well as if you cant find an answer you can tell me where you looked so I do not waste time looking there.

    Additional information

    I hope you will find it beneficial

    Teacher qualifications

    student, some past programming background in pascal, qbasic, vb, C++ and python.

    Latest Update
    Hands on Python Full content is ready (2016-06-06 02:03:38)

    "Thank you guys for your patience and commitment. I have finally finished the second part of the course so you can finally learn about advanced functions of the python. I hope you will find it helpful. PS don't forget to do a final project because its awesome. feel free to message me with questions/feedback about the course and its content."

    1. Marven
    2. Apeiron91
    3. srsmith2010
    4. swierzaq
    5. tantalus_blank
    6. Poxpoone
    7. donramses
    8. Almazi
    9. mtschill
    10. ManWhoSoldTheWorld94
    11. TheDubiousDubber
    12. ezzzzzy
    13. otb4evr
    14. Hitpoint1
    15. MedYassir
    16. taltyk
    17. w00t-bix
    18. dazed
    19. omgninjas
    20. renken_dz
    21. DrNick
    22. jeezeyk
    23. sanstar06
    24. beccabeast
    25. El_Derogator
    26. apocrypha13142
    27. giftgale88
    28. atlasi
    29. meechdeemyuke
    30. A351R
    31. pml
    32. Jsmarcelin
    33. m3asmi
    34. a329
    35. dwood89
    36. kmmadan7
    37. darkprince_06
    38. huenchen
    39. sainath
    40. mettup
    41. mazusblight
    42. Baccarri
    43. Saelos
    44. menhaj007
    45. Lanrelawal
    46. hvural
    47. dashmoho
    48. preciousmoses
    49. eoberoi
    50. Chrispy
    51. misterdeividas
    52. y6bt250
    53. xirrin
    54. disignore
    55. Cheez-itHoarder
    56. njiebadou
    57. missmbxo
    58. asantillan
    59. Spectre002
    60. shahid0423
    61. datmap1
    62. kirti123
    63. jessiech
    64. blueeyedugly
    65. Ahmed_Youssry
    66. the_grandmysteri
    67. gmanb96
    68. push_push
    69. hbaghar
    70. TheMetaphysicalCrook
    71. euphorialive
    72. shydagger
    73. Shan
    74. Lakshyana
    75. sbrimer
    76. Ntr0py
    77. takenschmaken
    78. Vord007
    79. AIMBoss
    80. Sinfulprincess
    81. AwedSentinel
    82. hubydane
    83. bobbyt2012
    84. michele.rodrigues
    85. habibjanjua
    86. Fran
    87. checkingforhotspots
    88. Nicoleweber2025
    89. iazaroff
    90. shabs123
    91. sharkquakenadoo
    92. gareth
    93. azamzubairi
    94. maftoun95
    95. Jayfitz
    96. mkashif1973
    97. raymarie34
    98. gerodot
    99. sebtran
    100. complexsion
    101. piyushjain
    102. sodainmycereal
    103. cleave2001
    104. magik
    105. lzz
    106. hannahmary2010
    107. geoful
    108. vaibhavh
    109. amit.setia
    110. EJAZ123
    111. IniyanD2
    112. Ragzingro
    113. aladdo
    114. Kapital_G
    115. agc0042
    116. NameSake630
    117. mahavirsinh
    118. GNT00Quanta
    119. hammam
    120. bogeka
    121. redfelix
    122. yeets2beats
    123. emil0692
    124. i_love_bearss
    125. SKaori10
    126. glazydave
    127. CompleteGeek
    128. nomad
    129. chanstri
    130. germannoob
    131. taeyeonist
    132. laurens
    133. kjr31
    134. orkhanjafarli
    135. henryugbekile
    136. jumbobutt
    137. ioanavaida23
    138. Uredditaccount5
    139. MaieCar
    140. sciferlogical
    141. sujaypai
    142. bsanderit
    143. armking
    144. joshichaitanya338
    145. cause
    146. Terbadr
    147. gopikishore
    148. michaelejoseph
    149. wewillsolvethesky
    150. hsams
    151. sem
    152. upitnow22
    153. stepowiec
    154. morad6
    155. surej
    156. brndnramsey
    157. Devanando
    158. vrajdora
    159. onuraltan
    160. TBLIXXXY
    161. Dibya
    162. imjayeshr
    163. masterpharmacist
    164. Hafsa_99
    165. Lordcosmo
    166. scvasilev
    167. bkthom1
    168. mtmind
    169. bvkprasad
    170. HafizAfwan
    171. AwaDoV
    172. afrrr
    173. wildstraywolf
    174. rashmi_pradhan
    175. Frank55
    176. CKlen
    177. anfod
    178. asoooomi_11
    179. khier
    180. irfanahmad
    181. mure
    182. Nnekabee
    183. arp009
    184. bb-guitar
    185. elombat
    186. jaidgossamer
    187. brightfeather
    188. -n--a--h-
    189. Dve
    190. abhicps
    191. bedlamp
    192. erik13121
    193. taramsab
    194. Kayoath
    195. 2512272
    196. cuencorhea
    197. Greelo
    198. bluesallee
    199. sharmav996
    200. cyrus64
    201. Frishee
    202. rm173
    203. kittymao02
    204. rdiouf
    205. rajpal
    206. mr_swagster
    207. Retsiela
    208. wj718824
    209. RetroLynx
    210. AG1973
    211. Vasiliy987011
    212. waterpolofred
    213. Flyhawk
    214. kanuparti
    215. provaguest
    216. Nesrocko
    217. rushmith
    218. svadukia
    219. Blassy
    220. Glo-kta
    221. Arenir
    222. eptins
    223. ahmed5_27
    224. Iventuz
    225. dgolden711
    226. manjikha
    227. Charan1435
    228. thegreatvs
    229. issa26
    230. sophiavk
    231. HagenGaryP
    232. hobieb1
    233. jachrie
    234. lilianzhangna
    235. Garima_21994
    236. namrata17
    237. fmartin95
    238. saviour913
    239. kevinpatel7
    240. icehouse9924
    241. brainiac5000
    242. dorfalan
    243. manavarora
    244. ascppl
    245. Tentalus
    246. ekn90
    247. gh0s7
    248. Euael1
    249. kpkm16
    250. 7zvynx
    251. Ashurbek
    252. mkfs.ureddit
    253. rakkesh.reddit
    254. Leomeee
    255. alekcrane
    256. Regime
    257. mudconrad
    258. nishanthoblirajan
    259. StevenSinsmore
    260. manishb27
    261. Vincenttaylor99k
    262. buttscratcher3000
    263. choj
    264. ssamuelson1906
    265. laurianne_franco
    266. Unalume
    267. candidodmv
    268. akn3107
    269. scottyjr87
    270. chiranth7
    271. texas888
    272. shastrivj
    273. frankbaugh
    274. Shubham172
    275. drr21
    276. shauryakhurana07
    277. sarather1999
    278. thieutridung
    279. dogdestroyer
    280. Duxas
    281. MayLing
    283. sakshi91
    284. canela95
    285. GunsoSniper
    286. majidhws
    287. Husam21
    288. 43llo
    289. Grecale
    290. kunaljain86
    291. buideals
    292. dhershkowitz
    293. arkiralor
    294. myndhack
    295. el3ctricman
    296. mtocooke
    297. ryanh12345
    298. ThatClimbingPanda
    299. Tetiana_Lytvyniuk
    300. waniekara
    301. stefannes