A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-March/034003.html below:

[Python-Dev] os.path.dirname misleading?

[Python-Dev] os.path.dirname misleading? [Python-Dev] os.path.dirname misleading?Skip Montanaro skip@pobox.com
Wed, 12 Mar 2003 21:38:43 -0600
    Greg> Kevin Altis <altis@semi-retired.com>:
    >> Pity the functions aren't named os.path.head and os.path.tail.

    Greg> It wouldn't be entirely clear what they mean even then -- "head"
    Greg> might mean just the first pathname component.
    ...
    Greg> Maybe they should be called
    Greg> "all_except_the_last_pathname_component" and
    Greg> "last_pathname_component"?

I know, how about car and cdr? ;-)

Skip



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4