FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Unix Python Code Execution





Scorpio
I decided to install a google sitemap which runs on python

I have to execute the file using python

a file called config.xml

Is there any command line interface software to run this

or any other way at all..
Scorpio
*bump*

Anybody there knows about this.

I need to know it a little fast people.
Pleaase
Bondings
I don't really understand what you want to do? Is the config.xml file in question written in python?
Scorpio
No config.xml is in xml

It needs to be executed python
code

They say I can use something like SSH.

Check here

https://www.google.com/webmasters/sitemaps/docs/en/sitemap-generator.html
djclue917
scorpio wrote:
No config.xml is in xml

It needs to be executed python
code

They say I can use something like SSH.

Check here

https://www.google.com/webmasters/sitemaps/docs/en/sitemap-generator.html


You can't execute Python code unless Python is installed.
Scorpio
Dont I know that?

PYTHON IS INSTALLED ON THE SERVER
Helios
Have you tried importing the xml modules?

btw, FriHost has python installed? I had no idea.. =\
Scorpio
Bondings wrote:
Yes, python scripts should be working.


He said so..

I was instructed to execute the python code using a command line interface in unix.

I never comprehended that
Bondings
scorpio wrote:
Bondings wrote:
Yes, python scripts should be working.


He said so..

I was instructed to execute the python code using a command line interface in unix.

I never comprehended that

Well, first you need to make sure the server sees it as a python file, I suppose it needs to end in .pl . You can do that with a .htaccess file I think. Then just accessing it would execute it.
Related topics
foobar or winamp?
Still Using Internet Explorer?? Why? It's just... stupid
Microsoft Confirms 'Highly Critical' IE Hole!!
What is Free BSD?
Python beginners help!
Python via CGI - A personal triumph
Javascript vs PHP (or python?) - unicode text file search
Python script execution help [Serv. 3]
A question about Python lambda
A Python Expression Evaluator
Python Expression Evaluator Version 2
Python: Changing a string (Assignment)
Editors for Python
Python Sequences: Getting length, min, max
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.