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 4245436
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:50:24+00:00 2026-05-21T03:50:24+00:00

I have just been introduced to the Django framework and I would like to

  • 0

I have just been introduced to the Django framework and I would like to use this framework for a lot of my system based Perl/Python/wlst scripts for my group. How can I take the normal command line output and have it output the browser in near real time? I have looked into serialization but I can’t seem to find any good tutorials. I am just looking for suggestions on how to make a normal Python/Perl script and make it work with a Django based web site.

Specifically: I have a script that will add a user to a group to a role for a weblogic domain. I want to make it so that you fill in the form, it connects to the server does the work and returns the output. The only thing is that it can take a little bit for it to connect.

  • 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-21T03:50:24+00:00Added an answer on May 21, 2026 at 3:50 am

    You want do siplay external script results in the web browser? Then, I suggest you make those scripts write their results to database and then use django models to fetch and display the info.

    If you want to execute the script each time user opens the webpage and display a result, use this python code:

    def command_output(cmd):
        """ Capture a command's standard output."""
        import subprocess;
        return subprocess.Popen(cmd.split(), stdout=subprocess.PIPE).communicate()[0];
    
    result = command_output('ls -al');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have just been introduced to simulated annealing and would like to understand it
I have just been re-working an old bit of compiler-like code written using bison.
I have just been involved in writing an application that does not use Doctype's
I have just been introduced to the semantic web and it's family of functions
I would like to have optimized version of my WinForms C# based application for
I have just been introdcude to the CLIPS expert system. Does anyone know how
I have just been getting into low level programming (reading/writing to memory that sort
I have just been helped on a problem I have here . var win
I have just been looking into Linq with ASP.Net. It is very neat indeed.
OK, I have just been reading and trying for the last hour to import

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.