I just want to see what others have made. Any of you make Python Programs that you use for day to day tasks like Calendar keeping or simple calculations? Maybe a conversion tool? Have you written any GUI code for it, or do you just bring it up in an IDE or a command prompt?
Any of you make Python Programs for everyday tasks?
Collapse
X
-
Yeah, I made a couple of little conversion boxes with Tkinter and put them in the quick launch bar. I also made a program that prints out all the ASCII codes 0-255 along with the characters they produce. Then I made a much better one in C++. Ugly code with an ugly result:
Code:import string text = "" for i in xrange(16): for j in xrange(16): if string.hexdigits[i]+string.hexdigits[j] != "00": exec "text += \"\\\\x"+string.hexdigits[i]+string.hexdigits[j]+ \ "\\x"+string.hexdigits[i]+string.hexdigits[j]+"!\\n\"" print text, -
ahh, cool. I'm working on a couple of little things. Mostly just practice at the moment, but hopefully I can start making useful programs soon.Originally posted by boxfishYeah, I made a couple of little conversion boxes with Tkinter and put them in the quick launch bar. I also made a program that prints out all the ASCII codes 0-255 along with the characters they produce. Then I made a much better one in C++. Ugly code with an ugly result:
Code:import string text = "" for i in xrange(16): for j in xrange(16): if string.hexdigits[i]+string.hexdigits[j] != "00": exec "text += \"\\\\x"+string.hexdigits[i]+string.hexdigits[j]+ \ "\\x"+string.hexdigits[i]+string.hexdigits[j]+"!\\n\"" print text,Comment
-
I wrote many scripts for use in my work, mostly interacting with SDS/2 software for structural steel shop drawings. Examples:
A KISS file is a formatted ascii file containing steel member fabrication data. My script parses the file and organizes the data for reports.
A DXF file is a formatted ascii file containing drawing entity data. My script parses a DXF file and extracts building geometry, summarizes shear connector stud counts, etc.
Calculate roof geometry for hip and valley structures.
Layout building geometry in plan and in 3D.
Parametrically add structural steel members, and connection and miscellaneous materials to members.Comment
-
I wrote a script to download webcomics (if it is has a logical filenamestructu re, it's possible).
As for the rest, I was going to make an agenda-like program, but I'm busy with other things these days.Comment
-
That's a pretty handy tool. My computer died a few months ago with my entire iTunes library on it (and not backed up to a disc!). I lost some of my files, but was able to recover a good 90% of my library. I can definitely see how your script would be helpful.
I always said to myself "Nah, I'll never back up my music files... I'll just trust that everything will go OK for a long time...."
WHAT WAS I THINKING!Comment
Comment