>>> 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!
06.10.2023 08:43 β π 69 π 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
26.11.2024 11:49 β π 22 π 1 π¬ 0 π 0
If you're new here on Bluesky, welcome! Follow us for #Python tips, tricks, and news
15.11.2024 21:43 β π 67 π 2 π¬ 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...
12.11.2024 20:22 β π 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...
12.11.2024 09:14 β π 38 π 2 π¬ 0 π 0
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 π
04.10.2023 20:32 β π 24 π 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.
04.10.2023 20:09 β π 26 π 4 π¬ 0 π 0
>>> 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!
06.10.2023 08:43 β π 69 π 5 π¬ 1 π 0
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 π
04.10.2023 20:32 β π 24 π 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.
04.10.2023 20:09 β π 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 π
03.10.2023 11:54 β π 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.
03.10.2023 07:18 β π 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...
03.10.2023 07:17 β π 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...
03.10.2023 06:53 β π 7 π 0 π¬ 2 π 0
π€ 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? π§
01.10.2023 18:55 β π 11 π 2 π¬ 1 π 0