to
download old builds -- the only question is whether they should receive
the benefits of new builds. I do recommend clearly segregating and
labeling builds to avoid confusion.
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
"In times like these, it hel
bad idea?
Keeping in mind that I have zero experience with adodbapi and that most
of my development experience has been more Linux-based (with a fair
amount of general DB work), this certainly falls into the kind of
behavior that I think would make using a framework easier, so +1 unless
so
uestion here if preferred, but there's a lot of
> formatting and I'm posting this from a phone. Hope the stackoverflow link
> is acceptable.
I'm certainly not looking at Stackoverflow, and it disrupts the archives
of this list. Please repeat your full question
d code
> works perfect now.Thanks
http://docs.python.org/3/whatsnew/3.0.html#common-stumbling-blocks
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
Weinberg's Second Law: If builders built buildings the way programmers wrote
programs, then the first wood
x27;t touched a real Windows box in years, I only run Windows
on a Mac under Fusion or VirtualBox. I've had zero problems of the kind
you're describing.
I suggest that you provide exact error messages. You might also try a
stripped-down application to see whether it's
otection in -- you need our servers, and our code isn't particularly
clever.
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
"Do not taunt happy fun for loops. Do not change lists you are looping over."
--Remco Gerlich
is it really true that
> it is impossible to protect the binaries from reversing?
Not serious enough to warrant your time and money. Absolutely true.
The only way to protect your code is to put it on a server. But then
people can only use your software when connected to the Interne
hat "should" not
change anything, but I've seen people report all kinds of weird problems
with mingw.)
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
"Programming language design is not a rational science. M
plorer defaults are set up for somebody who doesn't
> have a clue.
That's actually wrong even for people who don't have a clue because it
guarantees an annoying failure later...
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.co
utilities (i.e. you're on
Linux or CygWin), you can do sort -u.
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
"Think of it as evolution in action." --Tony Rand
___
python-win32 mailing list
python-
I'm subscribed already
You may get better answers posting to a general Python group (e.g.
comp.lang.python).
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
"Think of it as evolution in action." --Tony Rand
his list:
Do *NOT* use bare except: clauses. At the very least, that means you
won't properly handle KeyboardInterrupt. Always try to catch the
specific exceptions you're expecting. For more info, see
http://docs.python.org/howto/doanddont.html
It also would have been easier to just
the reference in that
> sentence...
It's a colossal mistake.
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
"If you think it's expensive to hire a professional to do the job, wait
until you hire an amateur." --Red Adair
f anything
# has the file open, will fail
h = win32file.CreateFileW(
fname,
win32file.GENERIC_READ,
0, # exclusive access
None, # no security attrs
win32file.OPEN_EXISTING,
win32file.FILE_FLAG_NO_BUFFERING,
rs in response to a similar
question:
Are any of your imports buried inside "if" or "def" statements? py2exe
uses a module-finding technique that doesn't work with those, and you'll
either need to change your code or list the modules in setup.py
--
Aahz
ify is only for linux
> dazuko can catch on linux
> what can work on windows to see the file open and file access event ?
We're using ReadDirectoryChangesW to catch changes; I have no idea
whether that would give the info you want.
--
Aahz (a...@pythoncraft.com) <*>
ow. If the WMI stuff doesn't work for you and you need
> this kind of thing (and don't have/want a top-level window) then we
> can try to run something up on the basis of the article.
That's definitely true for my company (running as a service), so if
hat I don't.
>
> ... so I've now added it:
>
> http://timgolden.me.uk/python/win32_how_do_i/detect-device-insertion.html
Thanks!
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
"At Resolver we've found it useful to short
t; calling/storing the list in memory, that is, using the data directly
> from the file on disk:
This doesn't seem like a win32-specific issue -- you may get better
responses by posting to comp.lang.python.
--
Aahz (a...@pythoncraft.com) <*> http://www.pytho
hing obvious about these two functions that would cause an error? I
> do not always trust errors with line numbers to give me the right line
> number.
You probably have an indentation error, but I can't tell because the code
from your message had completely messed up inde
o select a screen area.
Actually, I just looked in my Windows virtual machine and you can do
alt-space, edit, select all, enter
You can also use try/except and the traceback module to capture an
exception and write it to a file.
--
Aahz (a...@pythoncraft.com) <*> http://www
" methods?
Just for examples?
BTW, I think that in example code it's a Good Idea to follow PEP8...
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
"If you think it's expensive to hire a professional to do the job, wait
until you hire
On Wed, Dec 16, 2009, Ross Boylan wrote:
>
> The log also says "build 213 will not be recommended for production work
> and should be treated as beta quality. " Is 214 considered reasonably
> solid?
I'm using 214 for production work.
--
Aahz (a...@pythoncraft.com)
d fall
> under this category. This suggests that either the PyWin32 ISAPI C
> code is launching the threads, or the ISAPI framework itself.
Do you have evidence that your Python code is running in multiple
threads? I.e. are you sure this isn't just ISAPI running some cleanup
work in anothe
On Tue, Nov 24, 2009, niki wrote:
> Aahz wrote:
>
>>> h = win32file.CreateFile(fname, win32file.GENERIC_READ, 0, None,
>>> win32file.OPEN_EXISTING, win32file.FILE_FLAG_NO_BUFFERING, None)
>
> I used OPEN_FOR_DELETE to do similar test.
Thanks! Made note.
On Mon, Nov 23, 2009, Aahz wrote:
>
> I'm having some problems with Tim Golden's file_handles.py [*] (details
> below), and it occurs to me that perhaps I should start over and express
> my requirement more broadly and see if someone has a more "Windows
> appropriat
our .EXE as malware. I have no idea what calls the .SYS
uses to get open files.
[*] http://winsys.googlecode.com/svn/trunk/random/file_handles.py
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
The best way to get information on Usenet is not t
posted the announcement to the pyobjc, pygtk and pywin32
> lists because PyGUI uses all of those libraries, and because
> I don't know of any single mailing list where people interested
> in Python GUIs in general can be found.
I'm on both pyobjc and pywin32 lists, and
On Tue, Nov 03, 2009, Rob Brown-Bayliss wrote:
>
> When I run the following code in linux all goes well. But when I try
> in win32 I get a pickle error saying it cant pickle None Type when I
> start the process.
You need to provide a full traceback.
--
Aahz (a...@pyt
The signature for win32evtlogutil.AddSourceToRegistry() on page 359 of
win32 has "EventLogType", which should be "eventLogType".
Do I win anything? ;-)
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
[on old computer technologies and
On Sun, Oct 25, 2009, Roger Upole wrote:
> Aahz wrote:
>> On Fri, Oct 23, 2009, Tim Roberts wrote:
>>> Aahz wrote:
>>>>
>>>> Perhaps it would be better to think more strategically. I don't
>>>> actually
>>>> care about th
On Fri, Oct 23, 2009, Tim Roberts wrote:
> Aahz wrote:
>>
>> Perhaps it would be better to think more strategically. I don't actually
>> care about the list of open files. What I care about is a list of files
>> that I want to process and checking whether any of
On Fri, Oct 23, 2009, Tim Golden wrote:
> Aahz wrote:
>>
>> Wow! Thanks! Now that I know more what to look for, I did some
>> searching and found this post that had no response:
>>
>> http://mail.python.org/pipermail/python-win32/2009-June/009268.html
>
On Fri, Oct 23, 2009, Tim Roberts wrote:
> Aahz wrote:
>> On Fri, Oct 23, 2009, Christopher Nilsson wrote:
>>>
>>> But, wow... Just starting with windows programming, and jumping right
>>> into the semi-documented territory. Brave. :)
>>
>> Well
On Fri, Oct 23, 2009, Tim Golden wrote:
> Aahz wrote:
>>
>> I'm just getting into Windows programming for the first time, and I need
>> to list all open files. Windows has a convenient function for that
>> (NtQuerySystemInformation), but I can't figure ou
l Python community
Oh, wait, I have [stops Spanish Inquisition re-run here]
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
Member of the Groucho Marx Fan Club
___
python-win32 mailing list
python-win32@python.o
On Fri, Oct 23, 2009, Andrew MacIntyre wrote:
> Aahz wrote:
>>
>> I'm just getting into Windows programming for the first time,
>> and I need to list all open files. Windows has a convenient
>> function for that (NtQuerySystemInformation), but I can't figur
anything
about accessing random API calls;
ctypes.windll.kernel32.NtQuerySystemInformation gives an AttributeError.
Where should I be looking to figure this out?
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
Member of the
38 matches
Mail list logo