Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.LANG.PYTHON
Re-indenting Python code in Vim
From
Hen Hanna
@21:1/5 to
All
on Sun Feb 26 11:19:37 2023
Re-indenting Lisp code is =%
and it works really well !
(define (foo x)
(dotimes (i 100)
(bar bar x)))
----------- it doesn't work as well for Python code.
(doing 5== at the 1st line Re-indents only 3 lines)
for c in string.ascii_lowercase:
for x in Dict[tuple(sorted(cw))] :
print(cw, x , end=' ')
print('other stuff', x , end=' ')
PRSW=True
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Rixter
Tue Sep 15 12:01:35 2026
from
Madison, Nc
via
Telnet
Bob Worm
Tue Sep 15 11:25:46 2026
from
Wales, Uk
via
Telnet
Andrew Andrew
Tue Sep 15 02:46:28 2026
from
Chicago, Il
via
Telnet
Netmages
Tue Sep 15 01:13:15 2026
from
Santiago, Chile
via
SSH
Rixter
Tue Sep 15 00:01:34 2026
from
Madison, Nc
via
Telnet
Rixter
Mon Sep 14 12:01:34 2026
from
Madison, Nc
via
Telnet
Bob Worm
Mon Sep 14 08:34:31 2026
from
Wales, Uk
via
Telnet
Retrojimmyx
Mon Sep 14 00:27:04 2026
from
Derbyshire
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
765
Nodes:
16 (
1
/
15
)
Uptime:
01:35:29
Calls:
12,761
Calls today:
5
Files:
15,362
Messages:
6,557,005