简体   繁体   中英

Launch my own program in console mode with Linux

I wrote a tiny console program in C# for test purpose. It's just an advanced "Hello world", really. Now I need to run it on a RaspberryPi. It's very light (just two imbricated loops, and a json reading method).

The thing is I've never developed on Linux so I don't really know where to start. I'm thinking about using Python. I found Urwid ( http://urwid.org/tutorial/index.html ), and I guess it could do the job, but I wanted to get some advices.

So:

  • Which language should I use?
  • Do I have to use a specific interface such as Urwid ?

By advance, thank you.

You don't need urwid to print a simple "Hello World!" text in python. (I've seen and it has some cool functionnalities.) And yes, python is a great choice for a raspberry pi, it's lightweight and quite efficient. Although if you want to create a larger program, I would recomend you to develop it in C — even if it is a more advanced language.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM