You should be using double quotes on this line and you are missing the last
quote:
print 'You're not Chris!
Should be:
print "You're not Chris!"
On Wed, Jan 11, 2012 at 8:17 AM, col speed wrote:
> On 11 January 2012 20:11, Max S. wrote:
> > I believe that line 3 raises an error. The becaus
On 2012-01-11 07:57, Joel Goldstick wrote:
On Wed, Jan 11, 2012 at 7:34 AM, Marco Casazza wrote:
Hello,
I've been slowly teaching myself python, using it for small projects when it
seems appropriate. In this case, I was handed a list of email addresses for
a mailing but some of them had been t
On 11 January 2012 20:11, Max S. wrote:
> I believe that line 3 raises an error. The because you contained the text
> in single quotes, and then used the same character in 'you're not chris',
> Python believes that you are trying to type "you" re not chris". You can
> change the single quotes su
On Tue, Jan 10, 2012 at 11:24 PM, Dave Angel wrote:
> On 01/10/2012 04:53 PM, Hugo Arts wrote:
>>
>> On Tue, Jan 10, 2012 at 8:31 PM, Adrian wrote:
>>>
>>> Hi guys,
>>> I know that if i dont include any path information, python looks in the
>>> current directory for the file. My question is how d
I believe that line 3 raises an error. The because you contained the text
in single quotes, and then used the same character in 'you're not chris',
Python believes that you are trying to type "you" re not chris". You can
change the single quotes surrounding your string to double quotes ("you're
n
On Wed, Jan 11, 2012 at 7:34 AM, Marco Casazza wrote:
> Hello,
>
> I've been slowly teaching myself python, using it for small projects when it
> seems appropriate. In this case, I was handed a list of email addresses for
> a mailing but some of them had been truncated. There are only 21 possible
Hello,
I've been slowly teaching myself python, using it for small projects
when it seems appropriate. In this case, I was handed a list of email
addresses for a mailing but some of them had been truncated. There are
only 21 possible email "suffixes" so I planned to just identify which it
sho
Hi Chris
I'm new to programming and Python myself so I would listen to the
previous guys first, and I'll repeat a bit of what has already been
mentioned...
Make sure you define 'x'. Is name really an 'int', or is it possibly a 'str'?
Fix any indentation issues.
Is there anything you can do with
Hi Sue,
> I am trying to define a new coordinate for My plot.
>
> I have a plot x axis is Concentration, Y axis, depth or Z.
>
> Z= -1000 um.
> and I would like to see the the trend and plot of concentration up to
> -300 um and see how the plot changed according to the depth. So, my
> main que
> your_weight = int(raw_input("Please enter your weight: "))
> if your_weight < 0:
> print 'You're not Chris!'
> elif your_weight == 170:
> print 'You might be Chris! But...'
> your_height = int(raw_input("Please enter your height: "))
> if your_height < 180:
>
On Wed, Jan 11, 2012 at 10:24 AM, Steven D'Aprano wrote:
> Noah Hall wrote:
>>
>> On Wed, Jan 11, 2012 at 7:14 AM, Chris Johnson
>> wrote:
>>>
>>> Hi there,
>>>
>>> I am *new* (I cannot put enough emphasis on that!) to Python programming,
>>> and to programming in general. I am trying to write ou
Noah Hall wrote:
On Wed, Jan 11, 2012 at 7:14 AM, Chris Johnson wrote:
Hi there,
I am *new* (I cannot put enough emphasis on that!) to Python programming,
and to programming in general. I am trying to write out a statement that
will protect a file on my computer from being run unless I enter t
Hi:
I am trying to define a new coordinate for My plot.
I have a plot x axis is Concentration, Y axis, depth or Z.
Z= -1000 um.
and I would like to see the the trend and plot of concentration up to
-300 um and see how the plot changed according to the depth. So, my
main question is about how to
13 matches
Mail list logo