Jump to content



Photo

simple python app


  • Please log in to reply
2 replies to this topic

#1 Craig Hopson

Craig Hopson

    Neowinian

  • Joined: 17-November 12
  • Location: London
  • OS: Windows 8 :-(

Posted 22 August 2013 - 10:03

Hey guys I have 5 variables in python script like so
ONE = 1
TWO = 2
And so on and I can print them like
Print ONE;
Print TWO;
All easy so far how can I put a png image in the middle of the screen and have the 5 variable around the image, how cange the background colour, font colour ect
Im using a raspberry pi in command prompt mode and I would like not to use xstart or any gui just basic layouts

Thanks all


#2 Andre S.

Andre S.

    Asik

  • Tech Issues Solved: 12
  • Joined: 26-October 05

Posted 22 August 2013 - 19:57

I'm confused. You say you are using the command prompt but want to display a png image there? Command prompts are purely text-based UIs.

 

If you're designing a graphical user interface then please state what toolkit you are using.



#3 vcfan

vcfan

    Doing the Humpty Dance

  • Tech Issues Solved: 3
  • Joined: 12-June 11

Posted 22 August 2013 - 20:03

IMG = MYIMG.PNG

Draw IMG