Can you please tell me how should i write?

And what happens when we have a process already loaded for /clientele and
/downloads waiting for browser hits and at the same time when '/' runs
tries as well to loads that url locations as well?

Στις Δευ, 10 Σεπ 2018 στις 2:15 π.μ., ο/η Graham Dumpleton <
[email protected]> έγραψε:

> That function is meant to be given a command to execute, not a web address.
>
> https://docs.python.org/3/library/subprocess.html#subprocess.check_output
>
> If you want to make web requests against another application, use the
> 'requests' module.
>
> http://docs.python-requests.org/en/master/
>
> On 10 Sep 2018, at 8:00 am, Νίκος Βέργος <[email protected]>
> wrote:
>
> I have 3 wsgi scripts listening on 3 locations What i'm trying to run an
> wsgi script from within another wsgi script with the following statement.
>
>
> pdata = subprocess.check_output( 'http://superhost.gr/' + page )
>
>
> page = the location of another wsgi app.
>
> The error i'am getting when for i.e i try to load
> http://superhost.gr/clientele
>
>
> File http://superhost.gr/clientele *NOT* found
>
>
> The other script by itself executes normally but NOT from within my app.py
> script.
>
> Any ideas on how to execute a wsgi app (b) from within a wsgi app(a) and
> store the response as html data?
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/modwsgi.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "modwsgi" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/modwsgi/iMLLZRkHu9I/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/modwsgi.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to