TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #85 · 15 мај

"Ну и как же нам перекидывать строки ви числа?" спросите вы. Проверять каждый символ, очистив строку от лишних знаков и точек. Потом конвертить допустимые символы в числа и восстанавливать знак, дробную чусть и тд??? Самый быстрый способ это просто "попробовать" 😜 text = "-0.3" try: num = float(text) except ValueError: print('Dough!') Всё остальное это уже парсинг и разбор символов для иных целей. #basic

Hashtags

Резултати

Пронајдени 1 слични објави

Пребарај: #ftplib

当前筛选 #ftplib清除筛选
djangoproject

@djangoproject · Post #456 · 04.10.2017 г., 02:57

http://www.techbeamers.com/python-tutorial-essentials-of-python-socket-programming/ Essentials of Python #Socket Programming You Should Know Python offers two types of #API libraries that we can use for socket programming. At the low-level, Python utilizes the “socket” library to implement #client and #server#modules for both #connectionless and #connection-oriented #network protocols. Whereas, at the higher-level, You can use libraries like #ftplib and #httplib to interact with application-level network protocols like #FTP and #HTTP.