Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6f11f9d

Browse files
fixed the problem
1 parent 0e33698 commit 6f11f9d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎Directory Tree Generator/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
A Script useful for visualizing the relationship between files and directories and making their positioning easy.
55
- This can be used for implementations as one of the features.
66

7-
### Language
7+
## Language
88
- [X] Python
99

10-
### Instructions to run this application
10+
## Instructions to run this application
1111

1212
1. Python 3 must be installed in your system.
1313

‎Directory Tree Generator/tree.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#Directory Tree Generator
22

33
import os
4+
import argparse
45

56
def realname(path, root=None):
67
if root is not None:
@@ -33,7 +34,7 @@ def ptree(startpath, depth=-1):
3334
print('{}{}'.format(subindent, realname(f, root=root)))
3435

3536
if __name__ == '__main__':
36-
importargparse
37+
3738

3839
print("\nDirectory tree \n")
3940

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /