Advertisement · 728 × 90

Posts by Python Land

>>> title = "python strings are awesome"

>>> title.capitalize()
'Python strings are awesome'

>>> title.title()
'Python Strings Are Awesome'

>>> title.split()
['python', 'strings', 'are', 'awesome']

>>> title = "python strings are awesome" >>> title.capitalize() 'Python strings are awesome' >>> title.title() 'Python Strings Are Awesome' >>> title.split() ['python', 'strings', 'are', 'awesome']

Python has some pretty nifty string functions. Here are some examples!

2 years ago 70 5 1 0
Python And AI: Why Learning Python Might Be A Good Idea • Python Land Blog If you’ve been exploring the fascinating world of AI and generative AI like ChatGPT, you’ve undoubtedly run into the term Python. So, what exactly is ... read more

If you've been exploring the fascinating world of #AI and generative AI like #ChatGPT, you've undoubtedly run into the term #Python. So, what exactly is Python, and why is it often linked with AI? Read all about it in this Python Land article

1 year ago 25 2 0 0

If you're new here on Bluesky, welcome! Follow us for #Python tips, tricks, and news

1 year ago 68 3 2 0
Files, Folders, And The Command Line (2024) • Python Land It can be challenging and frustrating to get into programming because many courses assume you have more than basic knowledge about computers. This Computer Fundamentals course will fix the knowledge g...

We noticed many students struggle with fundamental computer knowledge.
Python Land offers the Computer Fundamentals course, where you learn much-needed basics, including working with the command line. It helps you feel more confident when you start learning Python! 👊 🐍

python.land/product/comp...

1 year ago 17 1 0 0
How to Process Excel Data in Python and Pandas • Python Land Tutorial This article shows how to create and read Excel files in Python using the pandas, xlsxwriter, and openpyxl modules.

Processing #Excel sheets with Python is an everyday use case for many and can boost office efficiency. This Python Land article teaches you how to create, read, update, and delete data in Excel files using #Python

python.land/data-process...

1 year ago 38 2 0 0
Preview
PyEnv: Managing Multiple Python Versions With Ease PyEnv is a tool that allows Python users to switch between multiple versions with ease. Learn how to use PyEnv to your advantage

With Pyenv you can play around with Python 3.12 since they've added it to their list of supported versions as soon as it came out. Learn more about Pyenv here 👇

2 years ago 23 3 0 0

💡 Do you know Python’s any() and all() functions? These are powerful tools for evaluating iterables! any() returns True if at least one element of an iterable is true. all() returns True only if all elements of an iterable are true.

2 years ago 26 4 0 0
Python String: Working With Text Learn what a Python string is, how to create strings, which quotes to use when creating them, and how to perform operations on a string.

To learn all about strings, head over to my extensive article on strings

2 years ago 9 0 0 0
Advertisement
>>> title = "python strings are awesome"

>>> title.capitalize()
'Python strings are awesome'

>>> title.title()
'Python Strings Are Awesome'

>>> title.split()
['python', 'strings', 'are', 'awesome']

>>> title = "python strings are awesome" >>> title.capitalize() 'Python strings are awesome' >>> title.title() 'Python Strings Are Awesome' >>> title.split() ['python', 'strings', 'are', 'awesome']

Python has some pretty nifty string functions. Here are some examples!

2 years ago 70 5 1 0
Preview
PyEnv: Managing Multiple Python Versions With Ease PyEnv is a tool that allows Python users to switch between multiple versions with ease. Learn how to use PyEnv to your advantage

With Pyenv you can play around with Python 3.12 since they've added it to their list of supported versions as soon as it came out. Learn more about Pyenv here 👇

2 years ago 23 3 0 0

💡 Do you know Python’s any() and all() functions? These are powerful tools for evaluating iterables! any() returns True if at least one element of an iterable is true. all() returns True only if all elements of an iterable are true.

2 years ago 26 4 0 0
Python String: Working With Text Learn what a Python string is, how to create strings, which quotes to use when creating them, and how to perform operations on a string.

🐍 #Python Tip: Want to remove the last letter from a word using slicing? Here's how:

word = "Python"
new_word = word[:-1]
print(new_word) # Outputs 'Pytho'

Learn more here 👇

2 years ago 11 1 0 0

Another notable thing is using a per-interpreter GIL. The GIL ensures there is only one thread running at any time. Using multiple processors with threads is impossible because only one thread can run at a time. This is a step towards removing that limitation.

2 years ago 4 0 0 0

One notable change: you can use the same quotes inside a nested f-string:

>>> f"Quotes inside a nested f-string: {"a string"}"
'Quotes inside a nested f-string now: a string'

I'm not sure what to think of this yet...

2 years ago 4 0 0 0

Yesterday, Python 3.12 was released. Many people won't use it for a while since most lag behind a few versions for various reasons. Nevertheless, you can check out what's new in this post: docs.python.org/3.12/whatsne...

2 years ago 7 0 2 0
Advertisement

🤖 Python Trivia: The name 'Python' was not derived from the snake but from the British comedy series 'Monty Python’s Flying Circus'! 📺 What's your favorite Python fun fact? 🧠

2 years ago 11 2 1 0