Loading tags…
Directory
Tags
Browse the tags watched by active sources.
Directory
Browse the tags watched by active sources.
We use Google Analytics to improve explore.textmode.art. Analytics only run if you allow it.
Data protection policyTags / Feed
20 public artworks tagged #python, from Bluesky, Mastodon, and Tumblr.
Posted byxenaether.bsky.social
Posted byxenaether.bsky.social
Posted byvitex.f.cz.ap.brid.gy

Posted byIllestPreacha@post.lurk.org

Posted bytaoofmac@mastodon.social

Posted bycryptadamist@universeodon.com

Posted bytheoasisbbs@techhub.social
![import sys from pprint import pformat, pprint from typing import Literal, IO, Any from pygments import highlight from pygments.formatter import Formatter from pygments.formatters import get_formatter_by_name from pygments.lexers import PythonLexer __all__ = ( 'xpprint', 'xpp', ) def xpprint( obj: Any, stream: IO[str]|None = None, indent: int = 1, width: int = 80, depth: int|None = None, *, compact: bool = False, sort_dicts: bool = True, underscore_numbers: bool = False, color: Literal['auto', 'always', 'never'] = 'auto', formatter: str|Formatter = 'console', ) -> None: if color == 'always' or (color == 'auto' and (stream or sys.stdout).isatty()): fmt = get_formatter_by_name(formatter) if isinstance(formatter, str) else formatter print(highlight( pformat( obj, indent=indent, width=width, depth=depth, compact=compact, sort_dicts=sort_dicts, underscore_numbers=underscore_numbers, ), PythonLexer(), fmt ), end="", file=stream) else: pprint( obj, stream=stream, indent=indent, width=width, de](https://assets.chaos.social/media_attachments/files/115/934/842/715/648/640/original/c82589491d051934.png)
Posted bybloody_albatross@chaos.social
Posted bydurandalwoz@mastodon.social

Posted bylayawonders@pixelfed.social
Posted by2pir@mastodon.social

Posted bykimschulz@social.data.coop
Posted byalpharee@mastodon.social
Posted byAndyGarber@mastodon.social

Posted byrequiem@mastodonapp.uk

Posted byThingsDrawnByTextModels@hachyderm.io
![ChatGPT Prompt: "Now add wings to the Dragon" ChatGPT Response: "Here is the updated function with wings added to the ASCII art dragon" [Python code snippet] The rendered shape is a tall narrow diamond with a two sets of double horizontal lines and some patterns in the top half which possibly give the impression of eyes.The eyes are what has been added after asking for "wings" to be added.](https://media.hachyderm.io/media_attachments/files/109/826/235/526/910/331/original/6e38bb98babe1bbf.png)
Posted byThingsDrawnByTextModels@hachyderm.io


Posted byfwneuemedien@bildung.social
End of feed · no more posts