Python编程:创意爱心表白代码集

news2024/10/10 20:46:17

在寻找一种特别的方式来表达你的爱意吗?使用Python编程,你可以创造出独一无二的爱心图案,为你的表白增添一份特别的浪漫。这里为你精选了六种不同风格的爱心表白代码,让你的创意和情感通过代码展现出来。

话不多说,咱直接上代码!

1. 紫色浪漫:心形表白

在这里插入图片描述

#1-1导入turtle模块进行设计
import turtle
import time
 
#1-2画心形圆弧
def hart_arc():
    for i in range(200):
        turtle.right(1)
        turtle.forward(2)
 
 
def move_pen_position(x, y):
    turtle.hideturtle()  # 隐藏画笔(先)
    turtle.up()  # 提笔
    turtle.goto(x, y)  # 移动画笔到指定起始坐标(窗口中心为0,0)
    turtle.down()  # 下笔
    turtle.showturtle()  # 显示画笔
 
 
love = "听闻小姐治家有方,鄙人余生愿闻其详?" #input("请输入表白话语:")
signature = "先生" #input("请签署你的名字:")
date= "" #input("请写上日期:")
 
if love == '':
    love = 'I Love You'
 
#1-3初始化
turtle.setup(width=800, height=500)  # 窗口(画布)大小
turtle.color('black', 'Pink')  # 画笔颜色
turtle.pensize(5)  # 画笔粗细
turtle.speed(100)  # 描绘速度
# 初始化画笔起始坐标
move_pen_position(x=0, y=-180)  # 移动画笔位
turtle.left(140)  # 向左旋转140度
 
turtle.begin_fill()  # 标记背景填充位置
 
#1-4画图和展示
turtle.forward(224)  # 向前移动画笔,长度为224
# 画爱心圆弧
hart_arc()  # 左侧圆弧
turtle.left(120)  # 调整画笔角度
hart_arc()  # 右侧圆弧
# 画心形直线( 右下方 )
turtle.forward(224)
 
turtle.end_fill()  # 标记背景填充结束位置
 
move_pen_position(x=70, y=160)  # 移动画笔位置
turtle.left(185)  # 向左旋转180度
turtle.circle(-110,185)  # 右侧圆弧
# 画心形直线( 右下方 )
#turtle.left(20)  # 向左旋转180度
turtle.forward(50)
move_pen_position(x=-180, y=-180)  # 移动画笔位置
turtle.left(180)  # 向左旋转140度
 
# 画心形直线( 左下方 )
turtle.forward(600)  # 向前移动画笔,长度为224
 
# 在心形中写上表白话语
move_pen_position(0,50)  # 表白语位置
turtle.hideturtle()  # 隐藏画笔
turtle.color('#CD5C5C', 'pink')  # 字体颜色
# font:设定字体、尺寸(电脑下存在的字体都可设置)  align:中心对齐
turtle.write(love, font=('Arial', 20, 'bold'), align="center")
 
# 签写署名和日期
if (signature != '') & (date != ''):
    turtle.color('red', 'pink')
    time.sleep(2)
    move_pen_position(220, -180)
    turtle.hideturtle()  # 隐藏画笔
    turtle.write(signature, font=('Arial', 20), align="center")
    move_pen_position(220, -220)
    turtle.hideturtle()  # 隐藏画笔
    turtle.write(date, font=('Arial', 20), align="center")
 
#1-5点击窗口关闭程序
window = turtle.Screen()
window.exitonclick()

2. 爱意满满:Love2 I Love You

在这里插入图片描述

import turtle as t
import math as mt

if __name__ == "__main__":
    t.screensize(800,600,'white')
    t.pensize(10)
    t.speed(10)
    #爱心1
    t.color('black','pink')
    t.begin_fill()
    for i in range(-90,90,5):
        x=mt.cos(mt.radians(i))
        y=float(pow(mt.cos(mt.radians(i)),2/3))+float(mt.sin(mt.radians(i)))
        t.penup()
        # print(int(x*50)+10,int(y*50)+10)
        t.goto(int(x*50)+50,int(y*50)+30)
        t.pendown()
        t.forward(1)
        t.penup()
        t.goto(-int(x*50)+50,int(y*50)+30)
        t.pendown()
        t.forward(1)
        t.penup()
    t.end_fill()
    #爱心2
    t.goto(0,10)
    t.penup()
    t.begin_fill()
    for i in range(0,360,5):
        r=60*(1-mt.sin(mt.radians(i)))
        t.penup()
        t.left(5)
        t.forward(r)
        t.pendown()
        t.forward(1)
        t.penup()
        t.backward(r+1)
        t.pendown()
    t.end_fill()
    #L
    t.penup()
    t.goto(-200,0)
    t.left(90)
    t.begin_fill()
    t.pendown()
    t.forward(100)
    t.right(90)
    t.forward(20)
    t.right(90)
    t.forward(80)
    t.left(90)
    t.forward(40)
    t.right(90)
    t.forward(20)
    t.right(90)
    t.forward(60)
    t.end_fill()
    #o
    t.penup()
    t.goto(-80,0)
    t.pendown()
    t.begin_fill()
    t.circle(-50)
    t.end_fill()
    t.penup()
    t.color('pink','black')
    t.begin_fill()
    t.goto(-80,20)
    t.pendown()
    t.circle(-30)
    t.end_fill()
    t.color('black','pink')
    #E
    t.penup()
    t.goto(120, 0)
    t.right(180)
    t.left(90)
    t.begin_fill()
    t.pendown()
    t.forward(100)#上
    t.right(90)
    t.forward(60)#横
    t.right(90)
    t.forward(20)#竖
    t.right(90)
    t.forward(40)#横
    t.left(90)
    t.forward(20)#竖
    t.left(90)
    t.forward(40)#横
    t.right(90)
    t.forward(20)
    t.right(90)
    t.forward(40)
    t.left(90)
    t.forward(20)
    t.left(90)
    t.forward(40)
    t.right(90)
    t.forward(20)
    t.right(90)
    t.forward(60)
    t.end_fill()

    t.mainloop()

3. 红色热情:心形与文字结合

在这里插入图片描述

import turtle as t





def face(x, y):           #脸

    t.setheading(-90)

    t.penup()

    t.goto(x, y)

    t.pendown()

    t.backward(15)   # 左脸

    t.circle(70,-80)



    t.setheading(80)   # 左耳

    t.circle(-150, 15)

    t.circle(-15, 180)

    t.setheading(-115)

    t.circle(-150, 13)

    t.setheading(10)



    t.circle(-100,10)



    t.setheading(70)    # 右耳

    t.circle(-150, 20)

    t.circle(-15, 180)

    t.circle(-150, 16)

    t.setheading(10)



    t.setheading(160)   # 右脸

    t.circle(60, -130)



    t.setheading(-75)

    t.forward(40)



