Solved

directory selector

Posted on 2009-04-09
1
400 Views
Last Modified: 2012-05-06
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?  
0
Comment
Question by:bman87
1 Comment
 
LVL 16

Accepted Solution

by:
hankknight earned 500 total points
ID: 24114555
Yes you can accomplish your objective with Python and HTML.

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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
If condition on Html with Asp 11 27
Python 3.5.2 - Script Help 3 66
Filktering Alphabetically 8 28
Button on Table, name table1 not working 4 19
The purpose of this article is to demonstrate how we can use conditional statements using Python.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question