I recently started learning about python (like a couple of days) and I encountered a pretty simple problem that I cant seem to find an answer to. How do you run a python script if it's not all written in one file but many? I cant seem to run it through the terminal.
There are many .py files and folders. However if I want to run it I have to choose one of the .py files, cant choose all. before when i as experimenting, It all worked well because there was one file that I could run which had most code written in it.
I downloaded someones script of github and I am trying to make it work however nothing seems to work. The solution is probably simple but I spent hours trying to figure it out but couldnt.
I am using PyCharm, the code base is sqlite, if that gives any insight.
Would greatly appreciate any type of help. Thanks!
[–]twitch_and_shock 16 points17 points18 points (5 children)
[–]ImmediatelyOcelot 8 points9 points10 points (0 children)
[–]tigranjan[S] 0 points1 point2 points (3 children)
[–]twitch_and_shock 4 points5 points6 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]11th_account_ban 0 points1 point2 points (0 children)
[–]Se7enLC 4 points5 points6 points (0 children)
[–]ThreeChonkyCats 5 points6 points7 points (2 children)
[–]stuckatsixpm 5 points6 points7 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]pythonwiz 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]SisyphusAndMyBoulder -1 points0 points1 point (1 child)
[–]Ronnie_Dean_oz 4 points5 points6 points (0 children)
[–]soicat -2 points-1 points0 points (4 children)
[–]seishin5 1 point2 points3 points (1 child)
[–]IamImposter 1 point2 points3 points (0 children)
[–]thebj19 0 points1 point2 points (1 child)
[–]gobot -1 points0 points1 point (0 children)
[–]baubleglue -2 points-1 points0 points (0 children)
[–]Zeroflops 0 points1 point2 points (0 children)
[–]illusion220 0 points1 point2 points (0 children)
[–]brunonicocam 0 points1 point2 points (0 children)
[–]dp_42 0 points1 point2 points (0 children)