[Tutor] Scheduling Python Execution

2013-04-14 Thread Zaki Akhmad
ctime() then execute. Is designing with this approach isn't good? Since it will be a long script running. I've read the sched module. And the enter module has delay argument. So is better that I calculate the delay rather than the ctime to execute? Regards,

Re: [Tutor] Scheduling Python Execution

2013-04-15 Thread Zaki Akhmad
y the sunrise and the sunset time are vary, what are the best way to do it? Should I entered the sunset and the sunrise manually? Thanks! -- Zaki Akhmad ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail

[Tutor] Responding Tweet: A Twitter Bot

2014-02-20 Thread Zaki Akhmad
ython[1]. My question is how to get the mentions as soon as possible, as @someone mention @example? Any python library could help me? Hint please. Previously, I use cron to search for tweets that mentioned @example account. [1]https://pypi.python.org/pypi/twitter Thank you, -- Zaki A

Re: [Tutor] Responding Tweet: A Twitter Bot

2014-02-20 Thread Zaki Akhmad
_mention: if (mention): tweet If I want to check every minute, then I should configure cron to execute this script every minute. Are there any other approach besides using cron? -- Zaki Akhmad ___ Tutor maillist - Tutor@python.org To unsubscribe or ch

Re: [Tutor] Responding Tweet: A Twitter Bot

2014-02-26 Thread Zaki Akhmad
On Fri, Feb 21, 2014 at 4:05 PM, Walter Prins wrote: > > With the caveat that I'm not familiar with the Twitter streaming API's > and that I literally only spend 3 minutes googling this, it seems to > me to be the case that the Twitter streaming API's is intended to be a > push style notification