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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #60 · 31 мар.

Вторая по частоте future-функция, которую я использовал, это абсолютный импорт from __future__ import absolute_import Что она делает? Изменения, которые вносит эта инъекция описаны в PEP328 Покажу простой пример. Допустим, есть такой пакет: /my_package /__init__.py /main.py /string.py Смотрим код в my_package/main.py # main.py import string Простой пример готов) Вопрос в том, какой модуль импортируется в данном случае? Есть два варианта: 1. модуль в моём пакете my_package.string 2. стандартный модуль string И вот тут вступает в дело приоритет импортов. В Python2 порядок следующий: помимо иных источников, раньше ищется модуль внутри текущего пакета, а потом в стандартных библиотеках. Таким образом мы импортнём my_package.string. Но в Python3 это поведение изменилось. Если мы указываем просто имя пакета, то ищется именно такой модуль, игнорируя имена в текущем пакете. Если мы хотим импортнуть именно подмодуль из нашего пакета то, мы должны теперь явно это указывать. from my_package import string или относительный импорт, но с указанием пути относительно текущего модуля main from . import string Еще одной неоднозначностью меньше 😎 Подробней про импорты здесь: https://docs.python.org/3/tutorial/modules.html #2to3#pep#basic

Резултати

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

Глобално пребарување

RedFox Branding

@redfoxuz · Post #1659 · 25.08.2021 г., 06:28

@redfoxuz / #basic 🥳 BASIC dasturlash kurslariga qabul boshlandi! Basic kurslari orqali siz Veb dasturlash sohasini boshlang’ich bilimlarini o’zlashtirasiz. Bulardan tashqari Telegram bot yasash va React Native orqali iOS va Android platformalari uchun dastur yoza olasiz. Basic kursi davomida HTML, CSS, Web dizayn, jQuerylarni real loyihalar asosida o’z ishining ustalaridan o’rganasiz. 🎁Afzalliklar: • RedFox bonuslari + Frilansus.com bonusli tizimi; • Jamoa bilan birga ishlash; • Real loyihalar; • Shaxsiy rivojlanish; • Qisqa muddatda mutaxassis bo'lish. ⚠️online shogird umuman olmaymiz! Talablar: 🧍‍♂️ 18-25 yoshgacha 📆 Haftada: 6 kun ⏰ Kuniga: 8 soat ⚠️Shoshiling joylar soni chegaralangan 15 ta shogird qabul qilinadi! Ro'yhatdan o'tish uchun: ✍️@redfoxsuhbat 🤙 +99871 200 5008

Hashtags

Nemoneta.COM 🍿

@ne_moneta_com · Post #373 · 06.06.2024 г., 16:16

🤓Крипто-глоссарий В web3 вы будете встречать много непонятных слов. Мы поможем разобраться! Нажимайте на карточки и узнавайте о новых терминах. Больше крипто-слов можете найти в одной из наших кампаний. ❤️‍🔥 – Если было полезно #basic | NotGuide

Hashtags

Not Guide

@notguide · Post #33 · 23.06.2024 г., 15:45

🤫Who created Web3? Today, we will talk about the mysterious figure behind the inception of the cryptocurrency revolution: Satoshi Nakamoto. Who is Satoshi Nakamoto? Satoshi Nakamoto is the pseudonym of the individual or group of individuals who wrote and published the Bitcoin white paper. This event marked the starting point for the development of the first cryptocurrency and blockchain technologies. White paper: a document with detailed information about a project. Beginnings The Bitcoin white paper was published in 2008 under the title “Bitcoin: A Peer-to-Peer Electronic Cash System.” In 2009, the first version of the Bitcoin network was launched and began its operation. We know almost nothing about Satoshi’s identity. He or they maintained anonymity from the beginning and, in 2010, stopped actively working on the project It is estimated that Satoshi owns between 750,000 and 1.1 million Bitcoin. At the current rate, the fortune is estimated at $70 billion (~5% of the total BTC market capitalization). Legacy Satoshi launched a decentralized movement, changed perspectives on finance, and inspired many people to build their lives differently. #basic | Not Guide

Hashtags

Not Guide

@notguide · Post #24 · 06.06.2024 г., 16:16

🤓Crypto Glossary In Web3, you’ll most likely encounter a lot of unfamiliar words. But worry not – we’ll help you make sense of them! Click on the cards to learn about new terms. You can find more crypto words in one of our campaigns. ❤️‍🔥 – If you found this helpful #basic | Not Guide

Hashtags

Not Guide

@notguide · Post #20 · 24.05.2024 г., 17:59

