Hi I am new to python, my reason for trying it is to backup the flash memory on my esp8266. I have installed python 3.6.2 and eventually esptools.py. being a newbie I rely on google to find the info I need. The first attempt to install esptool i used the code
this is the code to copy the memory
Any help would be great, I imagine its something simple that I am not doing right
Screen shot
$ pip install esptoolwhich didnt work came back with syntax error. Some more searching suggested
import pip package_name-'esptool' pip.main(['install', package_name])which worked But if I then try
esptool -hI get NameError esptool not defined. Further searching suggested I needed PySerial.py so I installed that too, but I am still getting syntax and not defined errors
this is the code to copy the memory
python.exe esptool.py --port COM5 --baud 115200 read_flash 0x000 524288 backup.binwhich returns SyntaxError: invalid syntax
Any help would be great, I imagine its something simple that I am not doing right
Screen shot