Hi,
Please anyone say how to find win32api.py file and where its present??
i am Getting the below error...
from win32com.shell import shell
File "C:\Python25\Li b\site-packages\win32c om\__init__.py" , line 5, in <module>
import win32api, sys, os
ImportError: No module named win32api
my code is below:
import win32com
from win32com.shell import shell
shell.SHBrowseF orFolder()
1 6206 bartonc 6,596
Recognized Expert Expert
Hi,
Please anyone say how to find win32api.py file and where its present??
i am Getting the below error...
from win32com.shell import shell
File "C:\Python25\Li b\site-packages\win32c om\__init__.py" , line 5, in <module>
import win32api, sys, os
ImportError: No module named win32api
my code is below:
import win32com
from win32com.shell import shell
shell.SHBrowseF orFolder()
Some additional info from you would be helpful, but you may just need to install the latest version.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Matt Smith |
last post by:
hi all, again....
having another problem with python COMs, I run a python script on a
win2000 machine, that uses win32com.client and it runs perfectly,
whereas when I come to run it on a win98 machine (the machine that the
code, when completed, will be running from in the future) it returns
the error:
Traceback (most recent call last):
File "firsttry.py", line 1, in ?
|
by: Gary Richardson |
last post by:
I'm trying to use win32api.SetCursorPos() to position the cursor in a
Tkinter canvas window. I.e.:
from Tkinter import *
import win32api
root = Tk()
canvas = Canvas(root, width=400, height=300, bg='white')
canvas.pack()
win32api.SetCursorPos(100,100)
root.mainloop()
|
by: Josh |
last post by:
Hi All,
I am trying to print a pdf file from python using the Win32api
shellexecute method and am having a problem, or perhaps just a
misunderstanding, with the bshow parameter. Am I correct to assume that
if the bshow parm is set to 0, that the program will not show when
launched? e.g.:
win32api.ShellExecute (0, "print", "test.pdf", None, ".", 0)
|
by: xytho33 |
last post by:
I need to be able to programatically get the version info from a
windows DLL preferably in the same format as what is displayed in the
properties tab.
I was overjoyed to find Mark Hammond's Python Extensions
(http://starship.python.net/crew/mhammond/) The package includes a
little demo program "filevers.py" distributed in the win32api download
that does exactly what I need.
Unfortunately I get this error when I execute the script:
|
by: Nurchi BECHED |
last post by:
Hello, my dearest respected brother, All!
How do you make calls to Win32Api functions from C#
I have an old example in Visual FoxPro...
Kind of need to do the same in C# now...
I need to get volume information (as much as possible)
I am sure .Net Framework has already got something to
do with it, but I am also interested (in learning purposes)
how to do the same using Win32Api.
Here goes a part of Visual FoxPro example:
| |
by: Jim |
last post by:
I am trying to figure out how to embed Python in a little C++ Windows
console app. Here's the code:
// Py_Initialize();
Py_InitializeEx(0);
PyRun_SimpleString("from win32com.client import *");
Here's what it does on the last line:
File "D:\Python\Lib\site-packages\win32com\__init__.py", line 5, in ?
|
by: Mike |
last post by:
Hi.
I have Python 2.4 installed on my local machine in c:\Python24. I have
also downloaded the python for windows extensions installer
pywin32-208.win32-py2.4.exe and installed this to
C:\Python24\Lib\site-packages
Trying to run a python script through a C# console app is causing me
problems: the last line of code in the following block results in a no
module named win32ap error. I'm not sure if this is because there is no
|
by: tkpmep |
last post by:
I'm running Python 2.5.2 on Windows XP and need to interface with R,
so I downloaded the R 2.6.2 statistical package and installed it, and
did the same for RPy 1.02 (i made sure I got the version for Python
2.5 and R 2.62.). When I go to the Python command line and type
I get the following error message:
Traceback (most recent call last):
File "<pyshell#7>", line 1, in <module>
from rpy import *
|
by: Michiel Overtoom |
last post by:
On Saturday 19 July 2008 21:13:04 Lamonte Harris wrote:
What are the actions you do and the commands you give, and what is the precise
error you get?
Greetings,
--
"The ability of the OSS process to collect and harness
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |