当前位置:网站首页>Pycahrm reports an error: indentation error: unindent does not match any outer indentation
Pycahrm reports an error: indentation error: unindent does not match any outer indentation
2022-07-05 06:37:00 【timingzj】
pycahrm Report errors IndentationError: unindent does not match any outer indentation
The indentation error :IndentationError: unindent Does not match any external indents
This error occurs because of spaces and Tab Key mix
Method 1 : stay File → Settings → Code Style → Python Make the following settings in 
Method 2 : Use pycharm Own code formatting shortcut Ctrl+Alt+L , Note whether the shortcut key has been occupied by other software ( Such as :QQ)
pycharm Shortcut key modification :
Enter the first File → Settings → Keymap → Main Menu → Code → Folding in
Right click Remove Ctrl+Alt+L
Again Add Keyboard Shortcut Set it as a shortcut key that you are familiar with and have not been occupied 
边栏推荐
- AE tutorial - path growth animation
- C job interview - casting and comparing - C job interview - casting and comparing
- 2048项目实现
- 数据库Mysql全部
- How to set the drop-down arrow in the spinner- How to set dropdown arrow in spinner?
- 2. Addition and management of Oracle data files
- Paper reading report
- Gaussian elimination acwing 884 Gauss elimination for solving XOR linear equations
- PR automatically moves forward after deleting clips
- 博弈论 AcWing 891. Nim游戏
猜你喜欢

中国剩余定理 AcWing 204. 表达整数的奇怪方式
![[moviepy] unable to find a solution for exe](/img/0a/4841f53cedc1333654b9443e406f4c.jpg)
[moviepy] unable to find a solution for exe

【高德地图POI踩坑】AMap.PlaceSearch无法使用

Knapsack problem acwing 9 Group knapsack problem

confidential! Netease employee data analysis internal training course, white whoring! (attach a data package worth 399 yuan)

Alibaba established the enterprise digital intelligence service company "Lingyang" to focus on enterprise digital growth

Design specification for mobile folding screen

5. Oracle tablespace

栈 AcWing 3302. 表达式求值

how to understand the “model independent.“
随机推荐
How to answer when you encounter a jet on CSDN?
Getting started with typescript
Presentation of attribute value of an item
11-gorm-v2-02-create data
Rehabilitation type force deduction brush question notes D3
5.Oracle-表空间
What's wrong with this paragraph that doesn't work? (unresolved)
容斥原理 AcWing 890. 能被整除的数
How to generate an image from text on fly at runtime
[algorithm post interview] interview questions of a small factory
P2575 master fight
Game theory acwing 894 Split Nim game
Simple selection sort of selection sort
Game theory acwing 893 Set Nim game
Gaussian elimination acwing 884 Gauss elimination for solving XOR linear equations
Design specification for mobile folding screen
H5 module suspension drag effect
Nested method, calculation attribute is not applicable, use methods
Client use of Argo CD installation
Record of problems in ollvm compilation