Open your Putty Put as COM6(Your PORT) in Serial Line Box and in Speed 115200 then go for Connection type and Select as Serial and then go and Select Open. A Command Line Python will Be opened do type the programme or select the programme from import and run them.
In CMD Install ampy through PIP such as: pip install adafruit-ampy
Put Code in ESP32 development board through ampy as such : ampy --port COM6 put blinky.py