Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8232

Re: running an existing script

Date 2011-06-22 10:46 -0700
From Ethan Furman <ethan@stoneleaf.us>
Subject Re: running an existing script
References (4 earlier) <2d53da9c-0a28-4f88-b786-f18a3d0f4f11@f2g2000yqh.googlegroups.com> <58532636-8ddf-44ff-bcc7-1449b6dbdf80@e17g2000prj.googlegroups.com> <mailman.290.1308760634.1164.python-list@python.org> <7acdb2ca-a5a9-4c20-ade0-c598bb0b5bae@c41g2000yqm.googlegroups.com> <413b6a24-1b7c-4ae9-aef7-1533df92d1d7@v10g2000yqn.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.291.1308763989.1164.python-list@python.org> (permalink)

Show all headers | View raw


Adam Chapman wrote:
> Thanks a lot, must be getting close now...
> I changed the indentation one lines 136-168, and put in the command
> window:
> 
> nfold.py --booster=Adaboost --folds=5 --data=spambase.data --
> spec=spambase.spec --rounds=500 --tree=ADD_ALL --generate
> 
> no syntax errors this time, it just said:
> nfold.py: Your CLASSPATH is not set. You must place jboost.jar in your
> CLASSPATH.
> 
> is that the chdir() command in python? and can I somehow set that in
> the dos command window?

CLASSPATH is an environment variable, jboost.jar is a java file (which 
I'm sure you know ;) -- so make sure CLASSPATH is set appropriately for 
your system (e.g. 'set CLASSPATH=c:\java\source'), and jboost.jar is 
whereever CLASSPATH points to.  (I'm not a Java fan, so can't provide 
much help in this area.)

~Ethan~

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

running an existing script Adam Chapman <adamchapman1985@hotmail.co.uk> - 2011-06-21 10:45 -0700
  Re: running an existing script Ethan Furman <ethan@stoneleaf.us> - 2011-06-21 11:32 -0700
  Re: running an existing script Benjamin Kaplan <benjamin.kaplan@case.edu> - 2011-06-21 11:25 -0700
  Re: running an existing script Ethan Furman <ethan@stoneleaf.us> - 2011-06-21 12:00 -0700
    Re: running an existing script Adam Chapman <adamchapman1985@hotmail.co.uk> - 2011-06-21 13:12 -0700
      Re: running an existing script Adam Chapman <adamchapman1985@hotmail.co.uk> - 2011-06-22 08:54 -0700
        Re: running an existing script Chris Rebert <clp2@rebertia.com> - 2011-06-22 09:13 -0700
        Re: running an existing script Ethan Furman <ethan@stoneleaf.us> - 2011-06-22 09:35 -0700
        Re: running an existing script Adam Chapman <adamchapman1985@hotmail.co.uk> - 2011-06-22 09:15 -0700
          Re: running an existing script Ethan Furman <ethan@stoneleaf.us> - 2011-06-22 09:51 -0700
            Re: running an existing script Adam Chapman <adamchapman1985@hotmail.co.uk> - 2011-06-22 09:51 -0700
              Re: running an existing script Adam Chapman <adamchapman1985@hotmail.co.uk> - 2011-06-22 10:13 -0700
                Re: running an existing script Ethan Furman <ethan@stoneleaf.us> - 2011-06-22 10:46 -0700
                Re: running an existing script Adam Chapman <adamchapman1985@hotmail.co.uk> - 2011-06-22 10:54 -0700
                Re: running an existing script Ethan Furman <ethan@stoneleaf.us> - 2011-06-22 11:50 -0700

csiph-web