Python: Run Python in HTML, pyscript ver. 2

Last Updated on June 18, 2022 by shibatau

Scripts have been changed.

I. What is PyScript?

PyScript is a framework that allows users to create rich Python applications in the browser using HTML’s interface and the power of PyodideWASM, and modern web technologies. The PyScript framework provides users at every experience level with access to an expressive, easy-to-learn programming language with countless applications.

https://pyscript.net/

II. Reading CSV Files From URL with Pandas

You can learn how to read CSV files from URL with Pandas here:

PyScript Pandas Tutorial to Read CSV Files From URL and Display it in HTML5 Table in Browser For Beginners

I have read my sample data from URL and created a histogram:

See the Pen
pyscriptEngJa
by shibatau (@shibatau)
on CodePen.

To be continued.

About shibatau

I was born and grown up in Kyoto. I studied western philosophy at the University and specialized in analytic philosophy, especially Ludwig Wittgenstein at the postgraduate school. I'm interested in new technology, especially machine learning and have been learning R language for two years and began to learn Python last summer. Listening toParamore, Sia, Amazarashi and MIyuki Nakajima. Favorite movies I've recently seen: "FREEHELD". Favorite actors and actresses: Anthony Hopkins, Denzel Washington, Ellen Page, Meryl Streep, Mia Wasikowska and Robert DeNiro. Favorite books: Fyodor Mikhailovich Dostoyevsky, "The Karamazov Brothers", Shinran, "Lamentations of Divergences". Favorite phrase: Salvation by Faith. Twitter: @shibatau

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.