Changeset 105:ef8839e99f34
- Timestamp:
- 12/18/10 13:58:03 (5 years ago)
- Branch:
- default
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Help.html
- Property exe set to *
r103 r105 ˆà ˆà 1 <!--ˆà ˆà 2 Copyright 2010 Aydarkhanov Ruslan, Kurochkin Ilya, Rusinov Ivanˆà ˆà 3 ˆà ˆà 4 This file is part of Foobar.ˆà ˆà 5 ˆà ˆà 6 Foobar is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.ˆà ˆà 7 ˆà ˆà 8 Foobar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.ˆà ˆà 9 ˆà ˆà 10 You should have received a copy of the GNU General Public License along with Foobar. If not, see http://www.gnu.org/licenses/.ˆà ˆà 11 ˆà ˆà 12 -->ˆà 1 13 <html>ˆà 2 14 <head>ˆà -
automata.py
- Property exe set to *
r89 r105 ˆà ˆà 1 """Copyright 2010 Aydarkhanov Ruslan, Kurochkin Ilya, Rusinov Ivanˆà ˆà 2 ˆà ˆà 3 This file is part of Foobar.ˆà ˆà 4 ˆà ˆà 5 Foobar is free software: you can redistribute it and/or modify it underˆà ˆà 6 the terms of the GNU General Public License as publishedˆà ˆà 7 by the Free Software Foundation, either version 2 of the License,ˆà ˆà 8 or (at your option) any later version.ˆà ˆà 9 ˆà ˆà 10 Foobar is distributed in the hope that it will be useful,ˆà ˆà 11 but WITHOUT ANY WARRANTY; without even the implied warrantyˆà ˆà 12 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.ˆà ˆà 13 See the GNU General Public License for more details.ˆà ˆà 14 ˆà ˆà 15 You should have received a copy of the GNU General Public Licenseˆà ˆà 16 along with Foobar. If not, see http://www.gnu.org/licenses/.ˆà ˆà 17 """ˆà ˆà 18 ˆà 1 19 from state import *ˆà 2 20 ˆà -
interface.py
- Property exe set to *
r103 r105 ˆà ˆà 1 """Copyright 2010 Aydarkhanov Ruslan, Kurochkin Ilya, Rusinov Ivanˆà ˆà 2 ˆà ˆà 3 This file is part of Foobar.ˆà ˆà 4 ˆà ˆà 5 Foobar is free software: you can redistribute it and/or modify it underˆà ˆà 6 the terms of the GNU General Public License as publishedˆà ˆà 7 by the Free Software Foundation, either version 2 of the License,ˆà ˆà 8 or (at your option) any later version.ˆà ˆà 9 ˆà ˆà 10 Foobar is distributed in the hope that it will be useful,ˆà ˆà 11 but WITHOUT ANY WARRANTY; without even the implied warrantyˆà ˆà 12 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.ˆà ˆà 13 See the GNU General Public License for more details.ˆà ˆà 14 ˆà ˆà 15 You should have received a copy of the GNU General Public Licenseˆà ˆà 16 along with Foobar. If not, see http://www.gnu.org/licenses/.ˆà ˆà 17 """ˆà ˆà 18 ˆà 1 19 import mathˆà 2 20 import pickleˆà òÀæ òÀæ ˆà 57 75 file = tkFileDialog.asksaveasfile(defaultextension=".caf",ˆà 58 76 title="Save automata as",ˆà 59 ˆà filetypes=[('CCA File', '*.caf')])ˆà ˆà 77 filetypes=[('CCA File', '*.caf')],ˆà ˆà 78 mode="wb")ˆà 60 79 if file is not None:ˆà 61 80 pickle.dump([automata.field, automata.states], file)ˆà òÀæ òÀæ ˆà 63 82 def open_file(self, event=None):ˆà 64 83 file = tkFileDialog.askopenfile(title="Open file",ˆà 65 ˆà filetypes=[('CCA File', '*.caf')])ˆà ˆà 84 filetypes=[('CCA File', '*.caf')],ˆà ˆà 85 mode="rb")ˆà 66 86 if file is not None:ˆà 67 87 from_file = pickle.load(file)ˆà -
state.py
- Property exe set to *
r90 r105 ˆà ˆà 1 """Copyright 2010 Aydarkhanov Ruslan, Kurochkin Ilya, Rusinov Ivanˆà ˆà 2 ˆà ˆà 3 This file is part of Foobar.ˆà ˆà 4 ˆà ˆà 5 Foobar is free software: you can redistribute it and/or modify it underˆà ˆà 6 the terms of the GNU General Public License as publishedˆà ˆà 7 by the Free Software Foundation, either version 2 of the License,ˆà ˆà 8 or (at your option) any later version.ˆà ˆà 9 ˆà ˆà 10 Foobar is distributed in the hope that it will be useful,ˆà ˆà 11 but WITHOUT ANY WARRANTY; without even the implied warrantyˆà ˆà 12 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.ˆà ˆà 13 See the GNU General Public License for more details.ˆà ˆà 14 ˆà ˆà 15 You should have received a copy of the GNU General Public Licenseˆà ˆà 16 along with Foobar. If not, see http://www.gnu.org/licenses/.ˆà ˆà 17 """ˆà ˆà 18 ˆà ˆà 19 ˆà 1 20 class State(object):ˆà 2 21 ˆà
Note: See TracChangeset
for help on using the changeset viewer.