Schedule

Schedule

Friday, February 27

1425060000 Tech News Today
1425063600 This Week in Law
1425081600 Tech News 2Night

Saturday, February 28

1425150000 The Tech Guy

Sunday, March 1

1425231000 TWiT Live Specials
1425236400 The Tech Guy
1425250800 This Week in Tech

Monday, March 2

1425319200 Tech News Today
1425322800 Triangulation
1425328200 iPad Today
1425335400 Coding 101
1425340800 Tech News 2Night

Tuesday, March 3

1425405600 Tech News Today
1425409200 MacBreak Weekly
1425418200 Security Now
1425427200 Tech News 2Night
1425430800 All About Android

Wednesday, March 4

1425486600 FLOSS Weekly
1425492000 Tech News Today
1425495600 Windows Weekly
1425502800 This Week in Google
1425513600 Tech News 2Night
1425515400 Android App Arena
1425520800 Ham Nation

Thursday, March 5

1425578400 Tech News Today
1425582000 Know How...
1425587400 Marketing Mavericks
1425592800 Home Theater Geeks
1425600000 Tech News 2Night
1425601800 The Giz Wiz

Friday, March 6

1425664800 Tech News Today
1425668400 This Week in Law
1425679200 Before You Buy
1425686400 Tech News 2Night
1425690000 Padre's Corner

Saturday, March 7

1425754800 The Tech Guy

Sunday, March 8

1425837600 The Tech Guy
1425852000 This Week in Tech

Most Recent Episodes

This Week in Computer Hardware

USB 3.1 performance, NVIDIA faces lawsuit for GeForce GTX 970 and more.

The Giz Wiz

Sick science toys, ThinkGeek blocks & games, Chad drinks from the Petaluma River and more!

Tech News 2Night

Apple sends invitations for March 9th announcement

Home Theater Geeks

Chip Adams, NBC Olympics, and thanks to SMPTE.

Know How...

Airbag for your Motorcycle.

Coding 101

Let's talk about structures.

Marketing Mavericks

Building a community before the brand

Tech News Today

Google breaks Google+ into pieces

Ham Nation
Episode #185: Hello New Hams! February 25th, 2015

Randy(K7AGE) builds a field strength meter from a digital multimeter.

Android App Arena
Episode #34: Battery February 25th, 2015

Battery Percent Enabler, Battery Panic, Battery Widget Reborn, YouTube Kids

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: