Anthony, thank you, Jack

On Thu, 20 Oct 2011 10:06:41 -0600
Anthony Tuininga <[email protected]> wrote:

> Hi,
> 
> What is the code that is used for determining the path of the data
> text file? I have used os.path.dirname(sys.argv[0]) which seems to
> work well enough when frozen as well as when running from python since
> python substitutes the script name for the python executable in
> sys.argv.
> 
> Anthony
> 
> On Thu, Oct 20, 2011 at 9:19 AM, Jack Krueger
> <[email protected]> wrote:
> > Hi,
> >
> > On Linux and Mac OSX, when there is a call to open a data text file,
> > and it is in the scripts floder all is fine. When the when the
> > script is distilled it wants to look in the home directory for it.
> >
> > I want it to find the data file in the distilled folder as with the
> > native script.
> >
> > Suggestions?
> >
> > Thanks,
> > Jack
> >
> > ------------------------------------------------------------------------------
> > The demand for IT networking professionals continues to grow, and
> > the demand for specialized networking skills is growing even more
> > rapidly. Take a complimentary Learning@Ciosco Self-Assessment and
> > learn about Cisco certifications, training, and career
> > opportunities. http://p.sf.net/sfu/cisco-dev2dev
> > _______________________________________________
> > cx-freeze-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
> >
> 
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Ciosco Self-Assessment and learn 
> about Cisco certifications, training, and career opportunities. 
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> cx-freeze-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
> 

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to