473,560 Members | 2,990 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Coin-operated kiosk written in python -- need some help...

I posted a few days back and didnt get much of a response, so I figured I would post again
with more detail. I am running gnome under fedora core 4.

I want a kid to be able to drop a quarter into a coin slot and get 15 minutes of time on
an account that has "restricted " Internet access via the firefox web browser. We are
experimenting with different ways to allow kids to safely surf the web during school hours
while recovering some of the cost for bandwidth. I have written a python program that
detects the coin drop and adds 15 minutes to a gui written in tkinter. The gui contains 2
buttons and the usage time. I need a way for my gui to display from machine bootup until
shutdown and through multiple logins and logouts of the web browsing account. I am
familiar with kiosk setups but I dont know how to code my python program to display its
gui at the login screen and continue running through multiple sessions of users logging
into and out of the internet acct.

I thought making my kiosk program a daemon would work, but I cant get the gui to display
at the login screen and then there is the problem of having the press of a button on my
gui enter username and password information.

Basically, I envision the following sequence of events...
1) Machine is turned on and boots up
2) My kiosk is started (maybe as a daemon)
3) The daemon uses Tkinter to display its gui with the buttons and time
4) User drops coins and time on gui is incremented
5) User presses the start button
6) My program logs the user into the Internet account
7) Secure firefox is started
8) My program starts counting down the time on the gui
9) When the time reaches 0, the user is logged out
When the user presses stop on my gui, they are logged out
The user can drop more coins at any time during the session to prolong the session
10) Timer resets to 0 awaiting the next customer to drop coins

Any help on how to display my gui and log into an account using python would be much
Cheers -Jon

Aug 18 '05 #1
0 1643

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: celerysoup16 | last post by:
I've written this coin toss program, and can't figure out why it isn't giving accurate results... cheers, Ben #include <stdlib.h> #include <stdio.h> #define H 1 #define T 0 #define SENTINEL -1
by: Camellia | last post by:
Hi there this is an easy game which was inspired from my psychology class. I'll get 5/10 right prediction of your guess of head and tail at most time. If you could copy the code and run it that would be great:) code: ----------------------- # Head or Tail
by: seramaesty | last post by:
I have One Cent Coin Queen Victoria for 1874 Hi My Dear, free your eyes My God Change My Live One Cent In My Hand, Surprise Queen Victoria at Front Very Nice 1874, year of printed you wanna bid it USD5,000.00 minimum price for auction hit One month until 31th July 07 we stop it
by: Chuncatty | last post by:
How much does a Draped Bust coin fabricate cost? (Sorry for my Eng) I ask a beau to see if it's genuine he said it is, down repay a collage professor i met said so. It's in virtue word, well-grounded the top formerly larboard piece is kinda scratched. How much do you meditate on it's worth? pic of coin is here:...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.