Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81632

Where is path.py?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <David.Aldrich@EMEA.NEC.COM>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'here?': 0.09; 'ide': 0.09; 'python': 0.11; '2.7': 0.14; 'windows': 0.15; "'from": 0.16; '(it': 0.16; 'displaying': 0.16; 'easy_install': 0.16; 'imports': 0.16; "microsoft's": 0.16; 'received:85.115': 0.16; 'code.': 0.18; 'example': 0.22; 'import': 0.22; 'to:name:python-list@python.org': 0.22; 'fairly': 0.24; 'header:Received:8': 0.24; "i've": 0.25; 'this:': 0.26; 'installed': 0.27; 'code': 0.31; 'received:169.254': 0.32; 'running': 0.33; "can't": 0.35; 'charset :us-ascii': 0.36; 'subject:?': 0.36; 'received:169': 0.37; 'follows:': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'tell': 0.60; 'new': 0.61; 'today': 0.64; 'completion': 0.78; 'subject:Where': 0.84
From David Aldrich <David.Aldrich@EMEA.NEC.COM>
To "python-list@python.org" <python-list@python.org>
Subject Where is path.py?
Thread-Topic Where is path.py?
Thread-Index AdAKStDQ2YO//cxDSMOBhBhJws/Bbg==
Date Thu, 27 Nov 2014 14:10:05 +0000
Accept-Language en-GB, en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [172.29.68.112]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-Scanned-By MailControl 37812.332 (www.mailcontrol.com) on 10.69.0.118
X-Mailman-Approved-At Thu, 27 Nov 2014 16:04:20 +0100
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16366.1417100661.18130.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1417100661 news.xs4all.nl 2840 [2001:888:2000:d::a6]:54019
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 3235
X-Received-Body-CRC 3644035528
Xref csiph.com comp.lang.python:81632

Show key headers only | View raw


Hi

I am running Python 2.7 on Windows 8.1. Today I installed path.py using easy_install:

	easy_install path.py

The example code that I've seen imports path.py as follows:

	from path import path

I am fairly new to Python and have a few questions about this:

1) Why is 'from path' required here?

2) I am using Microsoft's PTVS IDE to develop my code. It is not displaying code completion for path.py (it works for the standard libraries). How would I tell PTVS about path.py? 

Perhaps I just need to know where path.py is as I can't find it in my filesystem.

Best regards

David

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Where is path.py? David Aldrich <David.Aldrich@EMEA.NEC.COM> - 2014-11-27 14:10 +0000

csiph-web