Could you tell me how to publish Python's Web website locally?

if I develop a website using python framework, but I don"t want to publish it on the web, I just want to use it on my local computer or give it to other friends, how should I pack it?

if you give it to a friend, how can a friend use it directly without installing any python-related files? Hope to help solve it, thank you!

Nov.05,2021

  1. set inbound rule or host to localhost instead of 0.0.0.0
  2. dependent objects always need to be installed, so it is recommended to install a virtual env, or you pack a docker image.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea7d37-1e89.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea7d37-1e89.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?