Python Programming 82 - Create an SDK - Part 1
ฝัง
- เผยแพร่เมื่อ 23 ก.ย. 2020
- Start your software dev career - calcur.tech/dev-fundamentals 💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
🐍 Python Course - calcur.tech/python-courses
✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
✉️ Newsletter - calcur.tech/newsletter
📸 Instagram - / calebcurry
🐦 Twitter - / calebcurry
🔗 LinkedIn - / calebcurry
▶️ Subscribe - calcur.tech/subscribe
👨🏻🎓 Courses - www.codebreakthrough.com
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
↪ My Amazon Store - www.amazon.com/shop/calebcurry
🅿 Patreon - calcur.tech/patreon-calebcurry
🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
Ⓟ Paypal - paypal.me/calcur
🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
📈 Buy Bitcoin - calcur.tech/crypto
Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/crypto - วิทยาศาสตร์และเทคโนโลยี
Great video Caleb, many thanks!
I once planned to implement this, but then I figured out that they are called ORM, which is already available.
That’s always an option.
bite-size explanations are pure gold... thanks
I realize I'm kinda off topic but does anybody know a good website to watch new tv shows online ?
@Castiel Hamza Meh I use Flixportal. you can find it if you google :) -yehuda
@Yehuda Brennan Thanks, I signed up and it seems like they got a lot of movies there :D I appreciate it !
@Castiel Hamza you are welcome xD
How would you list a specific book in the get_book function?
Right now it is doing a select * without a where clause. How would you invoke the parameter passed in get_books properly? For example, passing the title in
If you are querying all, you don't need the where clause, You need specify the table name only.
query = "SELECT * FROM products"
(WHERE * = All and 'product' is a table )
It is not the same as:
query = "SELECT barcode FROM product WHERE product_name = %s "
values = ("Peanut Butter", )
Traceback (most recent call last):
File "c:\Users\hp\Desktop\SDK\hello.py", line 5, in
booksSDK.add_book(book)
AttributeError: module 'booksSDK' has no attribute 'add_book'
Im getting this error while running hello.py
Can anyone help?
plus how to make python sdk for an API?
reply asap
Thanks in advance
did you include parenthesis for the function call? Getting know code is quite a strain on the effectiveness of being able to help.
Normally you are good at pacing but went a bit fast here.
This was the first time i felt completely lost. I wrote the code but i have no idea how it works