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


Groups > comp.lang.python > #80918

Re: import os

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.017
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; "'python": 0.09; 'explanation': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '(use': 0.16; 'clear.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:import': 0.16; 'wrote:': 0.18; 'module': 0.19; 'cc:addr:python.org': 0.22; 'refers': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:python': 0.33; 'something': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'should': 0.36; 'searching': 0.37; 'nov': 0.38; 'url:library': 0.38; 'url:3': 0.61; 'first': 0.61; 'refer': 0.63; 'to,': 0.72; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=bE068A4E8Rv3HI9ltepk08ti15tTfH4U4IsGIXi0fmU=; b=lB8Kn02QyJSme82bo1JNCBsUdcVwbHwAAwE+dqMiLoG/kqNTbhV88UOIyNdXhRAxmR 3hGtBPIcM0qjbBGFnGkpI5cBzkLapHYmfqRbWTJ7UMiUNYREeuuceU4xK7cYsdzrWV32 euU7dIhrIIri+YUHbzRbjYj/AWpdsZPfr361n0C1SZwuR7hlExZaYuQlKT8zHhfo9+3k Xy4nsFypV8hglcN0yd2uCt/ua6FOb7yD1DqFN/oqtO5HtqyMjVMsFtc2YbTzuIUpWhqt GzaFZ3zbIPm2YZzlbT84EUbsKSB6cx/QMrMGvT8z0xjYUEDWc+u04yocd2IVQYMFEFFp VYsw==
MIME-Version 1.0
X-Received by 10.43.132.137 with SMTP id hu9mr23759616icc.27.1416175370103; Sun, 16 Nov 2014 14:02:50 -0800 (PST)
In-Reply-To <CAA+hu4U97wO7G00Kdc917XJqJadGCVQEuLJgrO8SPH-NEvjpxQ@mail.gmail.com>
References <CAA+hu4U97wO7G00Kdc917XJqJadGCVQEuLJgrO8SPH-NEvjpxQ@mail.gmail.com>
Date Mon, 17 Nov 2014 09:02:50 +1100
Subject Re: import os
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.15914.1416175373.18130.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416175373 news.xs4all.nl 2891 [2001:888:2000:d::a6]:35762
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80918

Show key headers only | View raw


On Mon, Nov 17, 2014 at 8:56 AM, Abdul Abdul <abdul.sw84@gmail.com> wrote:
> I tried to refer to Python documentation for what "os" refers to, but, the
> explanation was not clear.

If it's something you import, what you want is the module of that
name. Searching the web for 'python os module' should bring you
straight to one of these:

https://docs.python.org/2/library/os.html
https://docs.python.org/3/library/os.html

(Use the first link for Python 2.x, the second link for 3.x. The
module has the same purpose in both.)

ChrisA

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


Thread

Re: import os Chris Angelico <rosuav@gmail.com> - 2014-11-17 09:02 +1100

csiph-web