Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Python based alarm clock

  1. #1
    Join Date
    Aug 2006
    Beans
    50

    Talking Python based alarm clock

    I have made a small alarm clock using python and gtk. If you feel interested you can get it at http://abuccaneer.googlepages.com/pyalarmclock

    I am also working on python based frontend for mplayer ... having library support .
    It will be complete in a few days.... Hoping tht it would be useful.. atleast it will be for me !

  2. #2
    Join Date
    Apr 2005
    Location
    Ontario Canada
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Python based alarm clock

    Very nice. You might want to check this out kuz I think it has python script ability.
    quick program launch left mac type bar

    Started by Omnios, December 30th, 2007 11:49 AM

  3. #3
    Join Date
    Aug 2006
    Beans
    50

    Talking Re: Python based alarm clock

    thanks !

    what is the link ? that u r refering .

    Also, Cud u help me out with this > http://ubuntuforums.org/showthread.php?t=340238

  4. #4
    Join Date
    Apr 2005
    Location
    Ontario Canada
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Python based alarm clock

    Quote Originally Posted by Omnios View Post
    Very nice. You might want to check this out kuz I think it has python script ability.

    http://ubuntuforums.org/showthread.php?t=183709

    SOrry about that I was having a lot of computer problems yesterday.
    quick program launch left mac type bar

    Started by Omnios, December 30th, 2007 11:49 AM

  5. #5
    Join Date
    Dec 2006
    Location
    Rio de Janeiro, Brazil
    Beans
    53
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Python based alarm clock

    I was about to start one project of a PyGTK-based alarm. Thanks for sharing it!

    However, there are some problems:

    ― I can't chose the command that'll be executed.
    ― The ID gets wrong after a few messing around. And I think it's useless, given that we already have a Task Name.
    ― I think it would be better to select the time from a spinbutton rather than from a normal button.
    ― The included command does not work for me. It just opens a Terminal and puts it in forever-looping.

    Of course, I am not just going to criticize your good work:

    Would you consider merging some of the changes in case I post the code here?


    Thanks for starting it, man!
    Intel Core 2 Quad Q9450 | Gigabyte GA-X48-DQ6 | 4 x Kingston HyperX 1GB @ 1066MHz DDR2 | CoolerMaster Hyper 212 | XFX GeForce 8600GT

  6. #6
    Join Date
    Dec 2006
    Location
    Rio de Janeiro, Brazil
    Beans
    53
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Python based alarm clock

    Why is your code divided in BaseWindow and MyWindow?
    Intel Core 2 Quad Q9450 | Gigabyte GA-X48-DQ6 | 4 x Kingston HyperX 1GB @ 1066MHz DDR2 | CoolerMaster Hyper 212 | XFX GeForce 8600GT

  7. #7
    Join Date
    Aug 2006
    Beans
    50

    Smile Re: Python based alarm clock

    thanks


    well now to the questions


    Q: I can't chose the command that'll be executed.
    A: You can just change the mplayer.sh file

    Q: The ID gets wrong after a few messing around. And I think it's useless, given that we already have a Task Name.
    A: It's a matter of personal preference, neways i'll post an update soon
    Q: I think it would be better to select the time from a spinbutton rather than from a normal button.
    A: Ya, that is true, but when I wrote this I was just learning. Point noted updated package will soon add this.
    Q: The included command does not work for me. It just opens a Terminal and puts it in forever-looping.
    A: That's maybe because you don't have test.mp3 which is hard coded in the Alarm.py . Missed to add it in the README.


    well when i wrote this small alarm clock, I really didn't have any sort of architecture in place, i just started coding and here is what i have.
    so there maybe some bugs.. but i am really happy that it is helpful so some 1.

  8. #8
    Join Date
    Aug 2006
    Beans
    50

  9. #9
    Join Date
    Oct 2007
    Location
    Michigan, USA
    Beans
    135
    Distro
    Ubuntu

    Re: Python based alarm clock

    Nice clock!

    I'm just begining to learn python, and I think this is a good example to try to break and fix in my educational pursuit.
    Registered Linux User #455695

    Michigan Ubuntu LoCo Member

  10. #10
    Join Date
    Dec 2006
    Location
    Rio de Janeiro, Brazil
    Beans
    53
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Python based alarm clock

    Wow, THAT was fast!
    Intel Core 2 Quad Q9450 | Gigabyte GA-X48-DQ6 | 4 x Kingston HyperX 1GB @ 1066MHz DDR2 | CoolerMaster Hyper 212 | XFX GeForce 8600GT

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •