Fabio,
OK. Let me try to be more specific. Let's say I have a project with a src
folder and package.
zetcode/src/pkg
Let's say I have the files for my project in the pkg. Good so far?
Now, I want to add a folder with a few images in it to the project.
zetcode/src/pkg/images
Inside that images folder will be an icon, say exit.png, which I want to access
in my project from a file in the pkg, say for example, with:
self.toolbar.AddLabelTool(3, '', wx.Bitmap('images/exit.png'))
What would be the correct way to proceed?
David
On Mar 18, 2010, at 11:04 AM, Fabio Zadrozny wrote:
> On Sun, Mar 14, 2010 at 3:06 AM, David Arnold <[email protected]>
> wrote:
>> All,
>>
>> Everytime I want to add an external file that will show up in the package
>> explorer, I get stuck. Same for folders of files, like icons or such.
>>
>> Just what is the proper procedure for adding a file (folder of files or just
>> a new folder) to a package so that it shows up in the package explorer.
>
> You can create a link... Go to new > File or Folder > click on
> advanced and check the 'link to file in the file system'.
>
> Note that while it will show in the explorer, those links are not
> considered for having files in the PYTHONPATH (so, you can have a link
> to a source folder but you cannot have a link to a python file or
> folder under a source folder).
>
> Cheers,
>
> Fabio
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Pydev-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pydev-users
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users