You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34-33Lines changed: 34 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,48 +14,49 @@ The reader is supported on Python 2.7, as well as Python 3.4 and above.
14
14
15
15
The Real Python Feed Reader is a command line application, named `realpython`. To see a list of the [latest Real Python tutorials](https://realpython.com/) simply call the program:
16
16
17
-
$ realpython
17
+
$ realpython
18
18
The latest tutorials from Real Python (https://realpython.com/)
19
-
0 Logging in Python
20
-
1 The Best Python Books
21
-
2 Conditional Statements in Python
22
-
3 Structuring Python Programs
23
-
4 We're Celebrating 1 Million Page Views per Month!
24
-
5 Python Pandas: Tricks & Features You May Not Know
25
-
6 Python Community Interview With Mariatta Wijaya
26
-
7 Primer on Python Decorators
27
-
8 Sets in Python
28
-
9 The Ultimate Guide to Django Redirects
29
-
10 Advanced Git Tips for Python Developers
30
-
11 Python Community Interview With Mike Driscoll
31
-
12 Dictionaries in Python
32
-
13 Socket Programming in Python (Guide)
33
-
14 Python Code Quality: Tools & Best Practices
34
-
15 Documenting Python Code: A Complete Guide
35
-
16 Fast, Flexible, Easy and Intuitive: How to Speed Up Your Pandas Projects
36
-
17 Lists and Tuples in Python
37
-
18 Reading and Writing CSV Files in Python
38
-
19 Generating Random Data in Python (Guide)
19
+
0 Splitting, Concatenating, and Joining Strings in Python
20
+
1 Image Segmentation Using Color Spaces in OpenCV + Python
21
+
2 Python Community Interview With Mahdi Yusuf
22
+
3 Absolute vs Relative Imports in Python
23
+
4 Top 10 Must-Watch PyCon Talks
24
+
5 Logging in Python
25
+
6 The Best Python Books
26
+
7 Conditional Statements in Python
27
+
8 Structuring Python Programs
28
+
9 We're Celebrating 1 Million Page Views per Month!
29
+
10 Python Pandas: Tricks & Features You May Not Know
30
+
11 Python Community Interview With Mariatta Wijaya
31
+
12 Primer on Python Decorators
32
+
13 Sets in Python
33
+
14 The Ultimate Guide to Django Redirects
34
+
15 Advanced Git Tips for Python Developers
35
+
16 Python Community Interview With Mike Driscoll
36
+
17 Dictionaries in Python
37
+
18 Socket Programming in Python (Guide)
38
+
19 Python Code Quality: Tools & Best Practices
39
39
40
40
To read one particular tutorial, call the program with the numerical ID of the tutorial as a parameter:
41
41
42
42
$ realpython 0
43
-
# Logging in Python
43
+
# Splitting, Concatenating, and Joining Strings in Python
44
44
45
-
Logging is a very useful tool in a programmer's toolbox. It can help you
46
-
develop a better understanding of the flow of a program and discover scenarios
47
-
that you might not even have thought of while developing.
45
+
There are few guarantees in life: death, taxes, and programmers needing to
46
+
deal with strings. Strings can come in many forms. They could be unstructured
47
+
text, usernames, product descriptions, database column names, or really
48
+
anything else that we describe using language.
48
49
49
-
Logs provide developers with an extra set of eyes that are constantly looking
50
-
at the flow that an application is going through. They can store information,
51
-
like which user or IP accessed the application. If an error occurs, then they
52
-
can provide more insights than a stack trace by telling you what the state of
53
-
the program was before it arrived at the line of code where the error
54
-
occurred.
50
+
With the near-ubiquity of string data, it's important to master the tools of
51
+
the trade when it comes to strings. Luckily, Python makes string manipulation
52
+
very simple, especially when compared to other languages and even older
53
+
versions of Python.
54
+
55
+
[... The full text of the article ...]
55
56
56
57
You can also call the Real Python Feed Reader in your own Python code, by importing from the `reader` package:
57
58
58
59
>>> from reader import feed
59
60
>>> feed.get_titles()
60
-
['Logging in Python', 'The Best Python Books', ...]
61
-
61
+
['Splitting, Concatenating, and Joining Strings in Python', ...]
0 commit comments