<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title>Bing: Python Dir Function</title><link>http://www.bing.com:80/search?q=Python+Dir+Function</link><description>Search results</description><image><url>http://www.bing.com:80/s/a/rsslogo.gif</url><title>Python Dir Function</title><link>http://www.bing.com:80/search?q=Python+Dir+Function</link></image><copyright>Copyright © 2026 Microsoft. All rights reserved. These XML results may not be used, reproduced or transmitted in any manner or for any purpose other than rendering Bing results within an RSS aggregator for your personal, non-commercial use. Any other use of these results requires express written permission from Microsoft Corporation. By accessing this web page or using these results in any manner whatsoever, you agree to be bound by the foregoing restrictions.</copyright><item><title>python - Importing files from different folder - Stack Overflow</title><link>https://stackoverflow.com/questions/4383571/importing-files-from-different-folder</link><description>I have this folder structure: application ├── app │ └── folder │ └── file.py └── app2 └── some_folder └── some_file.py How can I import a function from file.py, from within som...</description><pubDate>Mon, 06 Apr 2026 15:14:00 GMT</pubDate></item><item><title>What does Python's dir () function stand for? - Stack Overflow</title><link>https://stackoverflow.com/questions/7695982/what-does-pythons-dir-function-stand-for</link><description>What does Python's dir () function stand for? [duplicate] Asked 14 years, 6 months ago Modified 11 years, 9 months ago Viewed 32k times</description><pubDate>Sun, 05 Apr 2026 20:01:00 GMT</pubDate></item><item><title>the dir function in python - Stack Overflow</title><link>https://stackoverflow.com/questions/14513892/the-dir-function-in-python</link><description>dir([object]) -&gt; list of strings If called without an argument, return the names in the current scope. Else, return an alphabetized list of names comprising (some of) the attributes of the given object, and of attributes reachable from it. If the object supplies a method named __dir__, it will be used; otherwise the default dir() logic is used and returns: for a module object: the module's ...</description><pubDate>Sun, 29 Mar 2026 16:27:00 GMT</pubDate></item><item><title>Python dir () function with variable arguments - Stack Overflow</title><link>https://stackoverflow.com/questions/14835016/python-dir-function-with-variable-arguments</link><description>For fun/to practice python, I am trying to create a program that displays the contents of a module. Looks like this: import sys print "Here are all the functions in the sys module: " print dir(sys)</description><pubDate>Fri, 03 Apr 2026 06:13:00 GMT</pubDate></item><item><title>python - What's the difference between dir () and __dir__ ... - Stack ...</title><link>https://stackoverflow.com/questions/19703335/whats-the-difference-between-dir-and-dir</link><description>4 dir calls __dir__ method if it is present, from python documentation : dir ( [object])¶ Without arguments, return the list of names in the current local scope. With an argument, attempt to return a list of valid attributes for that object.</description><pubDate>Sun, 05 Apr 2026 23:00:00 GMT</pubDate></item><item><title>Why is 'dir ()' named 'dir' in python? - Stack Overflow</title><link>https://stackoverflow.com/questions/1842414/why-is-dir-named-dir-in-python</link><description>85 In Python there is a built-in function called dir. This is used to get a list of all the attributes for an object. I understand what it does, but I am confused about why it is called dir. How is this name related to getting the attributes from an object?</description><pubDate>Mon, 06 Apr 2026 10:13:00 GMT</pubDate></item><item><title>python - How to list all functions in a module? - Stack Overflow</title><link>https://stackoverflow.com/questions/139180/how-to-list-all-functions-in-a-module</link><description>The Python documentation provides the perfect solution for this which uses the built-in function dir. You can just use dir (module_name) and then it will return a list of the functions within that module.</description><pubDate>Mon, 06 Apr 2026 22:23:00 GMT</pubDate></item><item><title>How is __dir__ implemented exactly, and how should I know it?</title><link>https://stackoverflow.com/questions/48609111/how-is-dir-implemented-exactly-and-how-should-i-know-it</link><description>The __dir__ method is implemented on the object type and inherited by the function type, so the implementation is in the object_dir() function. For Python 2, the dir() implementation is more elaborate, and actually also delegates to other functions! For function objects, it delegates to the _generic_dir() function.</description><pubDate>Thu, 02 Apr 2026 10:53:00 GMT</pubDate></item><item><title>Why Python Built-in Functions not showing on dir ()</title><link>https://stackoverflow.com/questions/45456508/why-python-built-in-functions-not-showing-on-dir</link><description>In the same way Python falls back onto global variables if it doesn't find the variable's local definition, inside a class or function or whatever, if it doesn't find a global variable with the name being referenced, it starts looking for it in the builtins module. TL;DR - why can't you see builtin functions using bare dir ()?</description><pubDate>Fri, 03 Apr 2026 01:20:00 GMT</pubDate></item><item><title>How do I check if a directory exists in Python? - Stack Overflow</title><link>https://stackoverflow.com/questions/8933237/how-do-i-check-if-a-directory-exists-in-python</link><description>133 Python 3.4 introduced the pathlib module into the standard library, which provides an object oriented approach to handle filesystem paths. The is_dir() and exists() methods of a Path object can be used to answer the question:</description><pubDate>Tue, 07 Apr 2026 04:28:00 GMT</pubDate></item></channel></rss>