print Mum is in a %s mood % (mum_mood)
print Dad is in a %s mood % (dad_mood)
Hi Victoria!
Since you have only one format character in the strings above there is
no need to surround the variables mum_mood and dad_mood with
parenthesis.
You only do that when you have multiple formats in
On Tue, Jul 31, 2012 at 5:52 AM, ttmticdi . ttmti...@gmail.com wrote:
print Mum is in a %s mood % (mum_mood)
print Dad is in a %s mood % (dad_mood)
Hi Victoria!
Since you have only one format character in the strings above there is
no need to surround the variables mum_mood and
Ex:
No!
print Hi %s! You like %s and %s (user_name, x, y)
Yes!
print Hi %s! You like %s and %s % (user_name, x, y)
Forgot the interpolation operator(%). Thank you very much Joel for
correcting me.
Regards,
ttmticdi.
___
Tutor maillist -
Hello List,
I'm very happy with PyDev plugin for Eclipse as a Python IDE (I'm on
Eclipse 3.7, WinXP with latest Pydev).
Recently I've installed the Remote System Explorer plugin for Eclipse which
adds the ability to edit remote files on a server when I need it (awesome).
Unfortunately it's
Hello learner404,
Tuesday, July 31, 2012, 8:02:26 AM, you wrote:
Hello List,
I'm very happy with PyDev plugin for Eclipse as a Python IDE (I'm
on Eclipse 3.7, WinXP with latest Pydev).
File C:\Documents and
Settings\myaccount\workspace\RemoteSystemsTempFiles\LOCALHOST\c\Documents
and
hmmm ... menu windowReset perspective and close all perspectives
seems to have fix the problem.
Sorry for unnecessary mail.
On Tue, Jul 31, 2012 at 2:02 PM, learner404 learner...@gmail.com wrote:
Hello List,
I'm very happy with PyDev plugin for Eclipse as a Python IDE (I'm on
Eclipse 3.7,
Hi All,
I have been banging my head against a wall trying to figure it out.
I'm getting a ImportError on a
class that I know exists. I'm wondering if there is some dark corner of the
import mechanism that
I don't understand.
-Tino
Traceback (most recent call last):
File manage.py, line
On 31/07/2012 15:32, Tino Dai wrote:
Hi All,
I have been banging my head against a wall trying to figure it
out. I'm getting a ImportError on a
class that I know exists. I'm wondering if there is some dark corner of
the import mechanism that
Try running python with the -v
On Mon, Jul 30, 2012 at 9:01 PM, Steven D'Aprano st...@pearwood.infowrote:
If you want to be robust, it is best not to try to beat the database. That
means you should write to the database as soon as you can, as often as you
need to, and let the database do what it does best: reliable
[snip]
This will be the most robust as it will
also work for cases where the program is terminated without the use of
the keyboard (i.e. kill -9, task manager, computer reboot, etc.) but
That unfortunately is not so. kill -9 does *not* send a signal or raise an
exception. It just kills
On Tue, Jul 31, 2012 at 5:23 PM, Prasad, Ramit ramit.pra...@jpmorgan.comwrote:
[snip]
This will be the most robust as it will
also work for cases where the program is terminated without the use of
the keyboard (i.e. kill -9, task manager, computer reboot, etc.) but
That
On Tue, Jul 31, 2012 at 10:32 AM, Tino Dai obe...@gmail.com wrote:
File /home/tdai/ProjectOne-TNT/leg_apps/etl/transfers/__init__.py, line
8, in module
from api import models
File /home/tdai/ProjectOne-TNT/leg_apps/api/models.py, line 20, in
module
from etl.transfers import
On Jul 31, 2012, at 12:26 PM, tutor-requ...@python.org wrote:
Message: 2
Date: Tue, 31 Jul 2012 10:44:29 -0400
From: Tino Dai obe...@gmail.com
To: Steven D'Aprano st...@pearwood.info
Cc: tutor@python.org tutor@python.org
Subject: Re: [Tutor] finally without try or except
Message-ID:
13 matches
Mail list logo