Low-bandgap diketopyrrolopyrrole (DPP)-based polymers are used for the selective dispersion of semiconducting single-walled carbon nanotubes (s-SWCNTs). Through rational molecular design to tune the polymer-SWCNT interactions, highly selective dispersions of s-SWCNTs with diameters mainly around 1.5 nm are achieved. The influences of the polymer alkyl side-chain substitution (i.e., branched vs linear side chains) on the dispersing yield and selectivity of s-SWCNTs are investigated. Introducing linear alkyl side chains allows increased polymer-SWCNT interactions through close π-π stacking and improved C-H-π interactions. This work demonstrates that polymer side-chain engineering is an effective method to modulate the polymer-SWCNT interactions and thereby affecting both critical parameters in dispersing yield and selectivity. Using these sorted s-SWCNTs, high-performance SWCNT network thin-film transistors are fabricated. The solution-deposited s-SWCNT transistors yield simultaneously high mobilities of 41.2 cm(2) V(-1) s(-1) and high on/off ratios of greater than 10(4) . In summary, low-bandgap DPP donor-acceptor polymers are a promising class of polymers for selective dispersion of large-diameter s-SWCNTs.