he allocated python objects show growth in
the Gb range.
--
Robin Becker
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
On 06/03/2020 22:04, Eryk Sun wrote:
On 3/6/20, Robin Becker wrote:
OK I want to read the (small) file completely. The other process may try to
re-write the file while I am reading it.
I thought the other process already had the file open for writing, but
apparently you just want to deny
ir read.
thanks, but I have no control over (and little knowledge about) the other process; the intention is to poll an output
folder for say *.txt files and post these to a web server for processing.
Readers don't block other readers, while writers block both writers and readers.
.
On 05/03/2020 16:04, Eryk Sun wrote:
On 3/5/20, Robin Becker wrote:
I want to be able to read a windows file which is being periodically written
by another process.
I'm having difficulty reconciling this sentence with the subject line.
OK I want to read the (small) file completely
On 05/03/2020 14:19, paul.kon...@dell.com wrote:
On Mar 5, 2020, at 5:42 AM, Robin Becker wrote:
[EXTERNAL EMAIL]
I want to be able to read a windows file which is being periodically written by
another process. I created a small extension ...
that seems to work, but I wonder if there
OR_EXIT();
}
that seems to work, but I wonder if there's an easier pure python way to do this. Looking at the docs I see O_EXCL, but
the _SH_DENY flags seem to be absent.
--
Robin Becker
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
g25
_aggstate.lib _aggstate.pyd.manifest
digging a bit deeper I find taht the problem comes from the exp file and the linker /EXPORT. It seems that the
/EXPORT:init_aggstate can be suppressed for this build and the warning disappears, but something (I a
state.lib and object
build\temp.win-amd64-2.7\Release\_aggstate
.exp
*PS this also occurs when compiling with 3.7, but there the initializer
function is PyInit__aggstate
--
Robin Becker
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
On 22/03/2017 15:27, Zachary Ware wrote:
On Wed, Mar 22, 2017 at 10:14 AM, David Rock wrote:
On Mar 22, 2017, at 09:48, Robin Becker wrote:
do I get extra stuff from c:\Python27 because those folders are in my execution
PATH variable;
Yes; that’s how Windows works.
No; that's no
#x27;\n'.join(sys.path))"
C:\Python27
C:\Python27\Scripts
c:\Python36\python36.zip
c:\Python36\DLLs
c:\Python36\lib
c:\Python36
c:\Python36\lib\site-packages
do I get extra stuff from c:\Python27 because those folders are in my execution
PATH variable; seems a bit dodgy to have those fold
s that connections to SQL Server might be obtained in Python. In
> general, it would seem that the version of Python may have changed. The
> bit-width of the SQL Server server should not affect a data client.
>
>
> On Thu, May 5, 2016 at 3:18 AM, Robin Becker wrote:
>>
>> A cl
python
software is running on 32/64 bit python.
--
Robin Becker
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
problem is here?
--
Robin Becker
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
On 29/01/2014 12:56, Robin Becker wrote:
...
1) The application is currently set up as a virtual environment, but it was
created as using enthought python. It has pywin32 installed, but running
pythonservice.exe gives an error "cannot import module site"
My questions are: sho
win32 installed, but running
pythonservice.exe gives an error "cannot import module site"
My questions are: should I dump enthought and install python and all the
dependenxies normally?
Also is it possible/practical to get a service to run inside a python virtual
environment?
ou tried to
create a connection. Earlier you were getting "TypeError: exceptions must
be classes or instances, not str". Try putting a valid connection string in
your test.
thanks,
Preston
..
you're absolutely right, I must have been snow blind. The exception's no longer
a s
win32\odbc.pyd
-rw-rw-rw- 1 user group 28160 Jul 5 2009
C:\Python26\lib\site-packages\win32\odbc.pyd
C:\code\rlextra\graphics\guiedit>
can you tell me what the timestamp of your odbc.pyd is to finally eliminate that
as the source of the problem?
--
Robin Becker
__
ad.py
C:\Python26\lib\site-packages\win32\odbc.pyd
Traceback (most recent call last):
File "C:\code\rlextra\examples\graphics\toad.py", line 6, in
raise
TypeError: exceptions must be classes or instances, not str
C:\code\rlextra\examples\graphics>
so I guess odbc must be rai
during the import.
I cannot give an authoritative answer for odbc (sorry).
--
Vernon
On Tue, Dec 29, 2009 at 6:44 AM, Robin Becker wrote:
I'm trying to use the odbc extension in a cross-python version. The problem
is that recent pythons/win32 versions have changed the odbc dbi interface.
n the modern context just importing dbi causes a warning so I would prefer to
avoid testing the result of dbi.dbiDate(..) etc etc
--
Robin Becker
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
://ginstrom.com/scribbles/2008/02/26/python-gui-programming-platforms-for-windows/#Win32
--
Robin Becker
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
be able to detect that the date is out of range and raise some kind of
ValueError or something.
I guess an alternative would be to abandon compatibility with python's time
module and switch to datetime for the dbDate construction.
--
Robin Becker
work
without extra complication, but an extension needs an extra step ie entering
and
enabling in the WSE list.
--
Robin Becker
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
David Primmer wrote:
> Robin Becker wrote:
>> Robin Becker wrote:
>>> I thought I'd check here in case anyone has already connected django to IIS.
>> despite this it seems that the application produces a page. However, no
>> matter
>> what I try I canno
Robin Becker wrote:
> I thought I'd check here in case anyone has already connected django to IIS.
>
>
Well I thought I'd give the isapi module a twirl as it seemed it would be easy,
but with IIS 6 running on a virtual Win Server 2003 Web edition I fell at the
first
ates the dll etc etc?
--
Robin Becker
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
ne
24, in GetIDLEModule
__import__(modname)
File "C:\Python\Lib\site-packages\pythonwin\pywin\idle\AutoIndent.py", line
503, in ?
import tokenize
File "C:\Python\lib\tokenize.py", line 38, in ?
COMMENT = N_TOKENS
exceptions.NameError: name 'N_TOKENS
thonwin\pywin\idle\AutoIndent.py", line
546, in run
_tokenize.tokenize(self.readline, self.tokeneater)
File "c:\python\lib\tokenize.py", line 153, in tokenize
tokenize_loop(readline, tokeneater)
File "c:\python\lib\tokenize.py", line 159, in tokenize_loop
for token_info in generate_tokens(readline):
File "c:\python\lib\tokenize.py", line 229, in generate_tokens
raise IndentationError(
IndentationError: unindent does not match any outer indentation level
win32ui: OnInitialUpdate() virtual handler (>)
raised an exception
--
Robin Becker
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
32 bit (Intel)]
on win32.
Portions Copyright 1994-2004 Mark Hammond ([EMAIL PROTECTED]) -
see 'Help/About PythonWin' for further copyright information.
>>>
--
Robin Becker
___
Python-win32 mailing list
Python-win32@python.org
htt
ocuments.Add()
wrange=doc.Range()
for i in xrange(10):
wrange.InsertAfter("Hello from Python %d\n" % i)
paras = doc.Paragraphs
for i in xrange(len(paras)):
p = paras[i]()
p.Font.ColorIndex = i+1
p.Font.Size = 12 + (4 * i)
illed by killing the toplevel window).
This is build 203 Python 2.4
--
Robin Becker
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
.exe.
--
Robin Becker
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
32 matches
Mail list logo