520 confession posture, programmers all do this...

520 confession posture, programmers all do this...

Counting with fingers

Today is 520 Love Confession Day

Those who haven't had time to prepare

Either your legs are broken or you are doomed to die alone.

But I guess there are already a large number of straight men

Died on the way of flirting with girls

"You look like a relative of my mother's"

"Really? Who?"

"My mother's daughter-in-law"

. . .

[[229804]]

Still sending bouquets of flowers mixed with dolls?

Are you still sending out big red packets worth 5.20 yuan?

Have you ever wondered why other people's boyfriends

Can I always leave you far behind?

[[229805]]

When the standard way of expressing love with "expensive flowers + romantic candlelight dinner" has become cliché, as programmers, shouldn't we have our own romance? Express love with code, encrypt your confession to her with base64, or write a website for her with her name as the domain name? "The most proud code I have ever written is the one that made you agree to be my girlfriend."

You can't just rely on your mouth to pick up girls

The gift must be thoughtful and heartfelt!

There are thousands of ways to confess your love on 520

I just want to teach you this one!

One move to get it done, start flirting quickly!

Design a photo wall for her

Some people say that loneliness is that all the photos in your phone are scenery...but all the photos in her phone are food

She is a Taurus girl born in 1994. Her zodiac sign determines that she loves to eat and knows how to eat! She is not a full-time chef who graduated from New Oriental, but she is definitely a very professional chef. She insists on making nutritious breakfast every day and is determined to be a food sharer so that more people can learn how to eat better. If you happen to be a foodie, there will always be a food that suits your appetite.

As the saying goes, the meaning of photos is to cherish and awaken memories. On this special day, it is best to design a unique memory for your girlfriend. Use the line of time to pass through the photos of each stage of your life, linking every beautiful memory. In order to play every frame in the darkroom of your brain, take action quickly.

Finally, I gave her the exclusive love tree gift I made, and I was instantly overwhelmed with happiness!!! (I can only help you here)

The detailed code of the photo wall is as follows:

  1. from PIL import Image
  2. import os,sys
  3.  
  4. mw = 100
  5. ms = 20
  6.  
  7. msize = mw*ms
  8. toImage = Image.new( 'RGBA' ,(2000,2000))
  9.  
  10. for y in range(1,21):
  11. for x in range(1,21):
  12. try:
  13. fromImage = Image. open (r "C:/Users/Administrator/Desktop/love/ta/%s.jpg" %str(ms*(y-1)+x))
  14. fromImage = fromImage.resize((100,100),Image.ANTIALIAS)
  15. toImage.paste(fromImage,((x-1)*mw,(y-1)*mw))
  16. except IOError:
  17. pass
  18. toImage.show()
  19. toImage.save( 'C:/Users/Administrator/Desktop/ta.jpg' )

Today is the confession festival - 520. Have you thought about how to confess to your girlfriend? Write down your unique confession skills in the comment area. Believe me, there will always be someone who understands you and will be moved by you. On this festive occasion, the editor wishes everyone a happy confession day, and wishes every programmer to find his own exclusive code

<<:  After using Siri for so long, do you know these tricks?

>>:  2018 new Android interview questions from big companies

Recommend

Zxing scan code example

Source code introduction An example of Zxing scan...

Is Android becoming the new Windows?

[[139070]] During my career as a PC analyst, I fo...

Many people have eaten this poison when they were young.

A poison has appeared many times in "A Song ...

"See through" the brain! Chinese scientists "new" super microscope

Author: Shi Xiangqi and Li Chuanfu Imagine that w...

Bird population census: AI has started to check the bird population!

According to statistics from the World Wildlife F...

When we played music on a mountain destroyed by fire, something magical happened

We have all listened to the sounds of nature, whe...

Let’s review the RecyclerView of that year from the beginning

1. What is RecyclerView? According to the officia...