Re: [Tutor] Need help on Setup.py
What is pywin32 ? I mean what is its use ? -- Xcited 2 be AliveSriram ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Need help on Setup.py
Sriram Jaju ramjaju.m...@gmail.com wrote What is pywin32 ? I mean what is its use ? It is a set of Python modules that gives access to the Windows API, including COM functions. Using it you can create native Windows GUIs from Python or, more usefully, integrate with Windows Operating System features and other Windows programs like Powerpoint or Outlook. It's pretty much essential if you want to interact with Windows at the OS level. (Although ctypes can also be used nowadays with a little bit extra effort) pywin also includes the PythonWin IDE - a Windows specific tool similar to IDLE (but much better). More details on the pywin web site. Also the author has an O'Reilly book (Python Programming on Win32) which covers many pywin features. HTH, Alan G. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Need help on Setup.py
Victor Binns vic_p...@hotmail.com wrote I have been trying to add some of the extras with python such as pywin32 and others. when i click on setup.py it does not work. I need help on the problem. It does not work is pretty vague, can you give more specifics? How are you running it? What error messages do you get? What is the end state - is anything installed and if so where? Also, is there a reason you are using setup.py for pywin32? That is normally installed as a binary installer. See here: http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/ There is an exe file for most Python versions... Although I just noticed that a zip file including the source seems to be the default option if you just hit the big geen button... HTH, -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Need help on Setup.py
Hi Victor, On 1 February 2011 07:38, Victor Binns vic_p...@hotmail.com wrote: I have been trying to add some of the extras with python such as pywin32 and others. when i click on setup.py it does not work. I need help on the problem. This is because setup.py is not intended to just be run without paramters/arguments. This is explained in the readme, which states: 'setup.py' is a standard distutils build script. You probably want to: % setup.py install or % setup.py --help As for Python itself, these extensions require MSVC7 for Python 2.4 and later, otherwise MSVC6. Some extensions require a recent Platform SDK from Microsoft, and in general, the latest service packs should be installed, but run 'setup.py' without any arguments to see specific information about dependencies. A vanilla MSVC installation should be able to build most extensions and list any extensions that could not be built due to missing libraries - if the build actually fails with your configuration, please log a bug via http://sourceforge.net/projects/pywin32.@ Notice, this implies that pywin32 includes C modules..., which means that to install from pywin32 from sources you'll also need a C compiler (Microsoft Visual Studio I guess.) This is, I strongly suspect, not what you intended at all, so for PyWin32 you really want to just download a Windows .exe installer package and install that, as Alan suggested. In general, if you're installing pure Python packages (e.g. no C modules), setup.py install is a perfectly acceptable way to install such packages/modules. If there's native Windows intsaller packages available that's also of course fine (and probably easier for Windows users due to being more familiar.) Regards, Walter ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
[Tutor] Need help on Setup.py
I have been trying to add some of the extras with python such as pywin32 and others. when i click on setup.py it does not work. I need help on the problem. Victor___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor