猫史档案馆


苹果真好吃

苹果真好吃

Lv.1

就喜欢苹果

获赞:329收藏:66浏览:2720作品收藏:56
回复帖子评论
上一页2 页 / 共 2下一页

官网的BUG 中回复

#include<bits/stdc++.h>

2023-07-18T16:51:11 点赞:0

加一个字毁掉楼下的昵称 中回复

东风 喵 起 

2023-07-18T19:09:52 点赞:0

给我灌点鸡汤吧 中回复

灌什么鸡汤

鸡都没有

2023-08-14T12:00:33 点赞:1

我的世界python代码 中回复

还有张图片center_image

2023-10-20T23:31:04 点赞:0

python报错,怎么解决?在线等! 中回复

老师输液去了,我也没办法

2024-01-28T21:52:05 点赞:0

联机咋做? 中回复

云变量同步,比如ax是a玩家的x坐标,比如ay是a玩家的y坐标,比如bx是b玩家的x坐标,比如by是b玩家的y坐标,最后把信息上传到两个普通列表里,然后同时移动就OK了

2024-01-28T22:35:49 点赞:1

【Python作品分享】新的作品-5【作品秀】 中回复

额,我给你简化一下,稍等

2024-01-28T23:19:18 点赞:0

【Python作品分享】新的作品-5【作品秀】 中回复

还有你库在哪导入的

2024-01-28T23:20:00 点赞:0

【Python作品分享】《飞机大战》(半成品)【作品秀】 中回复

不管咋样我觉得你这是网上的,因为只有博主才会写这种东西:

#coding:utf-8

谁会专门去提醒txt改后缀py要用utf-8

2024-01-28T23:24:58 点赞:0

如何遍历5^30 中回复

print(5**30)你干嘛啊,不用遍历,直接算就行了,卡不死

2024-01-29T11:07:42 点赞:0

冬令营&用苹果电脑的人看过来 中回复

报错信息:3189 WARNING: Cannot find path /Users/breezelin/temp/lib/libcrypto.1.0.0.dylib (needed by /Applications/海龟编辑器.app/Contents/Resources/app/python/lib/python3.6/lib-dynload/_hashlib.cpython-36m-darwin.so)
3189 WARNING: Cannot find path /Users/breezelin/temp/lib/libssl.1.0.0.dylib (needed by /Applications/海龟编辑器.app/Contents/Resources/app/python/lib/python3.6/lib-dynload/_hashlib.cpython-36m-darwin.so)
3205 WARNING: Cannot find path @executable_path/../lib/libcrypto.1.0.0.dylib (needed by /Applications/海龟编辑器.app/Contents/Resources/app/python/lib/python3.6/lib-dynload/_ssl.cpython-36m-darwin.so)
3205 WARNING: Cannot find path @executable_path/../lib/libssl.1.0.0.dylib (needed by /Applications/海龟编辑器.app/Contents/Resources/app/python/lib/python3.6/lib-dynload/_ssl.cpython-36m-darwin.so)
3221 INFO: Looking for eggs
3221 INFO: Python library not in binary dependencies. Doing additional searching...
Traceback (most recent call last):
File "/Users/zonghongyu/Downloads/4.1-我的创意游戏/666.py", line 10, in <module>
"-y",
File "/Users/zonghongyu/.wood/ppg-octopus-default-macos-external/lib/python3.6/site-packages/PyInstaller/__main__.py", line 124, in run
run_build(pyi_config, spec_file, **vars(args))
File "/Users/zonghongyu/.wood/ppg-octopus-default-macos-external/lib/python3.6/site-packages/PyInstaller/__main__.py", line 58, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "/Users/zonghongyu/.wood/ppg-octopus-default-macos-external/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 803, in main
build(specfile, distpath, workpath, clean_build)
File "/Users/zonghongyu/.wood/ppg-octopus-default-macos-external/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 725, in build
exec(code, spec_namespace)
File "/Users/zonghongyu/Downloads/4.1-我的创意游戏/ 走格子小游戏.spec", line 19, in <module>
noarchive=False)
File "/Users/zonghongyu/.wood/ppg-octopus-default-macos-external/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 277, in __init__
self.__postinit__()
File "/Users/zonghongyu/.wood/ppg-octopus-default-macos-external/lib/python3.6/site-packages/PyInstaller/building/datastruct.py", line 155, in __postinit__
self.assemble()
File "/Users/zonghongyu/.wood/ppg-octopus-default-macos-external/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 512, in assemble
self._check_python_library(self.binaries)
File "/Users/zonghongyu/.wood/ppg-octopus-default-macos-external/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 616, in _check_python_library
python_lib = bindepend.get_python_library_path()
File "/Users/zonghongyu/.wood/ppg-octopus-default-macos-external/lib/python3.6/site-packages/PyInstaller/depend/bindepend.py", line 928, in get_python_library_path
raise IOError(msg)
OSError: Python library not found: Python3, .Python, libpython3.6.dylib, libpython3.6m.dylib, Python
This means your Python installation does not come with proper shared library files.
This usually happens due to missing development package, or unsuitable build parameters of the Python installation.

