Python Forum
Is it possible to import / run compiled Python (.pyd) file in web browser?
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to import / run compiled Python (.pyd) file in web browser?
#4
dvid Wrote:Aside form wisdom or otherwise of doing it, can it actually be done?
They more normal way is to have python code on server side,
then send or call(using eg jinjaAjax) that code on client side.

I have a tutorial about this here,
so the point is to throw away the JavaScript code(that can run in Browser)
and do the same with Python code.
Doing a Ajax call to Python function server side,
so for the user in browser there is no diffidence as JavaScript and Python is doing the same task here.
Reply


Messages In This Thread
RE: Is it possible to import / run compiled Python (.pyd) file in web browser? - by snippsat - Dec-20-2017, 03:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Creating a Browser Extension using Python j49857 3 1,165 Feb-13-2024, 10:49 PM
Last Post: j49857
  webdriver.remote to connect back existing browser without open new browser? gahhon 6 6,830 Feb-26-2019, 03:53 PM
Last Post: gahhon
  Enable error logging to browser for Python's Flask under Apache + mod_wsgi nikos 1 3,096 Sep-18-2018, 09:15 PM
Last Post: nikos

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020