烧高香是什么意思| 2013年是什么命| 气血不足吃什么中成药| 婴儿什么时候吃辅食| 做完磁共振要注意什么| 肺脓肿是什么病严重吗| 大圣是什么生肖| 什么样的花纹| 克卜勒是什么意思| 不什么下什么的成语| 爱是什么歌曲| 手抖是什么病的前兆| 四月十九是什么星座| 卤素灯是什么灯| 尿道口红肿用什么药| 两个人能玩什么游戏| 挚友是什么意思| 脾胃虚寒吃什么食物好| 感冒流清水鼻涕吃什么药| 社畜是什么意思| 抑郁状态和抑郁症有什么区别| 晚上十一点半是什么时辰| 皮蛋不能和什么一起吃| 一什么地毯| 突然视力模糊是什么原因引起的| 什么人容易得尿毒症| 茯苓的功效与作用是什么| 地铁什么时候停运| 吃什么菜减肥| 什么网站可以看毛片| 净空是什么意思| 厉兵秣马是什么意思| 鸡蛋炒什么菜好吃| 王维是诗什么| 推特是什么意思| 冰妹是什么意思| 鲤鱼喜欢吃什么| 脑供血不足是什么原因引起的| 三月三是什么星座| 什么是态度| 失眠吃什么药最好| 每天吃黄瓜有什么好处| 女人梦见狼是什么预兆| 24岁属什么生肖| 股票举牌什么意思| 莒姬是什么位分| 脖子上有痣代表什么| esd手术是什么意思| 环球中心有什么好玩的| 万事顺意是什么意思| 姜子牙是什么神仙| 十月初三是什么星座| 职称是什么| 出品是什么意思| 狗喜欢吃什么食物| p是什么医学| 非钙化斑块是什么意思| exo的e为什么不发音| 给女生送礼物送什么好| 质地是什么意思| 81年属什么的| 5个月宝宝可以吃什么水果| 舌头裂纹吃什么药| bc是什么| 思想包袱是什么意思| 酒不醉人人自醉是什么意思| 胃病看什么科室| 什么东西有助于睡眠| 58年属什么生肖| 溢脂性皮炎用什么药| ABB式的词语有什么| 备孕需要做什么检查| 金银花泡水喝有什么功效| 红配什么颜色最好看| 感恩节是什么时候| 经产妇是什么意思| 肌桥是什么意思| 7月1日是什么节日| 羊眼圈是什么| 肺炎支原体抗体阴性是什么意思| 颅内缺血灶是什么病症| 高压正常低压低是什么原因| 比卡丘什么意思| 宫后是牛身上什么部位| 宝宝睡觉突然大哭是什么原因| 64岁属什么生肖| 25度穿什么衣服合适| 舌头痛什么原因| 吃什么对嗓子好| 吃什么缓解孕吐| 谷雨是什么季节| 脚掌脱皮是什么原因| 白塞氏病是什么病| 什么气组词| 披靡是什么意思| 日本桑是什么意思| 咽炎吃什么消炎药最好| 身心疲惫是什么意思| 江浙沪是什么意思| 什么夫妻百事哀| broom是什么意思| 夏花是什么意思| 男人结扎对身体有什么影响| 十万左右买什么车好| 肾虚腰疼吃什么药最有效| 尿不尽吃什么药| 牙疼吃什么食物好得快| 等是什么生肖| 三点水加个真念什么| 女生为什么会长胡子| 外面下着雨犹如我心血在滴什么歌| 宫缩疼是什么感觉| 汀是什么意思| 什么是职业道德| 白细胞增多是什么原因| 湿疹是什么样子| 淡水鱼什么鱼最好吃| 吞咽困难是什么原因| 怀孕上火吃什么能降火| 大便不成形吃什么中成药| 猫不能吃什么东西| 什么药能降肌酐| 补气血什么季节补最好| 脾胃湿热吃什么中成药| 史莱姆是什么意思| 老年人脸肿是什么原因引起的| 嘴贱什么意思| 路上遇到蛇是什么征兆| 虾与什么食物相克| 流局是什么意思| 天赋异禀什么意思| 什么病才吃阿昔洛韦片| 脚扭了挂什么科| 尿什么味道| 什么是自慰| 一月出生是什么星座| 什么是阻生智齿| 仰面朝天是什么生肖| 嗡阿吽是什么意思| fla是什么牌子| 吃什么容易结石| 斜视是什么原因导致的| 慢性非萎缩性胃炎伴糜烂吃什么药| 卵泡破裂是什么意思| 马上风为什么拔不出来| 甲状腺饱满是什么意思| 长期喝酒有什么危害| 1927年中国发生了什么| 做噩梦被吓醒预示什么| 怎么看自己五行属什么| 百香果有什么好处功效| 珍珠奶茶的珍珠是什么做的| 长口腔溃疡是什么原因| 客车是什么车| 舌头发麻是什么原因| 疗养是什么意思| 送巧克力代表什么意思| 香港警司是什么级别| 腰间盘突出是什么原因引起的| 什么是紫癜| 头晕为什么做眼震检查| rh血型阳性是什么意思| 身份证最后一位代表什么| 心率低吃什么药好| 4月19号是什么星座| 黄茶属于什么茶| 放下是什么意思| 怀孕吃什么水果好对胎儿好| 红烧肉是什么肉| 什么的水果| 刑警队是干什么的| 吐槽是什么意思啊| 慢性胃炎吃什么食物好| 深度水解奶粉是什么意思| 性生活频繁有什么危害| 布洛芬缓释胶囊是什么药| 桑葚泡水喝有什么功效| 肾阳虚是什么意思| 犹怜是什么意思| 什么球会自己长大| upc码是什么意思| 来月经前头痛什么原因| 脂肪肝吃什么药治疗| 四个月读什么| 莲子有什么功效| 不全纵隔子宫是什么意思| 腹部包块是什么样子的| 低俗是什么意思| 叶绿素主要吸收什么光| 滑膜疝是一种什么病| 二婚是什么意思| 口缘字一半念什么| 小祖宗是什么意思| 美女指什么生肖| 甲醛是什么| 工装裤搭配什么上衣| 胃疼看病挂什么科| 屁多是什么毛病| 什么是胶原蛋白| 三个火读什么字| 1.4什么星座| 车水马龙的意思是什么| 银耳汤有什么功效| 心火旺喝什么茶| 内痔用什么药| 白酒是什么时候出现的| opo是什么意思| 男人喜欢什么姿势| 7.6什么星座| 雄激素过高是什么意思| 长期大便不成形是什么原因造成的| 18k金和24k金有什么区别| 中元节应该说什么| 上海最高的楼叫什么| 倩字五行属什么| 母后是什么意思| 挂红是什么意思| 免疫组化检查是什么意思| 灰指甲用什么药治疗| 713是什么星座| 联手是什么意思| 肺结节是什么意思| 多吃黄瓜有什么好处和坏处| 恶露是什么东西| 吐黑水是什么原因| 过年吃什么| 吃饺子是什么节日| 高危妊娠监督什么意思| 儿童用什么洗发水好| 尿酸高吃什么能降| 尿量少是什么原因| 出海是什么意思| 熳是什么意思| 头晕做什么检查最准确| 赵本山什么时候死的| 多囊吃什么药| 吃什么水果对肾好| 载脂蛋白b偏低是什么意思| 土地兼并是什么意思| 星字属于五行属什么| 6月11日什么星座| 洗面奶什么牌子好| 取环挂什么科室| 匙仁是牛的什么部位| 咳嗽什么东西不能吃| 啤酒对身体有什么好处| 玉米属于什么类| 晚上右眼跳是什么预兆| 吃皮是什么意思| 11月10日是什么星座| 办狗证需要什么资料| 口腔白斑是什么病| 为什么会湿疹| 生理期可以吃什么| 什么是西米| 为什么眼睛老是流泪| 9月16号是什么星座| 胃胀消化不好吃什么药| 山川是什么意思| 肝不好应该吃什么| 贫血吃什么维生素| 肚子疼是什么原因一阵一阵的| absolue是兰蔻的什么产品| 辐照食品是什么意思| 百度
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >用python画模拟时钟表盘

