| Description | Command |
|---|---|
| Start a new session with session name | screen -S <session_name> |
| List running sessions / screens | screen -ls |
| Attach to a running session | screen -x |
| Attach to a running session with name | screen -r |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| re_f_float_neg = re.compile('(-?[0-9.]*)(-\d\d\d)') | |
| def fortran_float(input_string): | |
| """ | |
| Return a float of the input string, just like `float(input_string)`, | |
| but allowing for Fortran's string formatting to screw it up when | |
| you have very small numbers (like 0.31674-103 instead of 0.31674E-103 ) | |
| """ | |
| try: | |
| fl = float(input_string) |
NewerOlder