REPOST: Tkinter gui for the winnt subst command

yuval yuvale at radware.com
Sun Dec 30 11:00:54 EST 2001


I need to map and remap (cmd.exe subst ...) certain 
directories on my computer very often. Therefore I wrote a 
Tkinter gui which upon button press performs essentially
cmd.exe /c subst ... with various arguments.
I tried several approaches (os.popen, os.system,spawnv) for 
running the command. Unfortunately with all these approaches 
it takes the command a very, very long time (~30 seconds) to complete.
I am running Python 2.1. Does anybody know where the 
problem lies and how to solve it?

========= WAS CANCELLED BY =======:
Path: news.sol.net!spool0-nwblwi.newsops.execpc.com!newsfeeds.sol.net!priapus.visi.com!news-out.visi.com!hermes.visi.com!newsfeed.direct.ca!look.ca!newsfeed.dacom.co.kr!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: yuvale at radware.com (yuval)
Newsgroups: comp.lang.python
Subject: cmsg cancel <11f1fe5.0112300800.680cb872 at posting.google.com>
Control: cancel <11f1fe5.0112300800.680cb872 at posting.google.com>
Date: Mon, 31 Dec 2001 04:59:53 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.11f1fe5.0112300800.680cb872 at posting.google.com>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009774196 27193 211.57.49.2 (31 Dec 2001 04:49:56 GMT)
X-Complaints-To: usenet at news2.kornet.net
NNTP-Posting-Date: Mon, 31 Dec 2001 04:49:56 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)

This message was cancelled from within Mozilla.



More information about the Python-list mailing list