def word(x, y):             # “如何骗人”

    t.pensize(2)

    t.pencolor("black")

    t.setheading(0)

    t.penup()

    t.goto(x, y)

    t.pendown()



    t.forward(10)   # “如”

    t.penup()

    t.setheading(90)

    t.forward(8)

    t.pendown()

    t.setheading(-120)

    t.forward(15)

    t.setheading(-45)

    t.forward(12)



    t.penup()

    t.setheading(80)

    t.forward(15)

    t.pendown()

    t.setheading(-125)

    t.forward(16)



    t.penup()

    t.setheading(42)

    t.forward(16)

    t.pendown()

    t.setheading(-90)

    t.forward(10)

    t.penup()

    t.backward(11)

    t.pendown()

    t.setheading(0)

    t.forward(8)

    t.setheading(-90)

    t.forward(10)

    t.penup()

    t.setheading(180)

    t.forward(8)

    t.pendown()

    t.setheading(0)

    t.forward(8)



    t.penup()        # “何”

    t.goto(x+7,y-18)

    t.pendown()

    t.setheading(-135)

    t.forward(13)



    t.penup()

    t.goto(x+5, y - 20)

    t.pendown()

    t.setheading(-90)

    t.forward(16)



    t.penup()

    t.goto(x+11, y-18)

    t.pendown()

    t.setheading(0)

    t.forward(13)



    t.penup()

    t.goto(x+12, y-22)

    t.pendown()

    t.setheading(-90)

    t.forward(8)



    t.penup()

    t.goto(x + 12, y - 22)

    t.pendown()

    t.setheading(0)

    t.forward(6)

    t.setheading(-90)

    t.forward(8)



    t.penup()

    t.goto(x + 11, y - 31)

    t.pendown()

    t.setheading(0)

    t.forward(6)



    t.penup()

    t.goto(x + 21, y - 19)

    t.pendown()

    t.setheading(-90)

    t.forward(18)

    t.setheading(145)

    t.forward(5)



    t.penup()           # “骗”

    t.goto(x + 40, y+3)

    t.pendown()

    t.setheading(0)

    t.forward(10)

    t.setheading(-90)

    t.forward(7)



    t.penup()

    t.goto(x + 45, y + 3)

    t.pendown()

    t.setheading(-90)

    t.forward(10)

    t.setheading(0)

    t.forward(7)

    t.setheading(-100)

    t.forward(10)

    t.setheading(145)

    t.forward(4)



    t.penup()

    t.goto(x+38, y-12)

    t.pendown()

    t.setheading(0)

    t.forward(11)



    t.penup()

    t.goto(x+57, y+9)

    t.pendown()

    t.setheading(-45)

    t.forward(4)



    t.penup()

    t.goto(x+54, y+3)

    t.pendown()

    t.setheading(0)

    t.forward(13)

    t.setheading(-90)

    t.forward(5)

    t.setheading(180)

    t.forward(12)



    t.penup()

    t.goto(x + 54, y + 3)

    t.pendown()

    t.setheading(90)

    t.circle(90,-10)



    t.penup()

    t.goto(x + 56, y-5)

    t.pendown()

    t.setheading(-90)

    t.forward(11)



    t.penup()

    t.goto(x + 56, y - 5)

    t.pendown()

    t.setheading(0)

    t.forward(13)

    t.setheading(-90)

    t.forward(12)

    t.setheading(145)

    t.forward(4)



    t.penup()

    t.goto(x + 56, y - 10)

    t.pendown()

    t.setheading(0)

    t.forward(13)



    t.penup()

    t.goto(x + 56, y - 10)

    t.pendown()

    t.setheading(0)

    t.forward(13)



    t.penup()

    t.goto(x + 60, y - 4)

    t.pendown()

    t.setheading(-90)

    t.forward(10)

    t.penup()

    t.goto(x + 64, y - 4)

    t.pendown()

    t.setheading(-90)

    t.forward(10)



    t.penup()          # “人”

    t.goto(x + 60, y - 19)

    t.pendown()

    t.setheading(70)

    t.circle(50, -30)



    t.penup()

    t.goto(x + 56, y - 27)

    t.pendown()

    t.setheading(130)

    t.circle(-50, -20)



def book(x,y):           #书

    t.setheading(-90)

    t.penup()

    t.goto(x, y)

    t.fillcolor("red")

    t.begin_fill()

    t.pendown()

    t.forward(60)

    t.setheading(0)

    t.circle(-100, 25)

    t.setheading(90)

    t.forward(59)

    t.setheading(-25)

    t.circle(-100, -25)

    t.penup()

    t.setheading(-14)

    t.forward(46)

    t.pendown()

    t.setheading(15)

    t.circle(-100, 25)

    t.setheading(-90)

    t.forward(58)

    t.setheading(-11)

    t.circle(-105, -25)

    t.end_fill()



def eyes(x, y):         # 五官

    t.setheading(-20)

    t.penup()

    t.goto(x, y)

    t.pendown()

    t.forward(10)



    t.setheading(0)

    t.penup()

    t.forward(10)

    t.pendown()

    t.setheading(20)

    t.forward(10)



    t.setheading(-160)

    t.penup()

    t.forward(50)

    t.pendown()

    t.setheading(0)

    t.forward(15)



    t.penup()

    t.forward(25)

    t.pendown()

    t.forward(18)



    t.setheading(-145)

    t.penup()

    t.forward(45)

    t.pendown()

    t.setheading(0)

    t.forward(10)



def cheek(x, y):          #腮红

    t.setheading(0)

    for i in range(1, 4):

        t.color("pink")

        t.pensize(4)

        t.penup()

        t.right(110)

        t.goto(x, y)

        t.pendown()

        t.forward(9)

        t.left(110)

        x += 9

    t.pencolor("black")



def hands(x,y):     # 小手手

    t.penup()

    t.goto(x, y)

    t.pendown()



    t.fillcolor("white")

    t.begin_fill()

    t.circle(10)

    t.end_fill()



    t.penup()

    t.setheading(5)

    t.forward(120)

    t.pendown()

    t.fillcolor("white")

    t.begin_fill()

    t.setheading(-165)

    t.forward(35)

    t.circle(10,180)

    t.forward(15)

    t.end_fill()





