import express from 'express' import { python } from 'pythonia' const { date } = await python('datetime') const app = express() const port = 7860 app.get('/', async (req, res) => { const today = await date.today() res.write(` Hello.
Python says: today's date is ${ await today.strftime("%d/%m/%Y") }
`) res.end() }) app.listen(port, () => { console.log(`Open http://localhost:${port}`) })