Re: [Tutor] print method in Python2.7 problem

2015-03-15 Thread Alan Gauld
To be fair to Doug his mails aren't cp,ing through to the list fully. I susp3ect because he is using an Outlook message format with lots of fancy formatting and a background all of which are being sent as attachments... Here is his text (with a lot of extraneous whitespace removed): -

Re: [Tutor] print method in Python2.7 problem

2015-03-15 Thread Mark Lawrence
On 15/03/2015 17:40, Mark Lawrence wrote: On 15/03/2015 16:46, Doug Basberg wrote: Nothing because it was in a completely unnecessary attachment (some people won't even receive it), so here's the code. Stat = {'Vbatt': 51.24, 'Ichrg': 6.75} print ' SOLAR PANEL VOLTAGE' print('DSB "HI;" %

Re: [Tutor] print method in Python2.7 problem

2015-03-15 Thread Steven D'Aprano
On Sun, Mar 15, 2015 at 12:46:04PM -0400, Doug Basberg wrote: > Stat = {'Vbatt': 51.24, 'Ichrg': 6.75} > print ' SOLAR PANEL VOLTAGE' > print('DSB "HI;" %s') % (str(Stat['Vbatt'])) > print(' %s') % > (str(Stat['Vbatt'])) Yes? What about it? Do you have a question or do you expect us to re

Re: [Tutor] print method in Python2.7 problem

2015-03-15 Thread Mark Lawrence
On 15/03/2015 16:46, Doug Basberg wrote: Nothing because it was in a completely unnecessary attachment (some people won't even receive it), so here's the code. Stat = {'Vbatt': 51.24, 'Ichrg': 6.75} print ' SOLAR PANEL VOLTAGE' print('DSB "HI;" %s') % (str(Stat['Vbatt'])) print(' %s')

[Tutor] print method in Python2.7 problem

2015-03-15 Thread Doug Basberg
Stat = {'Vbatt': 51.24, 'Ichrg': 6.75} print ' SOLAR PANEL VOLTAGE' print('DSB "HI;" %s') % (str(Stat['Vbatt'])) print(' %s') % (str(Stat['Vbatt'])) ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://m