Login
Discover
Waves
Communities
Raidstead
Write
Login
Signup
Topics
#
python-tips
Explore topics
#python-tips
Global
Trending
Hot
New
Payout
Muted
Promoted
#python-tips
New
#python-tips
Follow to get notified about new posts with this tag
Get #python-tips by email
Follow
themarkymark
python-tips
6y
[Python Tips] Are you still using Pip?
Introducing pipenv
$ 44.865
341
9
2
themarkymark
STEMGeeks
7y
[Python Tips] Easy serialization with Pickle
In computer science, in the context of data storage, serialization (or serialisation) is the process of translating data structures or object state into a format that can be stored (for example, in a file
$ 16.957
435
6
3
themarkymark
development
7y
[Python Tips] Requests
Requests is a powerful and easy to use HTTP library for Python Need to get HTML data? Need to interact with an API? Requests can do that. While Python has a built-in library urllib3 for these situations,
themarkymark
development
7y
[Python Tips] The New Walrus Operator
Walrus Operator The Walrus Operator is a new assignment operator announced in Python 3.8 that looks like a walrus. The walrus operator is used to simplify code when you need an expression while storing
dvian
Nature Lovers
3d
Published via Ecency
Promoted
Green Spaces : A Little Piece of Nature in Our Daily Lives
Green spaces bring a special kind of beauty to our surroundings. Whether it is a small garden, a park filled with trees, or a quiet corner surrounded by plants, these places offer something valuable to
themarkymark
development
7y
!
Downvoted by users, Reveal content
[Python Tips] Caching data with CacheTools
My Python Tips Series f-strings in Python 3.6 Underscores in numeric literals A better interactive shell Secrets Module - New in 3.6 PEP 8 Slices Named Tuples Destructuring Counter Type Annotation Jupyter
themarkymark
utopian-io
8y
[Python Tips] Beyond print()
Beyond print() print() is a great quick and dirty way to log to the console in python. Even senior developers will use print() all the time. For anything more than a quick app you should be using a real
themarkymark
utopian-io
8y
[Python Tips] Apscheduler
Introducing Apscheduler Apscheduler is a job manager (similar to cron) to run sections of code on a schedule. I use it frequently to manage jobs that need to run at a set interval. Apscheduler can be used
themarkymark
programming
8y
[Python Tips] Knowing what exists
Being a good programmer isn't just about knowing how to do everything or even being very good at it. One of the most valuable skills of a good programmer is just knowing something exists. Sometimes it
jimmy.adames
Actifit
6d
Promoted
St. Petersburg Black Friday Walk, My Actifit Report Card: November 27 2026
It’s only about 6:30pm eastern time and Tiffany and I are in bed taking naps a resting before we begin getting ready for dinner. Dariel and Jacen are in their room resting as well. We all started our day
themarkymark
programming
8y
[Python Tips] DRY Programming
This really isn't about Python directly, but it is an important topic every developer should know. DRY (Don't Repeat Yourself) is a popular programming concept of avoiding repeat code. The main goal of
themarkymark
programming
8y
[Python Tips] Expiring Dict
Expiring Dict Expiring dict is a very useful library for caching data via ordered dictionaries. It works similar to a regular dictionary but will cache data for a short period of time. It can be used as
themarkymark
programming
9y
[Python Tips] Virtual Environments
Python Virtual Environment Most beginner developers have a hard time understanding virtual environments, why they are useful and how to use them. I am going to explain why you want to use them, and then
themarkymark
programming
9y
[Python Tips] Getting Help
There are a few handy functions built into Python to help the developer get more information about an object. help() If you want to get the documentation on an object or function you can use the help()
edward777
Holos&Lotus
4h
Published via Ecency
Promoted
Orgulloso de ser TÍO EDWARD // Proud to be UNCLE EDWARD [ES/EN)
Hola comunidad de @holos-lotus. Mi novia (@lianny) se me adelantó con el tema de este post y prácticamente me hizo una invitación formal que no puedo pasar por alto, he sido lento al publicar o comentar
themarkymark
programming
9y
[Python Tips] Jupyter Notebooks
This is probably my favorite tip to offer. If you haven't heard of Jupyter Notebooks, this is going to be a huge game changer for you. Source While I only use Jupyter Notebooks with Python, I know it can
themarkymark
programming
9y
[Python Tips] Type Annotation
Python is a dynamic language that does not require you to specify data types as you create variables or supply return types. This makes development a lot easier but can introduce unexpected bugs when things
themarkymark
programming
9y
[Python Tips] Counter
Counter Counter is a collections object that keeps count of how many times similar values are found. Counter is part of the collections module and is a default package, so you do not need to install it.
themarkymark
programming
9y
[Python Tips] Destructuring
This is an easy tip, but an extremely useful feature of Python. Destructuring lists Let's take the following sample list: my_list = ['a', 'b','c'] I want to put each list element into their own variable,
darth-azrael
retrocomputing
5d
Published via Ecency
Promoted
Compute!'s Gazzette (March 1990)
Compute!'s Gazette was one of a couple of major magazines dedicated to the Commodore 64. The March 1990 issue includes:
themarkymark
programming
9y
[Python Tips] Named Tuples
What is a tuple? Tuples are very similar to lists, but it is unable to be changed (immutable). This provides a tiny performance and memory savings. More importantly provides a hint to the interpreter and
themarkymark
programming
9y
[Python Tips] Slices
This isn't as much of a tip but a walkthrough on how to use slices and all the cool things you can do with them. Slices are a very powerful feature available to Python developers that are worth understanding
themarkymark
programming
9y
[Python Tips] PEP 8
PEP what? PEP 8 is a coding standard for Python by Guido van Rossum. It defines a set of guidelines for writing Python code in a universally accepted writing style. Any good developer worth their salt
themarkymark
programming
9y
[Python Tips] Secrets Module - New in 3.6
Another new Python 3.6 feature is the addition of the secrets module, a replacement for random when generating cryptographically strong random numbers. When creating random numbers for with passwords or
Older →
Explore communities