Python <form> creator.

p4p1 [lexostras]
10 years ago | edited 10 years ago

0

Hey so I made this small python programm that can make a small form.
```import time
from sys import argv
script, filename = argv
script, file = argv
script, iput_file = argv

i = 0
target = open(filename, ‘w’)

presentation

print “”“
Welcome to… \n
|||||||||||||||||||||||
|||Form_creator_2015|||
|||||||||||||||||||||||
”“”

asking for users input…

method = raw_input(“What method, POST or GET?? \n>>”)
action = raw_input(“URL for the action: \n>>”)
name = raw_input(“What do you want to send?? \n>>”)
print “What is the ”, name, “ value?? ”
value = raw_input(“>>”)

print
time.sleep(5)

writing to document….

line1

target.write(‘

\n’)

line2

target.write(‘\n’)

line3

target.write(‘\n

’)

finih

print “Done :) thx for using”```
Please tell me what you think about it and what should I add to it :D

You can use this to finish a few levels

Download link

4replies
2voices
195views
tehron
10 years ago

0

Is that some kind of late april fool’s joke?

p4p1 [lexostras]
10 years ago

0

@tehron Why do you say that….

tehron
10 years ago

0

So you’re serious, @lexostras? My apologies then…

p4p1 [lexostras]
10 years ago

0

It’s ok you dont need to apologise @tehron I am shure you are just trying to find the utility of this program because you could just type everything manualy and you are totaly right. I did this programm because I wanted to use my python skills for something :D

Discussion thread has been locked. You can no longer add new posts.
1 of 5

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss