Re: [Tutor] need help

2016-08-11 Thread Michael Selik
On Thu, Aug 11, 2016 at 1:15 PM Pallab Amway wrote: > expected an indented block > if-statements must have an indented block of code. For example: ``` if age < 12: print('You are a child') ``` ___ Tutor maillist - Tutor@python.org To unsubscribe

Re: [Tutor] need help

2016-08-11 Thread boB Stepp
On Aug 11, 2016 12:15 PM, "Pallab Amway" wrote: > > Respected sir > > Myself pallab kumar seal from India I am using python2.7 > in my window 7 but while I am using python to compile my program I am > getting following error > > Programe1 > > age = 21 > > if age < 12: > > pr

Re: [Tutor] Where is win32print in Windows 10 Pro [RESOLVED]

2016-08-11 Thread Ken G.
On 08/11/2016 01:19 PM, Alan Gauld via Tutor wrote: On 11/08/16 17:14, Ken G. wrote: Unfortunately, no printing is done yet. Still working on it. Your reference to duckduckgo.com provided a list of useful pywin32 attibutes but no examples was provided. Will keep looking. Thanks. PyWin32 is a v

[Tutor] need help

2016-08-11 Thread Pallab Amway
Respected sir Myself pallab kumar seal from India I am using python2.7 in my window 7 but while I am using python to compile my program I am getting following error Programe1 age = 21 if age < 12: print( "You ' re still a child!" ) elif age < 18: print( "You are a tee

Re: [Tutor] Where is win32print in Windows 10 Pro [RESOLVED]

2016-08-11 Thread Alan Gauld via Tutor
On 11/08/16 17:14, Ken G. wrote: > Unfortunately, no printing is done yet. Still working on it. Your > reference to duckduckgo.com provided a list of useful pywin32 attibutes > but no examples was provided. Will keep looking. Thanks. PyWin32 is a very thin layer on top of the Win32/COM API. You

Re: [Tutor] install issues - third party modules

2016-08-11 Thread Joaquin Alzola
> I get the following errors: You need to put the text error not the snapshot. This email is confidential and may be subject to privilege. If you are not the intended recipient, please do not copy or disclose its content but contact the sender immediately upon receipt. ___

Re: [Tutor] Where is win32print in Windows 10 Pro [RESOLVED]

2016-08-11 Thread Ken G.
On 08/11/2016 11:34 AM, Steven D'Aprano wrote: On Thu, Aug 11, 2016 at 10:28:44AM -0400, Ken G. wrote: import win32print ImportError: No module named win32print I have searched high and low within my Windows computer and have been unable to find 'win32print'

Re: [Tutor] Where is win32print in Windows 10 Pro

2016-08-11 Thread Steven D'Aprano
On Thu, Aug 11, 2016 at 10:28:44AM -0400, Ken G. wrote: > import win32print > > ImportError: No module named win32print > > > > I have searched high and low within my Windows computer and have been > unable to find 'win32print'. Any idea of where it is located

[Tutor] Where is win32print in Windows 10 Pro

2016-08-11 Thread Ken G.
Currently in my Windows 10 Pro, 64-bit operating system, x64-bit based processor, using Python-2.7.12.amd64, I have for the first few lines: ``` import os, sys import win32print ` and get the following error message: `

Re: [Tutor] install issues - third party modules

2016-08-11 Thread Alan Gauld via Tutor
On 11/08/16 01:16, N Woodruff wrote: > I have downloaded python 3.5.2, and installed it without issues on windows > 7. > > Now I cannot get Third-party modules to install. I want to use openpyxl. How are you running pip? It should be run from a Windows CMD prompt, NOT from the Python >>> prompt

[Tutor] install issues - third party modules

2016-08-11 Thread N Woodruff
Hello: I need some help with python installation, please. I have downloaded python 3.5.2, and installed it without issues on windows 7. Now I cannot get Third-party modules to install. I want to use openpyxl. I get the following errors: