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


Groups > comp.lang.python > #80940

Re: import os

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin1!goblin.stu.neva.ru!nntp.spacedump.net!usenetcore.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <abdul.sw84@gmail.com>
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; '16,': 0.03; 'importing': 0.05; "'python": 0.09; 'explanation': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '(use': 0.16; 'clear.': 0.16; 'subject:import': 0.16; 'wrote:': 0.18; 'module': 0.19; 'dependent': 0.19; 'meant': 0.20; 'thanks.': 0.20; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'refers': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; '&gt;': 0.26; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'reply.': 0.31; 'url:python': 0.33; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; "didn't": 0.36; 'thanks': 0.36; 'url:org': 0.36; 'should': 0.36; 'searching': 0.37; 'operating': 0.37; 'skip:& 10': 0.38; 'nov': 0.38; 'url:library': 0.38; 'pm,': 0.38; 'does': 0.39; 'url:mail': 0.40; 'url:3': 0.61; 'first': 0.61; 'refer': 0.63; 'to:addr:gmail.com': 0.65; 'to,': 0.72
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:to :cc:content-type; bh=zmEUP/PS5rODgGVJPzZlQ2wLfuJlTfifCly7CIYlDpM=; b=Xr35EqJJ2xeT8nO06SDu6Z98J3dAITkNd0kJv1BJt9wd1roTb8gkhClaQos8VINGYN tPH8baEKFxgJSckKDfhBnOP4Os7qE/mMZ1y+7/YLNQ8kWhlw+A7v1s+WYiOe3HVHTDBc hCn7+0cYhj7Iea/LS49IYtww6msNKT3N7u1Wbz7yKwp6D+VBVLc33U0OmJbKvCsfWEzf zJ7gSH6dFXzX+9c7mXS92WywjvpRExUOXdZaLug0VJZZBYXN4+rajpoL9VtxaJ1ccowo 60o4vWFB1tPSvwpfC7QLg9p+popwyWNPVK2DwqFu4n2wBBhVVo5Mt5PAPXBgUjzKbYi3 FR8A==
MIME-Version 1.0
X-Received by 10.182.252.225 with SMTP id zv1mr4641675obc.37.1416186614463; Sun, 16 Nov 2014 17:10:14 -0800 (PST)
In-Reply-To <CAPTjJmrit1=EyBbD9tisf=vphmfxOFq8AFkXx7_Fqivqo4a2=g@mail.gmail.com>
References <CAA+hu4U97wO7G00Kdc917XJqJadGCVQEuLJgrO8SPH-NEvjpxQ@mail.gmail.com> <CAPTjJmrit1=EyBbD9tisf=vphmfxOFq8AFkXx7_Fqivqo4a2=g@mail.gmail.com>
Date Mon, 17 Nov 2014 02:10:14 +0100
Subject Re: import os
From Abdul Abdul <abdul.sw84@gmail.com>
To Chris Angelico <rosuav@gmail.com>
Content-Type multipart/alternative; boundary=001a1134b09a174104050803a4c4
Cc "python-list@python.org" <python-list@python.org>
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.15929.1416186617.18130.python-list@python.org> (permalink)
Lines 69
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416186617 news.xs4all.nl 2853 [2001:888:2000:d::a6]:54823
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80940

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Thanks for your reply. Yes, I came across this page, but didn't understand
what is meant by the operating system dependent functionality. What does
that mean? Is importing that module that serious?

Thanks.

On Sun, Nov 16, 2014 at 11:02 PM, Chris Angelico <rosuav@gmail.com> wrote:

> 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
> --
> https://mail.python.org/mailman/listinfo/python-list
>

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


Thread

Re: import os Abdul Abdul <abdul.sw84@gmail.com> - 2014-11-17 02:10 +0100

csiph-web