WAP page, Python and creating a file on file system - Newbie

D

Digital

HELP!!

All I need to do is to create a file in a folder. I am running Abyss WEB
server and Python. and googling many sites has taught me how to create a
file in a folder. BUT. I need to do this from a WML file - This is proving
difficult...

I can setup an index.wml and a deck of cards. Each card points to a
<something>.py file. This file creates a file in the folder of my choice but
always returns an error to the WAP browser.

I have tried PRINTing WML content within the Python code and thought I had
formed a WML output but still the WAP browser returns an error.

It seems an awful lot of trouble to go to, load Python to create a file in a
folder. Is there any way I can easily do this?

Before people reply with how to do stuff in OOP. I have no knowledge of OOP
and class instantiation etc etc. I really do need a noddy guide in what I am
doing.

Regards
Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top