or you can put a lowercase r in front of your string and use single backslash.like this: myPath = r'c:\my\path\to\my\images'
On Sun, May 17, 2009 at 10:11 AM, ChrisChia <[email protected]> wrote: > > in windows, u will need to put an escape in the string for the image > path > like this: "C:\\Users\\Jon...."; > > good luck > > > On May 16, 11:02 pm, "[email protected]" <[email protected]> > wrote: > > hey im trying to put images in my gui but having problems, > > the directory is right not sure why its not working, > > could it be because its a jpeg? > > or does it have to be a certain size? > > this is the code > > > > image -image "C:\Users\Jon\Desktop\MajorProjectFolder\legs.jpg" > > legsPic; > > > > if you could get back to me as soon as that would be great > > > -- They say, "Evil prevails when good men fail to act." What they ought to say is, "Evil prevails." Nicolas Cage as Yuri Orlov in Lord of War. --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
