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
> To: "Steven D'Aprano"
> Cc: "tutor@python.org"
> Subject: Re: [Tutor] finally without try or except
> Message-ID:
>
> Content-Type: text/plain; charset="
On Tue, Jul 31, 2012 at 10:32 AM, Tino Dai wrote:
>
> File "/home/tdai/ProjectOne-TNT/leg_apps/etl/transfers/__init__.py", line
> 8, in
> from api import models
> File "/home/tdai/ProjectOne-TNT/leg_apps/api/models.py", line 20, in
>
> from etl.transfers import eastern
> ImportError:
On Tue, Jul 31, 2012 at 5:23 PM, Prasad, Ramit wrote:
> [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 n
[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
On Mon, Jul 30, 2012 at 9:01 PM, Steven D'Aprano wrote:
> 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 transaction
> storage. An
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 para
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", lin
hmmm ... menu "window">"Reset 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 wrote:
> Hello List,
>
> I'm very happy with PyDev plugin for Eclipse as a Python IDE (I'm on
> Eclipse 3.7, WinXP with l
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
> a
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 messin
>> 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.
___
On Tue, Jul 31, 2012 at 5:52 AM, ttmticdi . 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 dad_mo
> > 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 form
13 matches
Mail list logo