Did you read about that?
is name. The connection between the Creator and his Creation is by way of His Messengers, and these Messengers only know what Allah wants from them by way of revelation, either directly or indirectly. The rational mind cannot dismiss the possibility of revelation, since nothing is difficult for the all-powerful Creator revelation is a communication between two beings: one that speaks, commands, and gives, and another who is addressed, commanded, and receives. Prophet Muhammad (peace be upon him) - as with every Prophet - never confused himself with the One who gave the revelation to him. As a human being, he felt his weakness before Allah, feared Allah's wrath if he should disobey, and hoped for Allah's mercy. Proves why it is impossible that Mohammad (Pbuh) wrote the Quran : 1. No matter how brilliant or insightful a person might be, there is no way that he could discuss the happenings of nations lost to antiquity, issues of belief and Divine Law, the rewards and punishments of Heaven and Hell, and future events, all in such great detail without any contradiction and with a most perfect style and literary form. The Prophet (peace be upon him) had never once read a book nor met with any historian 2. The Qur'ân makes to the disbelievers a stern challenge that they will never be able to produce a chapter similar to it. Such a challenge would never have come from the Messenger (peace be upon him) 3. The Qur'ân, in some places, sternly rebukes Muhammad (peace be upon him) where he acted upon his own judgment in something and did not decide on what is best. The Qur'ân clarified the truth and showed the error of the Prophet (peace be upon him). 4. Many verses of the Qur'ân begin with the imperative verb "Say!" As a matter of fact, this occurs more than three hundred times, addressing Muhammad (peace be upon him) and directing him with respect to what he should say. He, thus, did not follow his own desires; he followed only what was revealed to him. 5. Complete harmony exists between what the Qur'ân says regarding the physical world and what has been discovered by modern science. This has been a source of amazement for a number of contemporary western researchers. Who was Muhammad? Muhammad (peace be upon him) was born in Makkah in the year 570, during the period of history Europeans called the Middle Ages. Muhammad was the son of Aamenah and Abdullah, from the tribe of Quraysh. He was a direct descendant of Ishmael, the eldest son of prophet Abraham. Muhammad's father died just before he was born, and his mother passed away when he was six. He was raised by this grandfather, the chief of Makkah; and upon his grandfather's death, Muhammad came under the care of his uncle, Abu Talib. Muhammad was a shepherd in his youth. As he grew up, he became known for his truthfulness, generosity, and sincerity; earning the title of al Amin, the trustworthy one. Muhammad was frequently called upon to arbitrate disputes and counsel his fellow Makkans. At age 25, Muhammad married Khadijah, an honorable and successful businesswoman. They were blessed with two sons and four daughters. It was an ideal marriage and they lived a happy family life. Muhammad was of a contemplative nature and had long detested the decadence and cruelty of his society. It became his habit to meditate from time to time in the cave of Hira' near the summit of Jabal an- Nur, the "Mountain of Light" on the outskirts of Makkah. How did Muhammad become a Messenger of God? At the age of 40, while engaged in a meditative retreat, Muhammad received his first revelation from God through the Archangel Gabriel. This revelation, which continued for twenty three years, is known as the Qur'an Muhammad began to share the revelations he received from God with the people of Makkah. They were idol worshippers, and rejected Muhammad's call to worship only One God. They opposed Muhammad and his small group of followers in every way. These early Muslims suffered bitter persecution. In 622, God gave the Muslim community the command to emigrate. This event, the hijrah or migration, in which they left Makkah for the city of Madinah, some 260 miles to the North, marks the beginning of the Muslim calendar. Madinah provided Muhammad and the Muslims a safe and nurturing haven in which the Muslim community grew. After several years, the Prophet and his followers returned to Makkah and forgave their enemies. Then, turning their attention to the Ka'bah (the sanctuary that Abraham built), they removed the idols and rededicated it to the worship of the One God. Before the Prophet died at the age of 63, most of the people of Arabia had embraced his message. In less than a century, Islam had spread to Spain in the west, as far east as China. -- http://mail.python.org/mailman/listinfo/python-list
variable question
Can a variable be considered the simplest of the data structures. I am tutoring some kids about basics of programming using python. Not an expert in computer sciences, but am a python enthusiast. I wanted to know if it is correct to say a variable is a data structure, it has a name and a value. Put a stack of variables in a special data structure called a dictionary where the each name associates to a value. If in a data structure, one uses numbers starting from 0 to describe the name, it becomes a list and so forth -- http://mail.python.org/mailman/listinfo/python-list
Re: variable question
On Jul 12, 8:05 am, Robert Lehmann <[EMAIL PROTECTED]> wrote: > On Fri, 11 Jul 2008 20:13:04 -0700, happy wrote: > > Can a variable be considered the simplest of the data structures. I am > > tutoring some kids about basics of programming using python. Not an > > expert in computer sciences, but am a python enthusiast. > > Why do you need this additional layer of indirection? Just explain the > real simple data structures à la "look, kids, a string is a chain of > characters which are bytes actually. etc. here>". Although explaining encodings is an *important* thing (which > many programmers still get wrong), it might be second priority to kids > and you might just want to say "a string is text" and jump into higher- > order data structures. > > > I wanted to know if it is correct to say a variable is a data structure, > > it has a name and a value. > > Not at all. This sounds a lot like an explanation for variables in other > languages (such as C, where the value also has a type). In Python, we use > to speak of "names," not variables. They are more like name tags you can > put on objects -- or you don't. Depending on the age/interest of your > students, I'd insert an explanation about references, reference counting > and garbage collection here (they usually find that quite understandable > and it paves the way for The Real Stuff, even though you might argue that > the refcounting gc is a CPython detail and might become obsolete with > PyPy's rise ). > > The important thing is really that Python's approach of references is > nearly orthogonal to the common approach of variables. In other > languages, variables are (as you described above) containers (a bucket, > really!) in your memory where you can put stuff into. Assignment is > usually a copy or pointer operation. > Python does not care at all about your memory. You have abstract objects > (incidentally saved in your memory, okay) with names being one mechanism > to reference them. Here, assignment is always a "put the left-hand side > name tag onto the right-hand side object". > > > Put a stack of variables in a special data > > structure called a dictionary where the each name associates to a value. > > If in a data structure, one uses numbers starting from 0 to describe the > > name, it becomes a list and so forth > > First off, you really put objects in your data structures. Names are a > one-way mapping -- the object does not know which name tags are assigned > to it. > > Your explanation of dictionaries and lists sounds a little bit upside- > down (not the mapping name->value or number->value makes it a dict or > list -- the data structure makes it a mapping with this and that > behaviour). > > HTH, > > -- > Robert "Stargaming" Lehmann Thanks for the reply. I think its better to leave the "teach kiddies" tutoring opportunity for the python experts out there. Would "python experts" have an appetite for newbies and "kiddies"? Only time will tell... I must really focus on learning the language better. "Look kids, you will learn it when you grow up... Now get out of here..." -- http://mail.python.org/mailman/listinfo/python-list
Re: Invalid syntax with print "Hello World"
On Thursday, March 12, 2009 3:25:53 PM UTC+8, John Machin wrote: > On Mar 12, 5:57 pm, Henrik Bechmann wrote: > > obviously total mewbiew: > > > > My first program in Python Windows > > What is that you are callind "Python Windows"? What version of Python > are you running? > > 2.X: print "Hello World" > should work. > > 3.X: print is now a function, > print("Hello World") > should work. > > If that gets you going: read the tutorial that belongs to the version > of Python that you are using. > If it doesn't, come back here with a bit more detail. > > BTW, don't indent your first line. Make sure it starts in column 1. > > HTH, > John > > > > print "Hello World" > > > > I select Run/Run Module and get an error: > > > > Syntax error, with the closing quote highlighted. > > > > Tried with single quotes as well. Same problem. > > > > Can someone explain my mistake? > > > > Thanks, > > > > - Henrik Thank you.I got the same error.And your suggestion is so useful. -- http://mail.python.org/mailman/listinfo/python-list
Re: Who told str() to round my int()'s!!!
I saw your article is very good, I like it very much. I will continue to pay attention to your article, the following are the points I hope that I have similar concerns. http://www.game-win.com http://www.game-win.com/wow-powerleveling.html http://www.game-win.com/faq.html http://www.game-win.com/power-leveling.html http://www.game-win.com/World-of-Warcraft-power-leveling.html http://www.game-win.com/about.html http://www.paper-cup-machine.com/cn/index.html http://www.sinceremachine.com http://www.clickra.com http://www.clickra.com/NewsList_2.htm http://www.east163.com http://www.ruian2machine.cn http://www.rajayj.cn http://www.mycvcv.com http://www.dgajm.com http://www.icansee.cn http://www.icansee.cn/chanpin.htm http://www.icansee.cn/8.htm http://www.pjwsdyb.com http://www.shdyf.com http://www.shdyf.com/nbdy.htm http://www.nonwoven-bags.cn -- http://mail.python.org/mailman/listinfo/python-list
Re: Biased random?
I saw your article is very good, I like it very much. I will continue to pay attention to your article, the following are the points I hope that I have similar concerns. http://www.game-win.com http://www.game-win.com/wow-powerleveling.html http://www.game-win.com/faq.html http://www.game-win.com/power-leveling.html http://www.game-win.com/World-of-Warcraft-power-leveling.html http://www.paper-cup-machine.com http://www.sinceremachine.com http://www.clickra.com http://www.clickra.com/NewsList_2.htm http://www.east163.com http://www.ruian2machine.cn http://www.rajayj.cn http://www.mycvcv.com http://www.dgajm.com http://www.icansee.cn http://www.icansee.cn/chanpin.htm http://www.pjwsdyb.com http://www.shdyf.com http://www.nonwoven-bags.cn http://www.plastic-thermoforming-machine.com http://www.gopowerlevel.com -- http://mail.python.org/mailman/listinfo/python-list