Python Forum
async question on raspberry pi
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
async question on raspberry pi
#1
Hi All,

I want to create a python script that does a couple of things:

i want to read the USB port for new USB sticks. if there is I want to read a specific file and check what is in the file.
based on this file if it is the text im looking for I want to wait for the next key and the same file.

its for a escape room project and I want to have the user put in 4 usb key in a specific order. only then it should give me the correct outcome.

next to this the User should be able to enter some answers requested on the screen.


is such possible?

thx
Bauke
Reply
#2
(Nov-07-2018, 07:16 PM)baukeplugge Wrote: is such possible?
Yes. Async is unrelated, though.
Reply
#3
(Nov-07-2018, 07:49 PM)nilamo Wrote:
(Nov-07-2018, 07:16 PM)baukeplugge Wrote: is such possible?
Yes. Async is unrelated, though.

i thought that was needed to get things running as a background process.

what do I need to use instead ?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  get data from 2 async functions korenron 0 1,217 Sep-22-2021, 08:39 AM
Last Post: korenron
  Async requests lukee 0 1,499 Oct-06-2020, 04:40 AM
Last Post: lukee
  Async IO writing to two Different Tables Help TiagoV 0 2,620 Oct-09-2019, 04:45 AM
Last Post: TiagoV
  A question about python in Raspberry Psycopast 3 2,348 Aug-14-2019, 06:36 PM
Last Post: buran
  Issues with async and yielding from API GSerum 1 2,123 Dec-18-2018, 08:37 PM
Last Post: nilamo
  Async server/client Bokka 2 3,877 May-29-2017, 03:09 PM
Last Post: Bokka

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020