西安市人大常委会党的群众路线教育实践活动专题

原创
作者头像
mariolu
修改于 2025-08-05 20:04:51
修改于 2025-08-05 20:04:51
百度   商务部条法司司长陈福利23日表示,美国301调查无视世贸规则,无视中国实际,无视中美经贸关系互利共赢的本质。 42120
代码可运行
举报
运行总次数:0
代码可运行

一、 终端模拟时钟

本篇文章通过使用简单的ascii字符在终端上画模拟时钟表盘,可以展示当前时间、天数、周数。

这里不使用第三方库。完整代码如下,你可以使用云社区自带的python运行组件,跑去来看看效果。

这里看到了是15日,也是一个周五。显示了当前时间11点51分27秒。

二、代码及流程

完整代码如下,或者可以在这里下到lumanyu/ascii_clock: Python script that prints out a clock in ASCII art style to the console (github.com)

代码语言:python
代码运行次数:0
运行
复制
#-*- coding: utf-8 -*-
#-----------------------------------------------------------------------
# 
#-----------------------------------------------------------------------

class AsciiCanvas(object):
    """
    ASCII canvas for drawing in console using ASCII chars
    """

    def __init__(self, cols, lines, fill_char=' '):
        """
        Initialize ASCII canvas
        初始化画板,填充fill_char
        """
        if cols < 1 or cols > 1000 or lines < 1 or lines > 1000:
            raise Exception('Canvas cols/lines must be in range [1..1000]')
        self.cols = cols
        self.lines = lines
        if not fill_char:
            fill_char = ' '
        elif len(fill_char) > 1:
            fill_char = fill_char[0]
        self.fill_char = fill_char
        self.canvas = [[fill_char] * (cols) for _ in range(lines)]  # 得到一个cols列的一维数组,然后lines个数组组成二维数组

    def clear(self):
        """
        Fill canvas with empty chars
        """
        self.canvas = [[self.fill_char] * (self.cols) for _ in range(self.lines)]  # 清空,用fill_char清空

    def print_out(self):
        """
        Print out canvas to console
        """
        print(self.get_canvas_as_str())  # 打印到荧幕

    def add_line(self, x0, y0, x1, y1, fill_char='o'):
        """
        Add ASCII line (x0, y0 -> x1, y1) to the canvas, fill line with `fill_char`
        用fill_char画线
        """
        if not fill_char:
            fill_char = 'o'
        elif len(fill_char) > 1:
            fill_char = fill_char[0]
        if x0 > x1: # 从左边画到右边 
            # swap A and B
            x1, x0 = x0, x1
            y1, y0 = y0, y1
        # get delta x, y
        dx = x1 - x0
        dy = y1 - y0
        # if a length of line is zero just add point
        if dx == 0 and dy == 0:
            if self.check_coord_in_range(x0, y0): # 这个点在画布内
                self.canvas[y0][x0] = fill_char
            return
        # when dx >= dy use fill by x-axis, and use fill by y-axis otherwise
        # 哪条边长度长,就填哪边
        if abs(dx) >= abs(dy):
            for x in range(x0, x1 + 1):  # 闭区间[x0,x1+1)
                # 如果是竖线,y就是y0,如果是一条斜线,y的坐标按照比例重新计算绘图点y坐标
                y = y0 if dx == 0 else y0 + int(round((x - x0) * dy / float((dx)))) #
                if self.check_coord_in_range(x, y):
                    self.canvas[y][x] = fill_char  # 填充点
        else:
            if y0 < y1: # 从下往上画
                for y in range(y0, y1 + 1):
                    x = x0 if dy == 0 else x0 + int(round((y - y0) * dx / float((dy))))
                    if self.check_coord_in_range(x, y):
                        self.canvas[y][x] = fill_char
            else:  # 从上往下画
                for y in range(y1, y0 + 1):
                    x = x0 if dy == 0 else x1 + int(round((y - y1) * dx / float((dy))))
                    if self.check_coord_in_range(x, y):
                        self.canvas[y][x] = fill_char

    def add_text(self, x, y, text):
        """
        Add text to canvas at position (x, y)
        在指定位置添加文本
        """
        for i, c in enumerate(text): # i为字的个数
            if self.check_coord_in_range(x + i, y):
                self.canvas[y][x + i] = c  # 在[x,x+i]位置添加char

    def add_rect(self, x, y, w, h, fill_char=' ', outline_char='o'):
        """
        Add rectangle filled with `fill_char` and outline with `outline_char`
        在画板外围添加方框,增加画面感
        """
        if not fill_char:
            fill_char = ' '
        elif len(fill_char) > 1:
            fill_char = fill_char[0]
        if not outline_char:
            outline_char = 'o'
        elif len(outline_char) > 1:
            outline_char = outline_char[0]
        for px in range(x, x + w):
            for py in range(y, y + h):
                if self.check_coord_in_range(px, py):
                    if px == x or px == x + w - 1 or py == y or py == y + h - 1: #如果坐标位于画板四周
                        self.canvas[py][px] = outline_char
                    else:
                        self.canvas[py][px] = fill_char

    def add_nine_patch_rect(self, x, y, w, h, outline_3x3_chars=None):  #画方框格
        """
        Add nine-patch rectangle
        """
        default_outline_3x3_chars = (
            '.', '-', '.', 
            '|', ' ', '|', 
            '`', '-', "'"
        )
        if not outline_3x3_chars:
            outline_3x3_chars = default_outline_3x3_chars
        # filter chars
        filtered_outline_3x3_chars = []
        for index, char in enumerate(outline_3x3_chars[0:9]):
            if not char:
                char = default_outline_3x3_chars[index]
            elif len(char) > 1:
                char = char[0]
            filtered_outline_3x3_chars.append(char)
        for px in range(x, x + w):  #在方格绘图区域
            for py in range(y, y + h): #在方格绘图区域
                if self.check_coord_in_range(px, py):  #在绘图区域把9个元素放上去
                    if px == x and py == y:
                        self.canvas[py][px] = filtered_outline_3x3_chars[0]
                    elif px == x and y < py < y + h - 1:
                        self.canvas[py][px] = filtered_outline_3x3_chars[3]
                    elif px == x and py == y + h - 1:
                        self.canvas[py][px] = filtered_outline_3x3_chars[6]
                    elif x < px < x + w - 1 and py == y:
                        self.canvas[py][px] = filtered_outline_3x3_chars[1]
                    elif x < px < x + w - 1 and py == y + h - 1:
                        self.canvas[py][px] = filtered_outline_3x3_chars[7]
                    elif px == x + w - 1 and py == y:
                        self.canvas[py][px] = filtered_outline_3x3_chars[2]
                    elif px == x + w - 1 and y < py < y + h - 1:
                        self.canvas[py][px] = filtered_outline_3x3_chars[5]
                    elif px == x + w - 1 and py == y + h - 1:
                        self.canvas[py][px] = filtered_outline_3x3_chars[8]
                    else:
                        self.canvas[py][px] = filtered_outline_3x3_chars[4]

    def check_coord_in_range(self, x, y):
        """
        检查坐标位于画布有效范围
        Check that coordinate (x, y) is in range, to prevent out of range error
        """
        return 0 <= x < self.cols and 0 <= y < self.lines

    def get_canvas_as_str(self):
        """
        Return canvas as a string
        画布输出成可打印字符串,打印到荧幕
        """
        return '\n'.join([''.join(col) for col in self.canvas])

    def __str__(self):
        """
        Return canvas as a string
        """
        return self.get_canvas_as_str()
        
        
