✨ 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
    • Using Databases in Python
    • Our Diary App
    • Doing Data Entry
    • Close
  • Anthony Grodowski
    Anthony Grodowski
    4,902 Points

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

    Posted on Aug 25, 2019 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 on Dec 11, 2018 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 on Aug 23, 2018 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 on Jun 1, 2018 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 on Feb 21, 2018 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 on Jan 12, 2018 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 on Sep 16, 2017 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 on Jul 4, 2017 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 on May 20, 2017 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 on Mar 21, 2017 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 on Feb 24, 2017 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 on Jan 10, 2017 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 on Nov 12, 2016 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 on Oct 25, 2016 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 on Oct 17, 2016 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 on Oct 17, 2016 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 on Oct 8, 2016 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 on Sep 9, 2016 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 on Aug 22, 2016 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 on Aug 19, 2016 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 on Feb 24, 2016 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 on Jan 25, 2016 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 on Oct 5, 2015 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 on Aug 7, 2015 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 on Mar 29, 2015 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 on Jan 22, 2015 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 on Jan 22, 2015 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.