Schedule

Schedule

Wednesday, December 17

1418868000 Ham Nation

Thursday, December 18

1418925600 Tech News Today
1418929200 Know How...
1418932800 Marketing Mavericks
1418938200 Coding 101
1418941800 Home Theater Geeks
1418947200 Tech News 2Night
1418949000 The Giz Wiz

Friday, December 19

1419012000 Tech News Today
1419015600 This Week in Law
1419033600 Tech News 2Night

Saturday, December 20

1419102000 The Tech Guy

Sunday, December 21

1419188400 The Tech Guy
1419202800 This Week in Tech

Monday, December 22

1419271200 Tech News Today
1419274800 Triangulation
1419280200 iPad Today
1419292800 Tech News 2Night

Tuesday, December 23

1419357600 Tech News Today
1419361200 MacBreak Weekly
1419368400 Security Now
1419375600 Before You Buy
1419379200 Tech News 2Night
1419382800 All About Android
1419391800 Padre's Corner

Wednesday, December 24

1419444000 Tech News Today
1419447600 Windows Weekly
1419454800 This Week in Google
1419465600 Tech News 2Night

Thursday, December 25

1419530400 Tech News Today
1419534000 Know How...
1419537600 Marketing Mavericks
1419543000 Coding 101
1419546600 Home Theater Geeks
1419553800 The Giz Wiz

Friday, December 26

1419616800 Tech News Today
1419638400 Tech News 2Night

Saturday, December 27

1419706800 The Tech Guy

Most Recent Episodes

Tech News 2Night

Netflix Says No to Offline Viewing

Android App Arena
Episode #26: App Launchers December 17th, 2014

Hangar, Lazy Swipe, App Swap, and SUPER.

Windows Weekly
Episode #393: Crap Patch Fever December 17th, 2014

Sprint Windows handset, Office Sway preview, and Windows 10 Build 9901.

FLOSS Weekly
Episode #319: Fedora 21 December 17th, 2014

Fedora 21 release, Mathew Miller, and cats.

Tech News Today

Sony Pictures employees are suing the company.

All About Android
Episode #192: Live and Let Die December 16th, 2014

Google Cardboard, Sharp Aquos crystal, and Sony Smartwatch 3

Security Now

Google proposes to begin marking "HTTP" as "Non-Secure" in 2015.

Before You Buy

Sony a7 II review.

Tech News 2Night

Samsung Might Launch Apple Pay Competitor

MacBreak Weekly
Episode #433: Uber for Cops December 16th, 2014

Apple Christmas ad, Apple Pay success, and more.

Coding 101 11

Python: Getting Started

April 3 2014

Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

Guest: Dale Chase

This week we are introducing our newest module, Python with Code Warrior Dale Chase!

How to Install Python

Go to Python.org and click on Python 2.7.6 under "Download". Choose the installer package for your operating system and click on them. The file will be downloaded. It is important to download 2.7 because 3.4.0 is NOT compatible with our lessons. If you want more information on what the differences are between 3.x and 2.x, please check out this handy information.
** Note: Python is AUTOMATICALLY INCLUDED ON Mac OS X ... however, you should probably download the latest rev2 version. **

Viewer submissions and questions will be back next week!

To see all the code used in today's episode, go to Our Github Repository for Module 2

Ivory Tower

Compiled vs. Interpreted Languages
* Compiled languages are reduced to a set of machine-specific instructions before being saved as a executable file
* Intepreted Languages are saved in the same format that you entered, then converted into machine language "Just in Time" - when they are needed.
-- Compiled Languages generally run faster, but are a little trickier to develop since they much be compiled for each platform that may use the program
-- Interpreted Languages generally run more slowly than Interpreted languages, but are more convienent for developers.

Whitespace
* In C#, you ended a line of code by typing ";"
* In Python, the WHITESPACE deliniated lines of code

Dynamic Variables
* In C#, we had to explicity declare variables to reserve memory space.

INT (Integer) = 2 Bytes 65536
LONG INT (Integer) = 4 Bytes 4,294,967,296
CHAR (Character) = 1 Byte 256
FLOAT (Floating Point = 4 Bytes 4,294,967,296

* We had to tell C# EXACTLY what type of data would be going into the variable, and it would reserve the necessary space in memory.

** We don't have to do that in Python.
-- Variables in Python are declared AUTOMATICALLY when a value is stored in the variable.

Here's how it works.
"Var1 = 100
Var2 = ""Hello World""
Var3 = ""3.14""" "This becomes an INT
This becomes a STRING
This Becomes a FLOAT"

Python has several Data Types:
"* Numbers
* Strings
* Lists
* Tuple
* Dictionary" "* (int, long, float, complex)
* Contiguous Set of Characters
* Arrays
* Read-Only Lists
* A Hash Table
"

Output to Screen
print "Hello World"
- or -
"Yo = ""Hellow World""
print Yo"

Input from user:
* Python has a built-in function called "raw_input()"
* When you use this function as follows:
"var1 = raw_input(""What's your age?"")
print var1"

Get in Touch With Us!

* Subscribe and get Coding 101 automatically at TWiT.tv!
* Follow PadreSJ and Snubs on Twitter.
* Watch the show live and join the chatroom every Thursday at 1:30pm PST.
* Email us at Padre@twit.tv and Shannon@twit.tv.
* Join our Google+ Community!

Download or subscribe to this show at twit.tv/code. Also, check out our transcripts.

Bandwidth for Coding 101 is provided by Cachefly.

Running time: 41:31

Sponsors: