I use a piece of software called FileZilla to transfer any files to and from Pi and my Windows 10 computer. Is there any way to eliminate the use of this software? Like a Pi terminal command? Or Python code?
You could set up samba on the Pi and share a folder. Make sure you give that folder read and write permissions.
sudo apt-get install samba samba-common-bin
For more info try this documentation.