Python Forum
[Basic] Strings, index and slicing
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Basic] Strings, index and slicing
#1
Single and Double Quotes

Concatenation

Triple Quotes

Escape Sequences

Raw Strings

Indexing and slicing

String Conversion
str(), int(), and repr()

Character Code Conversions
ord() and chr()

String Changing

String Methods
str.replace()

str.find()

str.capitalize(), str.title(), str.lower(), str.upper(), str.swapcase()
str.split()

str.join()
Recommended Tutorials:
#2
I feel like string formatting can be a separate post, especially since this is pretty long. We might want to create a sub-forum for "retired" tutorials, and aim for smaller ones, as some of these are, I feel, longer than they need to be in a way that doesn't foster learning the basics as well.
#3
better?
Recommended Tutorials:
#4
oooOOOoo, yeah! I would probably keep the need-to-know stuff expanded, and hide stuff which is less basic.
#5
i was thinking the whole thing as an index, that you choose what you want to expand and view (since there are so many). You can easily see the list of entirety.
Recommended Tutorials:
#6
Hm. That sounds more like a reference than a tutorial to me. I guess it's not that a deal though, occasionally clicking to expand as you go through. It's definitely more organized.


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020