0 Members and 2 Guests are viewing this topic.
Also, the new version has been uploaded to ticalc.org here. And there's a version with the Unix line endings here. (Copies are also available in Cemetech's archives- and I'll replace the one in the first post in a second with a link to ticalc.org).
Quote from: TC01 on December 05, 2010, 05:29:07 pmAlso, the new version has been uploaded to ticalc.org here. And there's a version with the Unix line endings here. (Copies are also available in Cemetech's archives- and I'll replace the one in the first post in a second with a link to ticalc.org).Is it raw_input() based already?
import calcpkgdata = calcpkg.ticalcSearchIndex(msg[14:])print calcpkg.structureSearchOutput("File Path/Category:", "File Name:")print "======================================================================================================================="for datum in data: print calcpkg.structureSearchOutput(datum[0], datum[1])
Quote from: ScoutDavid on December 05, 2010, 05:30:11 pmQuote from: TC01 on December 05, 2010, 05:29:07 pmAlso, the new version has been uploaded to ticalc.org here. And there's a version with the Unix line endings here. (Copies are also available in Cemetech's archives- and I'll replace the one in the first post in a second with a link to ticalc.org).Is it raw_input() based already?No, it's not... but you should be able to just do this if you want to run a search (although, you probably don't want to be printing to a command line in a wxPython GUI):Code: [Select]import calcpkgdata = calcpkg.ticalcSearchIndex(msg[14:])print calcpkg.structureSearchOutput("File Path/Category:", "File Name:")print "======================================================================================================================="for datum in data: print calcpkg.structureSearchOutput(datum[0], datum[1])There are other functions too, for everything that can be called without needing a command line.So you probably could make a GUI for it now without any further changes.
Nice update. I also just remembered something: Ticalc won't let you search words shorter than 4 words. I assume your package manager can, right? Because this was annoying on ticalc when you wanted to search for "RPG" for example but it told you your query was too short. X.x
Cool! When it is finished someone could indeed make a GUI. Not that it's fully necessary, though. I like the features so far.
Could you make it poll the new files xml feed to get new data?If it doesn't at least know the last file in the xml feed, assume the data is old and needs updated, and prompt?
Quote from: DJ Omnimaga on December 19, 2010, 11:53:31 amCool! When it is finished someone could indeed make a GUI. Not that it's fully necessary, though. I like the features so far. The GUI will basically be an easier way to choose options (a choice list, you can choose 1,2, or 3 options at the same time), a text control to input text, and a button that lists, allows download and counts, all the features in one button
Yeah it depends of people. I myself can,t stand doing everything through command prompt if it means navigating through directories and stuff, and I never remember the batch file syntax. Some people prefer guis, but guis means lower compatibility.