"Mastering file handling in code is a cornerstone of AI. Just like builders need a foundation for a house, AI systems rely on efficiently reading and writing data to files. This data, often in the form of text, images, or code itself, serves as the training material and output for AI models. By understanding how to work with files, you unlock the ability to feed data into your AI systems and capture their results, making them truly functional and adaptable."- Gemini 2024
Files can be either text or binary. Text files are often used for program code, HTML, XML, or other types of human-readable data. Binary files are typically used for images, videos, audio, and so forth.
What happens when we open a binary file in a text editor? We see the binary code. This is not meant to be human readable, rather read by applications created to process binary files.
âPNG IHDR ∞ ∞ Î!≥œ sRGB ÆŒÈ sBIT|dà pHYs ƒ ƒï+ iiTXtXML:com.adobe.xmp 2024-05-01 02df8dee-e3b0-4c17-8c1d-0f4b90a6e168 525265914179580 2 vision - 1 Toni Farley Canva Œ5 !tEXtCopyright Copyright 2024 tonia.aiAiØ IDATxúÏ›{îÂg]Á˚Ô˜∑´∫ìÓr£´:i0jKß´´ˆfiU%73» 㨂0!®0</30#/Áaó◊!Àáq Åà‹Pv◊•´; ê!]¡à ÑÓÆ˝Ã ksÈKU=˚Úz≠ï˚Ω˙èΩV}ÍŸœ/ ‡!dÌ ÄÕ“n∑wDƒéViùüMÔÏàÿ^"∂«}ˇlãˇÛÁ̱Ωîÿñ€K‰ekDåGƒño˘˜xâÿí˜ˇ92œ¯∆˚ïRÓéà£q4"éE‰—q42éFâcëq4Kπ∑D‹ëwgƒ›qO…rwD‹ù˜ÙzywfÔÓ(Âû“j›’?~ÁΩΩfió>|dÛ˛Ê Í2` mvÔÏ∑≈ÿÒ≥ivFƒ£J/MLdƒéπ#"vdƒéà∏†rÍ∫+•‹_ »;K∆ùÂK•ƒù˜˝wYÌ≠≈ÁKS>€˙zÎÛ7-|°v/ ¿©2` }i◊Æ]gûwfiyè…ÃõRù—ÏäàãJƒÆ»2%æ-3'jwíqKî¯lfπµî¸\d˘\F|&÷÷>w`eÂÜ⁄} ∆Ä T’›€˝ÆfKŸS"ˆd…=%bODŸcú⁄|%‚≥Q Õëqs)ÂÊ(ÕÕΩÏ›|◊]w›|À-∑‹[ª ], `√Ì⁄µÎÃŒπ`6õfifiåÊæ±* û»‹SªçS"æüäRnÃåCká÷÷÷ب¨¨÷n Üü XWÌv{{fŒf…˘å2sπØv§ƒ%‚PD9á≥îC˜?~ÿ%Û ¿z2` ßljjͨ≠≠≠ÛΩπhb>JÃGÊ%µª®ØD|1"KîÖ&‚¿Zƒ¬“““ßjw É…Ä ú∞Ÿ}≥S1÷{bî|RdyíìUúåR =ëπîQJ)kÀÀÀjw ˝œÄ <†›ªw?b˚ˆÌOl"û%ûôOÃàsjw1ÑJ˘Àà¸hd˘ËΩ«é}Ï·√w◊N ˙ã àààŸ=≥ñ≠ÂMƒ•%À˜8]E5•(û;÷Î}¯‡¡É_™ù ‘e¿Ä5ªgˆ¬≤•<≥…¯ûíÒåå∏∏v<êq8¢¸YÈÂG£X\\¸rÌ&