DBY
Who's Online
0 registered (), 7 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Latest Photo Gallery
light pole in the water
Eastern State Penitentiary - Philadelphia
Top Posters (30 Days)
Anartist 14
HarryB 12
Goofy 10
FinalDJ 10
m2h 8
Fitzy 5
Meph 2
Doorslammer 1
Nightowl 1
Dough 1
Topic Options
#169893 - 10/04/09 03:10 PM python!
Snufflufikist Offline
Cyber zombie

Registered: 12/05/01
Posts: 4005
Loc: canada
I learned it this weekend. Well, not the entire language. But enough to make a neat little program that pulls words/phrases in English (and the French translations) from a CSV file that I'm continually adding to, randomly asks me to type in the French tranlsation of a given word/phrase, then saves back to the csv. It also manipulates a number in the 4th column (index, French, English, randomness weight) which changes based on how often I get that particular one right, so that the more I get one wrong, the more I have to do it.

Got it finished last night and have been using it tonnes. I'm trying to limit myself because language learning should be done over time, not in bursts. I think to remedy this, I will create a 5th column and get the program to write the date of the last time I had to answer a given question, and add to its weight if it's been awhile. This would be so that when the phrase's randomness weight decreases down to 0, I won't be stuck a month later realizing that I don't remember it because it stopped showing up in my list because I tested myself to death on it...

I picked python rather than a language I've used before (C++, Pascal...) because Pascal is old and C++ seemed like it required too much setup. Python is a 13 meg install and a really low-overhead kind of application.

yep... that's my story

Top
#169896 - 10/04/09 07:01 PM Re: python! [Re: Snufflufikist]
Mr_Blog Offline
human

Registered: 06/06/01
Posts: 13762
Loc: ${PWD}
Not to spit on your achievement, but if you're looking for a simple language with low overhead, I can't think of anything better than Lua. Personally I've always thought Python was pretty bloated...not as bad as Pearl, but still pretty bad. The only reason I have it installed is because Blender makes heavy use of it.
_________________________
( o_
/ >) My 84-year-old non-techy mom uses Debian Linux. It ain't that hard.

Top
#169904 - 10/05/09 12:56 AM Re: python! [Re: Mr_Blog]
Snufflufikist Offline
Cyber zombie

Registered: 12/05/01
Posts: 4005
Loc: canada
fair enough.

(Though I care less about the language itself being bloated than the software to do the programming in, since the program I'm running is ultra simple)

But thanks for the heads up about Lua

Top
#169967 - 10/07/09 02:24 PM Re: python! [Re: Snufflufikist]
Doorslammer Offline

Funeral Director

Registered: 06/03/01
Posts: 6193
Loc: South Jersey
hey man thats great keep going with it you never know what it may lead to
_________________________
new url easy to remember www.MyDby.com another www.w3board.com and our original www.digital-boneyard.com

Top
#169982 - 10/07/09 11:05 PM Re: python! [Re: Doorslammer]
Frollard Offline
911, do you need police, fire, or ambulance?

Registered: 01/13/02
Posts: 4948
Loc: Canada
post code?
_________________________
In a world where the blind leads the blind, who do you follow?

Top



Moderator:  Doorslammer, Nightowl, NightShade, Rez 
Shout Box

Today's Birthdays
No Birthdays
May
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31