Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 string to list and back again as same type
#11
so the string of whatever string type is in variable foo, so how do i make a array.array() out of it. slice it up a bit, and go back to the original string type?
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  TypeError: __repr__ returned non-string (type dict) shockwave 0 196 May-17-2020, 05:56 PM
Last Post: shockwave
  How do I convert this string back to a list of integers? donmerch 6 415 Apr-05-2020, 06:43 PM
Last Post: donmerch
  TypeError: size; expecting a recognized type filling string dict a11_m11 0 323 Feb-10-2020, 08:26 AM
Last Post: a11_m11
  List items verification for Integer type vintysaw 4 375 Jan-17-2020, 01:56 PM
Last Post: perfringo
  Type hinting - return type based on parameter micseydel 2 282 Jan-14-2020, 01:20 AM
Last Post: micseydel
  type of object as a string Skaperen 1 333 Dec-02-2019, 08:01 AM
Last Post: midarq
  removing quotes from a list and keep type list evilcode1 3 431 Aug-03-2019, 11:07 AM
Last Post: perfringo
  I converted string to 'list', but it doesn't look like a list! mrapple2020 3 781 Apr-07-2019, 02:34 PM
Last Post: mrapple2020
  please help me TypeError: unsupported operand type(s) for +=: 'int' and 'list' aankrose 2 2,440 Mar-26-2019, 06:00 PM
Last Post: perfringo
  scatter plot error - possibly data type - TypeError: nan is not a string chudson 1 2,671 Mar-24-2019, 11:48 AM
Last Post: chudson

Forum Jump:


Users browsing this thread: 1 Guest(s)