Nalli Dinesh wrote:
Hi,
python print statements are extensively used in my application for
debugging purpose. My application is ready, but I do not want to
remove the print statements and at the same time I do not want python
interpreter to execute/run the print statements. How can I
Tim Roberts wrote:
jim.vick...@noaa.gov wrote:
Hello everyone,
*_
Background
_*
1. I've created a Windows Service that looks for its configuration
data in a sub-folder of/ os.environ['APPDATA']/.
2. The Service is configured to automatically start after host reboot.
3. The
Hello all,
I'm writing a script to determine the versions of various installed
software packages.
How do I access the pywin32 build number from within a script?
For example:
* for the numpy package, it is: numpy.__version__
* for the PIL package, PIL.Image.VERSION seems to work
I
Mark Hammond wrote:
Jim Vickroy wrote:
I notice that the build number appears in:
* pywin32.version.txt
but I was hoping for something similar to numpy or PIL.
I can't see a huge gain in pywin32 opening that file just to make it
available in __version__, and having it manually
Hello all,
I am attempting to automate Sourcesafe access.
Here is a sample session:
import sys
sys.version
'2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]'
sys.subversion
('CPython', 'tags/r252', '60911')
sys.platform
'win32'
sys.getwindowsversion()
(5, 1, 2600, 2,
- Original Message -
From: RANDALL HOWELL [EMAIL PROTECTED]
Date: Monday, August 20, 2007 1:53 pm
Subject: [python-win32] Newbee question
I am trying to figure out how to code my stop pay. I
get paid 40 cents a stop for the first 22 stops, and
$1.40 for stops after that.
stops = 24
James Matthews wrote:
So i need to make the list a global variable
It could be but that is not necessary. The list is simply a variable
known to the program unit that creates the threading.Thread(...) instance.
On 7/3/07, *Jim Vickroy* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote
James Matthews wrote:
Dear List.
When spawning a thread using the threading module syntax new_thread =
threading.Thread(target=function_returning_a_list) How can i get the
list that this function is supposed to return.
Thanks
James
--
http://www.goldwatches.com/watches.asp?Brand=14
Sam The Cat wrote:
Help !
I am writing some COM code in Python to control photoshop. Several
functions of PS require an Array argument. In the examples of VBscript
or javascript the Array type is used. I have tried what would appear to be
the equivalent in Python -- Lists and Tuples --
H. They are visible for me. What do you see when you click on
the Notes icon adjacent to the Monitor icon?
-- jv
- Original Message -
From: Tony Cappellini [EMAIL PROTECTED]
Date: Monday, March 19, 2007 1:12 pm
Subject: [python-win32] Release notes for Build 210
I'm trying to
Grzegorz Adam Hankiewicz wrote:
Grzegorz Adam Hankiewicz wrote:
Hello.
I'm following
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52267 to open a
local .mdb file and export the contents. It works with normal databases,
but I cannot open a password protected database.
I have a "fairly" simple test script that appears to exhibit a memory
leak when using ADO to insert rows in a SQL Server database via a
persistent connection.
Memory requirements monotonically increase with time (apparently in 4k
increments).
I'm using python 2.4.1, win32com (pywin32 build
- Original Message -
From: Ahmed, Shakir [EMAIL PROTECTED]
Date: Monday, July 17, 2006 12:23 pm
Subject: Re: [python-win32] unzip a file
HI all,
I am new python and looking scripts for unzip files form a local
folder.Any help is highly appreciated.
Thanks in advance.
Shakir
Roger Upole wrote:
Jim.Vickroy wrote:
Hello,
I am a novice user of ADOX who is attempting to create a database and
a table in it.
I seem to be able to create a SQL Express database but am unable to
add a table to it.
The attached script (adox.py) illustrates the difficulty.
Hello,
I am a novice user of ADOX who is attempting to create a database and
a table in it.
I seem to be able to create a SQL Express database but am unable to
add a table to it.
The attached script (adox.py) illustrates the difficulty.
Any suggestions would be appreciated.
Thanks,
-- jv
ADOX Catalog objects appear to have a Delete method
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/admscadoddlmethods.asp)
but I'm not seeing it from python-win:
from win32com.client import Dispatch
catalog = Dispatch('ADOX.Catalog')
print dir(catalog)
Sorry if this has been previously answered, but my search failed to
detect it.
Could someone refer to information on how to detect file modification
(e.g., update) events in MS Windows?
Thanks,
-- jv
___
Python-win32 mailing list
You may wish to take a look at the time module (specifically)
time.gmtime(...) or time.localtime(...)) to work with the return value
from getmtime(...).
Can't really help much with the return value from the database since I
don't know what type of object it is. If you are using Python 2.3 or
Hello Roger,
Assuming your Python installation is viable (does typing python sans
quotes at the command line launch the Python interpreter?), have you
renamed the file from rtf2xml to rtf2xml.py as required to run
under MS Windows?
-- jv
Hello
Windows XP
SP2.
I am a Python
novice. I
Thomas Heller wrote:
Harald Armin Massa [EMAIL PROTECTED] writes:
Hello,
within the win32-extensions under demo I found the pipetestservice.py and am
developping my own services out of it.
With each development step I have to
stop the running service
remove the existing one
install the
Assuming you have tkinter installed as part of your Python distribution,
I have attached a demo (courtesy of Mark Hammond) that shows much of
what is possible (e.g., menus, buttons, etc.).
Hope this helps.
-- jv
habtamu gulilat wrote:
am habtamu from Netherlands
I need to prepare
21 matches
Mail list logo