You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
msgid"Like :meth:`Path.stat` but, if the path points to a symbolic link, return the symbolic link's information rather than its target's."
1320
1320
msgstr"مانند :meth:`Path.stat`، اما اگر مسیر به یک پیوند نمادین اشاره کند، اطلاعات پیوند نمادین را بهجای اطلاعات هدف آن برمیگرداند."
1321
1321
1322
-
msgid"Return ``True`` if the path points to an existing file or directory. ``False`` will be returned if the path is invalid, inaccessible or missing. Use :meth:`Path.stat` to distinguish between these cases."
1323
-
msgstr"اگر مسیر به یک پرونده یا پوشهی موجود اشاره کند، ``True`` را برمیگرداند. اگر مسیر نامعتبر، دسترسناپذیر یا مفقود باشد، ``False`` برگردانده میشود. برای تمایز بین این حالات از :meth:`Path.stat` استفاده کنید."
1322
+
msgid"Return ``True`` if the path points to an existing file or directory and ``False`` if the path is invalid, inaccessible or missing. Use :meth:`Path.stat` to distinguish between these cases."
1323
+
msgstr"اگر مسیر به یک پرونده یا پوشهی موجود اشاره کند، ``True`` را برمیگرداند و اگر مسیر نامعتبر، غیرقابلدسترسی یا مفقود باشد، ``False`` را برمیگرداند. برای تمایز بین این موارد از :meth:`Path.stat` استفاده کنید."
1324
1324
1325
1325
msgid"This method normally follows symlinks; to check if a symlink exists, add the argument ``follow_symlinks=False``."
1326
1326
msgstr"این متد معمولاً پیوندهای نمادین را دنبال میکند؛ برای بررسی وجود یک پیوند نمادین، آرگومان ``follow_symlinks=False`` را اضافه کنید."
1327
1327
1328
1328
msgid""
1329
+
">>> Path('').exists() # The current directory.\n"
1330
+
"True\n"
1329
1331
">>> Path('.').exists()\n"
1330
1332
"True\n"
1331
1333
">>> Path('setup.py').exists()\n"
@@ -1335,6 +1337,8 @@ msgid ""
1335
1337
">>> Path('nonexistentfile').exists()\n"
1336
1338
"False"
1337
1339
msgstr""
1340
+
">>> Path('').exists() # The current directory.\n"
0 commit comments