Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
command prompt
#1
i have a code which runs through pycharm.To run through command prompt i have set the environment variables like PYTHON_HOME which gives python 36 location and path variables.But while running through command prompt the first line of file which has import statements like "from one import *" is raising error like no module named a .This is structure for example i followed
parent/
    __init__.py
    one/
        __init__.py
    two/
        __init__.py
    three/
        __init__.py
Reply


Messages In This Thread
command prompt - by saisankalpj - Nov-27-2018, 12:33 PM
RE: command prompt - by Larz60+ - Nov-27-2018, 12:48 PM
RE: command prompt - by saisankalpj - Nov-27-2018, 01:55 PM
RE: command prompt - by ichabod801 - Nov-27-2018, 02:00 PM
RE: command prompt - by saisankalpj - Nov-27-2018, 04:10 PM
RE: command prompt - by ichabod801 - Nov-27-2018, 07:28 PM
RE: command prompt - by saisankalpj - Nov-27-2018, 07:51 PM
RE: command prompt - by nilamo - Nov-27-2018, 08:38 PM
RE: command prompt - by saisankalpj - Nov-28-2018, 04:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  What is the difference between Command Prompt and Sublimes yaoyao22 1 648 Jul-09-2023, 02:56 PM
Last Post: snippsat
  Facing Problem while opening a file through command prompt vlearner 4 1,927 Jan-30-2022, 08:10 AM
Last Post: snippsat
  Noob warning: trying to use pip to install pytest and pep8 in Command Prompt adifrank 4 5,345 Dec-20-2020, 04:23 AM
Last Post: adifrank
  Running Python in Command Prompt Anwar 3 3,092 Nov-15-2020, 03:15 PM
Last Post: snippsat
  starting python from windows command prompt MaartenRo 4 2,863 Sep-04-2020, 12:25 PM
Last Post: MaartenRo
  Will not print in command prompt PandaCode 12 13,131 May-06-2020, 03:48 AM
Last Post: PandaCode
  Script works when executed from command prompt but not when executed in SDP Tippex 0 2,020 Apr-07-2020, 04:26 PM
Last Post: Tippex
  Can read files in command prompt but not IDE Exsul 2 2,177 Sep-13-2019, 01:40 AM
Last Post: jsira2003
  Command Prompt Issue benzenegirl 2 2,584 Oct-25-2018, 03:09 PM
Last Post: The_Raven
  Pyinstaller to execute a script in command prompt Ciroxxx 0 2,097 Sep-18-2018, 10:17 AM
Last Post: Ciroxxx

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020