python.land

119 posts

python.land banner
python.land

python.land

@python_land

Official account for https://t.co/dKEqaCfmO6

Python Land เข้าร่วม Haziran 2020
1 กำลังติดตาม117 ผู้ติดตาม
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
Python has some pretty nifty string functions. Here are some examples!
Erik tweet media
English
1
2
15
1.4K
python.land
python.land@python_land·
With Pyenv, you can start using Python 3.12 right away since they've added it to their list of supported versions as soon as it came out. Learn more about Pyenv here 👇 python.land/virtual-enviro…
English
0
1
1
741
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
👀 Use Python’s built-in help() function! It's an interactive way to explore documentation and learn more about Python objects and modules in the Python REPL! 📚 Examples: help(str) import os help(os) help(os.path) etc.
English
0
1
1
523
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
💡 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.
English
0
1
2
650
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
🐍 #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: #Reversing_a_string_slicing" target="_blank" rel="nofollow noopener">python.land/introduction-t…
English
0
1
2
437
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
🔄 Python’s itertools module is a collection of fast, memory-efficient tools that are useful for working with iterators (e.g., loops). Explore more: #Python" target="_blank" rel="nofollow noopener">docs.python.org/3/library/iter… #Itertools #Coding #Developer
English
0
2
3
309
python.land
python.land@python_land·
🤖 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? 🧠 #PythonProgramming #DidYouKnow
English
0
1
2
238
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
What's the output of this code? Leave your answer in the comments! #Python #quiz
Erik tweet media
English
2
1
6
473
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
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? Should you learn Python? 👇 #ChatGPT #ArtificialIntelligence #Python
English
1
1
4
324
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
My next programming language to learn is...
English
1
2
2
186
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
Installing #Python packages system-wide can cause a lot of troubles once you upgrade your Python installation in the future. You can use pipx to save you from the drama that's usually involved with system-wide packages! Read about it here 👇 python.land/virtual-enviro…
English
0
2
3
285
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
With Python, we can return multiple values at once. All you need to do is list your values after the return statement, separated by commas. Click the link to try it interactively: crumb.sh/YVLsjts5j93
English
1
2
4
351
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
What is the most impressive thing you've used Python for or seen Python being used for? This can be anything from a small-scale library that impressed you to large projects or whatever else it is that impressed you most. #AskTwitter #Python #pythonprogramming
English
0
1
4
273
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
Exception handling in #Python is the process of identifying and responding to errors in a program. In other words, it is a way to deal with errors that might occur in your program. Here's a TL;DR of exception handling
Erik tweet media
English
1
2
5
448
python.land รีทวีตแล้ว
Erik
Erik@erikyan·
Are you struggling to learn #Python? What's the reason? Let me know which option you choose and why!
English
2
2
2
382