#!/usr/bin/env python
#-*- coding: utf-8 -*-
#-----------------------------------------------------------------------
#
#-----------------------------------------------------------------------

import os
import time
import math
import datetime


x_scale_ratio = 1.75 #x轴调整系数,以y为基础长度,x=y乘以这个系数


def draw_second_hand(ascii_canvas, seconds, length, fill_char):
    """
    Draw second hand
    画秒针
    """
    x0 = int(math.ceil(ascii_canvas.cols / 2.0))
    y0 = int(math.ceil(ascii_canvas.lines / 2.0))
    x1 = x0 + int(math.cos((seconds + 45) * 6 * math.pi / 180) * length * x_scale_ratio)
    y1 = y0 + int(math.sin((seconds + 45) * 6 * math.pi / 180) * length)
    ascii_canvas.add_line(int(x0), int(y0), int(x1), int(y1), fill_char=fill_char)


def draw_minute_hand(ascii_canvas, minutes, length, fill_char):
    """
    Draw minute hand
    画分针
    """
    x0 = int(math.ceil(ascii_canvas.cols / 2.0))
    y0 = int(math.ceil(ascii_canvas.lines / 2.0))
    x1 = x0 + int(math.cos((minutes + 45) * 6 * math.pi / 180) * length * x_scale_ratio)
    y1 = y0 + int(math.sin((minutes + 45) * 6 * math.pi / 180) * length)
    ascii_canvas.add_line(int(x0), int(y0), int(x1), int(y1), fill_char=fill_char)


