Skip to content
Script Everything logo
  • Spreadsheets
  • Python
  • About

Category: Python

link to 5 String Operators In Python Everyone Needs To Know

5 String Operators In Python Everyone Needs To Know

What are the most common string operators used in Python and why they're essential to know? It doesn’t take long when you begin programming in Python to work with strings and to start modifying...

Continue Reading
link to How To Remove File Extension From Path String In Python: One-Liner

How To Remove File Extension From Path String In Python: One-Liner

How do you remove the file extension from a path in Python? And can you do it using just one line of code? The file extension is generally the last set of characters after the final period in a...

Continue Reading
link to What Does [:-1] In Python Mean And Why Use It?

What Does [:-1] In Python Mean And Why Use It?

What does [:-1] in Python actually do and why would you want to use it? [:-1] in Python is a slice operation used on strings or lists and captures all contents of the string or list except for the...

Continue Reading
link to ** In Python In 2 Minutes With Code Examples

** In Python In 2 Minutes With Code Examples

What operator is used to raise a number to a power in Python? In Python the double asterisk operator ** is used to help calculate the exponent of a number raised to a power. This is done without a...

Continue Reading
link to What Does Asterisk Before Variable Mean In Python?

What Does Asterisk Before Variable Mean In Python?

What does the asterisk before a variable name mean in Python? For example, if I have a variable that contains a list of strings and the name of the variable is called my_list what does *my_list...

Continue Reading
link to What Does Colon Equals Mean In Python? The New Walrus Operator :=

What Does Colon Equals Mean In Python? The New Walrus Operator :=

In Python 3.8 a new assignment expression hit allowing for easier access of variables that are used when being assigned. Here are some tips on how this can be used in your everyday coding. Wait,...

Continue Reading
« PREV Page 1 … Page 3 Page 4 Page 5 Page 6 Page 7 … Page 16 NEXT »

About

Welcome to ScriptEverything.com!
On this website you'll find my explorations with code and apps. I enjoy programming using Python and Javascript, and I tango daily with a spreadsheet in my line of work. When I'm not behind a computer or at work, you'll find me wandering through the bush with my kids getting lost.

  • Contact
  • Privacy Policy
© 2023 Copyright > Script Everything