removed not on topic, not to be aiding the hijacking of my thread.
LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS
Project - UK & EU Lottery killas / Open Source donation builders
|
Hello Mart,
I have done a new UK Lotto python script ![]() Its actions are like a combination of the initial idea, and the first posted version above. It is still 4 lines long, but is less typing, it doesn't need all the numbers to be typed out. I also added to the output text that it is the lotto numbers. I have also added more comment lines in the code to explain better what each part is doing. ![]() Screenshot of new UK Lotto number picker running in terminal on Linux Lite, and also showing code in Gedit. Here is the code, I saved it to a Leafpad document in Home folder and name it next.py Code: # imports random function To run this open your terminal by holding down Ctrl and Alt keys and pressing t (Ctrl+Alt+t) . Then copy/paste or type into terminal - Code: python next.py Side note - removed other linux topic not on topic in this thread.
Hello,
using the second version of the UK Lotto above I have redone the EuroMillions Python script. ![]() EuroMillions new version with less typing, and improved comment lines, running on Linux Lite in Terminal and showing code in Gedit. I save this to a Leafpad document in Home folder and named this eunext.py Here is the code Code: # imports random function To run this open terminal by holding down Ctrl and Alt keys and pressing t (Ctrl+Alt+t) Then copy/paste or type Code: python eunext.py I hope you enjoyed reading this.
Removed socially friendly infos above here to comply with, not on topic
Result at this stage is - 1/ producing the lotto numbers randomly as it is intended for. 2/ button click output is printing to terminal, not to my output box above button.Unsure what I am doing wrong in the code, I have tried pretty much every trial and error I can think of at this time, as just learning Python. I will have another try at getting the numbers to appear in the output box, at a future time. 3/ the Donate button does nothing yet, I am unsure of the code to add for it to open the browser, I doubt this will be difficult so I leave it for last after fixing output.
05-28-2018, 07:35 PM
05-29-2018, 03:38 AM
Well done [member=411]bitsnpcs[/member]
![]()
Thank You [member=2]Jerry[/member]
![]()
05-30-2018, 02:42 PM
05-31-2018, 12:53 AM
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 3 Guest(s)