Photo by Surface on Unsplash


Photo by Carlos Alberto Gómez Iñiguez on Unsplash

Installation and Setup


Photo by Fotis Fotopoulos on Unsplash

Ctrl + /



Photo by Tim Dennert on Unsplash

Step 1: Create a basic app in the flask


Photo by Sergey Zolkin on Unsplash


A guide on gradient descent and its types.

Photo by Go Montgenevre on Unsplash

What is Optimizer?


A guide for creating a flask API and deploying in Heroku

Photo by Cookie the Pom on Unsplash


Photo by Claudio Schwarz | @purzlbaum on Unsplash

Python Script

import subprocess
import sys
source = "SOURCE_PATH"/file.txt
destination = "DESTINATION_PATH"/file.txt
output = subprocess.Popen(['powershell.exe', "Powershell_script" ,source,destination], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)print(output.stdout.read().decode().strip())

Powershell Script

$sourcefile = $args[0]
$destfile = $args[1]
Copy-Item -Path $sourcefile -Destination $destfileif((Test-Path -Path $dest)){
Write-Host "File copied successfully"
}
else{
Write-Host "File copying failed"
}

Sachinjose

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store