# PyScript

**URL:** https://forum.anaconda.com/c/tech-topics/pyscript/41.md

[Latest](https://forum.anaconda.com/latest.md) · [Categories](https://forum.anaconda.com/categories.md) · [Tags](https://forum.anaconda.com/tags.md)

---

## [About the PyScript category](https://forum.anaconda.com/t/about-the-pyscript-category/20052)

<div class="topic-metadata">

**Author:** [@calvarado](https://forum.anaconda.com/u/calvarado)\
**Replies:** 2\
**Last updated:** [November 10, 2022, 7:25pm UTC](https://forum.anaconda.com/t/about-the-pyscript-category/20052 "2022-11-10T19:25:14Z")

</div>

This category is for discussing all things PyScript! This is the place to: Ask questions about PyScript Tell the community about your PyScript projects Collaborate with others Provide feedback about the PyScript proje…

---

## [Using pgame in pyscript](https://forum.anaconda.com/t/using-pgame-in-pyscript/27543)

<div class="topic-metadata">

**Author:** [@hebi](https://forum.anaconda.com/u/hebi)\
**Replies:** 7\
**Last updated:** [September 14, 2026, 2:47pm UTC](https://forum.anaconda.com/t/using-pgame-in-pyscript/27543 "2026-09-14T14:47:51Z")

</div>

Hi, do anyone use pyscript together with pygame? Best regards Hebi

---

## [VS Code Extension voting on VS Code Pythons github](https://forum.anaconda.com/t/vs-code-extension-voting-on-vs-code-pythons-github/27478)

<div class="topic-metadata">

**Author:** [@olliver.aira](https://forum.anaconda.com/u/olliver.aira)\
**Replies:** 7\
**Last updated:** [August 26, 2026, 6:31pm UTC](https://forum.anaconda.com/t/vs-code-extension-voting-on-vs-code-pythons-github/27478 "2026-08-26T18:31:29Z")

</div>

Hi everyone! So I started a feature request for making PyScript & Brython supported by VS Codes CPythn extension: Support for PyScript & Brython. · Issue #6760 · microsoft/pylance-release · GitHub We’ve already reached …

---

## [Unexpected reload of Chrome extension written with PyScript](https://forum.anaconda.com/t/unexpected-reload-of-chrome-extension-written-with-pyscript/46336)

<div class="topic-metadata">

**Author:** [@mark.d.lattimore](https://forum.anaconda.com/u/mark.d.lattimore)\
**Replies:** 3\
**Last updated:** [August 12, 2026, 3:42pm UTC](https://forum.anaconda.com/t/unexpected-reload-of-chrome-extension-written-with-pyscript/46336 "2026-08-12T15:42:44Z")

</div>

This one is for the intrepid troubleshooter. Recently, Pete Fison (with the assistance of Ted Patrick) wrote a quick tutorial on using PyScript to write Chrome extensions (Write Chrome Extensions in Python). I’ve been ab…

---

## [Basis: pyscript-based reactive web framework](https://forum.anaconda.com/t/basis-pyscript-based-reactive-web-framework/109887)

<div class="topic-metadata">

**Author:** [@bassio](https://forum.anaconda.com/u/bassio)\
**Replies:** 0\
**Last updated:** [August 12, 2026, 1:09pm UTC](https://forum.anaconda.com/t/basis-pyscript-based-reactive-web-framework/109887 "2026-08-12T13:09:21Z")

</div>

Hi everyone, I would like to share with you something I have been working on for the last few months. I have been building a pyscript-based reactive web framework. (GitHub - bassio/basis · GitHub) Now, I am not a prog…

---

## [How to change the email address in pyscript.com](https://forum.anaconda.com/t/how-to-change-the-email-address-in-pyscript-com/107902)

<div class="topic-metadata">

**Author:** [@nasrinbegump](https://forum.anaconda.com/u/nasrinbegump)\
**Replies:** 0\
**Last updated:** [November 12, 2025, 2:35am UTC](https://forum.anaconda.com/t/how-to-change-the-email-address-in-pyscript-com/107902 "2025-11-12T02:35:02Z")

</div>

If I want to change email address for pyscript.com how can I change?

---

## [Functions undestranding](https://forum.anaconda.com/t/functions-undestranding/94769)

<div class="topic-metadata">

**Author:** [@Andrea1](https://forum.anaconda.com/u/Andrea1)\
**Replies:** 0\
**Last updated:** [May 1, 2025, 12:36pm UTC](https://forum.anaconda.com/t/functions-undestranding/94769 "2025-05-01T12:36:10Z")

</div>

Hello everyone, I’m new here ant with python in general and I would be happy to receive support and guidance from you all. I wrote a very easy function that should return a list of objects found in both the provided li…

---

## [Ending an infinite loop](https://forum.anaconda.com/t/ending-an-infinite-loop/91701)

<div class="topic-metadata">

**Author:** [@jcrowson12](https://forum.anaconda.com/u/jcrowson12)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 3:23pm UTC](https://forum.anaconda.com/t/ending-an-infinite-loop/91701 "2025-01-28T15:23:07Z")

</div>

I am working on a website that has a simple IDE. I am using code mirror as the editor. I would like to set a timer so that if the code in code mirror has an inifinite loop, pyscript will terminate the code from code mirr…

---

## [Works on localhost but not server](https://forum.anaconda.com/t/works-on-localhost-but-not-server/88393)

<div class="topic-metadata">

**Author:** [@Warren1](https://forum.anaconda.com/u/Warren1)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 2:18pm UTC](https://forum.anaconda.com/t/works-on-localhost-but-not-server/88393 "2024-11-19T14:18:07Z")

</div>

No errors on screen (even with msg suppression commented out) but not working on IIS server. Works on laptop Apache server, works on VSC extension, “hello world” example works on IIS server, but not below code. Appreci…

---

## [Pyscript config file help for pandas and 2 Excel files](https://forum.anaconda.com/t/pyscript-config-file-help-for-pandas-and-2-excel-files/87179)

<div class="topic-metadata">

**Author:** [@Warren1](https://forum.anaconda.com/u/Warren1)\
**Replies:** 1\
**Last updated:** [November 4, 2024, 6:03pm UTC](https://forum.anaconda.com/t/pyscript-config-file-help-for-pandas-and-2-excel-files/87179 "2024-11-04T18:03:00Z")

</div>

Hi, I’m using pyscript to run a function from an HTML page that reads an Excel file and returns the value from column two when column one is equal to a text input value on the HTML page. I want to incorporate a second s…

---

## [Problem while installing python via environments terminal](https://forum.anaconda.com/t/problem-while-installing-python-via-environments-terminal/79101)

<div class="topic-metadata">

**Author:** [@m.arafa](https://forum.anaconda.com/u/m.arafa)\
**Replies:** 5\
**Last updated:** [September 18, 2024, 9:14am UTC](https://forum.anaconda.com/t/problem-while-installing-python-via-environments-terminal/79101 "2024-09-18T09:14:58Z")

</div>

Dear Support team, Kindly, I have a problem while using Anaconda environments terminal to upgrade/downgrade the python version and I faced a problem as the follows: " (base) C:\\Users\\m.arafa\>conda install python=3.11 …

---

## [Pydicom library in pyodide](https://forum.anaconda.com/t/pydicom-library-in-pyodide/73849)

<div class="topic-metadata">

**Author:** [@shrawanverma12345](https://forum.anaconda.com/u/shrawanverma12345)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 5:50pm UTC](https://forum.anaconda.com/t/pydicom-library-in-pyodide/73849 "2024-05-29T17:50:41Z")

</div>

In the pyodide list pydicom is not there, I have to use pydicom for medical image visualisation, is there a way to use pydicom using pyscript?

---

## [How to extract column and table names from SQL using python?](https://forum.anaconda.com/t/how-to-extract-column-and-table-names-from-sql-using-python/71938)

<div class="topic-metadata">

**Author:** [@shiivtal.devtalleh33](https://forum.anaconda.com/u/shiivtal.devtalleh33)\
**Replies:** 2\
**Last updated:** [May 10, 2024, 12:01pm UTC](https://forum.anaconda.com/t/how-to-extract-column-and-table-names-from-sql-using-python/71938 "2024-05-10T12:01:19Z")

</div>

How to extract column and table names from SQL using python? Is there any available solution for SQL parsing?

---

## [Getting mac address](https://forum.anaconda.com/t/getting-mac-address/42146)

<div class="topic-metadata">

**Author:** [@jocm.aguiar](https://forum.anaconda.com/u/jocm.aguiar)\
**Replies:** 6\
**Last updated:** [May 3, 2024, 10:47pm UTC](https://forum.anaconda.com/t/getting-mac-address/42146 "2024-05-03T22:47:12Z")

</div>

I’m using the module ( re, uuid ) to capture the mac address and handle the result obtained. Running pyscript I get a different and changeable mac address when I reload the html page. Testing in pure python code I can ge…

---

## [Novice user on pyscript.com](https://forum.anaconda.com/t/novice-user-on-pyscript-com/67299)

<div class="topic-metadata">

**Author:** [@kif.scheuer](https://forum.anaconda.com/u/kif.scheuer)\
**Replies:** 0\
**Last updated:** [February 4, 2024, 7:13am UTC](https://forum.anaconda.com/t/novice-user-on-pyscript-com/67299 "2024-02-04T07:13:37Z")

</div>

Hi - total novice here. I’ve created a text adventure game in python as a personal project. I could get the game to work in my console, but I couldn’t figure out how to share it. After flailing around on the internet, I …

---

## [How to add a button with pyscript?](https://forum.anaconda.com/t/how-to-add-a-button-with-pyscript/66224)

<div class="topic-metadata">

**Author:** [@yrralson1](https://forum.anaconda.com/u/yrralson1)\
**Replies:** 0\
**Last updated:** [December 27, 2023, 9:58am UTC](https://forum.anaconda.com/t/how-to-add-a-button-with-pyscript/66224 "2023-12-27T09:58:00Z")

</div>

How to add a button with pyscript? And give me a link to where you found this (button documentation) Thanks

---

## [About pyscript dataframe](https://forum.anaconda.com/t/about-pyscript-dataframe/66014)

<div class="topic-metadata">

**Author:** [@nasrinbegump](https://forum.anaconda.com/u/nasrinbegump)\
**Replies:** 0\
**Last updated:** [December 18, 2023, 9:27pm UTC](https://forum.anaconda.com/t/about-pyscript-dataframe/66014 "2023-12-18T21:27:59Z")

</div>

How can i write the same code in the latest version of pyscript? - pandas import pandas as pd data = { "calories": \[420, 380, 390\], "duration": \[50, 40, 45\] } df =…

---

## [Install a different Python architecture of Anaconda](https://forum.anaconda.com/t/install-a-different-python-architecture-of-anaconda/65439)

<div class="topic-metadata">

**Author:** [@felipeboz94](https://forum.anaconda.com/u/felipeboz94)\
**Replies:** 0\
**Last updated:** [November 30, 2023, 2:33pm UTC](https://forum.anaconda.com/t/install-a-different-python-architecture-of-anaconda/65439 "2023-11-30T14:33:46Z")

</div>

Hello everyone! I need to create a venv with 64 bits Anaconda (Windows 10) but I need a Python of 32 bits architecture. From I could see, there’s no a 32 bits Python architecture within Anaconda repositories to install…

---

## [About the pyscript example Simple Clock](https://forum.anaconda.com/t/about-the-pyscript-example-simple-clock/64892)

<div class="topic-metadata">

**Author:** [@digifusion](https://forum.anaconda.com/u/digifusion)\
**Replies:** 1\
**Last updated:** [November 22, 2023, 11:12pm UTC](https://forum.anaconda.com/t/about-the-pyscript-example-simple-clock/64892 "2023-11-22T23:12:56Z")

</div>

When I download the pyscript example (simple\_clock.html) to my PC and run it, it runs. However, when I upload it (simple\_clock.html, utils.py ) to the my server, I get an error as below. (PY0500): Fetching from URL ./ut…

---

## [Issue with https url for json file](https://forum.anaconda.com/t/issue-with-https-url-for-json-file/64401)

<div class="topic-metadata">

**Author:** [@abirn0802](https://forum.anaconda.com/u/abirn0802)\
**Replies:** 0\
**Last updated:** [November 9, 2023, 9:16pm UTC](https://forum.anaconda.com/t/issue-with-https-url-for-json-file/64401 "2023-11-09T21:16:17Z")

</div>

Hi All, I’ve just recently started using py-script to add some code to a website I’m making. The issue I’m running into is when I try to use the .read\_json() function to read in a json file from a website, I get one of …

---

## [Info project status](https://forum.anaconda.com/t/info-project-status/64348)

<div class="topic-metadata">

**Author:** [@marco1](https://forum.anaconda.com/u/marco1)\
**Replies:** 0\
**Last updated:** [November 8, 2023, 8:57pm UTC](https://forum.anaconda.com/t/info-project-status/64348 "2023-11-08T20:57:17Z")

</div>

Hi, I find this project really interesting, I wanted to ask you what stage the project was at, could it be used in production?

---

## [Basic Scraper - help please :)](https://forum.anaconda.com/t/basic-scraper-help-please/64239)

<div class="topic-metadata">

**Author:** [@psylergic](https://forum.anaconda.com/u/psylergic)\
**Replies:** 0\
**Last updated:** [November 6, 2023, 11:21pm UTC](https://forum.anaconda.com/t/basic-scraper-help-please/64239 "2023-11-06T23:21:40Z")

</div>

Hi all! I’ve got a basic scraper using beautiful soup that I’ve been using but I don’t have access to my normal PC currently and would like to still run it on my laptop without any installation, which lead me to finding…

---

## [Web scraping with PyScript](https://forum.anaconda.com/t/web-scraping-with-pyscript/29705)

<div class="topic-metadata">

**Author:** [@TomElliott](https://forum.anaconda.com/u/TomElliott)\
**Replies:** 5\
**Last updated:** [November 5, 2023, 3:32am UTC](https://forum.anaconda.com/t/web-scraping-with-pyscript/29705 "2023-11-05T03:32:10Z")

</div>

This is my first day looking at PyScript and I have a question that will determine if I investigate further. At first glance, it looks very promising. I have a Beautiful Soup application. Can I run it (with suitable mod…

---

## [Connecting to databases using sqlalchemy](https://forum.anaconda.com/t/connecting-to-databases-using-sqlalchemy/21298)

<div class="topic-metadata">

**Author:** [@criarlogins](https://forum.anaconda.com/u/criarlogins)\
**Replies:** 6\
**Last updated:** [October 18, 2023, 6:22pm UTC](https://forum.anaconda.com/t/connecting-to-databases-using-sqlalchemy/21298 "2023-10-18T18:22:37Z")

</div>

Hello guys, Thanks for this awesome project. I’m wondering if it’s possible to connect to databases using sqlalchemy or any other way. Thank you.

---

## [Babylon.js and PyScript](https://forum.anaconda.com/t/babylon-js-and-pyscript/53383)

<div class="topic-metadata">

**Author:** [@hebi](https://forum.anaconda.com/u/hebi)\
**Replies:** 3\
**Last updated:** [September 2, 2023, 7:19pm UTC](https://forum.anaconda.com/t/babylon-js-and-pyscript/53383 "2023-09-02T19:19:03Z")

</div>

Did anyone use PyScript together with Babylon.js? Any examples? Best Regards Hebi

---

## [Which Version should i use](https://forum.anaconda.com/t/which-version-should-i-use/60649)

<div class="topic-metadata">

**Author:** [@neumann-steffen](https://forum.anaconda.com/u/neumann-steffen)\
**Replies:** 1\
**Last updated:** [September 1, 2023, 12:03pm UTC](https://forum.anaconda.com/t/which-version-should-i-use/60649 "2023-09-01T12:03:25Z")

</div>

hello, i’m a newbe on pyscript. an i’m litte bit confuedsed about the references : And I find out that every version has its own rule. So , how can I figure out , the right version? kind regards

---

## [AttributeError: module has no attribute](https://forum.anaconda.com/t/attributeerror-module-has-no-attribute/60230)

<div class="topic-metadata">

**Author:** [@Dmitry.Student.Evans](https://forum.anaconda.com/u/Dmitry.Student.Evans)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 6:20am UTC](https://forum.anaconda.com/t/attributeerror-module-has-no-attribute/60230 "2023-08-25T06:20:59Z")

</div>

I need run on my site custom module by pyscript link to site with pyscrit with html page code \[\[fetch\]\] files = \['example.py'\] #https://itdevelop.site/py/example.py from = '/py/' \</py-config\> \<py-script\> import…

---

## [How to use multiple python files](https://forum.anaconda.com/t/how-to-use-multiple-python-files/46947)

<div class="topic-metadata">

**Author:** [@robin.gueble](https://forum.anaconda.com/u/robin.gueble)\
**Replies:** 5\
**Last updated:** [August 18, 2023, 6:35am UTC](https://forum.anaconda.com/t/how-to-use-multiple-python-files/46947 "2023-08-18T06:35:01Z")

</div>

Hello, I would like to refactor my code in several python files and therefore use functions written in a .py file from another .py file. The two python files are in the same directory, so I try to import the file with t…

---

## [Jupyter Notebook Support?](https://forum.anaconda.com/t/jupyter-notebook-support/21071)

<div class="topic-metadata">

**Author:** [@bsalita2002](https://forum.anaconda.com/u/bsalita2002)\
**Replies:** 3\
**Last updated:** [July 26, 2023, 10:11am UTC](https://forum.anaconda.com/t/jupyter-notebook-support/21071 "2023-07-26T10:11:20Z")

</div>

Is there support for directly loading Jupyter Notebooks (.ipynb) files directly into pyscript? Is there some indirect method (e.g. converter)?

---

## [Can't use the "pandas\_datareader" function on Jupiter Notebook while coding using python](https://forum.anaconda.com/t/cant-use-the-pandas-datareader-function-on-jupiter-notebook-while-coding-using-python/59004)

<div class="topic-metadata">

**Author:** [@Fouad\_Chalhoub](https://forum.anaconda.com/u/Fouad_Chalhoub)\
**Replies:** 0\
**Last updated:** [July 26, 2023, 3:55am UTC](https://forum.anaconda.com/t/cant-use-the-pandas-datareader-function-on-jupiter-notebook-while-coding-using-python/59004 "2023-07-26T03:55:57Z")

</div>

I used this simple code: import pandas as pd import pandas\_datareader.data as pdr pdr.datareader(‘005930’,‘google’,‘2023-01-01’,‘2023-01-31’) Got this error: ModuleNotFoundError Traceback (most…

[Next page](https://forum.anaconda.com/c/tech-topics/pyscript/41.md?page=1)