def heart(x,y,z):      # 爱心

    t.setheading(110)

    t.pensize(2)

    t.pencolor("black")

    t.penup()

    t.goto(x,y)

    t.pendown()

    t.fillcolor("red")



    t.begin_fill()     #左半边



    t.circle(50,180)

    t.circle(180,37)



    t.left(46)      #右半边

    t.circle(180,37)

    t.circle(50, 182)



    t.end_fill()



def main():

    """

        主函数

    """

    t.pensize(0)

    t.speed(6)

    face(-95, 55)

    eyes(-45, 110)

    cheek(-80, 80)

    cheek(0, 80)

    book(-110, 55)

    hands(-110,5)

    word(-100,35)

    heart(150,0,1)

    t.hideturtle()

    t.exitonclick()

if __name__ == "__main__":

    main()

4. 爱的箭矢:一箭穿心效果

在这里插入图片描述

import turtle as t

t.color('white','red')

t.begin_fill()

t.width(5)

t.left(135)

t.fd(100)

t.right(180)

t.circle(50,-180)

t.left(90)

t.circle(50,-180)

t.right(180)

t.fd(100)

t.pu()

t.goto(50,-30)

t.pd()

t.right(90)

t.fd(100)

t.right(180)

t.circle(50,-180)

t.left(90)

t.circle(50,-180)

t.right(180)

t.fd(100)

t.end_fill()

t.hideturtle()

t.pu()

t.goto(250,-70)

t.pd()

t.color('black')

t.width(5)

t.left(70)

t.fd(50)

t.fd(-50)

t.left(70)

t.fd(50)

t.fd(-50)

t.left(145)

t.fd(20)

t.left(145)

t.fd(50)

t.fd(-50)

t.left(70)

t.fd(50)

t.fd(-50)

t.left(145)

t.fd(20)

t.left(145)

t.fd(50)

t.fd(-50)

t.left(70)

t.fd(50)

t.fd(-50)

t.left(145)

t.width(3)

t.fd(220)

t.right(90)

t.pu()

t.fd(10)

t.pd()

t.left(90)

t.circle(10,180)

t.circle(10,-90)

t.right(90)

t.fd(-10)

t.pu()

t.fd(90)

t.left(90)

t.fd(10)

t.left(90)

t.pd()

t.circle(10,180)

t.circle(10,-90)

t.left(90)

t.fd(100)

t.begin_fill()

t.left(30)

t.fd(15)

t.right(35)

t.fd(50)

t.right(150)

t.fd(50)

t.right(62)

t.fd(25)

t.end_fill()

t.done()

5. 一箭穿心文字版

在这里插入图片描述

from turtle import *
import turtle
from tkinter import *
import subprocess
import os
import random as ran


def Circlemove(size):
    for i in range(200):
        right(1)
        forward(1 * size)


def Heart(x, y, size):
    setturtle(x, y)
    speed(0.6)
    color('red', 'pink')
    begin_fill()
    left(140)
    forward(111.65 * size)
    Circlemove(size)
    left(120)
    Circlemove(size)
    forward(111.65 * size)
    end_fill()
    penup()


def setturtle(x, y):
    penup()
    goto(x, y)
    pendown()


def Line():
    speed(0.6)
    pensize(10)
    setheading(0)
    setturtle(-300, 0)
    left(12)
    forward(210)
    setturtle(80, 80)
    forward(150)


def LineHead():
    pensize(1)
    speed(0.5)
    color('red', 'red')
    begin_fill()
    left(120)
    forward(20)
    right(150)
    forward(35)
    right(120)
    forward(35)
    right(150)
    forward(20)
    end_fill()


def SavePicture():
    ts = getscreen()
    ts.getcanvas().postscript(file="520.ps", colormode='color')
    window = turtle.Screen()
    window.exitonclick()


def main():
    Love_Words = ["我喜欢的样子,你都有。"]
    Love_Letter = ["有你陪伴的日子,真好。", "遇见你,此生甚幸。"]
    Random_Number = ran.randint(0, len(Love_Words) - 1)
    setup(800, 600, 0, 0)
    getscreen().tracer(30, 0)
    hideturtle()
    pensize(3)
    color('black', 'pink')
    Heart(0, -25, 0.75)
    home()
    Heart(-80, -50, 1)
    Line()
    LineHead()
    pencolor("purple")
    speed(0.6)
    j = 0
    for i in Love_Words[Random_Number]:
        j = j + 1
        setturtle(j * 25 - 250, -150 + ran.randint(-1, 1) * 7)
        write(i, font=("楷体", 25, "normal"))
    j = 0
    pencolor("purple")
    for i in Love_Letter:
        j = j + 1
        setturtle(-400, 275 - j * 27)
        write(i, font=("楷体", 25, "normal"))
    pencolor('black')
    SavePicture()


