Newbie: String to Tuple

KP kai.peters at gmail.com
Tue Dec 22 16:06:32 EST 2015


On Tuesday, 22 December 2015 12:59:59 UTC-8, Mark Lawrence  wrote:
> On 22/12/2015 20:53, KP wrote:
> > How do I convert
> >
> > '1280,1024'
> >
> > to
> >
> > (1280,1024) ?
> >
> > Thanks for all help!
> >
> 
> Start with this https://docs.python.org/3/library/stdtypes.html#str.split
> 
> -- 
> My fellow Pythonistas, ask not what our language can do for you, ask
> what you can do for our language.
> 
> Mark Lawrence

Thanks - just what I was missing!



More information about the Python-list mailing list