当前位置:网站首页>TypeError: __ init__ () takes 1 positional argument but 5 were given
TypeError: __ init__ () takes 1 positional argument but 5 were given
2022-06-25 20:13:00 【Cheng Xiaoqi】
I'm learning today python Connect mysql when , Wrong report TypeError: init() takes 1 positional argument but 5 were given
Turned out to be 
It is amended as follows 
That's it .
summary : Maybe it's the version , Because the books studied are relatively old .
边栏推荐
- Arduino read temperature
- PAT B1067
- PAT B1071
- Pat b1054 average (20 points)
- Wechat applet cloud function does not have dependency option installed
- 8. iterators and generators
- PAT B1051
- Redis is a loser. If you don't understand the usage specification, you will spoil it
- <C>. Rolling phase division
- Avoid material "minefields"! Play super high conversion rate
猜你喜欢

Pcl+vs2019 configuration and some source code test cases and demos

String since I can perform performance tuning, I can call an expert directly

The native JS mobile phone sends SMS cases. After clicking the button, the mobile phone number verification code is sent. The button needs to be disabled and re enabled after 60 seconds

Swin UNET reading notes

Now meditation: crash service and performance service help improve application quality

Jsonp processing non homologous

Panda weekly -2022/02/18

Number of wechat applet custom input boxes

Does redis transaction support acid?

CG kit explore high performance rendering on mobile terminal
随机推荐
Nnformer reading notes
200 OK (from memory cache) and 200 OK (from disk cache)
Jsonp function encapsulation
Life cycle function of composite API
Wechat applet connects to the server to display mqtt data information
A necessary programming assistant for programmers! Smartcoder helps you easily integrate HMS core
Short video is just the time. How can you quickly build your video creation ability in your app?
Jsonp processing non homologous
PAT B1066
<C>. array
Panda weekly -2022/02/18
Est - il sûr d'ouvrir un compte avec de nouvelles dettes? Une faible Commission est - elle crédible?
206. reverse linked list (insert, iteration and recursion)
<C>. Branch and loop statements
6. exception handling
PAT B1051
Jsonp non homologous interaction (click trigger)
K-fold cross validation
2.15(Multiple of 3 Or 5)
PAT B1061