🧐Where to store crypto Custodial CEXs and non-custodial wallets are the main ways to store crypto. Which one should you choose? Let’s break it down. Storage on CEXs (custodial wallets) This is a simple and popular method, but it’s not safe because you do not control the wallet’s data. It’s better to withdraw funds after performing the necessary operations. There are cases when the exchange freezes assets or gets hacked. These are quite high risks. Examples of CEXs: Binance, Bybit, OKX. Non-custodial wallets In crypto wallets, assets are stored on the blockchain and are only accessible to you. Each wallet has a seed or recovery phrase (a list of 12–24 words) that is used in case you need to restore access. No one can access your wallet unless you share your seed phrase with them. Be sure to write it down on a piece of paper (only! Do not take photos) and keep it in a secure place. Do not share the phrase with anyone, even if they ask. Non-custodial wallets come in two types: 1. Apps or browser extensions – On your phone, computer, or browser that work through the internet. All the data is stored with you, but if you don’t pay close attention to where you’re downloading the app from, you could lose access to the app and all your assets! Therefore, never download unfamiliar applications and only connect to verified sites. Examples: Tonkeeper, Wallet, MyTonWallet. 2. Hardware wallets – Standalone devices that resemble a regular flash drive and work offline. This is the securest method; everything is stored on a physical device, and any operation requires confirmation. If your computer gets hacked, the assets in a hardware wallet will remain safe. Examples: Ledger, SafePal, Tangem. Safety rules: ⁃ Store the seed phrase in a secure place (only write it on a piece of paper). ⁃ Do not connect your wallet to unverified sites. ⁃ Do not store assets in one wallet – distribute them in multiple wallets. #basic | Not Guide

Hashtags

Not Guide

@notguide · Post #19 · 20.05.2024 г., 17:00

How to buy NOT There are three main ways to purchase NOT: ⁃ Directly in Telegram ⁃ Through centralized exchanges ⁃ Through decentralized exchanges. Detailed information about each method can be found in our instructions. Only use reputable platforms when buying crypto and make sure to share the guide with your friends. Read the instructions here👈 #basic | Not Guide

Hashtags

Not Guide

@notguide · Post #14 · 08.05.2024 г., 14:36

💹How can I buy cryptocurrency? We’ll break it down for you in simple language. We have prepared the MOST complete guide on how to buy cryptocurrency with a bank card. Share our guide with your friends and relatives who want to buy cryptocurrency 🤓 👉You can find the guide here #basic | Not Guide

Hashtags

beng!

@mdmbeng · Post #1949 · 21.06.2024 г., 23:42

#Spotify#Basic Spotify推出新的“Basic”计划,价格更便宜 6月21日消息,Spotify推出了新的“Basic”订阅计划,月费为10.99美元。这一计划包含所有Spotify Premium的音乐和播客功能,但不包括每月15小时的有声书收听时间。 此前,Spotify将Premium个人计划的价格从10.99美元上调至11.99美元。新的Basic计划与Apple Music的个人订阅价格相同,同时Spotify还提供家庭版Basic计划,每月收费16.99美元。 对于不需要有声书功能的用户,Basic计划是一个更具成本效益的选择。 频道:@mdmbeng 投稿:@mdmbeng_Bot

Futplanet

@Fut_planet · Post #11495 · 27.05.2024 г., 19:00

Pep Guardiola dejará el cargo de entrenador del Manchester City el próximo verano. 📱 Jack Gaughan. @Fut_planet⚜️#Pep👔#City🏴󠁧󠁢󠁥󠁮󠁧󠁿

Hashtags

Помогая окружающим, лучше всего делать то, что умеешь делать лучше всего! Поэтому я решил сделать все свои курсы бесплатными и выложить в открытый доступ❗️ Был период в моей жизни, когда эти курсы помогли мне выжить. Теперь, я надеюсь, они помогут кому-то еще. Спасибо всем, кто покупал мои курсы, даже если потом не смотрел 😁 Навыки программирования нынче оцениваются достаточно высоко, это шанс найти работу с зарплатой повыше, попросить повышения или просто улучшить свою продуктивность с помощью кодинга! Так что пользуйтесь 😉 Сразу скажу, курсы не свежие, записанны в 2014-2015 гг. Некоторая информация устарела но примерно на ±90% всё еще актуально. Какие курсы доступны: ▫️Advanced Python Scripting Это компиляция из 3х курсов начального, среднего и высокого уровня сложности. С нуля до создания собственных десктоп-приложений. ▫️ Python for Maya Курс для Python-разработчиков в Maya. Да, Autodesk ушел от нас, но скорее всего, вернётся) ▫️ Python for Nuke Курс для Python-разработчиков в Nuke. ▫️Python for Houdini Курс для Python-разработчиков в Houdini. Самый отстающий в актуальности курс, так как Houdini развивается и меняется очень стремительно и кардинально. Тем не менее, 80-90% курса актуальна. ▫️Houdini Fundamentals Курс поможет познакомиться с крутым софтом для 3D графики — SideFX Houdini. Записан на версии 16. Рассчитан на нулевой уровень подготовки. На этот раз курс не про Python, только про сам софт. Все Python-курсы записаны с Python2, вам потребуется изучить особенности перехода на версию Python3, о чем я не раз говорил на своём канале. Ищите по хэштегу #2to3 💬 Остальные подробности в комментах Переходите на сайт школы и выбирайте курс: ➡️ https://cgninjas.ru/⬅️ 📌@pythonotes #offtop

Hashtags

12
ПретходнаСтраница 1 од 2Следна