Comments (8)
Support for python 3 could be great!! I cannot go over all the code and migrate
to 2.x in order to use this so great library. My code crashes at some print
statements
Original comment by [email protected]
on 22 Apr 2014 at 3:48
from tkintertable.
I'll note I got the following when I used Gentoo's gpypi script to install
tkintertable:
* Messages for package dev-python/tkintertable-1.1.2:
* Syntax errors / warnings in Python modules for CPython 3.3:
* *** Error compiling '/usr/lib64/python3.3/site-packages/tkintertable/NumpyStats.py'...
* File "/usr/lib64/python3.3/site-packages/tkintertable/NumpyStats.py", line 27
* print 'you need numpy to do statistics'
* ^
* SyntaxError: invalid syntax
*
* *** Error compiling '/usr/lib64/python3.3/site-packages/tkintertable/Prefs.py'...
* File "/usr/lib64/python3.3/site-packages/tkintertable/Prefs.py", line 46
* print 'Did not find preferences!!!'
* ^
* SyntaxError: invalid syntax
*
* *** Error compiling '/usr/lib64/python3.3/site-packages/tkintertable/PylabPlot.py'...
* File "/usr/lib64/python3.3/site-packages/tkintertable/PylabPlot.py", line 29
* print 'you need numpy to do statistics'
* ^
* SyntaxError: invalid syntax
*
* *** Error compiling '/usr/lib64/python3.3/site-packages/tkintertable/TableModels.py'...
* File "/usr/lib64/python3.3/site-packages/tkintertable/TableModels.py", line 62
* print 'reclist does not match data keys'
* ^
* SyntaxError: invalid syntax
*
* *** Error compiling '/usr/lib64/python3.3/site-packages/tkintertable/Tables.py'...
* File "/usr/lib64/python3.3/site-packages/tkintertable/Tables.py", line 560
* print 'found in',row,col
* ^
* SyntaxError: invalid syntax
*
* *** Error compiling '/usr/lib64/python3.3/site-packages/tkintertable/TablesApp.py'...
* File "/usr/lib64/python3.3/site-packages/tkintertable/TablesApp.py", line 218
* print 'skipping'
* ^
* SyntaxError: invalid syntax
*
* *** Error compiling '/usr/lib64/python3.3/site-packages/tkintertable/Testing.py'...
* File "/usr/lib64/python3.3/site-packages/tkintertable/Testing.py", line 154
* print '%s found' %len(vals)
* ^
* SyntaxError: invalid syntax
That at least lists some line numbers, if I get a moment I might have a look
and see if I can correct those, not that it will necessarily address all
Python3-related issues but it's a start.
Original comment by [email protected]
on 29 Sep 2014 at 12:05
from tkintertable.
Here's a first attempt at fixing up the print statements. We'll see about the
other Python3 issues, the patch is untested.
Original comment by [email protected]
on 29 Sep 2014 at 12:18
Attachments:
from tkintertable.
I admit that I'm lazy. If this gets fixed before I port the code to python3, I
would greatly appreciate it.
If not, I am working on porting tkintertable to python 3. When I have it
working, I'll post that fact here along with the tar bundle.
Original comment by [email protected]
on 21 Nov 2014 at 8:14
from tkintertable.
[deleted comment]
from tkintertable.
[deleted comment]
from tkintertable.
After a couple of tries I finally got it.
Here is the python 3 version.
Original comment by [email protected]
on 22 Nov 2014 at 4:13
Attachments:
from tkintertable.
I found this other tktable that seems to behave a little more predictably.
To use with python 3 just ust the 2to3 utility to modify
/usr/lib/Tktable2.10/tktable.py. Then it works as expected.
Here is the URL where the project is hosted:
http://tktable.sourceforge.net/
Documentation here:
http://tktable.sourceforge.net/tktable/doc/tkTable.html
Original comment by [email protected]
on 23 Nov 2014 at 5:24
Attachments:
from tkintertable.
Related Issues (15)
- Wrong default extension when opening saved file in example app
- Problem with deleteRows when deleting all the rows in table
- All entries doesnt get deleted on delete HOT 1
- tkintertables should open csv file for output in binary mode
- Support for multi-line entries?
- Access violation. Double clicking records outside the list. HOT 1
- some bugs in python 3 version of the program and solutions to it
- Specifiy the order of columns HOT 1
- requires pmw HOT 2
- bug in handle_arrow_keys()
- bug in handle_double_click()
- Table not redrawn when embodying window is maximized
- Install / first use problem HOT 1
- prints debug message
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tkintertable.