* On Debian/Ubuntu, you need to install Python development packages:
* apt-get install python3-dev
* apt-get install python-dev
* If you are building Python by yourself, rebuild with `--enable-shared` (or, `--enable-framework` on macOS).

2024-01-29T19:46:56 点赞:0

冬令营&用苹果电脑的人看过来 中回复

@林中鸟22

我看不见你说话,消息里可以看见,但是不知道你说的啥

2024-01-30T11:51:56 点赞:0

【成果展示&求助】量子波函数可视化! 中回复

我跑了三秒,电脑的问题

2024-01-30T16:41:55 点赞:0

兄弟们,兄弟们,python新论坛!!! 中回复

打开之后下面左边是发送的信息,中间是发送人,右边send是发送

2024-01-30T21:38:50 点赞:0

兄弟们,兄弟们,python新论坛!!! 中回复

乌鲁木齐市可以直接连接

2024-01-30T22:00:31 点赞:0

兄弟们,兄弟们,python新论坛!!! 中回复

一共有2次IP地址变更,将第7行绿色部分改为192.168.31.171,从明天15:00开始开启24h不间断服务

2024-01-30T23:29:58 点赞:0

python聊天室更新啦 中回复

对了,大佬帮我看一下代码,为什么外省连不上

2024-01-30T23:57:22 点赞:0

python聊天室更新啦 中回复

import os
import uuid
import time
import threading
from socket import *
from tkinter import *

serverName = '喵'#服务器外网IP
serverPort = 6551

root = Tk()
root.title('聊天室')

text = Text(root,width = 100,height = 20)

scroll = Scrollbar(root)
scroll.pack(side = RIGHT,fill = Y)
scroll.config(command = text.yview)
text.config(yscrollcommand = scroll.set)
text.pack()

entry = Entry(root,bd = 5,width = 70)
entry.pack(side = LEFT)
entry2 = Entry(root,bd = 5,width = 20)

clientSocket = socket(AF_INET, SOCK_STREAM)
print('正在连接...')
clientSocket.connect((serverName,serverPort))
print('连接成功!')

msg = clientSocket.recv(2048)#先接收历史记录

if msg.decode() != 'NO_MESSAGE':#有历史记录时
    text.insert(END,msg.decode() + '\n----以上是历史记录----\n')
text.see(END)

def get_mac_address():#由于用户名可以随时换,用MAC地址作为标识了
    mac = uuid.UUID(int = uuid.getnode()).hex[-12:]
    return ':'.join([mac[e:e+2] for e in range(0,11,2)])

def timemark():
    timestamp = int(time.time())
    timestr = time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(timestamp))
    return '[' + timestr + ']'

def send():
    if entry2.get().replace(' ','') == '':
        text.config(state = 'normal')
        text.insert(END,'请输入用户名!\n')
        text.see(END)
        text.config(state = 'disabled')
        return
    if entry.get() == '':
        text.config(state = 'normal')
        text.insert(END,'发送内容不能为空!\n')
        text.see(END)
        text.config(state = 'disabled')
    else:
        clientSocket.send((timemark() + ' ' + get_mac_address() + ' - ' +
                           entry2.get() + '\n    ' + entry.get()).encode())
        entry.delete(0,'end')

button = Button(root,text = 'SEND',command = send)
button.pack(side = RIGHT)

entry2.pack(side = RIGHT)
class myThread(threading.Thread):
    def __init__(self):
        threading.Thread.__init__(self)
    def run(self):
        while True:
            msg = clientSocket.recv(2048)
            text.config(state = 'normal')
            text.insert(END,msg.decode() + '\n')
            text.see(END)
            text.config(state = 'disabled')
textThread = myThread()
textThread.start()

root.mainloop()

2024-01-30T23:58:15 点赞:0

python聊天室更新啦 中回复

苹果/Windows软件包可以喵钉、微信(回消息可能不及时)

2024-01-31T00:00:17 点赞:0

能给我的作品点赞不?在线求赞!X_X 中回复

你要是能进我聊天室我就给你点(想测试一下有没有bug)

2024-01-31T00:01:20 点赞:0

禁创少年头像计算答案 中回复

我大册子原题

2024-01-31T00:03:34 点赞:0

给大家分享一下python打包程序,全网最最最实用 中回复

-n少了个等于好,大家自己补一下(对Windows不太友好)

2024-02-01T23:31:59 点赞:0

在变成猫待久了会变成猫吗 中回复

会的,兄弟

2024-03-05T10:44:01 点赞:0

【HIXIANG编辑】调研:您目前正使用的编辑器 中回复

Dev-C++

 

2024-05-25T10:35:49 点赞:0

问题急!!! 中回复

不好意思,登不了

2024-07-28T15:04:15 点赞:0