adhikary97 / girlfriend_text Goto Github PK
View Code? Open in Web Editor NEWSend text to girlfriend in the morning
Send text to girlfriend in the morning
I do not love my wife more really but marriage is good for our kids. I work in other country so our marriage was in danger but since discover this she thinks i care for her. Thank you for helping my child raise in good environment.
python main.py
'osascript' is not recognized as an internal or external command,
operable program or batch file.
phone_number = "+91 98492 86275"
message = ["Good Morning Babe", "Good morning my love", "Good morning cutie ๐"]
scheduled_time = "22:18"
Traceback (most recent call last):
File "C:/Users/Puraab/PycharmProjects/Puraab1/TEXT_AUTO.py", line 13, in
schedule.every().day.at(utils.scheduled_time).do(send_message)
AttributeError: module 'utils' has no attribute 'scheduled_time'
This was the code I executed:-
import time
import random
import schedule
import subprocess
import utils
def send_message():
subprocess.call("osascript message.applescript '%s' '%s'" % (f'{utils.phone_number}', f'{random.choice(utils.message)}'), shell=True)
if name == 'main':
schedule.every().day.at(utils.scheduled_time).do(send_message)
while True:
schedule.run_pending()
time.sleep(1)
phone_number = "+919********4"
message = ["Hi Buddy๐"]
scheduled_time = "14:37"
Please Help what to do now??
the execution get blocked and printed: /bin/sh: 1: osascript: not found
I would like to contribute to this but I dont know how to set it up. It would be really dope if there was a slack room we could use to communicate with contributors.
What time zone is used, UTC 0 or is it dependent on my location?
Please fix.
phone_number = "+91 79814 57760"
message = ["Good Morning Akka๐"]
scheduled_time = "08:00"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.