Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6894851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:50:02+00:00 2026-05-27T06:50:02+00:00

So right now I have written a python program which takes the path name

  • 0

So right now I have written a python program which takes the path name as an argument from console to execute..
now I am trying to learn Django and am trying to execute same program but via the web browser.
So I figured out that let me have a form field to upload the file..
and then an execute button..
and when the execute button is pressed.. the program runs..
but how do I handle that uploaded file..
Sorry for this as I have no web-exeprience.. and I want to learn by getting my hands dirty.. 🙂
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:50:03+00:00Added an answer on May 27, 2026 at 6:50 am

    There’s a bunch of ways:

    • os.system(command)
    • os.popen(command[, mode[, bufsize]])
    • using subprocess module – subprocess.call(…)

    and maybe others i don’t know about. Be aware that exposing these features to the public invites abuse. You may be interested in sandboxing (or this writeup) or using something like pyjs or skulpt which can turn python into javascript and execute in browser.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small application written in Python using Flask. Right now I'm running
So right now we have a lot of python scripts and we are trying
Here's my question. Right now I have a Linux server application (written using C++
Good day! I right now have a function the drags an element from a
Right now I have a database (about 2-3 GB) in PostgreSQL, which serves as
Right now I have this SQL query which is valid but always times out:
I am an intermediate level Python Programmer and I have written a Python program
I have written a program that relies on a proxy to function. I now
I have written a CSS sprite auto-generator which takes selected images out of the
I have written an application which loads information from a plist which lies on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.