Skip to content

Instantly share code, notes, and snippets.

@marsimaria
Created February 25, 2015 07:04
Show Gist options
  • Save marsimaria/e7cfb0415cc319b27bb1 to your computer and use it in GitHub Desktop.
Save marsimaria/e7cfb0415cc319b27bb1 to your computer and use it in GitHub Desktop.
Mixing a list of words into Britney's song
Antisocial personality disorder signs and symptoms may include:
Disregard for right and wrong
Persistent lying or deceit to exploit others
Using charm or wit to manipulate others for personal gain or for sheer personal pleasure
Intense egocentrism, sense of superiority and exhibitionism
Recurring difficulties with the law
Repeatedly violating the rights of others by the use of intimidation, dishonesty and misrepresentation
Child abuse or neglect
Hostility, significant irritability, agitation, impulsiveness, aggression or violence
Lack of empathy for others and lack of remorse about harming others
Unnecessary risk-taking or dangerous behaviors
Poor or abusive relationships
Irresponsible work behavior
Failure to learn from the negative consequences of behavior
Oh baby, baby
Oh baby, baby
Oh baby, baby
How was I supposed to know
That something wasn't right here
Oh baby baby
I shouldn't have let you go
And now you're out of sight, yeah
Show me, how you want it to be
Tell me baby
'Cause I need to know now what we've got
My loneliness is killing me
I must confess, I still believe
When I'm not with you I lose my mind
Give me a sign
Hit me baby one more time
Oh baby, baby
The reason I breathe is you
Boy you got me blinded
Oh baby, baby
There's nothing that I wouldn't do
That's not the way I planned it
Show me, how you want it to be
Tell me baby
'Cause I need to know now what we've got
Oh baby, baby
Oh baby, baby
Ah, yeah, yeah
Oh baby, baby
How was I supposed to know
Oh pretty baby
I shouldn't have let you go
I must confess, that my loneliness
Is killing me now
Don't you know I still believe
That you will be here
And give me a sign
Hit me baby one more time
I must confess that my loneliness
Is killing me now
Don't you know I still believe
That you will be here
And give me a sign
Hit me baby one more time
import sys
import random
boring = ["of", "for", "or", "the", "and", "with", "from", "to", "by", "use", "others", "may", "include:", "about", "\n", "signs", "symptoms", "Using"]
# List of words to be randomly inserted
psycho_lines = list()
for line in open("AntisocialDO.txt"):
words = line.split(" ")
# print words
for word in words:
word = word.strip()
if word not in boring:
# print word
psycho_lines.append(word)
# print psycho_lines
# line = line.strip()
# psycho_lines.append(line)
random.shuffle(psycho_lines)
# print psycho_lines
bomt_lines = list()
for line in open('babyonemoretime.txt'):
line = line.strip()
if len(line) > 0:
bomt_lines.append(line)
# print bomt_lines
for line in bomt_lines:
if 'baby' in line:
r = random.randint(0, len(psycho_lines))
print line.replace('baby', 'baby ' + psycho_lines[r])
else:
print line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment