+12
@@ -0,0 +1,12 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
Set-Location $PSScriptRoot
|
||||
|
||||
if (-not (Get-Command py -ErrorAction SilentlyContinue)) {
|
||||
Write-Error "Python launcher 'py' was not found. Install Python 3 for Windows first."
|
||||
}
|
||||
|
||||
py -m pip install flask selenium
|
||||
|
||||
Start-Process "http://localhost:5000"
|
||||
|
||||
py .\app.py
|
||||
Reference in New Issue
Block a user