Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

How do I run Python script form my PC

for Google site maps generator

         

keno

10:22 pm on Dec 12, 2005 (gmt 0)

10+ Year Member



I need to run the Google sitemaps generator on my site(s).

I have been dinking around trying to get it to run but I'm afraid I don't get it!

Yesterday, my host told me Python 2.2 is included the shared hosting.

I emailed them about 6hrs ago asking how to execute a Python script but have heard nothing back.

I need to enter this command line some how to my site server:

python sitemap_gen.py --config=config.xml --testingpython

I have Sm-rtFTP. How do I do it? Is there an other application I should use? Any ideas?

How do I verify that I can actually run a Python script in the first place?

There was a nice posting about using excel 2003 xml generator but I use excel 2000.

PS: I have manually submitted one of my small sites (20 pages)successfully to Google sitemaps. But my other widget site is 2000+ pages.

inbound

12:31 am on Dec 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You need to get something like SSH Secure Shell, this allows you to log on and execute such commands.

Be very careful though, if you don't know what you are doing you can really mess things up. You may also find that you can't get such access with a shared account.

Look on your control panel for 'shell access' or something similar, this is the term most associated with 'command line'.

keno

3:55 am on Dec 13, 2005 (gmt 0)

10+ Year Member



My hosting company replied. They ran the test script for me, and they indicated how to set up the non-test version.

It looks like I must request shell access, and then I think I need to use "crontab" to automate or execute a one-shot request.

Thanks for above guidelines - got me thinking on the right track.