Schedule

Schedule

Wednesday, July 23

1406158200 The Giz Wiz
1406163600 Ham Nation

Thursday, July 24

1406221200 Tech News Today
1406224800 Know How...
1406228400 The Social Hour
1406233800 Coding 101
1406237400 Home Theater Geeks
1406242800 Tech News 2Night
1406246400 OMGcraft

Friday, July 25

1406307600 Tech News Today
1406311200 This Week in Law
1406318400 Android App Arena
1406329200 Tech News 2Night

Saturday, July 26

1406397600 The Tech Guy

Sunday, July 27

1406484000 The Tech Guy
1406498400 This Week in Tech

Monday, July 28

1406566800 Tech News Today
1406570400 Triangulation
1406575800 iPad Today
1406588400 Tech News 2Night
1406590200 Marketing Mavericks

Tuesday, July 29

1406653200 Tech News Today
1406656800 MacBreak Weekly
1406664000 Security Now
1406671200 Before You Buy
1406674800 Tech News 2Night
1406678400 All About Android

Wednesday, July 30

1406734200 FLOSS Weekly
1406739600 Tech News Today
1406743200 Windows Weekly
1406750400 This Week in Google
1406761200 Tech News 2Night
1406763000 The Giz Wiz
1406768400 Ham Nation

Thursday, July 31

1406826000 Tech News Today
1406829600 Know How...
1406833200 The Social Hour
1406838600 Coding 101
1406842200 Home Theater Geeks
1406847600 Tech News 2Night
1406851200 OMGcraft

Friday, August 1

1406912400 Tech News Today
1406916000 This Week in Law
1406923200 Android App Arena
1406934000 Tech News 2Night

Saturday, August 2

1407002400 The Tech Guy

Most Recent Episodes

iFive for the iPhone

Siri airplane tip, Group Photo Stream tricks, Lookout for lost iPhone.

Tech News 2Night

Facebook's record mobile earnings.

FLOSS Weekly
Episode #302: Open Mirage July 23rd, 2014

Mirage OS is a library OS that works across a variety of cloud computing and mobile platforms.

Tech News Today

The good side of drones.

All About Android

Google's enterprise vision for Android.

Before You Buy

Jason Howell previews the OnePlus One smartphone.

Security Now

To what degree is iOS a Surveillance tool?

Tech News 2Night

Apple ramps-up larger screen production.

MacBreak Weekly
Episode #412: iTime July 22nd, 2014

Apple granted 'iTime' smartwatch patent.

Tech News Today
Episode #1054: NY-Fi July 22nd, 2014

New York's plans to replace phone booths with Wi-Fi hotspots.

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: