✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Close
  • Madison Butler
    Madison Butler
    13,027 Points

    Not sure whats going on...

    Posted on Dec 6, 2024 by Madison Butler
    Madison Butler
    13,027 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Analyzing the Movie Database

    2 Answers

  • Kevin Martinez
    Kevin Martinez
    7,711 Points

    Uploading from Pycharm to GitHub

    Posted on Dec 30, 2023 by Kevin Martinez
    Kevin Martinez
    7,711 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Project Overview

    1 Answer

  • Joshua Faisal
    Joshua Faisal
    4,493 Points

    Its not giving me an error message when I enter in the wrong date.

    Posted on Jul 23, 2023 by Joshua Faisal
    Joshua Faisal
    4,493 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Update and Delete Books

    1 Answer

  • Kiefer H
    Kiefer H
    5,665 Points

    Can we use match instead of if-else for Menu Options?

    Posted on Nov 27, 2022 by Kiefer H
    Kiefer H
    5,665 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Update and Delete Books

    1 Answer

  • Sean Timmons
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Sean Timmons
    Data Analysis Techdegree Student 4,138 Points

    App returns memory location for Book Object, instead of string containing book info.

    Posted on Jul 1, 2022 by Sean Timmons
    .a{fill-rule:evenodd;}techdegree
    Sean Timmons
    Data Analysis Techdegree Student 4,138 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Cleaning Data

    2 Answers

  • Andras Andras
    Andras Andras
    8,230 Points

    App returns strange list of items.

    Posted on Feb 26, 2022 by Andras Andras
    Andras Andras
    8,230 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Cleaning Data

    1 Answer

  • Anthony Dills
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Anthony Dills
    Python Development Techdegree Student 5,336 Points

    I have an issue in my code when trying to input a published date for a new book entry

    Posted on Feb 22, 2022 by Anthony Dills
    .a{fill-rule:evenodd;}techdegree
    Anthony Dills
    Python Development Techdegree Student 5,336 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Create and Read Books

    1 Answer

  • S M Tasfiqul Asif
    S M Tasfiqul Asif
    11,514 Points

    Getting AttributeError: 'Query' object has no attribute 'title https://github.com/Tasfiq23/library_database.git

    Posted on Dec 2, 2021 by S M Tasfiqul Asif
    S M Tasfiqul Asif
    11,514 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Search for a Book

    3 Answers

  • Medhanit Endale
    Medhanit Endale
    6,419 Points

    Challenge Task 1 of 1 The movie theater wants to know how many movies they have in their database

    Posted on Nov 12, 2021 by Medhanit Endale
    Medhanit Endale
    6,419 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Analyzing the Movie Database

    1 Answer

  • Neana Del Rio
    Neana Del Rio
    4,770 Points

    Challenge Task 1 of 1 The movie theater wants to know how many movies they have in their database

    Posted on Nov 8, 2021 by Neana Del Rio
    Neana Del Rio
    4,770 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Analyzing the Movie Database

    2 Answers

  • amandae
    amandae
    15,727 Points

    For further learning...

    Posted on Sep 2, 2021 by amandae
    amandae
    15,727 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Analyze Books

    1 Answer

  • amandae
    amandae
    15,727 Points

    While True clause causes an infinite loop.

    Posted on Aug 31, 2021 by amandae
    amandae
    15,727 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Setting Up Our App

    3 Answers

  • Andy McDonald
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points

    How to use like() method?

    Posted on Aug 20, 2021 by Andy McDonald
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Analyzing the Movie Database

    1 Answer

  • Andy McDonald
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points

    Why do I query the class name?

    Posted on Aug 19, 2021 by Andy McDonald
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Analyze Books

    1 Answer

  • Andy McDonald
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points

    Why is she using RegEx? Why wouldnt she just use strptime?

    Posted on Aug 15, 2021 by Andy McDonald
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Import Book CSV

    1 Answer

  • Andy McDonald
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points

    How to turn a query object into a dictionary?

    Posted on Aug 4, 2021 by Andy McDonald
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Creating Our Book Database

    1 Answer

  • Andy McDonald
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points

    How to identify empty query object when empty query is truthy?

    Posted on Aug 1, 2021 by Andy McDonald
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Creating Our Book Database

    1 Answer

  • Andy McDonald
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points

    Using variable as attribute

    Posted on Aug 1, 2021 by Andy McDonald
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Creating Our Book Database

    1 Answer

  • Andy McDonald
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points

    Why am I getting 2 different results with a query depending on whether I run it as a script or in the consel?

    Posted on Jul 31, 2021 by Andy McDonald
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Creating Our Book Database

    1 Answer

  • Chris Hummel
    Chris Hummel
    13,960 Points

    Is there a reason we don't import the entire sqlalchemy base?

    Posted on Jul 27, 2021 by Chris Hummel
    Chris Hummel
    13,960 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Creating Our Book Database

    2 Answers

  • Jonathan Grieve
    MOD
    Jonathan Grieve
    Treehouse Moderator 91,254 Points

    TypeError: str is not callable

    Posted on Jul 23, 2021 by Jonathan Grieve
    Jonathan Grieve
    Treehouse Moderator 91,254 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Create and Read Books

    1 Answer

  • Jonathan Ramirez
    Jonathan Ramirez
    5,002 Points

    Am I missing something??

    Posted on Jun 10, 2021 by Jonathan Ramirez
    Jonathan Ramirez
    5,002 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Analyzing the Movie Database

    1 Answer

  • Danielle Murray
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Danielle Murray
    Python Development Techdegree Graduate 7,755 Points

    Hi Please can you help me with this task. I think my code is correct for this one but

    Posted on Jun 9, 2021 by Danielle Murray
    .a{fill-rule:evenodd;}techdegree seal-36
    Danielle Murray
    Python Development Techdegree Graduate 7,755 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Analyzing the Movie Database

    1 Answer

  • Ozzy Robledo
    Ozzy Robledo
    6,288 Points

    clean_date() function

    Posted on Jun 7, 2021 by Ozzy Robledo
    Ozzy Robledo
    6,288 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Cleaning Data

    2 Answers

  • Hanwen Zhang
    Hanwen Zhang
    20,084 Points

    What does app_running mean in this video? Can I just name it any other name or it is a built-in function?

    Posted on Apr 20, 2021 by Hanwen Zhang
    Hanwen Zhang
    20,084 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Setting Up Our App

    1 Answer

  • Callum Anderson
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Callum Anderson
    Data Analysis Techdegree Student 10,200 Points

    Ignored acception in console, continues to loop - SQLAlchemy/Pyhton

    Posted on Mar 11, 2021 by Callum Anderson
    .a{fill-rule:evenodd;}techdegree
    Callum Anderson
    Data Analysis Techdegree Student 10,200 Points
    • Python
    • SQLAlchemy Basics
    • Working with SQLAlchemy
    • Create and Read Books

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.