Hello win32,
Python 2.4
Problem:
Works fine when running python test.py but fails when executing test.exe.
[Note test.exe was created using py2exe]
conn = win32com.client.gencache
.EnsureDispatch('ADODB.Connection')
conn.Open("Provider='SQLOLEDB';Data Source='.';Initial Catalog='mydatabase';
How feasible is it to write programs like the supplied example in pure
python, ideally without resorting to ctypes? (ctypes is bloody useful
but if I'm going to that amount of trouble I could just write plain C)
By extension can you make a decent barebones Windows screensaver with
not too much cod
> If you're using native windows, you can catch the WM_DROPFILES
> window message and use win32api.DragQueryFile to get the
> names of dropped
> files.
It may also be necessary to call DragAcceptFiles. This is missing from
win32gui (but has been addded), but does exist in win32ui. You may need t
If you're using native windows, you can catch the WM_DROPFILES
window message and use win32api.DragQueryFile to get the names of dropped
files.
Roger
"Nisarg Kothari" <[EMAIL PROTECTED]> wrote:
>I need a way to drag and drop file[names] from windows into some Python
> based gui. The onl
[Nisarg Kothari]
| I need a way to drag and drop file[names] from windows into
| some Python based gui. The only thing I found remotely close
| to what I'm looking for is Tkdnd.py, but that only works within
| the program. I need support for dragging from the windows desktop
| or explorer wind
Hello everyone,
If you have ever used UltraEdit, you will know that it
can convert encoding from Unix/Mac to Dos. Does
anybody know how I can do it in Python without the
help of UltraEdit? For example, to convert the
encoding from Unix/Mac to Dos for a TXT file.
Regards
Ye
___
I need a way to drag and drop file[names] from windows into some Python
based gui. The only thing I found remotely close to what I'm looking for
is Tkdnd.py, but that only works within the program. I need support for
dragging from the windows desktop or explorer window. As I have not yet
begun maki