def draw_hour_hand(ascii_canvas, hours, minutes, length, fill_char):
    """
    Draw hour hand
    画小时针
    """
    x0 = int(math.ceil(ascii_canvas.cols / 2.0))
    y0 = int(math.ceil(ascii_canvas.lines / 2.0))
    total_hours = hours + minutes / 60.0
    x1 = x0 + int(math.cos((total_hours + 45) * 30 * math.pi / 180) * length * x_scale_ratio)
    y1 = y0 + int(math.sin((total_hours + 45) * 30 * math.pi / 180) * length)
    ascii_canvas.add_line(int(x0), int(y0), int(x1), int(y1), fill_char=fill_char)


def draw_clock_face(ascii_canvas, radius, mark_char):
    """
    Draw clock face with hour and minute marks
    画表盘,表盘上添加小时和分钟 数字形式
    """
    x0 = ascii_canvas.cols // 2  #带四舍五入的除法,比如说10//3在python3中等于3,相当于int
    y0 = ascii_canvas.lines // 2
    # draw marks first
    for mark in range(1, 12 * 5 + 1): #总共有60分钟,就是外面60个、刻度
        x1 = x0 + int(math.cos((mark + 45) * 6 * math.pi / 180) * radius * x_scale_ratio)
        y1 = y0 + int(math.sin((mark + 45) * 6 * math.pi / 180) * radius)
        if mark % 5 != 0: #画刻度、
            ascii_canvas.add_text(x1, y1, mark_char)
    # start from 1 because at 0 index - 12 hour
    for mark in range(1, 12 + 1): # 画小时数,圆周围的12个小时数
        x1 = x0 + int(math.cos((mark + 45) * 30 * math.pi / 180) * radius * x_scale_ratio)
        y1 = y0 + int(math.sin((mark + 45) * 30 * math.pi / 180) * radius)
        ascii_canvas.add_text(x1, y1, '%s' % mark) #画小时数


