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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 13

  • @edwinroman30
    @edwinroman30 3 ปีที่แล้ว

    Great video Caleb, many thanks!

  • @roshanpandey5094
    @roshanpandey5094 3 ปีที่แล้ว +5

    I once planned to implement this, but then I figured out that they are called ORM, which is already available.

  • @semrana1986
    @semrana1986 3 ปีที่แล้ว +1

    bite-size explanations are pure gold... thanks

    • @castielhamza272
      @castielhamza272 2 ปีที่แล้ว

      I realize I'm kinda off topic but does anybody know a good website to watch new tv shows online ?

    • @yehudabrennan9420
      @yehudabrennan9420 2 ปีที่แล้ว

      @Castiel Hamza Meh I use Flixportal. you can find it if you google :) -yehuda

    • @castielhamza272
      @castielhamza272 2 ปีที่แล้ว

      @Yehuda Brennan Thanks, I signed up and it seems like they got a lot of movies there :D I appreciate it !

    • @yehudabrennan9420
      @yehudabrennan9420 2 ปีที่แล้ว

      @Castiel Hamza you are welcome xD

  • @Boedie92
    @Boedie92 3 ปีที่แล้ว +1

    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

    • @juliovicenteperez7172
      @juliovicenteperez7172 3 ปีที่แล้ว

      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", )

  • @sarthaknirala3610
    @sarthaknirala3610 2 ปีที่แล้ว

    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

    • @xrify9407
      @xrify9407 ปีที่แล้ว

      did you include parenthesis for the function call? Getting know code is quite a strain on the effectiveness of being able to help.

  • @JoshStasio884
    @JoshStasio884 11 หลายเดือนก่อน

    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