> which implies that getattr(x, 'a!b') should be equivalent to x.a!b
No, it does not. The documentation states equivalence for two
particular values, and there is no way to deduce truth for all cases
from that. In fact, if it _was_ trying to say it was true for any
attribute value, then your examp
On Sat, 12 Nov 2011 19:06:32 +, lbrt chx _ gemale wrote:
> I have also been getting errors reporting:
> ~
> RTMP download detected but "rtmpdump" could not be run
> ~
> What does it mean? Is it a youtube thing or a python/youtube-dl one (or
> both)? Could you fix that with some flag?
Try
just got this from Richard:
Justine told me they are looking for Python
programmers. (It involves Django also.)
so, if anyone is interested to help them out, please contact Justine.
Best wishes
Harald
--
Harald Armin Massa
no fx, no carrier pigeon
-
--
http://mail.python.org/mailman/listin
~
I did find my way (through a silly hack) to get all files within a size range
without waiting for youtube-dl to be "enhanced". You could simply run
youtube-dl in simulate mode and then parse that data to get the info
~
$ youtube-dl --help | grep simulate
-s, --simulate do not d
Hi all,
I'm writing script in python, which fitting exponencial curve to data (
f(x) = a*exp(x*b).
To this problem, I use gnuplot in my script. Gnuplot display parameters ( a
+/- delta a; b +/- delta b)
How Can I use/save this parameters in python variables in next steps of my
script,
def main():
On Nov 8, 12:09 am, Lie Ryan wrote:
> On 11/08/2011 01:21 PM, Travis Parks wrote:
>
>
>
>
>
> > On Nov 7, 12:44 pm, John Gordon wrote:
> >> In John Gordon writes:
>
> >>> In<415d875d-bc6d-4e69-bcf8-39754b450...@n18g2000vbv.googlegroups.com>
> >>> Travis Parks writes:
> Which web framewo
Dear Colleague,
Within the 10th International Symposium on Biomechanics and Biomedical
Engineering - CMBBE2012 (http://www.cmbbe2012.cf.ac.uk), to be held in
Berlin, Germany, on April 11-14, 2012, we are organizing the Special
Session on “Computational Methods for Bio- Imaging and Visualization”.
candide wrote:
> First, could you confirm the following syntax
>
> import foo as f
>
> equivalent to
>
> import foo
> f = foo
>
>
>
> Now, I was wondering about the usefulness in everyday programming of
the
> as syntax within an import statement. [ ... ]
It gives you an out in a case like
On Sat, 2011-11-12 at 12:56 +0100, candide wrote:
> So what is the pragmatics of the as syntax ?
Another case:
try:
import json
except:
import simplejson as json
(same goes for several modules where the C implementation may or may not
be available)
Tim
--
http://mail.python.org/mail
El 12/11/11 13:43, Tim Chase escribió:
I hate trying to track down variable-names if one did something like
from Tkinter import *
+1
--
http://mail.python.org/mailman/listinfo/python-list
On 11/12/11 05:56, candide wrote:
First, could you confirm the following syntax
import foo as f
equivalent to
import foo
f = foo
and the issuing "del foo"
Now, I was wondering about the usefulness in everyday programming of the
as syntax within an import statement. Here are some instances
On 12 November 2011 11:56, candide wrote:
> First, could you confirm the following syntax
>
> import foo as f
>
> equivalent to
>
> import foo
> f = foo
>
>
>
> Now, I was wondering about the usefulness in everyday programming of the as
> syntax within an import statement. Here are some instances
On Sat, Nov 12, 2011 at 10:56 PM, candide wrote:
> import foo as f
>
> equivalent to
>
> import foo
> f = foo
>
Not quite, it's closer to:
import foo
f = foo
del foo
without the fiddling around. What the 'import... as' syntax gives is a
way to separate the thing loaded from the name bound to. S
First, could you confirm the following syntax
import foo as f
equivalent to
import foo
f = foo
Now, I was wondering about the usefulness in everyday programming of the
as syntax within an import statement. Here are some instances retrieved
from real code of such a syntax
import numpy as
14 matches
Mail list logo