Oleh: rennypradina | Mei 28, 2009

Alive

Finally, I regain my Internet connection…. Thanks to my husband. :)

Yup, I’m back online…. It’s rather queer though, I feel like exclaiming, “I’m alive!!!” :-P

Anyway, alhamdulillah….

Oleh: rennypradina | Maret 28, 2009

Installing Beautiful Soup

(I was originally intending to write, “OMG, Python is so wonderful!”. But then I came to. :-D )

I wanted to install Beautiful Soup, a module in Python for parsing HTML. There was no quite explicit step-by-step guide on how to do it, just that I should put the file (which file? BeautifulSoup3.0.7a.py?) in Python library or in my working directory. I decided to put it in C:\Python26\Lib\, since it was where urllib2 (another Python module) was. Doing this in the Python interpreter:

>>> from BeautifulSoup import BeautifulSoup

yields:

Traceback (most recent call last):
File “”, line 1, in
from BeautifulSoup import BeautifulSoup
ImportError: No module named BeautifulSoup

so I decided to try putting it in C:\Python26\Lib\site-packages, since it was where non-bundle Python modules are to be stored, according to several websites. (I had Python Image Library there.) But it just didn’t work, again.

I didn’t remember having any such problem when my OS was Ubuntu…. Oh yes, it was because there was ‘easy-install’. Easy it was, indeed.

So I thought, maybe because the name of the file was not BeautifuSoup.py, but rather, BeautifulSoup3.0.7a.py. I decided to truncate the version part of the name, and performing >>> from BeautifulSoup import BeautifulSoup again.

Guess what? It worked! (At least, no more error message. :-) )

If it does indeed work, then no wonder that there is no explicit how-to for installing BeautifulSoup. It *is* as easy as that.

However, I notice that in the C:\Python26\Lib\site-packages folder there is now a compiled BeautifulSoup file. Could it be that if I run the BeautifulSoup3.0.7a first, effecting in the creation of a compilation of Beautiful Soup, I don’t need to truncate the file’s name? What method would be ‘right’? Is it both?

Oleh: rennypradina | Maret 28, 2009

The Sorting Hat…

It turns out that I can be either a Ravenclaw or a Hufflepuff…. :-)

ravenclaw2

Oleh: rennypradina | Maret 28, 2009

I Think That It is Wonderful

One of my favourites from Sesame Street. :-)

Sesame Street : I Think That It Is Wonderful

Big Bird: I think that it is wonderful
To wake up with the sun
When it has just begun
To shine
Hello, bright morning sun

The Count: I think that it is wonderful
To hear the waking street
As all those busy feet
Go by
Hello, Sesame Street

Cookie Monster: Me think that it is wonderful
To wake up wanting food
To be in hungry mood
Is swell
[Don't worry, my tummy stop growling after me have breakfast]
Hello, food food food food!

Prairie Dawn: I think that it is wonderful
To stretch from head to heels
When I get up it feels
Just right
Hello, knees, toes, and heels

Grover: I think that it is wonderful
To scrub each part of me
To make sure I will be
All clean
Hello, clean, spiffy me

Ernie: I think that it is wonderful
That I can see a star
When it’s so very far
Away
Good night, faraway star

Bert: I think that it is wonderful
That I can hear birds sing
When outside everything
Is still
Good night, bird on the wing

Cookie Monster: Me think that it is wonderful
To eat my food all up
Especially at sup-
pertime
[Or lunch time or breakfast time.
It not matter]
Night, night, delicious food

Prairie Dawn: I think that it is wonderful
That I can smell a rose
I’m so glad that my nose
Knows how
Good night, sweet-smelling rose

Herry Monster: I think that it is wonderful
To hug my Teddy bear
It doesn’t matter where
We are
Sleep tight, Teddy, my bear

(Split screen; all five characters sing their respective verses as a round, with the third line of each verse trailing at the end in order. Cut to each character in bed; this sequence is repeated twice:)

Ernie: Good night, faraway star

Bert: Good night, bird on the wing

Cookie: (in bed with a few cookies–how the heck will he sleep?!): Good night, delicious food

Prairie: Good night, sweet-smelling rose

Herry: Good night, Teddy, my bear

All: Good night, good night, good night

http://www.metrolyrics.com/i-think-that-it-is-wonderful-lyrics-sesame-street.html

Oleh: rennypradina | Maret 20, 2009

Forget

What a blessing it is, that man can forget.

Today, I wish I would forget, sooner than I usually do.

Oleh: rennypradina | Maret 1, 2009

These Troubles Won’t Last Forever

A simple, yet beautiful poetry:

“Your kindness for weakness I never mistook
I worried you often, yet you understood
That life is so fleeting, these troubles won’t last
Forever”

I found it on this blog page:
http://uniformvelocity.com/2009/02/26/one-of-the-coolest-homes-ever-pics/

The blog entry was about the struggle of a man to keep the house of his dreams. Guess what, the wonderful home was made out of a cave!

As I searched for the writer of the poetry, it turned out that it was an excerpt from a song – ‘Forever’, by Dropkick Murphys. The (live) accoustic version can be listened to here:
http://www.youtube.com/watch?v=T140zwWoNBo&feature=related

Oleh: rennypradina | Februari 6, 2009

I Miss You…

Oh, how I miss you!
With you, everything seems saner.
Together, we would laugh off our difficulties. Through our girls chats or silly nothings, we hush them away.

Though troubles seem ever near; but, hey,
it’s not a matter of them being there after all. It’s how we face them.

I would often silently worry that you would go desperate; but you had always been brave. Thank you dear, you have inspired me to be brave myself.

Oh, how I miss you….

(And, oh, how I rambled!:p)

Oleh: rennypradina | Januari 10, 2009

A Self-Reminder

Worry not, everything’s been written by the Merciful One.

Oleh: rennypradina | Desember 31, 2008

Kecewa

Kecewa… ah, aku kecewa.

(Come to think of it, ‘kecewa’ is a rather funny sounding word. :-p
But I still am dissappointed, though.)

Oleh: rennypradina | Desember 2, 2008

December

December was the month when my father departed….
The month of my brother’s birthday
The month when I arrived in the middle of a cold, cold winter.

As December arrives, a year is to be passed
And another one is to come.
As we struggle to give this year an ending worthy of fond remembrance,
May hopes of an even better tomorrow keep our spirits bright.

InsyaAllah….

Tulisan Sebelumnya »

Kategori