Solved

directory selector

Posted on 2009-04-09
1
397 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Bootstrap 3 and Angular 2 12 50
gif banner animation loads randomly in mobile 3 81
Printing a Google Form 2 25
Simple Angular 2 login page 4 72
This article discusses four methods for overlaying images in a container on a web page
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

914 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now