mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
10 lines
214 B
Python
10 lines
214 B
Python
#!/usr/bin/env python
|
|
from multiprocessing import Process
|
|
import webbrowser
|
|
import zeronet
|
|
|
|
server = Process(target=zeronet.main)
|
|
server.start()
|
|
url = webbrowser.open("http://127.0.0.1:43110", new=2)
|
|
server.join()
|