Search found 2 matches

by marcwagner
Thu Sep 20, 2018 7:43 pm
Forum: General Discussion and Questions
Topic: Sonoff / ESP8266: No REPL [SOLVED]
Replies: 5
Views: 5512

Re: Sonoff / ESP8266: No REPL [SOLVED]

[quote=BigMan post_id=25366 time=1518337067 user_id=2183] After countless attempts of searching for the solution: [/quote] just to add to the body of knowledge: many instructions give [code]esptool --port /dev/ttyUSB0 write_flash -fs 1MB 0 esp8266-20171101-v1.9.3.bin[/code] as the flash command. How...
by marcwagner
Wed Sep 19, 2018 6:04 pm
Forum: General Discussion and Questions
Topic: Copy of a dictionnary
Replies: 7
Views: 6265

Re: Copy of a dictionnary

in python I would do: [code] from copy import deepcopy dict2 = deepcopy(dict1) [/code] see: https://stackoverflow.com/questions/2465921/how-to-copy-a-dictionary-and-only-edit-the-copy when I try this in micropython I get [code]ImportError: no module named 'copy'[/code] so what is the micropython way...