1. Order Introduction
Recently learned and used a Python built-in function dir, first help:
Copy Code code as follows:
>>> Help (dir)
Help on built-in function dir in module __builtin__:
Dir ()Dir ([object])-> list of strings
1. Command Introduction
Recently learned and used a python built-in function, dir, first help:Copy the Code code as follows:
>>> Help (dir)
Help on built-in function dir in module __builtin__:
Dir ()Dir ([object]), List of strings
Return an
The use of the console. dir method in node. js is described as follows: node. jsconsole. dir
Method description:
Pass obj as a parameter to util. inspect and execute the command to print the returned result to stdout.
This function ignores any
1. ColorSets the default console foreground and background color.ATTR Specifies the color properties of the console output.The color attribute is specified by two hexadecimal digits-the first corresponds to the background, and the second corresponds
1. Take it for granted: Dir.exe, Dir.com, or Dir. bat. If you search C: \ Windows, you will be disappointed.
2. Where is it? Find a solution!
A. Check the processes displayed in ProcessExplorer. Recursively traverse a drive with many files using
1. List of document Resources
Form
Role
#注释
Documents in the file
Dir function
List of available properties in the object
Document string: __doc__
A document near the
This function is used to display a list of properties in the current scope, or a list of attributes for the parameter object. When there is no Parameter object, displays a list of properties that are in the current scope, and if there is a
When using git, the general usage is CD to the repository directory for related operations, such as there is such a repository, D: \ pygit2 (through git clone https://github.com/libgit2/pygit2.git)The general practice is cd d: \ pygit2, and then
1 descriptionThe Dir () function can view (print) the properties and methods of an object. The type (data, module) has its own properties and methods, regardless of the object (all objects in Python).The dir () function returns a list of the types
From the initial "Hello world", go to the object-oriented. It's time to look back and see if anything is missing from the tutorial.
We mentioned a word before, "Everything is Object". So let's take a closer look at this sentence.
Python 3.4.3 (v3.4.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.