• PHP Help
  • Running Python-Script: with script-pagage: where to see the output tarifa10

howdy . hello dear php-builder-folks and fellows,

this is a developerquestion: I have added a script package which works fine.

After I run the Python script, where do I see the output of the script? I have the screens divided and all I see is the following:

enter image description here

This is the script:


from bs4 import BeautifulSoup
import urllib

url = urllib.urlopen('http://meinparlament.diepresse.com/')
content = url.read()
soup = BeautifulSoup(content, 'lxml')

table = soup.findAll('div',attrs={"class":"content-question"})
for x in table:
    print x.find('p').text

# Another way to retrieve tables:
# table = soup.select('div[class="content-question"]')

How can I arrange Atom so that I can see

the script
the command-line
the output of the Python script?
enter image description here

https://aws1.discourse-cdn.com/business6/uploads/github_atom/original/3X/7/8/780a0de4d5f2f66994d203e4966d58ab0125b321.png

    You're more likely to find help for PHP in a PHP Help forum.
    Have you considered asking in Atom's forum?

      Write a Reply...