if __name__ == '__main__':
    main()

6. 爱心一行代码:简洁表白

在这里插入图片描述

print('\n'.join([''.join([('Love'[(x-y) % len('Love')] if ((x*0.05)**2+(y*0.1)**2-1)**3-(x*0.05)**2*(y*0.1)**3 <= 0 else ' ') for x in range(-30, 30)]) for y in range(30, -30, -1)]))
👇 源码资料获取 · 技术与交流 👇

在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2203065.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

太速科技-607-基于FMC的12收和12发的光纤子卡

基于FMC的12收和12发的光纤子卡 一、板卡概述 本卡是一个FPGA夹层卡&#xff08;FMC&#xff09;模块&#xff0c;可提供高达2个CXP模块接口&#xff0c;提供12路收&#xff0c;12路发的光纤通道。每个通道支持10Gbps,通过Aurora协议&#xff0c;可以组成X4&#xff0…

【力扣刷题实战】(顺序表)删除有序数组中的重复项

大家好&#xff0c;我是小卡皮巴拉 文章目录 目录 ​编辑 力扣题目&#xff1a;删除有序数组中的重复项 题目描述 示例 1&#xff1a; 示例 2&#xff1a; 解题思路 具体思路 题目要点 完整代码&#xff08;C语言&#xff09; 兄弟们共勉 &#xff01;&#xff01;&a…

树控件QTreeWidget

树控件跟表格控件类似&#xff0c;也可以有多列&#xff0c;也可以只有1列&#xff0c;可以有多行&#xff0c;只不过每一行都是一个QTreeWidgetItem&#xff0c;每一行都是一个可以展开的树 常用属性和方法 显示和隐藏标题栏 树控件只有水平标题栏 //获取和设置标题栏的显…

为什么链表算法题如此亲睐虚拟节点..........

欢迎来到 破晓的历程的 博客 ⛺️不负时光&#xff0c;不负己✈️ 引言 相信大家在做算法题的时候&#xff0c;会经常用到虚拟节点这个技巧。但是却不明白它会给我们带来多大的便利&#xff0c;今天我们利用几道算法题来分析一下。 如何使用&#xff1f; 我们定义的链表结构…

封装的线程池

1.首先写一个队列来存&#xff0c;线程 queue.c #ifndef QUEUE_H #define QUEUE_H #include <stdbool.h> #include <stdlib.h> #include <stdio.h> typedef struct Queue {void **arr;int cap;int front;int rear; } Queue; //创建队列 Queue *create_queu…

手动nginx平滑升级

一、下载nginx安装包 wget http://nginx.org/download/nginx-1.24.0.tar.gz 二、解压缩 tar -zxf nginx-1.24.0.tar.gz 三、进入解压缩后文件 3.1 cd /usr/local/nginx/sbin 预编译 进入如下命令 ./configure -prefix/usr/local/nginx --with-http_ssl_module --with…

Rust 与生成式 AI:从语言选择到开发工具的演进

在现代软件开发领域&#xff0c;Rust 语言正在逐步崭露头角&#xff0c;尤其是在高性能和可靠性要求较高的应用场景。与此同时&#xff0c;生成式 AI 的崛起正在重新塑造开发者的工作方式&#xff0c;从代码生成到智能调试&#xff0c;生成式 AI 的应用正成为提升开发效率和质量…

Linux操作系统小项目——实现《进程池》

文章目录 前言&#xff1a;代码实现&#xff1a;原理讲解&#xff1a;细节处理&#xff1a; 前言&#xff1a; 在前面的学习中&#xff0c;我们简单的了解了下进程之间的通信方式&#xff0c;目前我们只能知道父子进程的通信是通过匿名管道的方式进行通信的&#xff0c;这是因…

Linux权限和软件包

前言 今天我们简单的介绍Linux中的两个概念&#xff0c;分别是权限和软件包。Linux中一切皆文件&#xff0c;权限无非就是限制不同的角色对文件的能不能得问题&#xff0c;软件包则是简单介绍一下Linux中安装卸载程序 权限 权限针对的对象是角色&#xff0c;首先我们先来介绍…

阿里云dataworks测试

