# Show python output?

**URL:** <https://discuss.huggingface.co/t/show-python-output/11545>\
**Category:** Spaces\
**Created:** [November 10, 2021, 8:13am UTC](https://discuss.huggingface.co/t/show-python-output/11545 "2021-11-10T08:13:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jositonaranja](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@jositonaranja](https://discuss.huggingface.co/u/jositonaranja)\
**Post date:** [November 10, 2021, 8:13am UTC](https://discuss.huggingface.co/t/show-python-output/11545/1 "2021-11-10T08:13:02Z")

</div>

Hey All, I wonder if there is any way to show python output  
—i.e.logs or print(‘Using device:’, device)—  
in Spaces.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![nielsr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/nielsr/32/39617_2.png) [@nielsr](https://discuss.huggingface.co/u/nielsr)\
**Post date:** [November 10, 2021, 10:06am UTC](https://discuss.huggingface.co/t/show-python-output/11545/2 "2021-11-10T10:06:53Z")

</div>

Hi,

You can check the output by clicking on the “building” or “running” button next to the name of the Space.

 ![Schermafbeelding 2021-11-10 om 11.05.47](https://us1.discourse-cdn.com/hellohellohello/original/2X/7/7a01896a1566a635aa26192f366b655b5f79ae6d.png)

---

<div class="post-metadata">

**Author:** ![jositonaranja](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@jositonaranja](https://discuss.huggingface.co/u/jositonaranja)\
**Post date:** [November 10, 2021, 3:09pm UTC](https://discuss.huggingface.co/t/show-python-output/11545/3 "2021-11-10T15:09:57Z")

</div>

Thanks!! My mistake was because that label is clickable in owned spaces, but not in spaces by other users.

---

<div class="post-metadata">

**Author:** ![jmansfield89](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jmansfield89](https://discuss.huggingface.co/u/jmansfield89)\
**Post date:** [December 23, 2021, 5:28pm UTC](https://discuss.huggingface.co/t/show-python-output/11545/4 "2021-12-23T17:28:52Z")

</div>

When I click “Running” on my app, it opens a new browser tab which displays the following:

```auto
2021-12-23 13:26:28.846 INFO matplotlib.font_manager: generated new fontManager

  You can now view your Streamlit app in your browser.

  Network URL: http://172.17.0.223:8501
  External URL: http://52.87.223.166:8501

```

However, when I copy and paste either of those URLs into a new browser tab, I get the following error:

```auto
Unable to connect

Firefox can’t establish a connection to the server at 172.17.0.223:8501.

    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer’s network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

```

Could this be due to a setting in my Firefox browser, or due to a system/network/security setting on my Mac perhaps? For reference I am on a 13" Macbook Air 2018, and using Firefox version 95.0.2 (64-bit) and this is in regards to the following app on my Spaces page: [Fantasy Football Stats (Under Construction) - a Hugging Face Space by jmansfield89](https://huggingface.co/spaces/jmansfield89/Fantasy_Football_Stats)

Appreciate any help!  
-JM

---

<div class="post-metadata">

**Author:** ![sunder-ali](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sunder-ali/32/18246_2.png) [@sunder-ali](https://discuss.huggingface.co/u/sunder-ali)\
**Post date:** [August 4, 2023, 9:41pm UTC](https://discuss.huggingface.co/t/show-python-output/11545/5 "2023-08-04T21:41:56Z")

</div>

Facing the same problem, have you found any solution

---

<div class="post-metadata">

**Author:** ![Araeynn](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Araeynn](https://discuss.huggingface.co/u/Araeynn)\
**Post date:** [January 10, 2024, 4:43am UTC](https://discuss.huggingface.co/t/show-python-output/11545/6 "2024-01-10T04:43:53Z")

</div>

![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/c/4/c4ac7e0ec22fadafffadbb9c9698854ada6369ae.png)  
Click on logs. This should show if you own this space.  
Click on containers.  
This should show the output of the print statements.
