2474 views|5 replies

424

Posts

8

Resources
The OP
 

Some problems in the explanation of pyboardCN V2 + set a flag [Copy link]

  I want to ask D, why sometimes the terminal looks like the picture, and it is automatically indented when you press Enter (it was not indented before). Restarting the terminal does not work. The picture above is the picture after restarting the terminal. Only after pressing reset on V2 does it return to normal. Looking back on what I have played during this period, in addition to using it on hardware, I found that I am not good at learning Python. I don’t understand a lot of syntax and often write according to C habits. Next, I plan to learn Python well and strive to improve the official microPython wave.py before October so that it can achieve dual-channel playback. Set a flag here to remind myself.

Latest reply

Take a look first and study it in advance  Details Published on 2018-7-26 21:23
 
 

1w

Posts

25

Resources
2
 
If you enter a colon or slash at the end, Python will think it needs to be indented automatically. The three dots are indentation prompts.

Comments

Without the slash, colon, and copy, it will be like that. Also, it cannot be exited like normal indentation.  Details Published on 2018-7-26 20:50
 
 
 

424

Posts

8

Resources
3
 
dcexpert posted on 2018-7-25 23:30 If you enter a colon or slash at the end, Python will think it needs to be automatically indented. The three dots are indentation prompts.
Without slashes or colons, copying will result in that. Moreover, it cannot exit the indentation like normal indentation

Comments

You cannot paste directly. You need to use the ctrl-e key combination to enter the paste mode so that you can paste normally.  Details Published on 2018-7-26 20:59
 
 
 

1w

Posts

25

Resources
4
 
lehuijie posted on 2018-7-26 20:50 Without the slash and colon, copying will result in that. Moreover, it cannot exit the indentation like normal indentation
It cannot be pasted directly, you need to use the ctrl-e key combination to enter the paste mode, so that it can be pasted normally.

Comments

Use putty to paste the  Details Published on 2018-7-27 22:03
 
 
 

1903

Posts

0

Resources
5
 
Take a look first and study it in advance
 
 
 

424

Posts

8

Resources
6
 
dcexpert posted on 2018-7-26 20:59 You can't paste directly, you need to use the ctrl-e key combination to enter the paste mode, so that you can paste normally.
When using putty, you always right-click to paste
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list