0

I use Conky as a desktop monitoring software. I also use it to monitor stock prices and portfolio net worth through a Python script.

Basically, I fetch the stock prices from Yahoo Finance using curl.

$ curl -s 'http://download.finance.yahoo.com/d/quotes.csv?s=vwrl.as&f=l1'

Then I input that to a python script that returns a float.

$ python /yada/yada/myunoriginalscript.py

42.0

Conky handles this quite easily and displays it on screen. I know that curl can be made available for Android and I've ran Python scripts in the past.

Is there any widget/app/technique to display the output of said python script on screen continuously and not only on the terminal, whenever I run it manually?

  • How so? I want to display some data on my android phone. Which SE site should I post this question then? – Calculus Knight Apr 24 '15 at 10:37
  • 1
    Still: recommendations like Is there an app for X are off-topic here (see What topics can I ask about here? for details). For where your question might fit better, you might want to look into Where can I ask questions that aren't Android Enthusiast questions?. With the correct phrasing and details provided, you might try your luck at SR. The other half is a development issue, and also off-topic. There's nothing built-in for that. – Izzy Apr 24 '15 at 10:41
  • 1
    Well, I was hoping no need for apps, looking for some built-in software feature to display whatever the script returns on the status bar next to the clock or similar... I guess I might look for it on Stack Overflow. I will keep the question open just in case has some insight to offer and remove it afterwards if there is none. Thanks for pointing me in the right direction. – Calculus Knight Apr 24 '15 at 10:49
  • 1
    I'm afraid there is no built-in feature for that (after all, there's not even built-in Python support). That's why I recommended checking with Software Recommendations (make sure to read their guidelines before posting there). I know there are several apps for Python support; some might come with widget stuff (though I've never heard of them either). – Izzy Apr 24 '15 at 10:51
0

In the end, I installed SL4a and used one of the the GUI functions that appeared on the 'test.py' sample script to display the information. I like the terminal, but this way is quite nicer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.