Καλώς ορίσατε στο
dotNETZone.gr
-
Σύνδεση
|
Εγγραφή
|
Βοήθεια
σε
Τρέχοντες Ετικέτες
(όλο το δικτυακό τόπο)
Αρχική σελίδα
Ιστολόγια
Συζητήσεις
Εκθέσεις Φωτογραφιών
Αρχειοθήκες
Παρουσίαση με Ετικέτες
Όλες οι Ετικέτε...
»
Versions
»
Files
»
raw_input
»
strip
»
MSYS2
»
Mode
»
lstrip
»
rstrip
»
Trimming
»
Posts
»
Compatibility
(RSS)
NewLine
Open
Portability
prompt
Python
Solaris
universal
Unix
Whitespace
Windows
Python rstrip and whitespace
Was just reading https://www.w3schools.com/python/ref_string_rstrip.asp which says The rstrip() method removes any trailing characters (characters at the end a string), space is the default trailing character to remove. Notes: 1) the chars param was added at Python 2.2.3, can’t use it at older versions as noted at ...
Δημοσιεύτηκε στο
George Birbilis' blog
(Weblog)
από το μέλος
birbilis
στις
Ιουλίου 10, 2020