TGTGInsightinteligencia telegramLIVE / telegram public index
← Python Academy

TGINSIGHT SIMILAR POSTS

Buscar contenido similar

Canal fuente @python_academy · Post #2346 · 29 ene

Работаем с атрибутами объектов Помимо привычного обращения к атрибутам объектов через точку, в Python есть 4 специальных функции: getattr, setattr, delattr и hasattr. По названиям можно понять, что первые три отвечают за получение, установку и удаление атрибута. А последний проверяет, существует ли атрибут с указанным названием у объекта или нет. Во всех функциях первыми двумя аргументами идут объект и название атрибута в виде строки. В setattr также нужно передать новое значение для атрибута. На практике использование подобного — довольно редкий случай, но иногда может сильно выручить, так что берите на вооружение. #python#tips

Hashtags

Resultados

1,552 posts similares encontrados

Búsqueda global general

Cool Scripts

@cool_scripts · Post #806 · 23/04/2025, 05:38

Sub-Store 小课堂: 根据 Surge 已解锁的功能输出不同的配置 在最新的 iOS 版本中,为 Surge 的托管配置、外部资源和模块 HTTP 请求,新增了 X-Surge-Unlocked-Features 字段,用于服务器判定 Surge 已解锁的功能以区分返回结果 详见 频道消息 在 Sub-Store 中, 可以创建一个文件, 如图. 根据 Surge 已解锁的功能输出不同的配置 const headers = $options?._req?.headers const features = (headers?.['x-surge-unlocked-features'] || headers?.['X-Surge-Unlocked-Features'])?.split(/\s*,\s*/) console.log(features) // 如果包含某个功能 if (features?.includes('encrypted-dns')) { // 就修改内容 $content = $content.replace(/a/,'b') } 🤭Sub-Store 合集 🥰#SubStore#Sub-Store #小课堂#tips#配置#解锁#功能#托管#脚本

djangoproject

@djangoproject · Post #349 · 23/06/2017, 01:35

http://tutos.readthedocs.io/en/latest/source/ndg.html due to the lacks of informations about deploying latests version of #django (1.6+) with latest #nginx (1.6+) using #gunicorn (18+) inside virtual environment of #python 3 (3.4+), it was really hard for a beginner like me to deploy a django project.

Cool Scripts

@cool_scripts · Post #658 · 15/12/2024, 13:49

Sub-Store 小课堂: 按节点名称排序 ▎节点操作 - 正则排序 如图操作即可实现 从上往下, 香港节点, 日本节点, 美国节点, 其他节点 PS: 你可以将你维护好的这个操作复制并导入到其他需要使用的地方. 如图点击复制按钮. 再需要使用的地方, 点击 "从剪贴板导入" 即可 ℹ️ 相关内容 Sub-Store 相关教程/脚本整合 #SubStore#Sub-Store #小课堂#tips#排序#节点#正则排序#节点排序

Repositorio data science

@repo_science · Post #3513 · 12/08/2023, 21:31

#python#django#MySQL 🐍 The Ultimate Django Series Part 3 Description This course is the 3 part of a series. Build production-grade backends with industry best practices.A comprehensive, fun and highly-practical course that prepares you for the job • Building an API to upload files • Sending emails • Running background tasks with Celery • Scheduling periodic tasks • Monitoring scheduled tasks • Writing automated tests with PyTest • Running performance tests with Locust • Profiling with Silk • Implementing caching with Redis • Managing static assets • Logging • Managing development and production configuration • Deploying to Heroku • Django best practices • And much, much more! Author: Mosh Hamedani Language: English Duration: 4h+ 🔗Link ----- Main channel:@repo_science Coupons: @freecoupons_reposcience -----

Repositorio data science

@repo_science · Post #3512 · 12/08/2023, 14:45

#python#django#MySQL 🐍 The Ultimate Django Series Part2 Description This course is the second part of a series. The first part covers the fundamentals of building websites with Python and Django. In this part, you'll learn: • Fundamentals of RESTful APIs • Working with class-based views • Creating serializers • Using mixins and generic views • Generating routes with routers • Filtering, searching, sorting, and pagination • Django authentication system • Creating custom User models • Securing APIs with JSON Web Tokens (JWT) • Using signals to decouple apps • Troubleshooting common errors • Applying best practices • And much, much more! Author: Mosh Hamedani Language: English Duration: 5h 41m 🔗Link ----- Main channel:@repo_science Coupons: @freecoupons_reposcience -----

Repositorio data science

@repo_science · Post #3510 · 11/08/2023, 14:19

#python#django#MySQL 🐍 The Ultimate Django Series Description Master Django to Build Awesome Backends! This course is the first part of a series. In this part, you'll learn • The fundamentals of web development • Installing Django • Creating and understanding Django projects • Building reusable Django apps • Building a data model for an e-commerce application • Implementing generic relationships using Content Types Framework • Setting up and using MySQL in your Django projects • Creating and updating database tables using Django migrations • Populating your database dummy data • Querying and manipulating data using Django ORM • Managing your application data using Django admin • Django best practices • And much, much more! Author: Mosh Hamedani Language: English Duration: 4h 48m Subtitle: Included 🔗Link ----- Main channel:@repo_science Coupons: @freecoupons_reposcience -----

Repositorio data science

@repo_science · Post #3409 · 08/07/2023, 18:11

#python#docker#django 😎 Django Rest Framework with Docker A Practical Guide In this tutorial you will learn: - How to create APIs with Django Rest Framework - Use Docker - Create protected routes - Login with HttpOnly Cookies - Use APIViews, ViewSets, Generic API Views - Authorize users for different routes - Upload Images - Export CSV files 🔗Link ----- Main channel:@repo_science Coupons:@freecoupons_reposcience -----

djangoproject

@djangoproject · Post #414 · 18/08/2017, 19:24

# #Python 3.3+ has a std # lib module for displaying # #tracebacks even when Python # "dies", e.g with a #segfault: import faulthandler faulthandler.enable() # Can also be enabled with # "python -X faulthandler" # from the command line. # Learn more here: # https://docs.python.org/3/library/faulthandler.html

djangoproject

@djangoproject · Post #376 · 12/07/2017, 08:18

http://www.evontech.com/what-we-are-saying/entry/python-36-adds-new-secrets-module-for-robust-account-and-password-security.html #Python 3.6 adds New secrets Module for #Robust_Account and #Password_Security

GitHub 红队武器库🚨

@GithubRedTeam · Post #78423 · 02/04/2026, 10:02

🚨 GitHub 监控消息提醒 🚨发现关键词:#反序列化#Java#PHP#Python#Fastjson#Jackson#Shiro 📦项目名称:fanxulieh-bachang 👤项目作者:hujiaozhuzhu 🛠开发语言: HTML ⭐Star数量: 1 | 🍴Fork数量: 0 📅更新时间: 2026-04-02 09:41:23 📝项目描述: 反序列化漏洞靶场 🔗点击访问项目地址

GitHub 红队武器库🚨

@GithubRedTeam · Post #78331 · 01/04/2026, 18:02

🚨 GitHub 监控消息提醒 🚨发现关键词:#反序列化#Java#PHP#Python#Fastjson#Jackson#Shiro 📦项目名称:test 👤项目作者:hujiaozhuzhu 🛠开发语言: HTML ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-04-01 17:07:43 📝项目描述: 反序列化漏洞靶场 🔗点击访问项目地址

12•••99100101102103•••129130