def draw_clock(cols, lines):
    """
    Draw clock
    """
    if cols < 25 or lines < 25:
        print('Too little columns/lines for print out the clock!')
        exit()
    # prepare chars
    single_line_border_chars = ('.', '-', '.', '|', ' ', '|', '`', '-', "'")
    second_hand_char = '.' #秒针像素点
    minute_hand_char = 'o' #分针像素点
    hour_hand_char = 'O' #小时针像素点
    mark_char = '`'
    if os.name == 'nt':
        single_line_border_chars = ('.', '-', '.', '|', ' ', '|', '`', '-', "'")  # ('\xDA', '\xC4', '\xBF', '\xB3', '\x20', '\xB3', '\xC0', '\xC4', '\xD9')
        second_hand_char = '.'  # '\xFA'
        minute_hand_char = 'o'  # '\xF9'
        hour_hand_char = 'O'  # 'o'
        mark_char = '`'  # '\xF9'
    # create ascii canvas for clock and eval vars
    ascii_canvas = AsciiCanvas(cols, lines)  #创建大表盘
    center_x = int(math.ceil(cols / 2.0))
    center_y = int(math.ceil(lines / 2.0))
    radius = center_y - 5 #表盘半径
    second_hand_length = int(radius / 1.17) #秒针长度
    minute_hand_length = int(radius / 1.25) #分针长度
    hour_hand_length = int(radius / 1.95) #小时针长度
    # add clock region and clock face
    ascii_canvas.add_rect(5, 3, int(math.floor(cols / 2.0)) * 2 - 9, int(math.floor(lines / 2.0)) * 2 - 5) #添加外围方框
    draw_clock_face(ascii_canvas, radius, mark_char) #画表盘
    now = datetime.datetime.now()
    # add regions with weekday and day if possible
    if center_x > 25: #如果有绘图空间,添加周数和天数
        left_pos = int(radius * x_scale_ratio) / 2 - 4
        ascii_canvas.add_nine_patch_rect(int(center_x + left_pos), int(center_y - 1), 5, 3, single_line_border_chars) #添加小方框
        ascii_canvas.add_text(int(center_x + left_pos + 1), int(center_y), now.strftime('%a'))  #添加周数
        ascii_canvas.add_nine_patch_rect(int(center_x + left_pos + 5), int(center_y - 1), 4, 3, single_line_border_chars)
        ascii_canvas.add_text(int(center_x + left_pos + 1 + 5), int(center_y), now.strftime('%d')) #添加天数
    # add clock hands
    draw_second_hand(ascii_canvas, now.second, second_hand_length, fill_char=second_hand_char) #添加秒针
    draw_minute_hand(ascii_canvas, now.minute, minute_hand_length, fill_char=minute_hand_char) #添加分针
    draw_hour_hand(ascii_canvas, now.hour, now.minute, hour_hand_length, fill_char=hour_hand_char) #添加小时针
    # print out canvas
    ascii_canvas.print_out() #打印到荧幕


