sql
css
python
mysql
database
xcode
android
objective-c
visual-studio
multithreading
eclipse
json
oracle
cocoa
delphi
apache
php5
asp
dom
Pass it to the int constructor.
int
>>> int('9') 9
season = int(partition_tuple_sea[0])
should do the job if I understand the problem and question correctly.