File size: 254 Bytes
dfbe936 5b1cf59 dfbe936 5b1cf59 dfbe936 5b1cf59 dfbe936 | 1 2 3 4 5 6 7 8 9 10 11 12 | import subprocess
import panel as pn
# Run the bash script to start nginx
subprocess.run(['bash', '/tmp/start.sh'], check=True)
# Create a simple Panel app
text = pn.pane.Markdown("## WebSocket Example with Panel")
# Display the Panel app
text.show()
|