Re: [Tutor] How to add modules?

2013-09-19 Thread Albert-Jan Roskam
> From: eryksun >To: Naman Kothari >Cc: tutor@python.org >Sent: Thursday, September 19, 2013 2:37 PM >Subject: Re: [Tutor] How to add modules? > > >On Thu, Sep 19, 2013 at 6:05 AM, Peter Otten <__pete...@web.de> wrote: >> As I'm not a windows user have no firs

[Tutor] Web services was: Re: Tutor Digest, Vol 115, Issue 35

2013-09-19 Thread Alan Gauld
On 19/09/13 12:43, Ismar Sehic wrote: I'm especially interested in SOAP and XMLRPC, for now. Please do not forward the entire digest. Some people have to pay by the byte and it also clutters up inboxes. Also please use a sensible subject line rather than: Re: Tutor Digest, Vol 115, Issue 35

Re: [Tutor] Field Width

2013-09-19 Thread Jenny Allar
Thanks, Dave. Your statement "it does nothing to guess what else you put on the line" was like a light bulb that went off in my head. I think I was relating the field width to a left, center, or right justification, and that's not the case at all. Well now I feel silly! Thanks, Jenny On

Re: [Tutor] Tutor Digest, Vol 115, Issue 35

2013-09-19 Thread Ismar Sehic
; >> >> Here is my code: >> >> def main(): >> >> # Set up constants for cost per yard, flat fee, and tax rate >> cost_carpet = 5.50 >> fee = 25 >> tax = .06 >> >> # Ask for yards needed >> yards_needed =

Re: [Tutor] Tutor Digest, Vol 115, Issue 35

2013-09-19 Thread Ismar Sehic
tal_due = subtotal + tax_rate > > # Print blank line > print() > > # Print infomation > print("The cost of the carpet is $", format(subtotal,'9,.2f')) > print("The flat fee is $", format(fee,'9,.2f')) > print("

Re: [Tutor] Copy and paste python on Microsoft word

2013-09-19 Thread Luca Ferrari
On Wed, Sep 18, 2013 at 6:59 AM, Sammy Cornet wrote: > I'm using python 3.3.0, I have made a program on my script and output it. I > have tried several times to copy and paste the output and the script on > Microsoft word, every time I select the part that I need and right click on > it, this m

Re: [Tutor] How to add modules?

2013-09-19 Thread eryksun
On Thu, Sep 19, 2013 at 6:05 AM, Peter Otten <__pete...@web.de> wrote: > As I'm not a windows user have no first-hand experience with the above. Once > you have pip installed you can search the Python package index (aka "Cheese > Shop", ) with pip requires a C compile

Re: [Tutor] Field Width

2013-09-19 Thread bob gailer
On 9/18/2013 12:50 PM, Jenny Allar wrote: I'm only a few days in to learning Python, so please bear with me. That's what we are here for. I need to line up the decimals on the printed information but I cannot get the text to look uniform at all. Suggestions to help us help you. - post only t

Re: [Tutor] How to add modules?

2013-09-19 Thread Peter Otten
Naman Kothari wrote: > Can you please suggest a link from where i can download SendKeys module > for python. Also provide an explanation to add the module to my library. > PS: I am a Windows user. I'd start installing a tool called "pip". I suggest that you follow the instructions given here: h

Re: [Tutor] Field Width

2013-09-19 Thread Dave Angel
On 18/9/2013 12:50, Jenny Allar wrote: > I'm only a few days in to learning Python, so please bear with me. > > I need to line up the decimals on the printed information but I cannot get > the text to look uniform at all. > > > Here is my code: > > > # Print infomation > print("The c

Re: [Tutor] Field Width

2013-09-19 Thread Peter Otten
Jenny Allar wrote: > I'm only a few days in to learning Python, so please bear with me. Welcome! > I need to line up the decimals on the printed information but I cannot get > the text to look uniform at all. > print("The cost of the carpet is $", format(subtotal,'9,.2f')) > print("The

[Tutor] How to add modules?

2013-09-19 Thread Naman Kothari
Can you please suggest a link from where i can download SendKeys module for python. Also provide an explanation to add the module to my library. PS: I am a Windows user.___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options

[Tutor] Field Width

2013-09-19 Thread Jenny Allar
I'm only a few days in to learning Python, so please bear with me. I need to line up the decimals on the printed information but I cannot get the text to look uniform at all. Here is my code: def main(): # Set up constants for cost per yard, flat fee, and tax rate cost_carpet = 5.50