def main():
    lines = 30
    cols = int(lines * x_scale_ratio)
    # set console window size and screen buffer size
    if os.name == 'nt':
        os.system('mode con: cols=%s lines=%s' % (cols + 1, lines + 1))
    while True:
       os.system('cls' if os.name == 'nt' else 'clear') #清屏
       draw_clock(cols, lines) #画时钟
       time.sleep(0.2) #每0.2秒进行刷新,如果觉得屏幕太闪,把这个数调大点


if __name__ == '__main__':
    main()

这份代码里,我们声明了一个class AsciiCanvas类来模拟画布,并提供了以下方法

  • clear(self):清除画布
  • print_out(self): 打印到屏幕
  • add_line(self, x0, y0, x1, y1, fill_char='o'): 用fill_char画线
  • add_text(self, x, y, text):在指定位置写ascii char
  • add_rect(self, x, y, w, h, fill_char=' ', outline_char='o'):在画板外围添加方框,增加画面感
  • add_nine_patch_rect(self, x, y, w, h, outline_3x3_chars=None):画方框格
  • check_coord_in_range(self, x, y):检查绘图点在有效区域画布内
  • get_canvas_as_str(self):序列化成可打印字符串

于是我们的主体程序里就可以这样做

  • # create ascii canvas for clock and eval vars
  • ascii_canvas = AsciiCanvas(cols, lines)#创建大表盘
  • ascii_canvas.add_rect(5,3,int(math.floor(cols /2.0))*2-9,int(math.floor(lines /2.0))*2-5)#添加外围方框 draw_clock_face(ascii_canvas, radius, mark_char)#画表盘
  • ascii_canvas.add_nine_patch_rect(int(center_x + left_pos),int(center_y -1),5,3, single_line_border_chars)#添加小方框
  • ascii_canvas.add_text(int(center_x + left_pos +1),int(center_y), now.strftime('%a'))#添加周数
  • ascii_canvas.add_nine_patch_rect(int(center_x + left_pos +5),int(center_y -1),4,3, single_line_border_chars)
  • ascii_canvas.add_text(int(center_x + left_pos +1+5),int(center_y), now.strftime('%d'))#添加天数# add clock hands
  • draw_second_hand(ascii_canvas, now.second, second_hand_length, fill_char=second_hand_char)#添加秒针
  • draw_minute_hand(ascii_canvas, now.minute, minute_hand_length, fill_char=minute_hand_char)#添加分针
  • draw_hour_hand(ascii_canvas, now.hour, now.minute, hour_hand_length, fill_char=hour_hand_char)#添加小时针
  • ascii_canvas.print_out()#打印到荧幕

