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
someone has a specific objection.
--
Aahz (a...@pythoncraft.com
, 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 here.
--
Aahz (a...@pythoncraft.com) * http
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 something in your code.
--
Aahz (a...@pythoncraft.com
, 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
___
python-win32 mailing list
python-win32
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 Internet.
--
Aahz (a...@pythoncraft.com) * http
,
in __import_pywin32_system_module__
import _win32sysloader
ImportError: DLL load failed: The specified module could not be found
What happens if you use VC++ 2008 Express? (Yes, that should not
change anything, but I've seen people report all kinds of weird problems
with mingw.)
--
Aahz
), 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-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
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
___
python-win32 mailing list
python-win32
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 use traceback.format_exc() unless
you're stuck with Python less than 2.4.
--
Aahz (a...@pythoncraft.com
= win32file.CreateFileW(
fname,
win32file.GENERIC_READ,
0, # exclusive access
None, # no security attrs
win32file.OPEN_EXISTING,
win32file.FILE_FLAG_NO_BUFFERING,
None
)
h.Close()
--
Aahz
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 (a...@pythoncraft.com) * http://www.pythoncraft.com
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) * http://www.pythoncraft.com/
Many customs in this life persist because
/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 it's
not too much trouble for you, we'd definitely appreciate it.
--
Aahz (a...@pythoncraft.com) * http
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-circuit any doubt and just
refer to comments in code as 'lies
, 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.pythoncraft.com/
If you think it's expensive to hire a professional to do
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.pythoncraft.com/
If you think it's expensive to hire
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 indentation.
--
Aahz (a...@pythoncraft.com) * http
...
--
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
___
python-win32 mailing list
python-win32@python.org
http
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) * http
.
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 another thread?
--
Aahz (a...@pythoncraft.com) * http://www.pythoncraft.com/
The best way to get information on Usenet is not to ask
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.
--
Aahz (a...@pythoncraft.com
://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 to ask a question, but
to post the wrong information.
--
Aahz (a...@pythoncraft.com) * http
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
appropriate solution: all I really care about
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 I think PyGUI announcements
are appropriate.
--
Aahz (a...@pythoncraft.com
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...@pythoncraft.com
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 programmers] Fancy tail fins
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 the list of open files. What I care about is a list of files
that I want to process and checking
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 out how I am supposed to
call it. I bought of copy
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, I have three things going for me:
* I've been programming
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
Assuming that I only care about monitoring open
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 them are open. What
would
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 Groucho Marx Fan Club
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 figure
out how I am supposed to call it. I bought
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.org
http://mail.python.org/mailman/listinfo/python-win32
34 matches
Mail list logo