Re: Webinterface for python script

2019-02-07 Thread PASCUAL Eric
___ From: django-users@googlegroups.com on behalf of Scot Hacker Sent: Thursday, February 7, 2019 09:16 To: Django users Subject: Re: Webinterface for python script On Wednesday, February 6, 2019 at 1:27:18 AM UTC-8, Eric Pascual wrote: Hi Derek, but I have never seen any

Re: Webinterface for python script

2019-02-07 Thread Scot Hacker
On Wednesday, February 6, 2019 at 1:27:18 AM UTC-8, Eric Pascual wrote: > > Hi Derek, > > but I have never seen anyone refer to it as a "lightweight" project > (before you, that is). > > I didn't meant "Django *is* lightweight" but "Django *can be* > lightweight", implied you configure it accor

Re: Webinterface for python script

2019-02-06 Thread PASCUAL Eric
ng things belonging to the different FW they work with 😊 Just my $0.2 😉 Best Eric From: django-users@googlegroups.com on behalf of Derek Sent: Tuesday, February 5, 2019 14:26 To: Django users Subject: Re: Webinterface for python script Hi Eric Of course I al

Re: Webinterface for python script

2019-02-05 Thread Scot Hacker
does not require the ORM. >> >> I was among these people until my experience and skills in Django reached >> the level where I became aware that it can be stripped down to a very basic >> an lightweight framework if needed, thanks to its modular approach. But >> this

Re: Webinterface for python script

2019-02-05 Thread Derek
; an lightweight framework if needed, thanks to its modular approach. But > this came with time 😉 > > Best > > Eric > -- > *From:* django...@googlegroups.com < > django...@googlegroups.com > on behalf of Scot Hacker < > scot@gmail.com > > *Se

Re: Webinterface for python script

2019-02-05 Thread PASCUAL Eric
time 😉 Best Eric From: django-users@googlegroups.com on behalf of Scot Hacker Sent: Tuesday, February 5, 2019 08:54 To: Django users Subject: Re: Webinterface for python script Make a basic Django view. Place your script in a python module that lives inside your a

Re: Webinterface for python script

2019-02-05 Thread Joel Mathew
Exactly. I to use file upload and rendering in a medical report. @OP Did your research and post your code. Can help with any errors you're getting. Research about request.POST, request.FILES. Read this. https://docs.djangoproject.com/en/2.1/topics/files/ On Tue, 5 Feb, 2019, 1:25 PM Scot Hacker

Re: Webinterface for python script

2019-02-04 Thread Scot Hacker
Make a basic Django view. Place your script in a python module that lives inside your app. Call that module/ function from the Django view. See Django docs and tutorials on how to handle uploaded files. Pass the uploaded file to your module, and handle the return value(s) however you want. Hard

Re: Webinterface for python script

2019-02-04 Thread Derek
Django could be overkill for his. Try using Flask e.g. https://stackoverflow.com/questions/39321540/how-to-process-an-upload-file-in-flask On Sunday, 3 February 2019 17:53:20 UTC+2, Asad Hasan wrote: > > Hi All , > > I have created certain python scripts to analyze log files and > sug

Webinterface for python script

2019-02-03 Thread Asad
Hi All , I have created certain python scripts to analyze log files and suggest solution based on logic which I invoke on the command line . I need some information on how to execute these through browser . I am using : python test.py file1 file2 How do I use the browser to upload the