怪奇物语

怪奇物语

首页 新随笔 联系 管理

2022年11月15日 #

摘要: import os import re import shutil import easygui from easygui import * class User(EgStore): def __init__(self, filename): self.path = '' EgStore.__ini 阅读全文
posted @ 2022-11-15 23:23 超级无敌美少男战士 阅读(28) 评论(0) 推荐(0)

摘要: 常见的导出方式 创建文件 foo.js //设置常量 const name = 'tom'; const age = 20; const hello = function(age){ console.log('张三今年'+age) } 方式一 export const name = 'tom'; e 阅读全文
posted @ 2022-11-15 17:30 超级无敌美少男战士 阅读(56) 评论(0) 推荐(0)

摘要: 本文由 简悦 SimpRead 转码, 原文地址 blog.csdn.net 1、安装 socketio 服务端 # 官网介绍:https://python-socketio.readthedocs.io/en/latest/server.html pip install python-socket 阅读全文
posted @ 2022-11-15 17:30 超级无敌美少男战士 阅读(348) 评论(0) 推荐(0)

摘要: JavaScript 模块导入方式 Node 中的导入导出方式 此类导入方式借助module对象通过module.exports赋予 js 文件中某数据类型能够被导入的权限,通过require(<filename>)导入数据类型,这种导入方式主要在 Node.js2 中使用。每个运行在 Node 上 阅读全文
posted @ 2022-11-15 17:30 超级无敌美少男战士 阅读(84) 评论(0) 推荐(0)

摘要: 本文由 简悦 SimpRead 转码, 原文地址 blog.csdn.net 参考:https://github.com/pyropy/fastapi-socketio 一、app 中启用 socketio 如下,一般 fastapi 项目会这样创建一个应用 from fastapi import 阅读全文
posted @ 2022-11-15 17:29 超级无敌美少男战士 阅读(273) 评论(0) 推荐(0)

摘要: Decorator to register an event handler. This is a simplified version of the ``on()`` method that takes the event name from the decorated function. Exa 阅读全文
posted @ 2022-11-15 15:56 超级无敌美少男战士 阅读(110) 评论(0) 推荐(0)

摘要: https://github.com/XiaoxingChen/roboshopAPI_py/blob/master/netprotocol/rbkNetProtoEnums.py import json import struct API_PORT_ROBOD = 19200 API_PORT_S 阅读全文
posted @ 2022-11-15 10:41 超级无敌美少男战士 阅读(53) 评论(0) 推荐(0)

摘要: import os import re import shutil import easygui from easygui import * class User(EgStore): def __init__(self, filename): self.path = '' EgStore.__ini 阅读全文
posted @ 2022-11-15 07:17 超级无敌美少男战士 阅读(32) 评论(0) 推荐(0)