Path of filename user Kantale

From PyPedia
Jump to: navigation, search

Contents

[edit] Documentation

Return the path of a filename. i.e: Path_of_filename_user_Kantale("path/to/file.txt") returns "path/to"


[edit] Parameters

<inputs>
</inputs>


[edit] Return

[edit] See also

[edit] Code

import os

def Path_of_filename_user_Kantale(filename=None):
	return  os.path.dirname(filename)

[edit] Unit Tests

def uni1():
   return True

[edit] Development Code

def Path_of_filename_user_Kantale():
	pass

[edit] Permissions

[edit] Documentation Permissions

Kantale

[edit] Code Permissions

Kantale

[edit] Unit Tests Permissions

Kantale

[edit] Permissions Permissions

Kantale

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox