Python Forum
Problem: Retrieving Form data
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem: Retrieving Form data
#3
Hi,

I have two exits that present two types of data. In the first variable, I return the data type below:

return (type(v_inp_one))
>> <class 'cgi.FieldStorage'>
In the second variable, I return the data type below:

return (type(v_inp_two))
>> <class 'str'>
Now I need to convert the variable to type ( <class 'str'> ) for type ( <class 'cgi.FieldStorage'> ), how do I do this?
Reply


Messages In This Thread
Problem: Retrieving Form data - by PythonDev - Oct-05-2020, 10:52 PM
RE: Problem: Retrieving Form data - by PythonDev - Oct-06-2020, 05:04 AM
Convert data type - by PythonDev - Oct-06-2020, 06:06 PM
RE: Convert data type - by PythonDev - Oct-16-2020, 02:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] Retrieving the filename from a shell jehoshua 3 785 Nov-29-2024, 01:25 AM
Last Post: jehoshua
  KeyError while retrieving ESPN data john317ab 2 2,051 Nov-29-2023, 09:07 PM
Last Post: john317ab
  Sending data from the form to DB quisatz 5 4,120 Sep-27-2023, 04:58 PM
Last Post: quisatz
  .get() not retrieving value? Sedos101 2 1,337 Aug-25-2023, 11:48 AM
Last Post: deanhystad
  Unable to request image from FORM Data usman 0 1,463 Aug-18-2022, 06:23 PM
Last Post: usman
  [Solved] Retrieving a pdf from sqlite3 BigMan 4 4,123 Mar-12-2022, 01:56 PM
Last Post: deanhystad
  Retrieving a column from a data set using a function Bayle 6 4,106 Oct-06-2021, 08:52 PM
Last Post: Bayle
  Looking for data/info on a perticular data-proccesing problem. MvGulik 9 5,514 May-01-2021, 07:43 AM
Last Post: MvGulik
  Retrieving Cookies whois1230 2 2,979 Nov-21-2020, 12:01 PM
Last Post: snippsat
  Retrieving dictionary keys within with another dictionay bazcurtis 8 4,252 Oct-29-2019, 10:06 PM
Last Post: bazcurtis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020