On Tue, Oct 31, 2017 at 1:16 PM, Henk Zevenhuizen
wrote:
>
> Then i get the message: "after", the file is still there and i cannot delete
> the through windows explorer (permission denied)
> the only way to delete the file is killing python
Does Explorer explicitly tell you "permission denied" or
Generally, Windows won't let you delete a file if it's open somewhere,
whether in the same process or in another process. You said the file
becomes delete-able when you kill python, so I'm guessing that another part
of your program (not shown) is holding the file open? You can always use
something
I wrote a simple service and it works. Registration doesn't seem to be
needed. Sorry for silly question
Best regards,
Pavel Bychikhin
Original Message
*Subject: *pythonservice.exe doesn't register
*From: *Pavel Bychikhin
*To: *python-win32@python.org
*Date: *10/31/2017 5:13 P
The adodbapi package does not seem to handle datetime values appropriately.
import adodbapi
print(adodbapi.version)
cursor = adodbapi.connect(...)
cursor.execute("CREATE TABLE #t (i INT, d DATETIME)")
cursor.execute("INSERT INTO #t VALUES (42, GETDATE())")
cursor.execute("SELECT * FROM #t")
row =
Dear Community,
I'm trying to register pythonservice.exe as it's said in the PyWin32
documentation, but getting errors:
C:\Program Files\Python35\Lib\site-packages\win32>pythonservice.exe
/register
Registering the Python Service Manager...
Registration failed as sys.winver is not available o
Hi there,
This is my first mail to this list and i have a huge problem.
my os.remove(filename) is not working.
i am running python27 32 bits on a windows 10 64 bits machine
My piece of code (with debugging statements):
raw_input('before...')
print 73, (os.path.join(VERWERKTDIR