• Which machine? is it 64 bit? in that case, use the beta template, and carefully read the previous threads on how to get it working.

  • @beer2011 , understand. I am also learning. Still brought up a good discussion. I hadn't been aware of this proble. A tricky one.

  • @omz
    Thank you , I was resolved ! (^^/
    Always , I received a precise advice , we are surprised .
    A new version(Pythonista) of the provision , we are looking forward .

  • @Sebastian
    Thank you! It works,well!
    And then, the sub menu was added to 'fruits'.
    There may be a better way...

    # coding: utf-8 import ui import console class MyTableView(object): def __init__(self): self.list = [{'title': 'Vegitable'}, {'title': 'Fruits'}, {'title': 'Fish'}] self.tv = ui.TableView() self.tv.name = 'Kind' self.tv.delegate = self self.tv.data_source = self nv = ui.NavigationView(self.tv) nv.name = 'Foods' nv.present('sheet') def tableview_did_select(self, tableview, section, row): tv = ui.TableView() tv.name = self.list[row]['title'] if tv.name == 'Fruits': sub_ds = SubTableView() tv.data_source = sub_ds tv.delegate = sub_ds tableview.navigation_view.push_view(tv) else: tv.delegate = self tableview.navigation_view.push_view(tv) def tableview_number_of_sections(self, tableview): return 1 def tableview_number_of_rows(self, tableview, section): return len(self.list) def tableview_cell_for_row(self, tableview, section, row): cell = ui.TableViewCell() cell.text_label.text = self.list[row]['title'] return cell class SubTableView(object): def __init__(self): self.fruits = [{'title': 'Banana'}, {'title': 'Orenge'}, {'title': 'Grape'}] self.tv = ui.TableView() self.tv.delegate = self self.tv.data_source = self def tableview_did_select(self, tableview, section, row): tv = ui.TableView() tv.name = self.fruits[row]['title'] tv.delegate = self tableview.navigation_view.push_view(tv) def tableview_number_of_sections(self, tableview): return 1 def tableview_number_of_rows(self, tableview, section): return len(self.fruits) def tableview_cell_for_row(self, tableview, section, row): cell = ui.TableViewCell() cell.text_label.text = self.fruits[row]['title'] return cell ### main ######################## MyTableView()
  • Sorry... Let me change question contents.
    In 'Pythonista', will the history of the open file be recorded?
    Any hints? Thanks.

  • @omz, Thanks!

    It was able to do well.

    It seems that I was doing that it was completely different. (- -;;

    And update of Pythonista is also carried out to expectation.

    alt text

  • @omz

    Thanks!
    I am glad if you correspond some day...

Internal error.

Oops! Looks like something went wrong!