当前位置:网站首页>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 
边栏推荐
- 5. Oracle TABLESPACE
- vsCode创建自己的代码模板
- [wustctf2020] plain_ WP
- Record of problems in ollvm compilation
- Series of how MySQL works (VIII) 14 figures explain the atomicity of MySQL transactions and the principle of undo logging
- Chinese remainder theorem acwing 204 Strange way of expressing integers
- 背包问题 AcWing 9. 分组背包问题
- Written examination notes
- Winter vacation water test 1 Summary
- C - XOR to all (binary topic)
猜你喜欢

20220213-CTF MISC-a_ good_ Idea (use of stegsolve tool) -2017_ Dating_ in_ Singapore

Alibaba's new member "Lingyang" officially appeared, led by Peng Xinyu, Alibaba's vice president, and assembled a number of core department technical teams

Day 2 document

Interval problem acwing 906 Interval grouping

高斯消元 AcWing 884. 高斯消元解异或線性方程組

Sorting out the latest Android interview points in 2022 to help you easily win the offer - attached is the summary of Android intermediate and advanced interview questions in 2022

Gauss Cancellation acwing 884. Solution d'un système d'équations Xor linéaires par élimination gaussienne

vsCode创建自己的代码模板

求组合数 AcWing 888. 求组合数 IV

MPLS experiment
随机推荐
SQL三种连接:内连接、外连接、交叉连接
Adg5412fbruz-rl7 applies dual power analog switch and multiplexer IC
Redis-01.初识Redis
What is linting
International Open Source firmware Foundation (osff) organization
C job interview - casting and comparing - C job interview - casting and comparing
Client use of Argo CD installation
Chapter 6 relational database theory
博弈论 AcWing 893. 集合-Nim游戏
[learning] database: MySQL query conditions have functions that lead to index failure. Establish functional indexes
Day 2 document
1. Create Oracle database manually
11-gorm-v2-02-create data
The “mode“ argument must be integer. Received an instance of Object
Winter messenger 2
H5内嵌App适配暗黑模式
'mongoexport 'is not an internal or external command, nor is it a runnable program or batch file.
高斯消元 AcWing 884. 高斯消元解异或线性方程组
1.手动创建Oracle数据库
Knapsack problem acwing 9 Group knapsack problem