文章目录 开始查看全局信息查看数据源信息(endpoint与project的信息)查看绑定、解绑钉钉创建、查看AccessKey(Access Key ID与Access Key Secret) 线上开发新建开发节点mysqlpython 本地开发python 程序调度 开始 参考文档&#xff1a;https://help.aliyun.com/zh/ram/user-gu…

新建的SpringBoot项目结构为空的可能问题与解决方案

问题&#xff1a; 如下图&#xff0c;创建一个名为springboot_demo05的SpringBoot项目的时候&#xff0c;发现创建的项目结构为空&#xff0c;没有下一级目录。但是在新窗口新建一个项目的时候没有这个问题。 打开Maven工具发现也没有关联Maven依赖模型 原因排查&#xff1a; …

abc371 f

F - Takahashi in Narrow Road 我们可以发现&#xff0c;每次操作后&#xff0c;对于一段变化后的区间&#xff0c;其变为了一段公差为1的等差数列&#xff0c;所以我们如果把每个值减去对应的下标&#xff0c;那么对应的区间变化后&#xff0c;都为一个相同的值&#xff0c;这…

观诺奖感言:学好数理化,都被AI打趴下!

10月8日&#xff0c;瑞典皇家科学院宣布&#xff0c;将2024年诺贝尔物理学奖授予两位人工智能先驱——约翰霍普菲尔德&#xff08;John Hopfield&#xff09;和杰弗里辛顿&#xff08;Geoffrey Hinton&#xff09;。 在接到瑞典方打来的电话后&#xff0c;Hinton还在反复确认&a…

ssm基于Javaee的影视创作论坛的设计与实现

系统包含&#xff1a;源码论文 所用技术&#xff1a;SpringBootVueSSMMybatisMysql 免费提供给大家参考或者学习&#xff0c;获取源码请私聊我 需要定制请私聊 目 录 目 录 III 第1章 绪论 1 1.1选题动因 1 1.2目的和意义 1 1.3论文结构安排 2 第2章 开发环境与技术 …

刷题 双指针 滑动窗口

面试经典 150 题 - 双指针 125. 验证回文串⭐️ 学会内部字母处理函数的使用 class Solution { public:bool isPalindrome(string s) {int left 0, right s.size() - 1;while (left < right) {// 处理左边字符if (!isalnum(s[left])) {left;continue;}// 处理右边字符if…

2024 kali虚拟机安装教程,分两大步骤,图文讲解(1)

第二步链接&#xff1a; 2024 kali虚拟机安装教程&#xff0c;分两大步骤&#xff0c;图文讲解&#xff08;2&#xff09;-CSDN博客 准备工作 1.kali的iso镜像文件 2.VMware Workstation Pro 虚拟机软件 正式开始 1.创建新的虚拟机&#xff0c;勾选自定义&#xff08;高级…

King3399(ubuntu文件系统)风扇驱动

该文章仅供参考&#xff0c;编写人不对任何实验设备、人员及测量结果负责&#xff01;&#xff01;&#xff01; 0 引言 文章主要介绍King3399&#xff08;ubuntu文件系统&#xff09;风扇控制&#xff08;GPIO&#xff09;&#xff0c;涉及king-rk3399.dts设备树修改&#x…

职场人情世故,你一定要学

职场上工作固然是第一位&#xff0c;但看似平淡的人际关系的经营&#xff0c;是对工作的顺利展开有重要的辅助作用&#xff0c;人来人往&#xff0c;这几条处事你必须要懂&#xff0c;否则职场上升职、加薪会吃亏。 1、 看破不拆穿。 职场上你要活的很通透的人&#xff0c;对什…

从 Reno TCP 到 Scalable TCP,HighSpeed TCP

前文 Scalable TCP 如何优化长肥管道 介绍了 Scalable TCP&#xff0c;但联系另一个类似的算法 HighSpeed TCP(简称 HSTCP)&#xff0c;就会看到一个类似从 Reno TCP 经 BIC 到 CUBIC 的路线&#xff0c;但采用了不同的策略。 Reno TCP 经 BIC 到 CUBIC 路线的核心在于 “在长…

2024年最新(AI绘画)Stable Diffusion4.9下载及安装教程.

软件介绍 Stable Diffusion 是一款在图像生成领域具有重大影响力的软件。 从工作原理上看&#xff0c;它利用深度学习的先进算法&#xff0c;构建起复杂且强大的神经网络架构。其核心在于能够解读用户输入的文本信息&#xff0c;并将这些信息转化为图像的特征与细节。 在使用…