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
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
453
Nodes:
16 (
2
/
14
)
Uptime:
12:40:17
Calls:
9,280
Files:
13,512
Messages:
6,071,334