PYLAB Telegram 369
#آموزش #مسیر_فایل
یکی از تفاوت هایی که در برنامه نویسی تو لینوکس و ویندوز باید حواسمون باشه اینه که تو ویندوز از بک اسلش برای مسیردهی میان نام پوشه ها به عنوان جداکننده استفاده میشه در حالی که تقریبا تمام سیستم عامل‌های دیگر از یک اسلش‌جلو استفاده می کنند. در این بلاگ پست نکاتی کوچک کار با مسیر فایل و راه حل برای اینکه مسیر ها تو سیستم عامل های مختلف کار کنه و کدتون نیاز به تغییر نداشته باشه را نوشته...
Python 3 Quick Tip: The easy way to deal with file paths on Windows, Mac and Linux

Windows filenames:
C:\some_folder\some_file.txt

Most other operating systems:
/some_folder/some_file.txt

https://medium.com/@ageitgey/python-3-quick-tip-the-easy-way-to-deal-with-file-paths-on-windows-mac-and-linux-11a072b58d5f



tgoop.com/PyLab/369
Create:
Last Update:

#آموزش #مسیر_فایل
یکی از تفاوت هایی که در برنامه نویسی تو لینوکس و ویندوز باید حواسمون باشه اینه که تو ویندوز از بک اسلش برای مسیردهی میان نام پوشه ها به عنوان جداکننده استفاده میشه در حالی که تقریبا تمام سیستم عامل‌های دیگر از یک اسلش‌جلو استفاده می کنند. در این بلاگ پست نکاتی کوچک کار با مسیر فایل و راه حل برای اینکه مسیر ها تو سیستم عامل های مختلف کار کنه و کدتون نیاز به تغییر نداشته باشه را نوشته...
Python 3 Quick Tip: The easy way to deal with file paths on Windows, Mac and Linux

Windows filenames:

C:\some_folder\some_file.txt

Most other operating systems:
/some_folder/some_file.txt

https://medium.com/@ageitgey/python-3-quick-tip-the-easy-way-to-deal-with-file-paths-on-windows-mac-and-linux-11a072b58d5f

BY Python_Labs🐍




Share with your friend now:
tgoop.com/PyLab/369

View MORE
Open in Telegram


Telegram News

Date: |

In 2018, Telegram’s audience reached 200 million people, with 500,000 new users joining the messenger every day. It was launched for iOS on 14 August 2013 and Android on 20 October 2013. Hashtags are a fast way to find the correct information on social media. To put your content out there, be sure to add hashtags to each post. We have two intelligent tips to give you: Healing through screaming therapy Joined by Telegram's representative in Brazil, Alan Campos, Perekopsky noted the platform was unable to cater to some of the TSE requests due to the company's operational setup. But Perekopsky added that these requests could be studied for future implementation. The group also hosted discussions on committing arson, Judge Hui said, including setting roadblocks on fire, hurling petrol bombs at police stations and teaching people to make such weapons. The conversation linked to arson went on for two to three months, Hui said.
from us


Telegram Python_Labs🐍
FROM American