Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31741
| Date | 2012-10-19 14:44 +0100 |
|---|---|
| From | Tim Golden <mail@timgolden.me.uk> |
| Subject | Re: Python on Windows |
| References | <1pKdnT9EiNaO2ODNnZ2dnUVZ8rCdnZ2d@bt.com> <JY2dnYfmpcsEyRzNnZ2dnUVZ8vadnZ2d@bt.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2506.1350654285.27098.python-list@python.org> (permalink) |
On 19/10/2012 14:24, graham wrote: > Thanks to everyone who replied. > > Python was installed in the subdirectory C:\Python27 with the file > feedparser.py residing in C:\Python27\Lib\email. > > Setting the Windows environment variable (which did not previously > exist) to C:\Python27\Lib\email allowed me to import feedparser > successfully. > > However, it seems that this feedparser module is not the module I wanted. > > I'm trying to follow an introductory Python course from the magazine > Linux Format (issue number 120 I think). I'm very surprised that the article tells you to import a non-standard module without telling you where to download it. I imagine that the module is this one: http://pypi.python.org/pypi/feedparser/ (In general, PyPI is the first place to look for Python packages). > This is all confusing and frustrating. Understandably. It's not unknown, but it is unusual for two identically-named packages to exist for Python. It's more unfortunate when it's one used in a beginner's article. If you understand how to download the .zip file from the page above and unzip it then you need to go to the directory where the unzipped files are and run: python setup.py install If you're not sure how to do any of that, feel free to post back here or to the python-tutor list [1] which is a little more experience in helping newcomers. TJG [1] http://mail.python.org/mailman/listinfo/tutor
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python on Windows graham <grahams@tectime.com> - 2012-10-16 12:29 +0100
Re: Python on Windows Marco Nawijn <nawijn@gmail.com> - 2012-10-16 04:35 -0700
Re: Python on Windows Dwight Hutto <dwightdhutto@gmail.com> - 2012-10-16 07:56 -0400
Re: Python on Windows Joel Goldstick <joel.goldstick@gmail.com> - 2012-10-16 07:44 -0400
Re: Python on Windows graham <grahams@tectime.com> - 2012-10-19 14:24 +0100
Re: Python on Windows Tim Golden <mail@timgolden.me.uk> - 2012-10-19 14:44 +0100
Re: Python on Windows rusi <rustompmody@gmail.com> - 2012-10-19 06:48 -0700
Re: Python on Windows Tim Golden <mail@timgolden.me.uk> - 2012-10-19 15:00 +0100
Re: Python on Windows graham <grahams@tectime.com> - 2012-10-19 15:12 +0100
Re: Python on Windows Tim Golden <mail@timgolden.me.uk> - 2012-10-19 15:24 +0100
Re: Python on Windows Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-19 15:23 +0100
Re: Python on Windows Tim Golden <mail@timgolden.me.uk> - 2012-10-19 15:40 +0100
Re: Python on Windows Gisle Vanem <gvanem@broadpark.no> - 2012-10-20 14:47 +0200
csiph-web