CalcStat
Moderator: MaxCoderz Staff
CalcStat
I'm sure some of you have already heard me talk about this elsewhere, but I shall announce it here, too.
CalcStat is a Ticalc.org file statistics viewer written in pure Python.
It will provide all of the information you could every want about Ticalc files in an easily read format.
Unlike TiReport, this program is not dependent on your browser and looks nice.
So far it is 40% complete, and it will be released (with source code) before september 2005.
To keep up with this project, visit http://eric.woodtx.com. I don't have anything up there about it yet, but stuff will be added soon.
CalcStat is a Ticalc.org file statistics viewer written in pure Python.
It will provide all of the information you could every want about Ticalc files in an easily read format.
Unlike TiReport, this program is not dependent on your browser and looks nice.
So far it is 40% complete, and it will be released (with source code) before september 2005.
To keep up with this project, visit http://eric.woodtx.com. I don't have anything up there about it yet, but stuff will be added soon.
Last edited by anykey on Mon 10 Oct, 2005 3:38 am, edited 1 time in total.
Very.
All you'll have to do is unzip the file and run the executable.
Thanks to py2exe, I can now compile my Python programs!
The only information you'll need to know is your TiCalc account number, and once you enter it the first time it will be saved. You will then be prompted by a login window the lets you choose from a list of people who have used it (in case multiple people are sharing a computer).
I plan on making it as easy to use as possible!
I will also include the source, containing a tutorial on using the module for retrieving TiCalc data. This will let other Python programmers write their own GUI's and provide some insight.
All you'll have to do is unzip the file and run the executable.
Thanks to py2exe, I can now compile my Python programs!
The only information you'll need to know is your TiCalc account number, and once you enter it the first time it will be saved. You will then be prompted by a login window the lets you choose from a list of people who have used it (in case multiple people are sharing a computer).
I plan on making it as easy to use as possible!
I will also include the source, containing a tutorial on using the module for retrieving TiCalc data. This will let other Python programmers write their own GUI's and provide some insight.
-
- Extreme Poster
- Posts: 479
- Joined: Fri 17 Dec, 2004 11:09 pm
- Contact:
so its like this (i think the PHP source is posted somewhere on this forum also) : http://benryves.com/?page=ti83 ?
Yes.
This is how it works:
-It retrieves a copy of the page's html
-The html is then parsed by a variety of functions that return the information
Here's what one of the parsing objects looks like:
def get_rank(data):
[t]mark2 = string.find(data, "on our all-time top downloads")
[t]mark = string.find(data, "Ranked as")
[t]rank1 = data[mark+10:mark2]
[t]mark3 = string.find(data, "with ")
[t]mark4 = string.find(data, " downloads.")
[t]rank2 = data[mark3+5:mark4]
[t]rank = [rank1, rank2]
[t]return rank
[t] = Tab, since this is in Python
This is how it works:
-It retrieves a copy of the page's html
-The html is then parsed by a variety of functions that return the information
Here's what one of the parsing objects looks like:
def get_rank(data):
[t]mark2 = string.find(data, "on our all-time top downloads")
[t]mark = string.find(data, "Ranked as")
[t]rank1 = data[mark+10:mark2]
[t]mark3 = string.find(data, "with ")
[t]mark4 = string.find(data, " downloads.")
[t]rank2 = data[mark3+5:mark4]
[t]rank = [rank1, rank2]
[t]return rank
[t] = Tab, since this is in Python
-
- Extreme Poster
- Posts: 479
- Joined: Fri 17 Dec, 2004 11:09 pm
- Contact:
Neat. Its for a webpage tho? How will all the python work with the webpages? cgi?
also
I will show you something that is very helpful when posting code. Its name is not hard to remember. It is called the "code" tag. . Notice how it preserves formatting:
this is outside the code tag
There's a lot of spaces in front of this
And this one too
Unfortunately they dont show up formatted but inside a "code" tag...
also
I will show you something that is very helpful when posting code. Its name is not hard to remember. It is called the "code" tag. . Notice how it preserves formatting:
this is outside the code tag
There's a lot of spaces in front of this
And this one too
Unfortunately they dont show up formatted but inside a "code" tag...
Code: Select all
and this is inside the code tag
There's a lot of spaces in front of this
And this one too
I have no idea what makes you people think this will be embedded in a webpage!
This will be an executable (.exe) file for running on YOUR computer.
If I did want to use it in a webpage, however, I could write a CGI script (Python is very good for that) and use it that way.
Now this will be readable:[/code]
This will be an executable (.exe) file for running on YOUR computer.
If I did want to use it in a webpage, however, I could write a CGI script (Python is very good for that) and use it that way.
Now this will be readable:
Code: Select all
def get_rank(data):
mark2 = string.find(data, "on our all-time top downloads")
mark = string.find(data, "Ranked as")
rank1 = data[mark+10:mark2]
mark3 = string.find(data, "with ")
mark4 = string.find(data, " downloads.")
rank2 = data[mark3+5:mark4]
rank = [rank1, rank2]
return rank
-
- Extreme Poster
- Posts: 479
- Joined: Fri 17 Dec, 2004 11:09 pm
- Contact:
Screens!
Okay, I have some screens to show off now.
Remember, the finished product may or may not reflect these.
http://eric.woodtx.com/images/calcstat.gif
http://eric.woodtx.com/images/calcstat2.gif
http://eric.woodtx.com/images/screen.gif
Still working on it!
Remember, the finished product may or may not reflect these.
http://eric.woodtx.com/images/calcstat.gif
http://eric.woodtx.com/images/calcstat2.gif
http://eric.woodtx.com/images/screen.gif
Still working on it!
After getting frustrated with Tkinter's lack of features, I've switched over to a new GUI toolkit. CalcStat will still be written in Python, but I'll be using the wonderful wxPython (http://wxpython.org) for the GUI.
I have to admit, though, that I haven't done any work on it in the last couple of months. The release date will be set back another year.
I have to admit, though, that I haven't done any work on it in the last couple of months. The release date will be set back another year.
Allow me to ask a very stupid question: If it's an executable to run on my computer, that will load my Ticalc.org data from the website (provided that I have a connection with the Internet), why would I use your program instead of going to Ticalc.org..?
(Fears "you're unencouraging!" flames from CompWiz ;))
(Fears "you're unencouraging!" flames from CompWiz ;))
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Timendus wrote:Allow me to ask a very stupid question: If it's an executable to run on my computer, that will load my Ticalc.org data from the website (provided that I have a connection with the Internet), why would I use your program instead of going to Ticalc.org..?
(Fears "you're unencouraging!" flames from CompWiz ;))
Hey, here you bring up a valid concern.
When I complained, even you admitted that your post did little more than bash kerm. Your next post was much more constructive, and actually added something. I don't have any complains about that, even if it did bash Kerm.
In Memory of the Maxcoderz Trophy