REPOST: Re: Tkinter gui for the winnt subst command

Jeffrey Drake jpt.d at rogers.com
Sun Dec 30 22:12:14 EST 2001


os.popen("subst z: c:\python22")

that works very quickly, i don't know what your problem might be. 

On 30 Dec 2001 08:00:54 -0800, yuvale at radware.com (yuval) wrote:

>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!spool1-nwblwi.newsops.execpc.com!newsfeeds.sol.net!news-out.visi.com!hermes.visi.com!newshub.northeast.verio.net!verio!nntp.kreonet.re.kr!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: jpt.d at rogers.com (Jeffrey Drake)
Newsgroups: comp.lang.python
Subject: cmsg cancel <3c2fd756.27109611 at nntp>
Control: cancel <3c2fd756.27109611 at nntp>
Date: Mon, 31 Dec 2001 03:41:27 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.3c2fd756.27109611 at nntp>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009773946 27193 211.57.49.2 (31 Dec 2001 04:45:46 GMT)
X-Complaints-To: usenet at news2.kornet.net
NNTP-Posting-Date: Mon, 31 Dec 2001 04:45:46 +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