ابحثاسم المستخدمقائمة التنقلالموجودون الآن
يوجد حاليا مستخدم واحد و 5 ضيوف متصلون.
الأعضاء الجددملفات للتحميل |
مدونة mpcabdI’m Learning Python part 10 (last one)نشره mpcabd في الأربعاء, 16/09/2009 - 12:20ص
I'm Learning Python part 10
(last one) Back to blogging As usual, I will apologize for not blogging for a long time. At Damascus University, in the faculty of informatics we managed to create free courses for students, and I was one of the teachers there, I taught Python to students. As far as I know this course was the first Python course in Damascus University.
Even though the students were a few (actually a very little few about 8 ~ 10 students) the course was great. We managed to learn Python 2.6 Syntax, a little bit of its standard library and a little bit of PyQt4 in about 7 days x 2 hours daily. As far as I know too, students understood it and found it great, and I hope they'll be using this great language more in their programs.
Why last one? The tour with Python ends here, while it ends here it starts here too, it ends here because so far you've learned what you need to start your own path in Python. And it starts here because you're fully equipped with the base tool to discover more tools, I'll let you discover the standard library and 3rd-party libraries on your own, because everyone differs in his/her interests. ( )
ألف باء النقاشنشره mpcabd في الثلاثاء, 09/06/2009 - 1:07ص
ردا ً على المنحى اللا حضاري الذي اتخذه أحد النقاشات ضمن المنتدى من أحد الأطراف على شكل تصرف طفولي, وجدت أنه من اللازم أن نتعرف كلنا على ألف باء النقاش الحضاري, النقاش الذي يجب علينا أن نتناقشه, هذا الكلام ليس لشخص ٍ بذاته, وهو لي أولا ً قبل أي شخص آخر, ومع كامل الاحترام لمن لا يريد التقيد به.
هذه المدونة محاولة لجمع آراء وأفكار من أنحاء العالم لبيان مقومات النقاش الحضاري والأسلوب المتبع في النقاش. ( )
اليوم الصعبنشره mpcabd في السبت, 23/05/2009 - 11:41ص
مرحبا من جديد ( )
استعمال Gedit كمحرر للكودنشره mpcabd في الأربعاء, 13/05/2009 - 12:46ص
منذ أن بدأت استعمال نظام Linux وبدأت التعلم والعمل عليه افتقدت برنامج محرر النصوص الشهير Notepad++, كان هذا المحرر يعد من وجهة نظري الأفضل في مجال تحرير النصوص, وخاصة البرمجية منها على نظام Windows. يأتي مع Ubuntu محرر النصوص Gedit بشكل افتراضي, وهو محرر جيد لكنه غير عملي في تحرير الكود في البداية, لكن مثله كمثل أي برمجية أخرى على Linux (أو برمجية حرة بشكل عام) فهو قابل للتعديل بشكل كبير (طبعا ً كان Notepad++ وما زال برمجية حرة, وهو أيضا ً يتميز بقابلية التعديل الكبيرة), والتعديل هنا من حيث الإضافات Plugins وليس تعديل كود البرنامج ( )
I'm Learning Python part 9نشره mpcabd في الجمعة, 20/03/2009 - 1:53ص
I'm Learning Python part 9
Classes In Python As I told you before, Python is a powerful programming language, and powerful it won't be without Object Oriented design.
Python supports both Pure Object Oriented Programming (Every thing must be in a class) and Structural Programming (You can type code everywhere).
It supports also other programming paradigms like Functional Programming. I won't write about OOP and its uses, why we should use it, I'll just give you the keys to use OOP in Python.
Defining a Class Classes in Python are defined like this:
( )
من ركل القطة؟!نشره mpcabd في الخميس, 19/03/2009 - 12:38م
قصة من كتاب "استمتع بحياتك" لـ "د. محمد بن عبد الرحمن العريفي" أعجبتني وأردت أن أشاركم بها:
قبل أن تجيب على السؤال .. اسمع القصة كاملة .. كان يعمل سكرتيراً لمدير سيء الأخلاق .. لا يطبق مهارة واحدة من مهارات التعامل مع الناس .. كان هذا المدير يراكم الأعمال على نفسه .. ويحملها ما لا تطيق .. ( )
I'm Learning Python part 8نشره mpcabd في السبت, 21/02/2009 - 12:27ص
I'm Learning Python part 8
Python 3.0
( )
اجتماع مع النخبةنشره mpcabd في الخميس, 04/12/2008 - 1:07ص
يوم من أجمل أيام حياتي, يوم لن أنساه ما حييت, الثاني من كانون الأول عام 2008, يوم جعلني أطير من الفرح والبهجة والسرور. لم يدخل السرور قلبي منذ زمن, لكنه في ذاك اليوم أعاد النظر في علاقتنا ليعود بزيارة ٍ ما زارني مثلها قط.
من النادر أن أجتمع بشخص يقبلني كما أنا ويتفهمني ويشاركني اهتماماتي بنفس الوقت, وهذه كانت أكبر مشاكلي في حياتي أنني لا استطيع أن أتناقش مع أي شخص بما يدور في بالي لأني أبدو غريبا ً عندها.
( )
I'm Learning Python part 7نشره mpcabd في السبت, 29/11/2008 - 1:10ص
I'm Learning Python (part 7)
Apology: First of all I wanna apologize for being late with this part, I've had busy days first during Shaam 2008 expo and second during some studies at the college and last busy time past launching Bawabaty project. ( )
I'm Learning Python part 6نشره mpcabd في الجمعة, 07/11/2008 - 11:10م
I'm Learning Python (part 6)
Dictionaries Dictionaries in Python are like dictionaries in life, they consist of key-value pairs, each key maps a value, values can be any object type, and keys also. Keys must be unique, I mean that we can't have two identical keys with different values.
Dictionaries are defined using curly braces { and } as the following:
>>> D = {'name' : 'Abd Allah Diab', 'age' : 19, 'job' : 'Web Developer'}
Now we can access any of the pairs using only the key:
>>> D['age']
19
Dictionaries are mutable objects, which means we can change their values in place:
>>> D['age'] += 1
>>> D['age']
20
We can add new pairs also easily:
>>> D['eyes'] = 'brown'
>>> D
{'job' : 'Web Developer', 'age' : 20', 'eyes' : 'brown', 'name' : 'Abd Allah Diab'}
As you can see, the dictionary is not sorted, we entered the name first then the age and job, and at last we added the eyes, but it prints in a different order.
( )
|