Schedule

Schedule

Saturday, April 18

1429380000 The Tech Guy

Sunday, April 19

1429466400 The Tech Guy
1429480800 This Week in Tech

Monday, April 20

1429549200 Tech News Today
1429552800 Triangulation
1429558200 iPad Today
1429565400 Coding 101
1429570800 Tech News 2Night

Tuesday, April 21

1429635600 Tech News Today
1429639200 MacBreak Weekly
1429648200 Security Now
1429657200 Tech News 2Night
1429660800 All About Android

Wednesday, April 22

1429716600 FLOSS Weekly
1429722000 Tech News Today
1429725600 Windows Weekly
1429732800 This Week in Google
1429743600 Tech News 2Night
1429745400 Android App Arena
1429750800 Ham Nation

Thursday, April 23

1429808400 Tech News Today
1429812000 Know How...
1429817400 Marketing Mavericks
1429822800 Home Theater Geeks
1429830000 Tech News 2Night
1429831800 The Giz Wiz

Friday, April 24

1429894800 Tech News Today
1429898400 This Week in Law
1429909200 Before You Buy
1429916400 Tech News 2Night

Saturday, April 25

1429984800 The Tech Guy

Sunday, April 26

1430071200 The Tech Guy
1430085600 This Week in Tech

Monday, April 27

1430154000 Tech News Today
1430157600 Triangulation
1430163000 iPad Today
1430170200 Coding 101
1430175600 Tech News 2Night

Most Recent Episodes

Before You Buy

First looks at the 3DR Solo Drone and Sony HDR 4K Monitors at NAB.

This Week in Enterprise Tech

AT&T suing the FCC, Skype for Business, and Android is ready for work.

Tech News 2Night

What's so great about Slack?

This Week in Law

Co-founder of Invisible Girlfriend Matt Homann and crowd-sourced labor.

Tech News Today

Google now shows Apps in search results, on Android devices.

This Week in Computer Hardware

Intel Skylake Leaks!

The Giz Wiz

Onewheel, ThinkPad Stacks, Epson HD Whiteboard, and more.

Tech News 2Night

The best apps for your messy digital life

Home Theater Geeks
Episode #252: NAB 2015 April 16th, 2015

The latest and greatest from NAB 2015

Marketing Mavericks

How to make your app sticky.

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: