maximuss 0 Newbie Poster

hi all,
i have an assignment due tonight and i have been on this assignment for the past 4 days and my brain totaly shut down, below is what i need to do, it's namegame i enter my name on an html input form and the namegame.py will write my name uppercase, as it is , without spaces and with out vowels.
i have gone this far but it;s not working , pleae help, i cant move on.
<code>
namegame.py
import cgi
form = cgi.FieldStorage
def isnotspace(char):
return (char <> ' ')
def isnotvowel(char):
return (char not in 'AEIOUaeiou')
name=(form["exercise4.html"].value)
print name.upper()
print name.lower()
print name.isnotspace
print name
---------------------------------
</code>
<code>
html form
<form action="namegame.py">
<p>
Enter your name: <input type="text" name="name" />
</p>
<p>
<input type="submit" value="Go" />
</p>
</form>
</code>
as seen above, when it asks for my name , the next step suppose to display for name dennis
Name
dennis
Uppercase
DENNIS
No spaces
dennis
No vowelsa
dnns

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.