Joel Goldstick wrote:
> On Sun, Dec 6, 2015 at 12:21 PM, wrote:
>> * Same question as right above but with the if tests on lines 5-8.
>> * I've also used ( ) around the if tests, but I'm not sure if this is
>> good Python style or not.
>>
>> 1 def measure_string(desired_text,
>> 2
qualityaddict...@gmail.com wrote:
> [Note: Tried sending this twice to the Python-List mail list but I never
> [saw it come through to the list.]
>
> Hello everyone,
>
> I am beginning to learn Python, and I've adapted some code from Google
> into the function below. I'm also looking at
On Mon, Dec 7, 2015 at 4:34 AM, Joel Goldstick wrote:
>> 5 if (desired_text != '') and \
>> 6 (desired_font_family != '') and \
>> 7 (desired_font_size != '') and \
>> 8 ((is_multi_lines == "True") or (is_multi_lines == "False")):
>>
>
> The above test will always
On Sun, Dec 6, 2015 at 12:21 PM, wrote:
> [Note: Tried sending this twice to the Python-List mail list but I never
> saw it come through to the list.]
>
> Hello everyone,
>
> I am beginning to learn Python, and I've adapted some code from Google
> into the function below. I'm also looking at