Morning,
Got a python app I have been working on.
Currently it consits of just a couple of files but as it gets bigger I am creating more and more files and the top of my main python file I am doing
import url_thread
import task_database
import xxxx
import yyyy
and I am going to be adding another class today which is another import!
Is there a way to stick these py files into a folder, and just do import classes/*
Is there a better way I should be doing this?
More, pythonic?


import url_thread, task_database, xxxx, yyyyBut in general, see what people are saying below about making packages and importing tidily. Avoid usingfrom ... import *unless it's really necessary.