📜  如何在python中输入用户名? - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:19.689000             🧑  作者: Mango

代码示例1
import os
u_name = os.getlogin()
print(f"[*] Username is : {u_name}")