I'm working on a few scripts in Python, nothing big really, but I'm working on them. They are part of a bigger script that summons the little ones together. (I'll explain later when I actually release the whole thing here on Null-Byte but right now I don't want to give too much away.)
There's an option in the program to send feedback to the author. When I wrote that feedback script, I left out the send feedback function and just did print "function(send)" just to remind myself to fill it in later when I figure it out. "Figure out what?" you say. Hold on, I'll explain myself.
In the feedback 'app' (that's what I'll call it) it basically just asks the user to type whatever they want to say to the author, whether it is reporting bugs or suggesting new features, etc. in an email format. Meaning that they can type all they like, any characters, new paragraphs, all until they enter a dot on a new line, which will then place what they've written into a string named text and that is where I am stuck. I have no clue how to handle this text string of user input.
If the user decides to write up an essay on how they loved using the scripts or if they detail a huge complaint, I need to be able to see what they've typed, since it is after all a feedback application. What I need is help from our lovely community. I would love some ideas and thoughts on this. How would I go about taking what the user has typed in the feedback app and sending it to myself?
I have thought about email, but I'm not trying to make an email client, so that is not an option. Anyway, let's see what this place can come up with and if you guys (and girls) can help me with my dilemma.
Thanks for reading
TRT
Comments
No Comments Exist
Be the first, drop a comment!