os.system("'C:\Program Files\Wireshark\tshark.exe' -r B2.pcap -T fields -e frame.number -e frame.time -e ip.src -e tcp.srcport -e ip.dst -e tcp.dstport -e ip.proto -e ip.flags.syn -e ip.flags.nf -e ip.flags.df -e frame.len -E header=y -E separator=, > traffic.csv")我正在嘗試在 python 中運行上述命令,但它將 \tshark.exe 部分中的 \t 讀取為制表符。我該如何解決這個問題?
我如何不將'\t'讀取為python字符串中的制表符
慕婉清6462132
2023-04-25 17:23:33