Browse Source

Chr

pull/3/head
Jure Šorn 5 years ago
parent
commit
9563a9c3b7
1 changed files with 2 additions and 7 deletions
  1. 9
      README.md

9
README.md

@ -182,6 +182,8 @@ String
<bool> = <str>.endswith(<str>) # Pass tuple of strings for multiple options.
<bool> = <str>.isnumeric() # True if str contains only numeric characters.
<int> = <str>.index(<sub_str>) # Returns first index of substring.
<ch> = chr(<int>) # Converts int to unicode char.
<int> = ord(<ch>) # Converts unicode char to int.
```
### Print
@ -189,7 +191,6 @@ String
print(<el> [, <el>, end='', sep='', file=<file>]) # Use 'file=sys.stderr' for err.
```
### Regex
```python
import re
@ -1090,12 +1091,6 @@ def get_border(screen):
return Coords(width - 1, height - 1)
```
#### Gets char from int:
```python
<ch> = chr(<int>)
<int> = ord(<ch>)
```
Profile
-------
#### Basic:

Loading…
Cancel
Save