快速检测本地网络路径

时间:2018-11-10 03:27:08

标签: python urllib2

Python是否可以快速检测本地网络路径的存在?

我尝试使用OtherMain.java:1: error: package Say does not exist import Say.*; ^ OtherMain.java:5: error: cannot find symbol SayClass s = new SayClass(); ^ symbol: class SayClass location: class OtherMain OtherMain.java:5: error: cannot find symbol SayClass s = new SayClass(); ^ symbol: class SayClass location: class OtherMain 3 errors os.path.exists。如果该路径不存在,则至少需要数十秒钟才能检测到该路径是否存在。

是否可以将时间减少到少于10秒?

这是我的测试代码:

urllib2.urlopen

0 个答案:

没有答案