diff --git a/content/snippets/python/s/6-f-strings-tips.md b/content/snippets/python/s/6-f-strings-tips.md index fcdfdce93f6..377d23fa263 100644 --- a/content/snippets/python/s/6-f-strings-tips.md +++ b/content/snippets/python/s/6-f-strings-tips.md @@ -5,7 +5,7 @@ language: python tags: [string] cover: sea-view excerpt: Python's f-strings can do a lot more than you might expect. Learn a few useful tips and tricks in this quick guide. -listed: true +listed: false dateModified: 2021-07-20 --- diff --git a/content/snippets/python/s/bare-except.md b/content/snippets/python/s/bare-except.md index d4eeb5fcde0..f4b6a3b8ea0 100644 --- a/content/snippets/python/s/bare-except.md +++ b/content/snippets/python/s/bare-except.md @@ -6,7 +6,7 @@ language: python tags: [error] cover: dark-cloud excerpt: It's generally not a good idea to use bare `except` clause in Python, but do you know why? -listed: true +listed: false dateModified: 2022-02-20 --- diff --git a/content/snippets/python/s/binomial-coefficient.md b/content/snippets/python/s/binomial-coefficient.md index 8a5ed34d869..6a9a3f4ff1e 100644 --- a/content/snippets/python/s/binomial-coefficient.md +++ b/content/snippets/python/s/binomial-coefficient.md @@ -5,7 +5,7 @@ language: python tags: [math] cover: digital-nomad-5 excerpt: Calculate the number of ways to choose `k` items from `n` items without repetition and without order. -listed: true +listed: false dateModified: 2024-05-09 --- diff --git a/content/snippets/python/s/byte-size.md b/content/snippets/python/s/byte-size.md index 6d9bb297e5d..2192e547130 100644 --- a/content/snippets/python/s/byte-size.md +++ b/content/snippets/python/s/byte-size.md @@ -6,7 +6,7 @@ language: python tags: [string] cover: river-house-lights excerpt: Find the byte size of a Python string, containing special characters or not. -listed: true +listed: false dateModified: 2024-08-16 --- diff --git a/content/snippets/python/s/chunk-list.md b/content/snippets/python/s/chunk-list.md index 0528e749db2..82c3d7ba249 100644 --- a/content/snippets/python/s/chunk-list.md +++ b/content/snippets/python/s/chunk-list.md @@ -6,7 +6,7 @@ language: python tags: [list] cover: succulent-10 excerpt: Chunks a list into a set amount of smaller lists or into lists of a specified size. -listed: true +listed: false dateModified: 2024-07-17 --- diff --git a/content/snippets/python/s/code-anatomy-performant-python.md b/content/snippets/python/s/code-anatomy-performant-python.md index 609e5bb9076..d81a1a1ed4f 100644 --- a/content/snippets/python/s/code-anatomy-performant-python.md +++ b/content/snippets/python/s/code-anatomy-performant-python.md @@ -6,7 +6,7 @@ language: python tags: [list,performance] cover: walking-on-top excerpt: Writing efficient Python code can be tricky. Read how we optimize our list snippets to increase performance using a couple of simple tricks. -listed: true +listed: false dateModified: 2021-11-07 --- diff --git a/content/snippets/python/s/collect-dictionary.md b/content/snippets/python/s/collect-dictionary.md index ccb401c6cd4..df65e320ca9 100644 --- a/content/snippets/python/s/collect-dictionary.md +++ b/content/snippets/python/s/collect-dictionary.md @@ -5,7 +5,7 @@ language: python tags: [dictionary] cover: working-bee excerpt: Invert a dictionary with non-unique hashable values. -listed: true +listed: false dateModified: 2024-05-08 --- diff --git a/content/snippets/python/s/date-difference.md b/content/snippets/python/s/date-difference.md index 13f2d09774e..6dd6f8f36d8 100644 --- a/content/snippets/python/s/date-difference.md +++ b/content/snippets/python/s/date-difference.md @@ -6,7 +6,7 @@ language: python tags: [date] cover: succulent-9 excerpt: Calculates the day, month, or year difference between two dates. -listed: true +listed: false dateModified: 2024-07-16 --- diff --git a/content/snippets/python/s/days-ago-days-from-now-add-subtract-dates.md b/content/snippets/python/s/days-ago-days-from-now-add-subtract-dates.md index 2dc1e63de4d..7258e18e91e 100644 --- a/content/snippets/python/s/days-ago-days-from-now-add-subtract-dates.md +++ b/content/snippets/python/s/days-ago-days-from-now-add-subtract-dates.md @@ -6,7 +6,7 @@ language: python tags: [date] cover: cup-of-orange excerpt: Calculate dates relative to today or a given date by adding or subtracting days. -listed: true +listed: false dateModified: 2024-05-19 --- diff --git a/content/snippets/python/s/dict-getkey-vs-dictkey.md b/content/snippets/python/s/dict-getkey-vs-dictkey.md index 56f0f1e9281..82b28e03cc0 100644 --- a/content/snippets/python/s/dict-getkey-vs-dictkey.md +++ b/content/snippets/python/s/dict-getkey-vs-dictkey.md @@ -6,7 +6,7 @@ language: python tags: [dictionary] cover: compass-2 excerpt: Learn the difference between two common ways to access values in Python dictionaries and level up your code today. -listed: true +listed: false dateModified: 2021-06-12 --- diff --git a/content/snippets/python/s/dictionary-to-list.md b/content/snippets/python/s/dictionary-to-list.md index b6a601ff745..fd12585c719 100644 --- a/content/snippets/python/s/dictionary-to-list.md +++ b/content/snippets/python/s/dictionary-to-list.md @@ -6,7 +6,7 @@ language: python tags: [dictionary,list] cover: new-york excerpt: Convert a dictionary to a list of tuples and vice versa. -listed: true +listed: false dateModified: 2024-07-04 --- diff --git a/content/snippets/python/s/empty-list.md b/content/snippets/python/s/empty-list.md index 3880dc5a001..7eaf7defce6 100644 --- a/content/snippets/python/s/empty-list.md +++ b/content/snippets/python/s/empty-list.md @@ -6,7 +6,7 @@ language: python tags: [list] cover: salad-2 excerpt: There's a good way to test the emptiness of a Python list and a better one. Which one are you using? -listed: true +listed: false dateModified: 2023-01-15 --- diff --git a/content/snippets/python/s/file-close.md b/content/snippets/python/s/file-close.md index 351976adba6..371326554dd 100644 --- a/content/snippets/python/s/file-close.md +++ b/content/snippets/python/s/file-close.md @@ -6,7 +6,7 @@ language: python tags: [file] cover: flower-pond excerpt: When working with files in Python, it's important to ensure that the file is closed correctly. Here are a couple of ways to do that. -listed: true +listed: false dateModified: 2022-02-03 --- diff --git a/content/snippets/python/s/filter-unique.md b/content/snippets/python/s/filter-unique.md index b449e5171d2..3021b08017b 100644 --- a/content/snippets/python/s/filter-unique.md +++ b/content/snippets/python/s/filter-unique.md @@ -5,7 +5,7 @@ language: python tags: [list] cover: feathers excerpt: Filter unique or non-unique values from a list using `collections.Counter`. -listed: true +listed: false dateModified: 2024-06-14 --- diff --git a/content/snippets/python/s/find-matches-list-dictionary.md b/content/snippets/python/s/find-matches-list-dictionary.md index 50ae4cec35e..c44b3b24534 100644 --- a/content/snippets/python/s/find-matches-list-dictionary.md +++ b/content/snippets/python/s/find-matches-list-dictionary.md @@ -6,7 +6,7 @@ language: python tags: [list,dictionary] cover: tree-roots excerpt: Learn how to find the matching values, indexes or keys in a list or dictionary. -listed: true +listed: false dateModified: 2024-08-20 --- diff --git a/content/snippets/python/s/first-last-initial-head-tail.md b/content/snippets/python/s/first-last-initial-head-tail.md index 4f75a63b467..0e6b5351b4a 100644 --- a/content/snippets/python/s/first-last-initial-head-tail.md +++ b/content/snippets/python/s/first-last-initial-head-tail.md @@ -6,7 +6,7 @@ language: python tags: [list] cover: pop-of-green excerpt: Learn how to perform some very common operations on Python lists, such as getting the first, last, initial, head, and tail elements. -listed: true +listed: false dateModified: 2024-05-15 --- diff --git a/content/snippets/python/s/fstrings-str-format.md b/content/snippets/python/s/fstrings-str-format.md index 88bbf0b8a4a..5bc612f3425 100644 --- a/content/snippets/python/s/fstrings-str-format.md +++ b/content/snippets/python/s/fstrings-str-format.md @@ -6,7 +6,7 @@ language: python tags: [string] cover: feathers excerpt: Learn two ways to format a string in Python with this quick tip. -listed: true +listed: false dateModified: 2021-06-12 --- diff --git a/content/snippets/python/s/hamming-distance.md b/content/snippets/python/s/hamming-distance.md index a2087f04359..0bf0baf10fc 100644 --- a/content/snippets/python/s/hamming-distance.md +++ b/content/snippets/python/s/hamming-distance.md @@ -5,7 +5,7 @@ language: python tags: [math] cover: tulips-and-reeds excerpt: Learn how to calculate the Hamming distance between two values. -listed: true +listed: false dateModified: 2024-05-11 --- diff --git a/content/snippets/python/s/hex-to-rgb.md b/content/snippets/python/s/hex-to-rgb.md index 2a1aa350d18..7f54a3e83db 100644 --- a/content/snippets/python/s/hex-to-rgb.md +++ b/content/snippets/python/s/hex-to-rgb.md @@ -5,7 +5,7 @@ language: python tags: [string,math] cover: sleepy-cat excerpt: Converts a hexadecimal color code to a tuple of integers corresponding to its RGB components and vice versa. -listed: true +listed: false dateModified: 2024-08-11 --- diff --git a/content/snippets/python/s/identity-equality.md b/content/snippets/python/s/identity-equality.md index 8b9f764bf24..9752101ba5d 100644 --- a/content/snippets/python/s/identity-equality.md +++ b/content/snippets/python/s/identity-equality.md @@ -6,7 +6,7 @@ language: python tags: [type,comparison] cover: umbrellas excerpt: Python provides two distinct comparison operators for different task. Stop mixing them up using this quick guide. -listed: true +listed: false dateModified: 2021-06-12 --- diff --git a/content/snippets/python/s/initialize-list-with-range-value-daterange.md b/content/snippets/python/s/initialize-list-with-range-value-daterange.md index 8f07d7b9ea5..9b1a440a6b6 100644 --- a/content/snippets/python/s/initialize-list-with-range-value-daterange.md +++ b/content/snippets/python/s/initialize-list-with-range-value-daterange.md @@ -6,7 +6,7 @@ language: python tags: [list,date] cover: succulent-3 excerpt: Master list initialization, using simple techniques and level up your Python skills. -listed: true +listed: false dateModified: 2024-05-30 --- diff --git a/content/snippets/python/s/is-weekend-or-weekday.md b/content/snippets/python/s/is-weekend-or-weekday.md index a1e5823df77..ca3bf9f749d 100644 --- a/content/snippets/python/s/is-weekend-or-weekday.md +++ b/content/snippets/python/s/is-weekend-or-weekday.md @@ -5,7 +5,7 @@ language: python tags: [date] cover: two-lighthouses excerpt: Checks if the given date is a weekend or a weekday. -listed: true +listed: false dateModified: 2024-05-23 --- diff --git a/content/snippets/python/s/key-of-min-max.md b/content/snippets/python/s/key-of-min-max.md index 6fb8ff00dd5..9f01618b6c8 100644 --- a/content/snippets/python/s/key-of-min-max.md +++ b/content/snippets/python/s/key-of-min-max.md @@ -6,7 +6,7 @@ language: python tags: [dictionary] cover: goat-wooden-cottage excerpt: Find the key of the minimum or maximum value in a Python dictionary. -listed: true +listed: false dateModified: 2024-05-08 --- diff --git a/content/snippets/python/s/lists-tuples.md b/content/snippets/python/s/lists-tuples.md index 3f80ca91a84..922cb99cfed 100644 --- a/content/snippets/python/s/lists-tuples.md +++ b/content/snippets/python/s/lists-tuples.md @@ -6,7 +6,7 @@ language: python tags: [list] cover: red-mountain excerpt: Learn how Python's lists and tuples are different and level up your code today. -listed: true +listed: false dateModified: 2021-06-12 --- diff --git a/content/snippets/python/s/lowercase.md b/content/snippets/python/s/lowercase.md index 4ce4f6cd905..3659a58797f 100644 --- a/content/snippets/python/s/lowercase.md +++ b/content/snippets/python/s/lowercase.md @@ -6,7 +6,7 @@ language: python tags: [string] cover: type-stamps excerpt: Learn of the two different ways to convert strings to lowercase in Python and understand when you should use each one with this quick guide. -listed: true +listed: false dateModified: 2021-06-12 --- diff --git a/content/snippets/python/s/map-values.md b/content/snippets/python/s/map-values.md index 253edf81ffb..1df80a60d52 100644 --- a/content/snippets/python/s/map-values.md +++ b/content/snippets/python/s/map-values.md @@ -5,7 +5,7 @@ language: python tags: [dictionary] cover: pineapple-laptop excerpt: Create a dictionary with the same keys as the provided dictionary and values generated by running the provided function for each value. -listed: true +listed: false dateModified: 2024-08-03 --- diff --git a/content/snippets/python/s/min-max-element-index.md b/content/snippets/python/s/min-max-element-index.md index c1b369f7c8e..fd592c1040c 100644 --- a/content/snippets/python/s/min-max-element-index.md +++ b/content/snippets/python/s/min-max-element-index.md @@ -5,7 +5,7 @@ language: python tags: [math,list] cover: two-cities excerpt: Find the index of the element with the minimum or maximum value in a list. -listed: true +listed: false dateModified: 2024-07-18 --- diff --git a/content/snippets/python/s/mutable-default-arguments.md b/content/snippets/python/s/mutable-default-arguments.md index bfee061a073..5a037a4cf54 100644 --- a/content/snippets/python/s/mutable-default-arguments.md +++ b/content/snippets/python/s/mutable-default-arguments.md @@ -6,7 +6,7 @@ language: python tags: [function] cover: goat-wooden-cottage excerpt: Mutable default arguments can trip up Python beginners and veterans alike. Here's a quick workaround to deal with them. -listed: true +listed: false dateModified: 2022-02-27 --- diff --git a/content/snippets/python/s/named-tuples.md b/content/snippets/python/s/named-tuples.md index 1c18010185e..8b1249e2f59 100644 --- a/content/snippets/python/s/named-tuples.md +++ b/content/snippets/python/s/named-tuples.md @@ -6,7 +6,7 @@ language: python tags: [list,dictionary] cover: mask-quiet excerpt: Understand Python's named tuples and start using them in your projects today. -listed: true +listed: false dateModified: 2021-06-12 --- diff --git a/content/snippets/python/s/num-to-range.md b/content/snippets/python/s/num-to-range.md index 4d29bc63934..cb2c467b141 100644 --- a/content/snippets/python/s/num-to-range.md +++ b/content/snippets/python/s/num-to-range.md @@ -6,7 +6,7 @@ language: python tags: [math] cover: round-leaves excerpt: Map a number from one range to another range. -listed: true +listed: false dateModified: 2024-07-02 --- diff --git a/content/snippets/python/s/offset.md b/content/snippets/python/s/offset.md index cb14393697f..77a09209e51 100644 --- a/content/snippets/python/s/offset.md +++ b/content/snippets/python/s/offset.md @@ -6,7 +6,7 @@ language: python tags: [list] cover: digital-nomad-10 excerpt: Move a specified amount of elements to the end of a list. -listed: true +listed: false dateModified: 2024-05-24 --- diff --git a/content/snippets/python/s/prime-factors.md b/content/snippets/python/s/prime-factors.md index d33810f0326..a725f03373a 100644 --- a/content/snippets/python/s/prime-factors.md +++ b/content/snippets/python/s/prime-factors.md @@ -5,7 +5,7 @@ language: python tags: [math,algorithm] cover: river-flow excerpt: Find the list of prime factors of a number, using a simple Python function. -listed: true +listed: false dateModified: 2024-05-12 --- diff --git a/content/snippets/python/s/setup-python3-pip3-as-default.md b/content/snippets/python/s/setup-python3-pip3-as-default.md index 129fcb8d7fe..b1a81625918 100644 --- a/content/snippets/python/s/setup-python3-pip3-as-default.md +++ b/content/snippets/python/s/setup-python3-pip3-as-default.md @@ -6,7 +6,7 @@ language: python tags: [setup] cover: avocado-slices excerpt: A very common problem when working with Python is having to remember the correct version. Luckily, there's an easy fix for that. -listed: true +listed: false dateModified: 2021-06-12 --- diff --git a/content/snippets/python/s/slice-assignment.md b/content/snippets/python/s/slice-assignment.md index b3e49647718..01cc254d7b4 100644 --- a/content/snippets/python/s/slice-assignment.md +++ b/content/snippets/python/s/slice-assignment.md @@ -6,7 +6,7 @@ language: python tags: [list] cover: sliced-fruits excerpt: Learn everything you need to know about Python's slice assignment with this handy guide. -listed: true +listed: false dateModified: 2021-06-12 --- diff --git a/content/snippets/python/s/slice-notation.md b/content/snippets/python/s/slice-notation.md index e6698ecd4a5..c03f2233ccb 100644 --- a/content/snippets/python/s/slice-notation.md +++ b/content/snippets/python/s/slice-notation.md @@ -6,7 +6,7 @@ language: python tags: [list] cover: sliced-fruits excerpt: Learn everything you need to know about Python's slice notation with this handy guide. -listed: true +listed: false dateModified: 2021-06-12 --- diff --git a/content/snippets/python/s/slugify.md b/content/snippets/python/s/slugify.md index 3d6d9651b01..d02b2ed4737 100644 --- a/content/snippets/python/s/slugify.md +++ b/content/snippets/python/s/slugify.md @@ -6,7 +6,7 @@ language: python tags: [string,regexp] cover: sliced-fruits excerpt: Convert a string to a URL-friendly slug, using Python and regular expressions. -listed: true +listed: false dateModified: 2024-07-13 --- diff --git a/content/snippets/python/s/sort-by-indexes.md b/content/snippets/python/s/sort-by-indexes.md index bd0d9383606..2987c77f867 100644 --- a/content/snippets/python/s/sort-by-indexes.md +++ b/content/snippets/python/s/sort-by-indexes.md @@ -6,7 +6,7 @@ language: python tags: [list] cover: little-white-flowers excerpt: Sort a Python list based on another list containing the desired indexes. -listed: true +listed: false dateModified: 2024-08-06 --- diff --git a/content/snippets/python/s/sort-dictionary-tuple-key.md b/content/snippets/python/s/sort-dictionary-tuple-key.md index 59801376c81..21f36aecdd0 100644 --- a/content/snippets/python/s/sort-dictionary-tuple-key.md +++ b/content/snippets/python/s/sort-dictionary-tuple-key.md @@ -6,7 +6,7 @@ language: python tags: [list,dictionary] cover: matrix-flow excerpt: Learn how to sort a Python dictionary list using a tuple key. -listed: true +listed: false dateModified: 2023-01-04 --- diff --git a/content/snippets/python/s/sortedlist-vs-list-sort.md b/content/snippets/python/s/sortedlist-vs-list-sort.md index de8914f0e68..27358e0afb2 100644 --- a/content/snippets/python/s/sortedlist-vs-list-sort.md +++ b/content/snippets/python/s/sortedlist-vs-list-sort.md @@ -6,7 +6,7 @@ language: python tags: [list] cover: duck-plants excerpt: Learn the difference between Python's built-in list sorting methods and when one is preferred over the other. -listed: true +listed: false dateModified: 2021-06-12 --- diff --git a/content/snippets/python/s/string-capitalize-camel-snake-kebab.md b/content/snippets/python/s/string-capitalize-camel-snake-kebab.md index 31f9ee677c8..ea4e8767d4a 100644 --- a/content/snippets/python/s/string-capitalize-camel-snake-kebab.md +++ b/content/snippets/python/s/string-capitalize-camel-snake-kebab.md @@ -6,7 +6,7 @@ language: python tags: [string,regexp] cover: digital-nomad-9 excerpt: Learn how to capitalize, camelcase, snake case, and kebab case strings in Python. -listed: true +listed: false dateModified: 2024-08-25 --- diff --git a/content/snippets/python/s/string-is-empty.md b/content/snippets/python/s/string-is-empty.md index 9180d36e7d7..43f29e99d5d 100644 --- a/content/snippets/python/s/string-is-empty.md +++ b/content/snippets/python/s/string-is-empty.md @@ -6,7 +6,7 @@ language: python tags: [string] cover: tea-laptop-table excerpt: Here are two quick and elegant ways to check if a string is empty in Python. -listed: true +listed: false dateModified: 2022-08-05 --- diff --git a/content/snippets/python/s/strip-string-prefix.md b/content/snippets/python/s/strip-string-prefix.md index 263561f8e70..22be5e2e607 100644 --- a/content/snippets/python/s/strip-string-prefix.md +++ b/content/snippets/python/s/strip-string-prefix.md @@ -6,7 +6,7 @@ language: python tags: [string] cover: cave-exploration excerpt: Using `str.lstrip()` to strip a prefix from a string might not be exactly what you're looking for. Here's what you should use instead. -listed: true +listed: false dateModified: 2024-01-18 --- diff --git a/content/snippets/python/s/sum-of-powers.md b/content/snippets/python/s/sum-of-powers.md index aefdddba2c2..14a31a25393 100644 --- a/content/snippets/python/s/sum-of-powers.md +++ b/content/snippets/python/s/sum-of-powers.md @@ -5,7 +5,7 @@ language: python tags: [math] cover: river-flow excerpt: Find the sum of the powers of all the numbers from `start` to `end` (both inclusive). -listed: true +listed: false dateModified: 2024-05-10 --- diff --git a/content/snippets/python/s/swap-variables.md b/content/snippets/python/s/swap-variables.md index c824693f3b5..bb996f25c25 100644 --- a/content/snippets/python/s/swap-variables.md +++ b/content/snippets/python/s/swap-variables.md @@ -6,7 +6,7 @@ language: python tags: [variables] cover: leaves-read excerpt: Learn 3 easy ways to swap the values of two variables in Python. -listed: true +listed: false dateModified: 2021-11-07 --- diff --git a/content/snippets/python/s/to-roman-numeral.md b/content/snippets/python/s/to-roman-numeral.md index 290e8393673..cbbd757320c 100644 --- a/content/snippets/python/s/to-roman-numeral.md +++ b/content/snippets/python/s/to-roman-numeral.md @@ -6,7 +6,7 @@ language: python tags: [math,string] cover: tram-car excerpt: Convert an integer to its roman numeral representation. -listed: true +listed: false dateModified: 2024-05-13 --- diff --git a/content/snippets/python/s/trim-whitespace.md b/content/snippets/python/s/trim-whitespace.md index 784febce208..1ae73ca8bcd 100644 --- a/content/snippets/python/s/trim-whitespace.md +++ b/content/snippets/python/s/trim-whitespace.md @@ -6,7 +6,7 @@ language: python tags: [string] cover: organizer excerpt: Oftentimes you might need to trim whitespace from a string in Python. Learn of three different way to do this in this short guide. -listed: true +listed: false dateModified: 2021-12-13 --- diff --git a/content/snippets/python/s/what-does-if-name-main-do.md b/content/snippets/python/s/what-does-if-name-main-do.md index c16fcd45ba1..bc8c66abf04 100644 --- a/content/snippets/python/s/what-does-if-name-main-do.md +++ b/content/snippets/python/s/what-does-if-name-main-do.md @@ -6,7 +6,7 @@ language: python tags: [function] cover: stairs-from-below excerpt: Understand what one of the most commonly used Python constructs does and when you should use it. -listed: true +listed: false dateModified: 2024-01-17 ---