这里推荐腾讯云的海外主机,因为对于开发人员,有时候需要GitHub能够快速稳定的连接。所以我的开发机都会去买腾讯云香港或者新加坡地区机器,而且现在有活动2024新春采购节也很优惠。

比如这个新加坡地区的活动,我们个人用开发机选择最便宜配置基础上再打2折。按照小时数收费,用多久收费多久。

云服务器CVM购买_云服务器CVM选购 - 腾讯云 (tencent.com)

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 一、 终端模拟时钟
  • 二、代码及流程
相关产品与服务
云服务器
云服务器(Cloud Virtual Machine,CVM)提供安全可靠的弹性计算服务。 您可以实时扩展或缩减计算资源,适应变化的业务需求,并只需按实际使用的资源计费。使用 CVM 可以极大降低您的软硬件采购成本,简化 IT 运维工作。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档
痔疮什么样 中级什么时候考试 血压高吃什么药比较好 受精卵着床有什么症状 照烧是什么意思
高考300分能上什么大学 大学记过处分有什么影响 血糖高什么原因引起 舌苔黄腻厚是什么原因 11月27是什么星座
孕妇缺铁对胎儿有什么影响 表面积是什么意思 小孩小便红色是什么原因 max什么意思 善茬是什么意思
什么止痛药最快止痛 汕头有什么好玩的景点 渣男之首是什么星座 属蛇男和什么属相最配 丙烯是什么
梦见香蕉是什么意思hcv8jop7ns4r.cn 佛跳墙是什么菜系hcv9jop3ns0r.cn 摩羯座哭了代表什么hcv7jop6ns3r.cn 梦见自己流产了是什么征兆hcv7jop5ns3r.cn 为什么很多人不去庐山hcv7jop9ns4r.cn
耐力板是什么材质hcv7jop6ns3r.cn 冷感冒吃什么药好得快gangsutong.com 黑枸杞有什么功效hcv8jop9ns4r.cn 小姑娘月经推迟不来什么原因hcv7jop6ns4r.cn 甲肝阳性是什么意思hcv7jop5ns3r.cn
病毒性扁桃体发炎吃什么药helloaicloud.com 神经性头疼是什么原因造成的hcv8jop1ns5r.cn 高危性行为是什么意思hcv9jop1ns3r.cn 雍正为什么只在位13年hcv7jop4ns5r.cn 河南有什么大学hcv8jop3ns2r.cn
为什么说黑鱼是鬼hcv9jop2ns2r.cn 哈字五行属什么hcv9jop2ns7r.cn 睡眠不足会引起什么症状hcv9jop1ns2r.cn 炸酱面的酱是什么酱hcv8jop8ns9r.cn 碳水化合物对人体有什么作用hcv9jop3ns8r.cn
百度