iT邦幫忙

froce 的所有回答 621

Node.JS serialport new 錯誤問題

const { SerialPort } = require('serialport') const { ReadlineParser } = require(...

2023-03-23 ‧ 由 柯柯 提問

Python如何針對大量txt檔案,抓取指定資料,並匯出?

data = ''' sr eff 0.96 1.13 118 0.15 89 -25 R tot 0.30 0.48 161 1.44 146 -10 R e...

2023-03-15 ‧ 由 style840102 提問

python 如何開啟flask後而繼續跑main的程式?

from flask import Flask import time import asyncio app = Flask(__name__) class...

2023-03-09 ‧ 由 alanotmt 提問

Python透過迴圈生成二維陣列

[[int(s) for s in f'{i:012b}'] for i in range(4096)]

2023-02-10 ‧ 由 s9816358 提問

如何从 .html url 启动/激活 .py 文件(sql debug)

不用切帳號,看你問的我就知道你是誰了。你終於肯聽我的話好好看web framework了給你一個簡單範例。資料庫我用sqlite3,所以資料庫自己改。 app....

2023-02-10 ‧ 由 python080 提問

CSS--已經都設定固定大小且強調,還是跑版,該怎麼排錯!??

<style> .circle { height: 25px; width: 25px; background-color: #bbb;...

2023-02-04 ‧ 由 akajoke 提問

[Python] 等待多個asyncio.qurue

import asyncio from random import randint import datetime class EventQueue(asyn...

2023-02-02 ‧ 由 seanhsu555 提問

【JS】如何限制delete鍵只能發送一次?

playground <script setup> import { ref } from 'vue' const items = ref([...

2023-01-31 ‧ 由 greenriver 提問

重複發文

寫入的動作通常會盡量在一次連接寫入,用 executemany。效能的差距會很巨大,尤其是資料量大的時候。 import csv import sqlite3...

2023-01-22 ‧ 由 cathy88120 提問