You asked

Panasonic lumix g 20mm f 1 7 ii vs ttartisan 25mm f 2?

The Panasonic Lumix G 20mm f/1.7 II is the pick if you shoot Micro Four Thirds. It autofocuses, its f/1.7 aperture is faster, and on a Micro Four Thirds body it frames like a 40mm lens on full frame, with depth of field close to f/3.4. It isn't stabilised, so steady hands matter more.

The TTArtisan 25mm f/2 is manual focus only, but it fits many more systems: Sony E, Fujifilm X, Nikon Z, Canon RF, L-Mount and Micro Four Thirds. On APS-C it frames like a 38mm lens on full frame. On Micro Four Thirds it frames like a 50mm with depth of field of about f/4. It makes sense if you already own a camera from one of those mounts and don't want a second lens system.

On Micro Four Thirds the two lenses give similar framing, but the Panasonic is faster and focuses automatically, so it handles moving subjects and dim rooms better. The focal length converter explains why the aperture difference shows up as background blur. The TTArtisan gives you flexibility across mounts and a manual focus feel. The pages here don't list prices, so the guide can't compare cost.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.