A true relationship is two imperfect people refusing to give up on each other.This blog is on relationships and of course a bit of coding, otherwise it would be stupid to put it here anyways. My girlfriend and I have been having some issues lately regarding the term "Efforts". Now when I put it in front of any of my friends, They have the same reply "Efforts" and when asked what efforts are? … Nothing. I get a supposedly deep answer - Efforts come from within. What does that even mean?. So I tried some stuff to get a response from her. Well for some context we came in relationship on 28 february,2020 and guess when the lockdown started in India. Don't guess, you may as well google it. It was not even a month before the lockdown began and we flew back home. She lives more than 1500km from my state. But you know sometime you just meet the right person and you just know. We knew we had to fight this as we had so much left to say to each other. This was our first test although it came very fast. We made a time table to spend more time together.
– Them
| 11:00AM - 2:00PM | Freshen up, Have breakfast and study angular |
| 2:00PM - 3:00PM | Study Reinforcement Learning |
| 3:00PM - 5:00PM | Watch Episodes |
| 5:00PM - 7.30PM | Walk and spend time with friends |
| 7.30PM - around 10 PM | Play War Commander(Game i used to love) |
| 10.00PM - around 11.30PM | Study or start watching something |
| 12.00AM - around 2AM | Talk about stuff or watch a movie |
So I was talking about efforts, whenever we fought I didn't show efforts ,I just used to say sorry but apparently sorry isn't enough for every mistake, which makes sense. But something that doesn't makes sense is what else can I do sitting so far away. Cant even send her gifts because someone else might receive and we are still not at a stage to introduce each other to our families.
So recently, I started writing poems for her which were pathetic but she loved them. So there I thought at last I decoded the definition of "Efforts". So whenever she used to get angry I used to write her a poem. But then I think she thought I am taking some help from some of the poets I got in my family and my trick started to fail and here I was at square one. So the next time she got angry I came around with an idea. The problem with my poems was I used to send them in quiet a small amount of time and by looking at them one can tell that they weren't that thoughtful and deep. All I wanted was a system that could send her an email at some time-interval with each line of my poem which would make it look like I put in a lot of efforts. Please be supportive I am coming forward to help and may be I die single after this!!! With that I will share what I made:
Effort Maker
You need to have the following before setting up:- Python 3.x.x
- pip
- pip install smtplib
import time
import smtplib
fo = open("song.txt", "r")
class send_email(object):
def __init__(self, email, password):
self.email = email
self.password = password
self.server = 'smtp.gmail.com'
self.port = 587
session = smtplib.SMTP(self.server, self.port)
session.ehlo()
session.starttls()
session.ehlo
session.login(self.email, self.password)
self.session = session
def send_message(self, subject, body):
headers = [
"From: " + self.email,
"Subject: " + subject,
"To: " + 'your lover's email',
"MIME-Version: 1.0",
"Content-Type: text/html"]
headers = "\r\n".join(headers)
self.session.sendmail(
self.email,
"Your lover's email",
headers + "\r\n\r\n" + body)
effort = send_email('Your gmail Id here', 'Password here')
while True:
line = fo.readline().strip()
if line=='':
break
effort.send_message('I miss you', line) # you may change the I miss you part to whatever you would like as subject.
print(line+" ---was sent")
time.sleep(60) # This is an interval of 1 minute you may change it to whatever you like.
print("whole message was sent")
Save the file with an extension of .py at the end instead of .txt inside a folder. In the same folder make a text file (with .txt extension) and its name should be - song.txt.In this file, you can add a poem or a song.
You will also need to go here : Activate Gmail for API Access
You can run this program by opening your command prompt and typing cd "The folder address where the code is present". Hit enter. then type python your_code_filename.py And you will see her receiving the emails with single line going every 3 minutes. I would suggest write a poem and send it line by line. If you get caught you will have something to defend yourself.
You can run this program by opening your command prompt and typing cd "The folder address where the code is present". Hit enter. then type python your_code_filename.py And you will see her receiving the emails with single line going every 3 minutes. I would suggest write a poem and send it line by line. If you get caught you will have something to defend yourself.
PS: If she observes too much, remember to keep changing intervals after each song.
Noice
ReplyDeleteBruh
ReplyDeleteNice trick to fool your girlfriend
ReplyDelete