Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6931835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:37:44+00:00 2026-05-27T11:37:44+00:00

I’m an intermediate programmer. I know C very well, Java somewhat well, and have

  • 0

I’m an intermediate programmer. I know C very well, Java somewhat well, and have just done some very basic programming with Python, Shell, and Applescript. I’m writing the program for Mac OSX.

I’d like a create an application that plans my day for me, and lets me schedule due dates for different projects.

The idea being, i could tell the program I have deadline for a task on April 1st, 2012, and that it will take approximately 80 hours. The program would then pick the hours and days to schedule blocks of time dedicated to the task, based on a number of factors.

What this means is, I need the program to have a fine-grain knowledge of time, over a large number of dates. I need at least 30 minute intervals for each day to be split into. Each block of 30 minutes needs to be checked if a task is scheduled for that time, and the possibility to assign a task to that block.

So these 30 minute blocks must exist for each day, and obviously there will be many days the program will have knowledge of, at minimum I’d say a year or 365 days.

I’m just at a crossroads as to how to store the data. I haven’t had any experience yet with databases, so I’m not sure if thats a solution, or what that involves.

How would you approach the problem? My prefered languages for this problem would be C and/or Python.

Thanks for any and all insights.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:37:44+00:00Added an answer on May 27, 2026 at 11:37 am

    I’d recommend using sqlite3. Take a look at the api for python here http://www.python.org/dev/peps/pep-0249/.

    You could use another relational db with the same api, but for the scale of your app sqlite3 gives some ease of use benefits, and you could always switch dbs. It’s straight forward and simple for your application. Also, it’s the more typical relational database, so you’ll be able to find plenty of information.

    You could use one of the more popular non-relational like http://www.mongodb.org/, and if you have no experience with SQL this may be easier to grasp (I’m not sure about this though, take a look for yourself.) Mongo supports several drivers (http://www.mongodb.org/display/DOCS/Drivers), but I do recommend going with python for something like this for ease of implementation. ie. http://docs.python.org/library/calendar.html is very nice.

    Additionally, there’s also things like https://storm.canonical.com/Tutorial for sqlite3 and http://mongoengine.org/ for MongoDB. Depending on your experience and scope of the project these may be very worth learning. Really, as things get larger and more complicated, using a ORM layer becomes more worth it. On the flip side, if your are very familiar with SQL, and relational database schemas, it may not be worth the effort to learn a new API for a solo project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just tried to save a simple *.rtf file with some websites and
I have thousands of HTML files to process using Groovy/Java and I need to
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have some data like this: 1 2 3 4 5 9 2 6
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.