Hi,
odbc retrieving value "None" when the data in a row has string length more
that 216 characters.
The Column AdditionalUpdates is of datatype ntext.
the value in it has a string length more than 216, which when retrieved
gives None.
-
is error:
error: (5, 'InitiateSystemShutdown', 'Access is denied.')
I'm i missing anything or any window's way of doing this kind of things.
Thank you very much for the responce.
Thanks,
Siddhartha
> 1. Connection to remote machine registry fails.
> (siddh
Hi ,
I'm trying to connect to a remote windows machine's registry using
ConnectRegistry and try to get the process architecture information.
Here is the code snippet for it
#processRegKey = "System\CurrentControlSet\Control\Session
Manager\Environment"
#processRegValue = "PROCESSOR_ARCHITECTURE"
Hi,
I have used the following code snippet to copy files or folder from remote
machine to local machine.
I have used the same method to copy files to remote machine.
Can some one point me to solve this?
Or
Help needed to copy files or folders from remote machne ot lcoal one and
also remote to
Hi all
Do we have a way to install pywin32 module silently.?
Does the exe which is downloable support silent installation?
thanks
Siddhartha
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
hi,
i have a product (client/server based) that can be installed on any window
server os with 32,x64 and IA64 bit support.
i need to run my scripts which will update my product.
i wrote for 32bit using python2.5 and using pyodbc, pywin32 modules.
I see that i can use 32bit ones on x64 but not on
Hi all,
I trying to connect to MSSQl 2005 Database which is on a x64 bit machine.
i have installed 32bit python2.5 and pyodbc.pywin32-211
i have created a odbc DSN.
When i'm using this DSN in the script it errors out saying
('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not
f
Hi,
Thank you Everybody who vested their valuable time in replying me.
Thanks Vernon Cole
Thanks Michael.
Michael,
As you said,i have downloaded the latest version of pyodbc and tested with
it.
same issue comes up again.
Other facts i noticed while testing :
1) The script just exists with retur
Hi,
Summary-: python.exe crashes while connecting to the MSSQL Database on
remote machine using pyodbc module
OS-: win 2003 server, 32bit
Installed python products: python 2.5,pyodbc-2.0.52,pywin32-211
Problem Description & Steps followed:
i have MSSQL Database on a remote machine
i have created
Hi,
> Summary-: python.exe crashes while connecting to the MSSQL Database on
> remote machine using pyodbc module
> OS-: win 2003 server, 32bit
> Installed python products: python 2.5,pyodbc-2.0.52,pywin32-211
>
> Problem Description & Steps followed:
> i have MSSQL Database on a remote machine
>
Hi,
i have used the following code to create Map NetWork Drive.
But it is not visble when i open "My Computer" window.
---
import win32net,time
data = {}
data['remote'] = r'\\fredo\Project'
data['local'] = 'K:'
data['user'] =
Thanks Tim.
Sorry,i was wrong in using the operators
i modified the script and once again i ran it
import os, sys
from _winreg import *
KEY_WOW64_64KEY = 256
regHandle = OpenKey(HKEY_LOCAL_MACHINE,"SOFTWARE\Value
Systems\ValApp\Instance001",0,KEY_WOW64_64KEY|KEY_READ|KEY_WRITE)
print regHandle
val
Hi,
Hello,
I have installed 32bit python on x64 bit machine.
I also installed pywin32-211.win32-py2.5.exe
As part of a script i required to access the registry and i used the
following code snippet.
import os, sys
from _winreg import *
KEY_WOW64_64KEY = 256
regHandle = OpenKey(HKEY_LOCAL_MACHINE
On Wed, Jul 23, 2008 at 4:27 PM, siddhartha veedaluru <
[EMAIL PROTECTED]> wrote:
> Hi,
>
> Tried the following snippet:
>
> import os, sys
> from _winreg import *
> KEY_WOW64_64KEY = 256
> regHandle =
> OpenKey(HKEY_LOCAL_MACHINE,"SOFTWARE\Myapp\Base&
Hi,
Tried the following snippet:
import os, sys
from _winreg import *
KEY_WOW64_64KEY = 256
regHandle =
OpenKey(HKEY_LOCAL_MACHINE,"SOFTWARE\Myapp\Base",0,KEY_WOW64_64KEY)
val = QueryValue(regHandle,"nPLATTYPE")
print val
Got the following error
Traceback (most recent call last):
File "C:\Pr
Hello
i cannot access some of the values from registry using
32bit python on x64bit machine
i need to install 32bit because i couldn't get x64bit pyodbc module.
Can anyone know where can i get the x64 version pyodbc.
or solution to the above problem.
thanks
Siddhartha
__
Hi,
Getting the following error while i install the pyodbc module and import it
>>> import pyodbc
Traceback (most recent call last):
File "", line 1, in
import pyodbc
ImportError: DLL load failed with error code 193
i have installed win32it pyodbc module in a x64 Win 2003 os already havin
Hi,
As part of a task i need to verify that last line of a text file is blank.
When i read that file, its getting ignored and i couldn't able to check
that.
Here is the code snippet that i used:
import os
iniFileName = "Config.ini"
iniFile = open(iniFileName, 'r')
lines = iniFile.readlines()
noOf
Hi all,
The following code snippet gives the error
import wmi
c = wmi.WMI()
for i in c.Win32_Product():
print i.Name
Output
---
Windows Installer Clean Up
Python 2.5.1
Debugging Tools for Windows
Windows Resource Kit Tools
Adobe Reader 8.1.2
Java(TM) SE Runtime Environment 6
Java(TM) 6 U
Hi,
we are using HP Quality Center Test Director.
It provides Open Test Architecture API so that we can you use this API with
other tools such as VB,C++ to connect,perform operation etc with
TestDirector.The Open Test Architecture API is a COM library.
Using PythonWin COM Browser i can see its O
Hi,
we are using HP Quality Center Test Director.
It provides Open Test Architecture API so that we can you use this API with
other tools such as VB,C++ to connect,perform operation etc with
TestDirector.The Open Test Architecture API is a COM library.
Using PythonWin COM Browser i can see its Ob
Hi,
Sorry about the confusing question.
Here is what i want to achieve
i have certain updates that i need to install on different machines
These updates are placed in a location and is mapped to all the machines
There will be an exe file say "InstallUpdate.exe" for every update.
i need to run t
Hi,
i'm tring to execute a exe that is placed in the mapped network drive on
remote machine
it seems it is not getting recognised.
How can i run the exe on the mapped network drive
Thanks,
Siddhartha
___
python-win32 mailing list
python-win32@python.or
Thanks tim,
But when i give user and pass information it is not able to create the dsn
It is default local system user name and creating, which fails connecting to
database.
i gave the user information as following:
"SQL Server", SERVER="SQLSVR01",DESCRIPTION="MS SQL Server DSN",
DSN="MyDSN", DA
Hi,
I'm trying to create a Sytem DSN which points to a MSSQL Database on remote
machine.
i tried using the following code snip in the following link
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/414879
i customized the script according to my requirements and it got created but
i could
Hi,
I need to run a command on remote machine (may be in another domain also)
and get the output and return code of that command or exe.
Also i need to copy file to remote machine.?
Can i achive it through wmi, if not help how can i get it done.
Thanks a million,
Siddhartha
Hi,
how can i create an x64 exe of a python script on a 32 bit machine.
Please let me know if need any other information
Thanks
Siddhartha
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
lt;[EMAIL PROTECTED]>
> Subject: Re: [python-win32] python-win32 Digest, Vol 60, Issue 26
> Cc: python-win32@python.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> siddhartha veedaluru wrote:
> > Hi Tim,
>
than "Re: Contents of python-win32 digest..."
>
>
> Today's Topics:
>
> 1. Library not Registered Error while running (siddhartha veedaluru)
> 2. Re: Library not Registered Error while running (Tim Golden)
>
>
> -------
;Re: Contents of python-win32 digest..."
>
>
> Today's Topics:
>
> 1. Library not Registered Error while running (siddhartha veedaluru)
> 2. Re: Library not Registered Error while running (Tim Golden)
>
>
> -------
ormat=flowed
siddhartha veedaluru wrote:
> I have installed win32 extensions on my windows 2003 server
> i'm using python 2.5.1.
>
> downloaded the wmi module 1.3.2 to my machine
> used
>
> "python setup.py install"
>
> to install the module
>
> i tried run
Hello,
I have installed win32 extensions on my windows 2003 server
i'm using python 2.5.1.
downloaded the wmi module 1.3.2 to my machine
used
"python setup.py install"
to install the module
i tried run an example mentioned in the web page. it gave the following
error.
File "C:\Python25\Lib\si
32 matches
Mail list logo