It works, thank you soo much.
Read the statement by Michael Teeuw here.
Latest posts made by Jackkt
-
RE: Simple Text that reads a .txt file
@sdetweil What module was that working module? Sorry im just not good at this stuff so I rather cut down a working module then make my own.
-
RE: Simple Text that reads a .txt file
@sdetweil I was just quoting sorry it looks like:
const { exec } = require(‘child_process’);and
const exec = require(‘child_process’);
-
RE: Simple Text that reads a .txt file
@Jackkt Also without the {} the error is “unexpected identifier” for
“spawn” -
RE: Simple Text that reads a .txt file
@sdetweil Hey, I get a syntax error from “const { exec } = require(‘child_process’); unexpected token {” its the one before exec. Get the same from spawn.
Thanks -
RE: Simple Text that reads a .txt file
@Jackkt Also the text file updates every 5 seconds by the results of the python script
-
RE: Simple Text that reads a .txt file
@sdetweil Thanks for the response. Im having trouble making the module(I have no experience and the "Head first developing MM module for extreme beginner"didnt work). Also The python script can run in the background and can output into a .txt file. Can I just edit helloworld to just print the thing in the text file? Sorry if this is stupid.
-
Simple Text that reads a .txt file
Hey,
So I have a python script that uses facial recognition and prints out the name of the person. I want this to display on the magic mirror. Guidance on how to do it would be welcome as well.
Thanks