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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #203 · 18 јан.

Бывает начинающие в процессе обучения создают файлы с именем модуля который они изучают. В результате на тестовых запусках ничего не работает😱 Всё потому, что появилась коллизия имён. Например, изучаете вы модуль datetime, и создаёте с таким именем файл (ну логично же😄) прямо в рабочей директории. Потом, при попытке импортировать datetime модуль, из-за приоритета импорта будет импортирован файл из рабочий директории а не оригинальная библиотека. Ведь имя файла это суть имя модуля! А знаете ли вы, что не все стандартные модули можно так перезаписать? Коллизии имён не подвержены builtin модули. Они всегда стоят на первом месте в приоритете импорта, поэтому их нельзя заменить. Полный список таких модулей можно посмотреть в списке sys.builtin_module_names. То есть, вы сломаете весь Python если назовёте свой модуль os или site, но если назовёте time или gc то ничего страшного не случится))) Тем не менее, никогда не называйте модули уже занятыми именами!!!⚠️ Я всегда рекомендую всем своим файлам делать именной префикс из 2-3 символов. Например я называю свои проекты так: pw_project_name pw_ui_tools.py pw_something/main.py Либо под ситуацию tst_scriptname.py (не "test" чтобы не подхватывал pytest) dbg_script.py maya_ui.py hou_menu_tools.py И искать проще, и коллизий нет. #tricks#basic

Резултати

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

Пребарај: #snapchat

当前筛选 #snapchat清除筛选
🦅 [ perspective ix ]

@perspectiveix · Post #1641 · 06.11.2018 г., 10:00

💸SnapAds are the Primary Ad Spend on Snapchat #Snapchat advertising spend by national marketers was projected to have increased by 10% in Q3 and by 8% through the first 9 months of the year, according to recent figures from Standard Media Index, which sources its data directly from the invoices of 5 of the 7 major media holding companies and leading independent agencies. Snapchat’s advertising business has been growing slower than expected. Well, at least according to eMarketer, which recently drastically cut its forecast for the platform’s ad revenues. 🚀@PerspectiveIX via MarketingCharts. 👻 Join us on Snapchat! ❓Do you use Snapchat?

Hashtags

🦅 [ perspective ix ]

@perspectiveix · Post #1521 · 05.09.2018 г., 08:00

​​👻Snap Across the Map According to Snap, on average, 188 million people around the world use #Snapchat on a daily basis, and these daily active Snapchatters use the app at an average of over 20 times per day. As of August 2018, these are the number of users Snapchat can reach in different regions/countries: - 93 million in the 🇺🇸 & 🇨🇦 - 76 million in Europe (17.5m in 🇫🇷, 15.5m in 🇬🇧, 9.2m in 🇩🇪) - 21 million in MENA (13.1m in 🇸🇦, 2.6m in 🇮🇶, 1.8m in 🇦🇪) - 13 million in Latin America - 6.5 million in 🇮🇳 - 6 million in 🇦🇺 🚀@PerspectiveIX via Snap. ❓Do you use Snapchat?

Hashtags

🦅 [ perspective ix ]

@perspectiveix · Post #1506 · 29.08.2018 г., 08:00

​​👻Snapchat's Growth In their Q2 2018 earnings report, Snap, #Snapchat's parent company, reported beating revenue expectations by 5%, but user growth, after slowing considerably for two years, went in the opposite direction. Snap’s Daily Active Users were (DAUs) still up 9% YoY, but for the first time declined sequentially by 2%. 🚀@PerspectiveIX Read more about Snap's growth excuses at Stratechery.

Hashtags

🦅 [ perspective ix ]

@perspectiveix · Post #1444 · 07.08.2018 г., 18:30

​​👻Has Snapchat already stopped growing? Snap reports its Q2 results today after the market close. And the consensus from analysts is that Snap’s audience will grow by just 1 million daily active users, according to FactSet. That’s surprising, considering that #Snapchat added 21 million new users in the same period two years ago. 🚀@PerspectiveIX 📖 via Recode: prs.pctvix.co/2Mqa5mZ

Hashtags

🦅 [ perspective ix ]

@perspectiveix · Post #1291 · 23.05.2018 г., 19:30

👻Want More Followers on Snapchat? Getting discovered on #Snapchat is not the easiest thing, so we thought we share what we’ve learned so far: https://prs.pctvix.co/2IdOu23 🚀@PerspectiveIX

Hashtags

🦅 [ perspective ix ]

@perspectiveix · Post #1210 · 18.04.2018 г., 23:05

​​🤠For Snapchat Fans Out There We're making a few #Snapchat Lenses (aka face filters). Already made these caps: ❤️ Manchester United: https://prs.pctvix.co/2qF9yDY 💚 New York Jets: https://prs.pctvix.co/2HaW5uD 🦄 Unicorn: https://prs.pctvix.co/2F01RgC If you want a cap for the team you support, message @iXContactBot with the NAME, COUNTRY, and SPORT your team plays. We will randomly select 3 of them and make you a cap! You have 24 hours. Good luck 🙂 🚀@PerspectiveIX 👻 Add us on Snapchat: http://prs.pctvix.co/SnapchatIX

Hashtags

🦅 [ perspective ix ]

@perspectiveix · Post #1144 · 11.03.2018 г., 20:30

👻#Snapchat users are young, American, and Snap a lot! 🚀@PerspectiveIX 👻 Add us on Snapchat: http://prs.pctvix.co/SnapchatIX Do you you use Snapchat? 👍🏻 Yes 👎🏻 No

Hashtags

123•••78
ПретходнаСтраница 1 од 8Следна