• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 421
  • Last Modified:

directory selector

I need to create a box which lists all directories (no files) on a local and remote computer which has check boxes next to each directory.
This box will be embedded in a web page which has an existing form which one submit button, which takes the information from both the python box and the html form.

Is this possible?  
1 Solution
Yes you can accomplish your objective with Python and HTML.

With Python Use
to get a list of files and directories, then use
      if os.path.isdir()
to make sure you only output directories.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now