miniblog.
← Back to all posts
Oct 26, 2011 at 22:50
#Python trivia: absolute imports became the default in 2.7, so careless imports will break. Use "from __future__ import absolute_import".
Wilfred Hughes
Related Posts
Jan 10, 2015 at 20:10
#emacs trivia of the day: asm-comment-char defaults to ";", which is only really for the PDP-11. i386, x6_64 etc use "#".
Wilfred Hughes
Shared words: trivia, default, Use Score: 42.9
Nov 27, 2009 at 23:47
try this in Python: 'from __future__ import braces'. There's only one way to do it, and Python doesn't think that's it.
Wilfred Hughes
Shared words: Python, imports, future Score: 42.7
Jun 26, 2016 at 22:09
Use Python? Use Emacs? I've just released a tool for managing your imports!
GitHub - Wilfred/pyimport: Manage Python imports from Emacs!
Manage Python imports from Emacs! Contribute to Wilfred/pyimport development by creating an account on GitHub.
Wilfred Hughes
Shared words: Python, imports, Use Score: 36.4