Brewer's Profile
Reputation: 175
Stalwart
- Group:
- Contributor w/DIC++
- Active Posts:
- 1,051 (0.98 per day)
- Joined:
- 14-June 10
- Profile Views:
- 10,293
- Last Active:
Apr 19 2012 01:13 PM- Currently:
- Offline
Previous Fields
- Country:
- US
- OS Preference:
- Linux
- Favorite Browser:
- Chrome
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- XBox
- Your Car:
- Who Cares
- Dream Kudos:
- 275
Latest Visitors
-
static brain 
10 May 2013 - 03:10 -
modi123_1 
07 May 2013 - 17:53 -
darek9576 
09 Apr 2013 - 15:31 -
Kainyu 
27 Mar 2013 - 05:41 -
stayscrisp 
16 Jan 2013 - 10:16 -
vichot 
03 Dec 2012 - 21:31 -
no2pencil 
17 Nov 2012 - 11:58 -
macosxnerd101 
29 Oct 2012 - 09:51 -
handramini 
07 Jun 2012 - 14:26 -
Atli 
21 Feb 2012 - 05:01
Posts I've Made
-
In Topic: how can i check what type is in a list?
Posted 19 Apr 2012
Python provides a built-in function type(object) that will return object's type, whether it be string, integer, or user-defined. If you wanted to print the type of each object in a list, I would recommend taking an approach similar to this:
for item in list: print "%s -> %s." % (item, type(item)) -
In Topic: Printing a parameter
Posted 24 Feb 2012
atraub, on 24 February 2012 - 02:31 AM, said:Sorry to say, I wouldn't use Brewer's approach. That style of String formatting was deprecated as of Python 2.6, which means it won't be supported in later versions.
Most of Python DOCS seems to be down tongiht, but I did find this link confirming it. It's under the section "Changes Already Present In Python 2.6".
Hmm, that is interesting. I'll admit that I'm not terribly familiar with Python 3. +1
The new formatting syntax looks incredibly un-Pythonic. They should have stuck with the modulo syntax. -
In Topic: Free Python Programming Classes - Enrol Now!
Posted 23 Feb 2012
Skaggles, on 22 February 2012 - 03:57 AM, said:I signed up for the CS101 class and some of the students have started some IRC channels for people to continue discussions on freenode ##udacity-cs101. I've been looking for an excuse to learn Python and this seemed like that perfect opportunity.
What's your IRC handle? -
In Topic: Free Python Programming Classes - Enrol Now!
Posted 20 Feb 2012
EDIT: The site is now up! Good luck soldiers. -
In Topic: Free Python Programming Classes - Enrol Now!
Posted 20 Feb 2012
It is also worth noting that there has been a discussion on Google+ where someone has supposedly taking on the task of setting up a mirror site for people in countries that, for whatever reason, can't access Udacity.com. More info on this should be available in the days to follow.
My Information
- Member Title:
- Awesome
- Age:
- 20 years old
- Birthday:
- August 22, 1992
- Gender:
-
- Location:
- St. John's, NL, Canada
- Interests:
- Algorithms, Data Structures, Data Analysis, Databases, Applied Mathematics (Probability Theory, Statistics, Cryptography)
- Full Name:
- James Brewer
- Years Programming:
- 1
- Programming Languages:
- Learning: Python
Contact Information
- E-mail:
- Click here to e-mail me
- Website URL:
-
http://jamesbrewer.me/
- LinkedIn:
- http://www.linkedin.com/profile/view?id=125675808
- Facebook:
- http://facebook.com/jjb127
- Twitter:
- jamsbrewr
|
|


Find Topics
Find Posts
View Reputation Given


|
Comments
assert(C)
27 Jul 2011 - 08:12assert(C)
20 Jul 2011 - 07:04assert(C)
20 Jul 2011 - 06:43