Re: python

2014-10-11 Thread Paul Mooring
Hi Mike, While not technically deprecated, use of the `%` operator is discouraged in favor of the more powerful and more clear `format` function. The string presentation syntax of `%{some_character}` has a legacy rooted in C and other statically typed languages. Python is very dynamic and when p

Re: python

2014-10-11 Thread James Dugger
Plus 1 for Code Academy. The 13 Lessons are broken down into sub lessons so there are between 22 and 24 total lessons/exercises that must be completed to move on with the course. You learn by doing which is the only way to really learn programing. The thing about Code Academy is that it is entir

Re: python

2014-10-11 Thread Kevin Fries
%s will be the placeholder for a string and %d for a number. If you used say 15 as the value, and the template is %s you will get 15.to_s and is the value was "15" and the template was %d, the value will be "15".to_i. In other words it will try to do the appropriate conversion. So given your exa

Re: python

2014-10-11 Thread Michael Havens
I don't know. Codecademy is pretty but there are only 13 lessons in the course whereas thehardway has 52. :-)~MIKE~(-: On Sat, Oct 11, 2014 at 1:57 PM, Stephen M wrote: > I would say codeacademy.com because I've been doing that for so long. > But the interrupter is a little flaky. > > On Sat, O

Re: python

2014-10-11 Thread Stephen M
I would say codeacademy.com because I've been doing that for so long. But the interrupter is a little flaky. On Sat, Oct 11, 2014 at 1:24 PM, Larry Lauer wrote: > The videos can be helpful also if you buy the package. > > -Larry > > > On Sat, Oct 11, 2014 at 1:10 PM, Michael Havens wrote: > >>

Re: python

2014-10-11 Thread Larry Lauer
The videos can be helpful also if you buy the package. -Larry On Sat, Oct 11, 2014 at 1:10 PM, Michael Havens wrote: > that's the one I'm dong > > :-)~MIKE~(-: > > On Sat, Oct 11, 2014 at 12:53 PM, sean wrote: > >> Learnpythonthehardway.org >> On Oct 11, 2014 12:35 PM, "Michael Havens" wrote

Re: python

2014-10-11 Thread Michael Havens
that's the one I'm dong :-)~MIKE~(-: On Sat, Oct 11, 2014 at 12:53 PM, sean wrote: > Learnpythonthehardway.org > On Oct 11, 2014 12:35 PM, "Michael Havens" wrote: > >> Well, I've decided to try to learn python. Right now I'm on 'format >> string'.So there are different ones, right? Well, I'm w

Re: python

2014-10-11 Thread sean
Learnpythonthehardway.org On Oct 11, 2014 12:35 PM, "Michael Havens" wrote: > Well, I've decided to try to learn python. Right now I'm on 'format > string'.So there are different ones, right? Well, I'm working with %d and > %s right now and if I change the %d to a %s I get the same result when I

Re: python

2014-10-11 Thread Michael Havens
What do you guys recommend is a good source for learning python on your own? I'm going through but just thought I should see if you guys (and gals) have any recommendations. :-)~MIKE~(-: On Sat, Oct 11, 2014 at 12:34 PM, Michael Havens wrote: > Well, I've decided to try to learn python. Right n

python

2014-10-11 Thread Michael Havens
Well, I've decided to try to learn python. Right now I'm on 'format string'.So there are different ones, right? Well, I'm working with %d and %s right now and if I change the %d to a %s I get the same result when I run the program. My question is %x just a place holder or do they have special mean