Python 2.7 Tutorial Pt 11

In this Python Tutorial Video I cover how to use the Shelve Module to allow for new ways to store your information similar to a database. I’ll continue creating these Python module tutorials, starting with Python database modules.

Code is Here






21 responses to “Python 2.7 Tutorial Pt 11”

  1. Andrew Duque Avatar

    Hi Derek, I copy your code and I have the next error:
    AttributeError: 'module' object has no attribute 'open'
    database ='customers.dat',writeback=True)

    I don't know why, Do you know? Thanks for all Derek!

  2. Derek Banas Avatar

    Thank you πŸ™‚ Yes I do cover Python 3. The first video is called Python How to Program Pt 1

  3. AlexanderMccarthey87 Avatar

    Do you have a python 3x tutorial. Your stuff is good

  4. Derek Banas Avatar

    You're very welcome πŸ™‚

  5. t0mat0source Avatar

    Super handy. Thanks very much.

  6. Rohit Shukla Avatar

    hi derek, i hv gone through 11 videos of ur tutorial..and they are excellent.
    i hv a query, "is it possible to make trees, stacks, etc."

    Actually i hv to make a RED BLACK tree with all of its operations working..apart from C, i know Java..which is lengthy.. Python would help me out..?

  7. vakati suresh Avatar

    i sent the code in facebook

    which detects face πŸ™‚

    please modify that as when ever a face detected that frame must be store in database…

  8. vakati suresh Avatar

    i didnt get reply from u
    i am getting except KeyError :
    is a syntax error

  9. vakati suresh Avatar

    no sir…
    my project name is face and object detection using computer vision
    i have done face recognition using python and open cv ,,, i will mail u that code… i am not getting an image to store when a face detects ,,,you said shelve module creates a database ,, i am not able to store images with that:)

  10. Derek Banas Avatar

    You're going to want to right programs like that using C. Python is too slow. I'm making a C tutorial very soon

  11. vakati suresh Avatar

    thank you very much for making these tutorials… these makes me to learn more:)
    i need error free code for facial recognition which detects faces and stores in a folder πŸ™‚
    ok now can u make a tutorial on serial port:)
    how to access serial port and how can we send commands through it,,, because i am getting errors errors errors when i open python:)please

  12. vakati suresh Avatar

    ok thank you:)and in this code i am getting a syntax error at
    except KeyError:

  13. Derek Banas Avatar

    Facial recognition is pretty complicated. I plan on covering in later tutorials, but I can't at this time

  14. vakati suresh Avatar

    hello ;;;; i would like to store images from video ;;;is it possible by shelve:)
    mail me the code how to get images when ever face detected in video…

  15. Derek Banas Avatar

    Great! I know it can be a lot to wrap your head around, but if you keep at it you'll get it πŸ™‚

  16. Raha n Avatar

    this part was one of the best part up to now,I completely got it,thank you Dear Derek

  17. Derek Banas Avatar

    You're very welcome πŸ™‚

  18. Derek Banas Avatar

    You are very welcome πŸ™‚ Check out Python 2.7 Tutorial Pt 15 for GUI stuff

  19. N. Netto Avatar

    Hi Derek,

    Thank you very much for this!

    I am writing a voting code which looks a bit like this, but I want to write a GUI, so that people can vote in the website. I haven't done GUI before, do you have any tips?


  20. Derek Banas Avatar

    @SackettGraphics Agreed! I'm going to rename my tutorials asap. Slipped up in trying to get out as many good tutorials as fast as possible. Thanks πŸ™‚

Leave a Reply

Your email address will not be published. Required fields are marked *