The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: John Gordon <gor...@panix.com>
Date: Tue, 6 Nov 2012 23:23:07 +0000 (UTC)
Local: Tues, Nov 6 2012 6:23 pm
Subject: Re: How to only get a list of the names of the non-directory files in current directory ('.')?
In <mailman.3345.1352243569.27098.python-l...@python.org> iMath <redstone-c...@163.com> writes:
> how to get a list of names of everything in the current directory ?
Try os.listdir() .
-- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||