how do i setup and run 'modules' like he does in the videos? running windows...looks different than what he has
modules are just python files that have an extension of .py You can put them in the directory with the rest of your modules, or in the current working directory, or any other place if you update sys.path before you try to import them.
in windows: start/run IDLE. -from the File menu select New to create a new module/file or select Open to ... open an existing file/module. You now have two windows, an editor and a 'Python shell'. from the window that has your code, select Run Module from the Run module - or just press F5. results are displayed in the 1st IDLE that was opened (titled Python Shell). In the shell you can try out 'code' interactively - just type it in and see the result, this is a great way to test stuff you're not sure about before you use it in your 'module'/program these windows have Help menu items.
Join our real-time social learning platform and learn together with your friends!