ٍٍTHE COURT OF COMPUTING SYSTEMS
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.


The Court Of Computing Systems
 
الرئيسيةالرئيسية  البوابةالبوابة  أحدث الصورأحدث الصور  التسجيلالتسجيل  دخولدخول  
بحـث
 
 

نتائج البحث
 
Rechercher بحث متقدم
دخول
اسم العضو:
كلمة السر:
ادخلني بشكل آلي عند زيارتي مرة اخرى: 
:: لقد نسيت كلمة السر
المتواجدون الآن ؟
ككل هناك 4 عُضو متصل حالياً :: 0 عضو مُسجل, 0 عُضو مُختفي و 4 زائر

لا أحد

أكبر عدد للأعضاء المتواجدين في هذا المنتدى في نفس الوقت كان 22 بتاريخ السبت نوفمبر 11, 2023 7:29 pm
احصائيات
هذا المنتدى يتوفر على 269 عُضو.
آخر عُضو مُسجل هو Lona فمرحباً به.

أعضاؤنا قدموا 224 مساهمة في هذا المنتدى في 164 موضوع
المواضيع الأخيرة
» دائرة مكبر صوت من الميكروفون وحتى السماعة ... كامل التصميم
python code to know current file name and path and directory Emptyالسبت ديسمبر 13, 2014 11:31 pm من طرف محمدهاشم

» python code to know current file name and path and directory
python code to know current file name and path and directory Emptyالأحد أغسطس 12, 2012 12:47 pm من طرف 000000000000000

»  assert -statement in python
python code to know current file name and path and directory Emptyالإثنين يوليو 02, 2012 3:12 am من طرف Admin

» Solving no-interface issue in Wireshark on Ubuntu 11.10
python code to know current file name and path and directory Emptyالإثنين يوليو 02, 2012 2:36 am من طرف Admin

» python application slide
python code to know current file name and path and directory Emptyالسبت يونيو 30, 2012 2:56 am من طرف Admin

» Google Developers Day US - Python Design Patterns
python code to know current file name and path and directory Emptyالأربعاء يونيو 06, 2012 7:49 pm من طرف 000000000000000

» Google Developers Day US - Python Design Patterns
python code to know current file name and path and directory Emptyالأربعاء يونيو 06, 2012 7:19 pm من طرف 000000000000000

» شرح بالعربي ومبسط Acess Control List
python code to know current file name and path and directory Emptyالإثنين أبريل 16, 2012 5:59 am من طرف 000000000000000

» Cisco Packet Tracer on ubuntu
python code to know current file name and path and directory Emptyالأربعاء مارس 14, 2012 2:06 pm من طرف Admin

تصويت

 

 python code to know current file name and path and directory

اذهب الى الأسفل 
كاتب الموضوعرسالة
000000000000000




ذكر عدد المساهمات : 224
نقاط : 10299
تاريخ الميلاد : 04/01/1988
العمر : 36
الموقع : الخليل - نابلس
العمل/الترفيه : برمجة الويب وطالب في هندسة الكمبيوتر
المزاج : ممتاز

python code to know current file name and path and directory Empty
مُساهمةموضوع: python code to know current file name and path and directory   python code to know current file name and path and directory Emptyالأحد أغسطس 12, 2012 12:47 pm

import inspect, os

print inspect.getfile(inspect.currentframe()) # script filename

print os.path.dirname(inspect.getfile(inspect.currentframe())) # script directory
الرجوع الى أعلى الصفحة اذهب الى الأسفل
https://c-s-c.123.st
 
python code to know current file name and path and directory
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1
 مواضيع مماثلة
-
» python application slide
» python to exe download book
»  assert -statement in python
» Google Developers Day US - Python Design Patterns
» Google Developers Day US - Python Design Patterns

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
ٍٍTHE COURT OF COMPUTING SYSTEMS  :: SOFTWARE :: PYTHON LANGUAGE-
انتقل الى: