Samosa stuffed baked potatoes

#12 – Page 60
Easiness: 3
Tastiness: 5

These were delicious. And they do taste like samosas, except without any dough.

Samosa stuffed baked potatoes

I actually had a really hard time getting the potato out of its skin, and ended up breaking a couple. Next time I think I need to bake the potatoes for even longer than an hour (or perhaps leave off the aluminum foil?)

After the potato was all mashed up though, making the rest of the stuffing was easy. Just a bunch of veggies and spices mixed together. In fact, I could just make mashed potatoes with all of the other veggies instead of waiting for the potatoes to bake. (The whole thing would then taste great inside of a tortilla – although I guess that’s true for just about anything!)

  • Bigdoce

    Hi Joey,
    Can you please indicate how can your link the file that contains the URLs (extracted using the Greasemonkey script) to the Python scrip? I tried putting the file’s full path (/Users/…..), but I received an error indicating that the / before Users is invalid syntax. Your help will be appreciated.

    p.s.
    I am a Mac user. Snow Leopard.

  • http://guyslikedolls.com jcdoll

    I use relative paths, here’s an example…

    In getSCPD.py:
    downloadClass(‘fall2010/ee212′)

    In ./fall2010/ee212 (relative to the getSCPD.py location):
    http://lang.stanford.edu/courses/ee212/fullurlgoeshere
    http://lang.stanford.edu/courses/ee212/fullurlgoeshere
    http://lang.stanford.edu/courses/ee212/fullurlgoeshere

    Hope this helps.

    - joey

  • Bigdoce

    Hi Joey,
    Thank you for the timely reply. Much appreciated it. I still don’t get it fully. In your example above, is ./fall2010/ee212 the path to the folder your downloading the ee212 lectures to? Also, in the getSCPD.py: Do you have the path of the file that contains the URLs in f= open(‘ ‘, ‘r’)?

    Thanks again.

  • http://guyslikedolls.com jcdoll

    “ee212″ is a text file that contains the URLs. So when you call downloadClass(‘fall2010/ee212′), the script is opening that text file and interpreting each line of the file as a URL. The videos themselves are downloaded to the same folder that getSCPD.py lives in.

    Make sense?

    - joey

  • Bigdoce

    It does; many thanks.
    I will give it a try and I hope you won’t mind another question if I were to run into problems.

    Thanks again.

  • Bigdoce

    Would you have an idea why I am seeing the error below?

    cd ‘/Fall2011/’ && ‘/usr/bin/pythonw’  ‘/Fall2011/getSCPD.py’  && echo Exit status: $? && exit 1
    dn5213er:~ BigMizAC$ cd ‘/Fall2011/’ && ‘/usr/bin/pythonw’  ‘/Fall2011/getSCPD.py’  && echo Exit status: $? && exit 1
    mms://cobb.stanford.edu/courses/msande293/111130/111130-msande293-znPJvX1nNNUYpTeQAp1a-500.wmv
    mencoder mms://cobb.stanford.edu/courses/msande293/111130/111130-msande293-znPJvX1nNNUYpTeQAp1a-500.wmv -ovc copy -oac copy -o 111130-msande293-znPJvX1nNNUYpTeQAp1a-500.wm.avi
    Traceback (most recent call last):
      File “/Fall2011/getSCPD.py”, line 21, in
        downloadClass(‘Fall2011/mse293′)
      File “/Fall2011/getSCPD.py”, line 18, in downloadClass
        strip(url)
      File “/Fall2011/getSCPD.py”, line 11, in strip
        p1 = subprocess.call(["mencoder", newurl, "-ovc","copy","-oac","copy","-o", ("%s.avi" % (vidname,))])
      File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py”, line 444, in call
        return Popen(*popenargs, **kwargs).wait()
      File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py”, line 595, in __init__
        errread, errwrite)
      File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py”, line 1106, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory

  • http://guyslikedolls.com jcdoll

    So subprocess can’t run. You should try googling “python subprocess child_exception” and see what you can find. One thing you can do is to try adding the shell=True parameter at the end of Popen. I was just working a separate project using subprocesses and needed to include that for everything to work.

    If all else fails, it works great in Ubuntu and you could just boot off of a flash drive to get the videos you need. Better hurry though because the quarter is almost over and all of this quarter’s classes will turn into pumpkins. Good luck!

    - joey

  • Bigdoce

    Joey,
    Thanks again!

    Cheers

  • Majaffer

    Hi Joey,
    I am a level zero noob when it comes to all these things. I have a macbook pro and desperately want to download videos off SCPD before they take then down. I tried following the instructions above but to no avail. Can you please help me by sending me ‘instructions for dummies’ to download these videos? When I type in “mencoder mms://URL.wmv -ovc copy -oac copy -o Output.avi” in the terminal window in the macbookpro, it displays the message “mencoder: command not found”. Am I doing something wrong? Should I be changing some directory thing somewhere?
    Thanks a bunch man,
    MJ

  • http://guyslikedolls.com jcdoll

    MJ -
    Your first issue is installing mencoder which I can’t help you with. I haven’t used OS X in a few years so don’t recall the installation procedure. You can google “mencoder install macosx” to find instructions. After that if you run into issues just try using The Google, it’ll be much faster and more reliable than me. :)

    - joey