PyScript - Python In HTML?

preview_player
Показать описание
Hello everyone, in this video I'll be taking my first look into the program "PyScript". In essence, PyScript lets you plug in Python Code into the browser from your HTML document. It came out a few months ago, so I'm a bit late to everything, however it is still in very early development and doesn't have much utility yet. I hope you enjoy the video!

⭐️ Timestamps ⭐️
00:00 | What is PyScript?
01:05 | ProgrammingExpert
01:32 | Example #1 - Hello World
03:10 | Example #2 - Modules/Matplotlib
05:17 | Example #3 - Input/Forms/Events
08:38 | My Thoughts On PyScript

🔗 Links 🔗

◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️

◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️

⭐️ Tags ⭐️
-PyScript
-Python
-HTML
-Web Development

⭐️ Hashtags ⭐️
#techwithtim #PyScript #Python
Рекомендации по теме
Комментарии
Автор

I haven't used it yet, but it certainly seems like a game changer. From the machine learning side, there are so many models that can now be displayed in a browser.. (without help from an engineering team). Sending a notebook has been the worst cheap solution for too long

Mutual_Information
Автор

I love how all of the stuff you teached in this video is now so much simpler, it goes to show how much PyScript has changed in these past 9 months

Heavy_Lvy
Автор

Great content as always! As someone who felt stuck in my previous career and really found myself through becoming a Youtuber and a Data Scientist/programmer, thank you for your great content. Keep doing what you do!

felixc.programs
Автор

Junior Python Dev Position:

- Pyscript - 6 years experience required

Salary: Minimum wage + Christmas gift card

MBCisum
Автор

A lot of people seem to be quite negative about PyScript, saying that it can't or won't replace JS, but I think this is a somewhat irrelevant discussion.
JS has its own uses, strengths and weaknesses, and PyScript seems to as well, maybe with some overlap, but ultimately, I think PyScript has the potential to be very useful for people with a Python background, rather than an HTML/CSS/JS background, and without time or inclination to learn these to the same degree they know Python.

cerealport
Автор

Seems interesting. As a structural Engineer I see some handy tools that can be built with this using numpy and plot functions.

gerardstrik
Автор

Hey man! Coming after a long time now. It is good to see that you have not changed!!

!!KEEP UP THE GOOD WORK MAN!!







Just please give me the code of your guessing game. I would like to do something about it

geetaranikanojia
Автор

Woah that looks awesome. Don t like jscript, so this will make html coding more interesting

tugaric
Автор

Cool! It's just awesome! I hope this project will be actively developed. And I hope such projects will push Python to improve performance. There are a lot of areas where Python would be a great tool, but can't be used simply because it's too slow!

Derian_De_Grey
Автор

I used it before because I found it amazing but it is quite slow. I hope it's performance will increase in future

farhanjatt
Автор

That's a good point, pyscript does provide probably the most simple UI for python.

kevincodes
Автор

this is actually amazing!
I've been having a problem with a current project and this pretty much fixes it! amazing

kylewestran
Автор

I really like this new idea. Always enjoy your videos Tim, Would definitely appreciate some more videos on the PyScript in the future. Thank you.

bonarhya
Автор

If you only do simple stuff or are teaching basic programming, you might as well stick to javascript. However the python packages are the real gamechanger here, it just lets you do more computational and data analysis type stuff that js simply can't do.

Alexx_
Автор

I have a bunch of Tkinter apps I wrote many years ago in Python 2.7 - I think this would be a great way to make them available online. I think I will try it in my unused google cloud account.

BossNerd
Автор

For your consideration, there is a plugin for code highlighting with PyScript in VS code.

jorge
Автор

this is interesting, I am defiantly using pyscript as I don't know js right now

kushangshah-behn
Автор

@TechWithTim can you create a video explaining how Python complies, the above video had a question about threads and python only accessing one core. I love Python but I'm aware its not the fastest when compared to other high level languages at compile time. I know there are websites you can use to watch scripts compile and the whole thing could make for a very interesting video, but I don't know enough about it. Love the way you create your content, if this idea has value then great and thank you. Keep up the great work.

philipshenton
Автор

Wow I didn't know this existed, this is amazing. I can see it being very useful in combination with Django as well if you can run Python code in the browser on top of the Django rendering system. Very cool

danielros
Автор

Great video!
I ...I still didn't used it yet but Django already does miracles 😅

sitrakaforler