Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'shutil': 0.07; '22,': 0.09; 'errno': 0.09; 'ioerror:': 0.09; 'python': 0.10; 'thu,': 0.15; 'dll,': 0.16; 'folder.': 0.16; "skip:' 60": 0.16; 'subject:access': 0.16; 'wrote:': 0.16; 'exists': 0.18; '2015': 0.20; 'permission': 0.20; 'x-mailer:microsoft outlook express 6.00.2900.5931': 0.22; 'seems': 0.23; 'module': 0.25; 'updating': 0.27; 'btw,': 0.29; '-----': 0.29; 'subject:/': 0.30; 'to:name :python-list': 0.30; 'another': 0.32; "can't": 0.32; 'file': 0.34; 'gets': 0.35; 'possible': 0.36; 'loaded': 0.36; 'to:addr:python- list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'does': 0.39; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'received:46': 0.63; 'due': 0.65; 'from:addr:yahoo.no': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.no; s=s2048; t=1445517778; bh=LqFTXd7y9YX9mjDVxztQGmF4nOppQ2K2T46NSeAEfGQ=; h=From:To:References:Subject:Date:From:Subject; b=bE7JQ8pMGDyz3zkhzD8JZOR2HORfewAISirYlDM8S6goTQz8ZWAA04sd1OtCFrwr/O9nnPNa39IRn2hk4d9gjqHin10jJyzwQZDDB4EUn2SBZmbQnhEj41a6G6T0uEJKX9OaTx6ech8hAsZSQXT1kl0jAK+Mj6TW6jU+Zv1YQTlYQd6Ns8+gVaIeWzktRFlt2ter5baldrYsn5PTIGmCCucAynzbihdN/6k0eRcbJZJSFfi/HCDCUJ9GjkIYM09Rzfs87lIJiV3t26ReSOQUaWGnM5ViVBYEP+5Uktr7pgLUP2xdqKq9zvTWtjc17YWDtA0ypYLT7qaFMiXU3I+TiQ== X-Yahoo-Newman-Id: 538244.11829.bm@smtp102.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: U6wdOrMVM1nwwmvnzFBJ7MwwzznraGnQ1c0VeH6TrLrFF71 z1vkIZsTmEB1iUrLdvJrthb_tu8Zb2hQP2MeuhD4AMYpmNmpat7wsDxhu8QU Fz63AznYTZZtgUBWruZFxdmvsVWvCXSPAuqr1RT9ZTbXWUPsx3T._W9ZKUvR t2t34p1pH8nkxr79bJEHN6UNTjq5aLMpQfEUUMbTOEgU6pO3QV7SWAa_JPRS MdfATcEgPjq1BwjkuUYV_9EpWWH2fqXfQLFDhzO7p8X7J1amgxj2hLdCZ160 xyQbnMvw7wog05qB4AkrgikVOAdpcWa.OJU.AhJBHNRuaBRbhGHBrFbtGjYq g7eD5tYcGrUScCSTpqBnU6ZhXGb5eubi2Q9YQOfRJPMnJXeO3HiS1wk6PCsH IGTW3Tsjhy1sXrtFPlL_wMRBP1FWptcRWRPm8AsawHqNRe69mQuLg6Qkp4xs T738sTzVHv0RsPjuhftn0FYOlcRSKX1yL.0QVk6F1_vFZDPsgiS.8pzUN7zx EAmG_2MQA6MZyQuS2HIvqHvX.vee0DDurlyLQIg.HBTg- X-Yahoo-SMTP: 8zhYLGyswBB3AGU8c4pvFIFOfA-- From: "Gisle Vanem" To: "Python-list" References: <3198262E68F6451DBCF040F61F568832@dev.null> Subject: Re: A high-level cross-platform API for terminal/console access Date: Thu, 22 Oct 2015 14:42:56 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1445517960 news.xs4all.nl 23821 [2001:888:2000:d::a6]:57033 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:97900 "Chris Angelico" wrote: > On Thu, Oct 22, 2015 at 10:22 PM, Gisle Vanem wrote: >> IOError: [Errno 13] Permission denied: >> 'g:\\Programfiler\\Python27\\Lib\\site-packages\\win32\\win32api.pyd' >> >> ----- >> >> BTW, this is on Python 2.7.9 on Win-XP SP3. > > Does that file exist? A .pyd file is a DLL, so if it already exists > and is in use, it's entirely possible it can't be overwritten (eg to > upgrade it). It exists all right and I do have full access to that folder. I think the Errno 13 (=EACCESS) is due to another module (WConio.pyd) that seems gets loaded via my site-customize.py is using this win32api.pyd. Hence it's is in use and shutil fails in updating it. --gv