Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #101016

Newbie: How to convert a tuple of strings into a tuple of ints

Newsgroups comp.lang.python
Date 2015-12-30 14:46 -0800
Message-ID <fcd51ccc-b087-4147-a3e2-276b2f3052f4@googlegroups.com> (permalink)
Subject Newbie: How to convert a tuple of strings into a tuple of ints
From otaksoftspamtrap@gmail.com

Show all headers | View raw


How do I get from here

t = ('1024', '1280')

to 

t = (1024, 1280)


Thanks for all help!

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Newbie: How to convert a tuple of strings into a tuple of ints otaksoftspamtrap@gmail.com - 2015-12-30 14:46 -0800
  Re: Newbie: How to convert a tuple of strings into a tuple of ints Chris Angelico <rosuav@gmail.com> - 2015-12-31 09:52 +1100
  Re: Newbie: How to convert a tuple of strings into a tuple of ints Ben Finney <ben+python@benfinney.id.au> - 2015-12-31 09:57 +1100
    Re: Newbie: How to convert a tuple of strings into a tuple of ints otaksoftspamtrap@gmail.com - 2015-12-30 15:00 -0800
  Re: Newbie: How to convert a tuple of strings into a tuple of ints Ian Kelly <ian.g.kelly@gmail.com> - 2015-12-30 16:00 -0700

csiph-web