Schedule

Schedule

Wednesday, January 28

1422462600 FLOSS Weekly
1422468000 Tech News Today
1422471600 Windows Weekly
1422478800 This Week in Google
1422489600 Tech News 2Night
1422491400 Android App Arena
1422496800 Ham Nation

Thursday, January 29

1422554400 Tech News Today
1422558000 Know How...
1422561600 Marketing Mavericks
1422567000 Coding 101
1422570600 Home Theater Geeks
1422576000 Tech News 2Night
1422577800 The Giz Wiz

Friday, January 30

1422640800 Tech News Today
1422644400 This Week in Law
1422662400 Tech News 2Night

Saturday, January 31

1422730800 The Tech Guy

Sunday, February 1

1422817200 The Tech Guy
1422831600 This Week in Tech

Monday, February 2

1422900000 Tech News Today
1422903600 Triangulation
1422909000 iPad Today
1422921600 Tech News 2Night

Tuesday, February 3

1422986400 Tech News Today
1422990000 MacBreak Weekly
1422997200 Security Now
1423004400 Before You Buy
1423008000 Tech News 2Night
1423011600 All About Android
1423020600 Padre's Corner

Wednesday, February 4

1423067400 FLOSS Weekly
1423072800 Tech News Today
1423076400 Windows Weekly
1423083600 This Week in Google
1423094400 Tech News 2Night
1423096200 Android App Arena
1423101600 Ham Nation

Thursday, February 5

1423159200 Tech News Today
1423162800 Know How...
1423166400 Marketing Mavericks
1423171800 Coding 101
1423175400 Home Theater Geeks
1423180800 Tech News 2Night
1423182600 The Giz Wiz

Friday, February 6

1423245600 Tech News Today
1423249200 This Week in Law
1423267200 Tech News 2Night

Most Recent Episodes

All About Android

Google's mobile network, Yota Phone's screen, and Blackberry's App Neutrality.

Padre's Corner

Cancer-curing eggs, Microsoft and Droning Under the Influence

Before You Buy

BlackBerry Classic takes us back in time.

Tech News 2Night

Twitter Rolls Out Private Group Messaging

Security Now

Apple will allow China to run security audits on its products sold in China.

MacBreak Weekly

Apple earnings report preview.

Tech News Today

Feds nab a Russian spy ring that wanted to destabilize the stock market.

This Week in Enterprise Tech

Microsoft's new pricing strategy

Tech News 2Night
Episode #261: Sling TV Review January 26th, 2015

Google Gave FBI WikiLeak's Emails

iPad Today

Khan Academy on iPad, stylus rumors, Secret Siri commands

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: