Работаем с атрибутами объектов
Помимо привычного обращения к атрибутам объектов через точку, в Python есть 4 специальных функции: getattr, setattr, delattr и hasattr.
По названиям можно понять, что первые три отвечают за получение, установку и удаление атрибута. А последний проверяет, существует ли атрибут с указанным названием у объекта или нет.
Во всех функциях первыми двумя аргументами идут объект и название атрибута в виде строки. В setattr также нужно передать новое значение для атрибута.
На практике использование подобного — довольно редкий случай, но иногда может сильно выручить, так что берите на вооружение.
#python#tips
░⃟───────────────────░⃟
- nuevo hilo !
Aquí les dejo con el post que les había prometido hablando del visionboard . Este año es mi primera vez haciendo uno, y tenía muchas dudas, pero después de buscar varios vídeos en YouTube encontré una chica que explica súper bien el tema de definir tus objetivos y propósitos. Consideren este hilo un resumen de su video y un tutorial de cómo hacerlo en digital . Sin más que decir espero que les guste y ya estaremos retomando el curso habitual del canal.
Atte. Pecas05
Link: https://t.me/Apuntes_Digitales/4243
🥒: @Apuntes_Digitales╏#tips ; #tutoriales
░⃟───────────────────░⃟
░⃟───────────────────░⃟
- ¿ Cómo hacer stickers en powerpoint ?
En este pequeño hilo les enseño el procedimiento para lograr convertir tus imágenes en formato PNG a stickers ✨ . Hace poco descubrí como hacerlo y me sentí dios jaajajja . Espero que entiendan bien mis explicaciones, cualquier duda pueden dejarlas en los comentarios que siempre respondo 😼 . Espero que tengan un lindo día y hayan tomado agua !
Atte. Pecas05
💖: @Apuntes_Digitales╏#tips ; #tutorial
░⃟───────────────────░⃟
https://online.dr-chuck.com/about.php
This is the web site of the "University of Dr. Chuck". I teach a number of free/online/open courses based on free and open materials and this site is the course catalog for my free courses.
#learn#python
https://python.swaroopch.com/
A Byte of #Python
"A Byte of Python" is a free book on programming using the Python language. It serves as a tutorial or guide to the Python language for a beginner audience. If all you know about computers is how to save text files, then this is the book for you.
#learn
https://intellipaat.com/tutorial/python-tutorial/
This #Python free tutorial is for beginners as an introduction to learn this powerful programming language.
#learn
# In Python 3.4+ you can use
# contextlib.suppress() to selectively
# ignore specific exceptions:
import contextlib
with contextlib.suppress(FileNotFoundError):
os.remove('somefile.tmp')
# This is equivalent to:
try:
os.remove('somefile.tmp')
except FileNotFoundError:
pass
# contextlib.suppress docstring:
#
# "Return a context manager that suppresses any
# of the specified exceptions if they occur in the body
# of a with statement and then resumes execution with
# the first statement following the end of
# the with statement."
#python#learn
https://intellipaat.com/tutorial/python-tutorial/
Often, programmers fall for Python because of its minimum compilation time and speedier edit-test-debug cycle. Python is a go-programming language that has automated the way programmers code. This is indeed one of the major reasons developers have switched their interest to Python programming language. It helps you write simple scripts at relatively faster rate compared to Java, C, C++ .
Get #Python Certification in just 16 Hours
GET CERTIFIED
#learn
http://docs.python-guide.org/en/latest/
Greetings, Earthling! Welcome to The Hitchhiker’s Guide to Python.
This is a living, breathing guide. If you’d like to contribute, fork us on GitHub!
This handcrafted guide exists to provide both novice and expert Python developers a best practice handbook to the installation, configuration, and usage of Python on a daily basis.
This guide is opinionated in a way that is almost, but not quite, entirely unlike Python’s official documentation. You won’t find a list of every #Python web framework available here. Rather, you’ll find a nice concise list of highly recommended options.
#learn
#vacancy#вакансия#python#data engineer #remote
Компания Swift Invention ищет разработчиков:
https://www.swiftinvention.com/#/
Data Engineer (Python)
Full-time
Remote
4000-5000USD
Required skills:
- 3+ years of work experience in developing data-related solutions
- Strong background in Python for data collecting and analysis
- Experience with building and maintaining web scrapers (data mining)
- Experience with preparing data for machine learning (ETL)
- Experience with relational databases (SQLite/MySQL/PostgreSQL)
- Bachelor’s degree or higher in computer science or a related field
Desired skills:
- Understanding of data modeling concepts
- Experience with creating ML data for text classification
- Experience with cloud computing platforms (e.g., AWS, Azure, GCP)
We offer:
- Paid time off (24 working days per year)
- Equipment: MacBook Pro or Dell laptop (m1, m2, i7, 16/32GB RAM)
- Flexible working hours
About the project:
Pakira is a SaaS industry directory, chat, forum, and order tracking for businesses in the wholesale wood industry.
Contacts: [email protected]
tg @HelenSwiftInv
guia para ser mejor estudiante pt2 ⭐️📃
disculpen que la edición sea casi igual como dije estuve enferma y quería sacar este post lo más rápido posible.
Pd: cuál fue tu última lectura ?
#guía#tips ! t.me/apuntes_digitales