🤑 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

  • 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
  • Anthony Grodowski
    Anthony Grodowski
    4,902 Points

    Difference beetween ```.now()``` and ```.now```

    Posted August 25, 2019 4:34pm by Anthony Grodowski
    Anthony Grodowski
    4,902 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • nakalkucing
    nakalkucing
    12,964 Points

    /usr/bin/env: 'python3\r': No such file or directory But I followed Kenneth's code exactly!

    Posted December 11, 2018 7:57pm by nakalkucing
    nakalkucing
    12,964 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    2 Answers

  • fc3
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    fc3
    Python Web Development Techdegree Student 9,205 Points

    To get ./diary to work on windows I used #!/usr/bin/env python

    Posted August 23, 2018 11:07pm by fc3
    .a{fill-rule:evenodd;}techdegree
    fc3
    Python Web Development Techdegree Student 9,205 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    6 Answers

  • Iain Watson
    Iain Watson
    3,031 Points

    Diary.py

    Posted June 1, 2018 4:25pm by Iain Watson
    Iain Watson
    3,031 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • Ashley Keeling
    Ashley Keeling
    11,476 Points

    I dont get chmod?

    Posted February 21, 2018 12:04am by Ashley Keeling
    Ashley Keeling
    11,476 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • Pat McCarthy
    Pat McCarthy
    9,800 Points

    chmod +x diary.py ./diary.py

    Posted January 12, 2018 11:48am by Pat McCarthy
    Pat McCarthy
    9,800 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    2 Answers

  • Arcee Palabrica
    Arcee Palabrica
    8,100 Points

    Help using chmod in windows

    Posted September 16, 2017 11:46am by Arcee Palabrica
    Arcee Palabrica
    8,100 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • Julian Gu
    Julian Gu
    12,490 Points

    peewee.DatabaseError: file is encrypted or is not a database

    Posted July 4, 2017 5:04am by Julian Gu
    Julian Gu
    12,490 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    0 Answers

  • Konrad Hunter
    Konrad Hunter
    3,629 Points

    What is ls

    Posted May 20, 2017 2:35pm by Konrad Hunter
    Konrad Hunter
    3,629 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • Robust Tran
    Robust Tran
    2,802 Points

    The purpose of put a class inside another class?

    Posted March 21, 2017 1:57pm by Robust Tran
    Robust Tran
    2,802 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • Jeffrey Covington
    Jeffrey Covington
    7,246 Points

    Attribute Error

    Posted February 24, 2017 2:13pm by Jeffrey Covington
    Jeffrey Covington
    7,246 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • YiSzen Tang
    YiSzen Tang
    2,221 Points

    Sqlite3

    Posted January 10, 2017 11:21pm by YiSzen Tang
    YiSzen Tang
    2,221 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • vikas pal
    vikas pal
    11,563 Points

    ./ is not working in workspaces

    Posted November 12, 2016 5:56am by vikas pal
    vikas pal
    11,563 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • Jordan Featherstone
    Jordan Featherstone
    5,973 Points

    0 Results on .tables

    Posted October 25, 2016 9:48am by Jordan Featherstone
    Jordan Featherstone
    5,973 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    0 Answers

  • Kathryn Klarich
    Kathryn Klarich
    4,622 Points

    getting a bunch of errors with ./diary.py

    Posted October 17, 2016 1:19pm by Kathryn Klarich
    Kathryn Klarich
    4,622 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    2 Answers

  • Kathryn Klarich
    Kathryn Klarich
    4,622 Points

    Where did the databases come from in this video?

    Posted October 17, 2016 1:02pm by Kathryn Klarich
    Kathryn Klarich
    4,622 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • Justin Noor
    Justin Noor
    3,692 Points

    Using 'chmod +x diary.py' outside of Treehouse workspaces.

    Posted October 8, 2016 12:08am by Justin Noor
    Justin Noor
    3,692 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • Lucas Andrews
    Lucas Andrews
    4,919 Points

    Running command .tables indicates that initialize() does not appear to be creating Entry as a table.

    Posted September 9, 2016 2:15pm by Lucas Andrews
    Lucas Andrews
    4,919 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    2 Answers

  • Alexander Zhang
    Alexander Zhang
    4,312 Points

    Make python executable with /usr/bin/env python3

    Posted August 22, 2016 1:37am by Alexander Zhang
    Alexander Zhang
    4,312 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    2 Answers

  • Alex Crump-Haill
    Alex Crump-Haill
    7,819 Points

    Can someone explain 'ls' to me?

    Posted August 19, 2016 3:26pm by Alex Crump-Haill
    Alex Crump-Haill
    7,819 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • Quentin Durantay
    Quentin Durantay
    17,880 Points

    Database file created, but no tables are visible in Sqlite3.

    Posted February 24, 2016 5:06pm by Quentin Durantay
    Quentin Durantay
    17,880 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    3 Answers

  • Colby Work
    Colby Work
    20,422 Points

    Would there ever be a case not to use Safe=True?

    Posted January 25, 2016 5:59pm by Colby Work
    Colby Work
    20,422 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • Bruce Whealton
    Bruce Whealton
    3,619 Points

    Why did I get No such file or directory when trying to run ./diary.py?

    Posted October 5, 2015 7:46pm by Bruce Whealton
    Bruce Whealton
    3,619 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    5 Answers

  • MUZ140920 Kudakwashe Murungu
    MUZ140920 Kudakwashe Murungu
    6,316 Points

    How to enter into database using the sqlite command on Windows

    Posted August 7, 2015 9:39am by MUZ140920 Kudakwashe Murungu
    MUZ140920 Kudakwashe Murungu
    6,316 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    3 Answers

  • Brienna Herold
    Brienna Herold
    5,155 Points

    No module named peewee

    Posted March 29, 2015 4:59pm by Brienna Herold
    Brienna Herold
    5,155 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    8 Answers

  • Brandon Meredith
    Brandon Meredith
    29,350 Points

    Script is creating two .db files

    Posted January 22, 2015 6:13pm by Brandon Meredith
    Brandon Meredith
    29,350 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    1 Answer

  • Iain Simmons
    MOD
    Iain Simmons
    Treehouse Moderator 32,305 Points

    Python Shebang not working in Workspaces

    Posted January 22, 2015 12:32am by Iain Simmons
    Iain Simmons
    Treehouse Moderator 32,305 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry

    4 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.