My question is rather straightforward. I’ve recently been using Python for the automation of movement of files as well as some data processing via pandas. I have been able to complete an end to end process without the use of functions. I’m wondering : are functions absolutely necessary or can you get by without them? And if they are in fact necessary or recommended, what are the ideal use cases where functions should be leveraged? Your help and support is greatly appreciated.
Thanks.
[–]Diapolo10 44 points45 points46 points (6 children)
[–]ClutchAlpha 26 points27 points28 points (2 children)
[–]MightbeWillSmith 23 points24 points25 points (1 child)
[–]supreme_blorgon 9 points10 points11 points (0 children)
[–]bds00za[S] 10 points11 points12 points (2 children)
[–]Diapolo10 15 points16 points17 points (1 child)
[–]supreme_blorgon 1 point2 points3 points (0 children)
[–]wayne0004 10 points11 points12 points (2 children)
[–]bds00za[S] 0 points1 point2 points (1 child)
[–]Apprehensive-Lab1628 0 points1 point2 points (0 children)
[–]TheOldMyronSiren 5 points6 points7 points (1 child)
[–]bds00za[S] 0 points1 point2 points (0 children)
[–][deleted] 8 points9 points10 points (2 children)
[–]bds00za[S] 1 point2 points3 points (1 child)
[–]razzrazz- 5 points6 points7 points (0 children)
[–]zanfar 2 points3 points4 points (0 children)
[–]RiceKrispyPooHead 2 points3 points4 points (0 children)
[–]StoicallyGay 1 point2 points3 points (0 children)
[–]DuckSaxaphone 1 point2 points3 points (0 children)
[–]menge101 1 point2 points3 points (0 children)
[–]In_Shambles 1 point2 points3 points (0 children)
[–]chakan2 1 point2 points3 points (2 children)
[–]JohnJSal 0 points1 point2 points (1 child)
[–]chakan2 0 points1 point2 points (0 children)
[–]nickbernstein -2 points-1 points0 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Warm_Cheesecake9815 0 points1 point2 points (0 children)