Python Forum
problem with importing my program
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with importing my program
#1
Just trying to have a go with python debugger

From the python cmd line

 >>> import pdb 
so far so good...

>>> import C:\users\me\documents\my_python\test.py 
gives a syntax error " invalid syntax " with a  pointer to the :
tried a few variations, but no, python really doesn't like file addresses, just spits them all out with roughly the same syntax error.
Reply


Messages In This Thread
problem with importing my program - by meems - Nov-27-2016, 12:22 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Some help with my first python class and importing ....im making a lidar program jttolleson 7 1,221 Jul-28-2023, 08:34 AM
Last Post: jttolleson
  Problem with importing python-telegram library into the project gandonio 1 1,581 Nov-01-2022, 02:19 AM
Last Post: deanhystad
  Problem with importing Python file in Visual Studio Code DXav 7 5,129 Jun-15-2022, 12:54 PM
Last Post: snippsat
  Importing Program Wide JarredAwesome 4 2,198 Sep-07-2020, 04:34 PM
Last Post: JarredAwesome
  Please help: problem installing/importing langdetect module in Jupyter Notebook ledgreve 3 7,310 Dec-30-2019, 08:17 AM
Last Post: LeanbridgeTech
  Problem with importing and using collections module pythomdummy 3 5,825 Nov-14-2019, 08:48 AM
Last Post: Gribouillis
  Problem with importing a CSV file Chopan2211 6 7,724 Nov-06-2019, 09:25 AM
Last Post: DeaD_EyE
  Problem importing resource library ChrisM 8 3,959 Oct-23-2019, 01:40 PM
Last Post: ChrisM
  Problem: Once I cancel the process my program will start working! Hadad 0 1,659 Jul-24-2019, 04:09 PM
Last Post: Hadad
  Problem with importing an installed package Reverend_Jim 4 3,722 Jun-14-2019, 10:20 PM
Last Post: Reverend_Jim

Forum Jump:

User Panel Messages

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