Author ocean-city
Recipients amaury.forgeotdarc, christian.heimes, draghuram, loewis, mhammond, ocean-city
Date 2008-02-10.02:12:41
SpamBayes Score 0.00932693
Marked as misclassified No
Message-id <1202609563.17.0.938695272668.issue1763@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry for interruption. I'm a little doubtful this is really needed.
We can get "My Documents" path by following 5 lines of code.

import ctypes

dll = ctypes.windll.shell32
buf = ctypes.create_string_buffer(300)
dll.SHGetSpecialFolderPathA(None, buf, 0x0005, False)
print buf.value

And if this patch goes in, I'm using clipboard in my several python
scripts, is it also possible to add clipboard support?
(I implemented ocean/clipboard.py under PYTHONPATH and now using it
personally)

# And, well, r60696 blocks me from building python on VC6, if this change
# (WINVER = 0x500) is required for this issue only, I'm happy if this
# would be reverted but... I cannot claim it loudly. I'm using win2000,
# and latest free compiler doesn't support it :-(
History
Date User Action Args
2008-02-10 02:12:43ocean-citysetspambayes_score: 0.00932693 -> 0.00932693
recipients: + ocean-city, loewis, mhammond, amaury.forgeotdarc, draghuram, christian.heimes
2008-02-10 02:12:43ocean-citysetspambayes_score: 0.00932693 -> 0.00932693
messageid: <1202609563.17.0.938695272668.issue1763@psf.upfronthosting.co.za>
2008-02-10 02:12:42ocean-citylinkissue1763 messages
2008-02-10 02:12:41ocean-citycreate