About Python databases.
Python supports various databases like SQLite, MySQL, Oracle, Sybase, PostgreSQL, etc. Python also supports Data Definition Language (DDL), Data Manipulation Language (DML) and Data Query Statements. The Python standard for database interfaces is the Python DB-API.
Link: https://www.tutorialspoint.com/python_network_programming/python_databases_and_sql.htm#:~:text=Python%20supports%20various%20databases%20like,is%20the%20Python%20DB%2DAPI.
پ.ن: پیشنهاد من برای پروژه هایی که برای تمرین میزنید و کوچک هستن SQLite هست.
توی دورهی پایتون آقای اردوخانی توی تاپلرن یک سری پروژه با این دیتابیس زده شده که برای پروژه های کوچک کاملاً کافی است و اطلاعات مفیدی بهتون میده.
#Python
#پایتون
#دانستنی
#آموزش
@Pairen_Programmers
Python supports various databases like SQLite, MySQL, Oracle, Sybase, PostgreSQL, etc. Python also supports Data Definition Language (DDL), Data Manipulation Language (DML) and Data Query Statements. The Python standard for database interfaces is the Python DB-API.
Link: https://www.tutorialspoint.com/python_network_programming/python_databases_and_sql.htm#:~:text=Python%20supports%20various%20databases%20like,is%20the%20Python%20DB%2DAPI.
پ.ن: پیشنهاد من برای پروژه هایی که برای تمرین میزنید و کوچک هستن SQLite هست.
توی دورهی پایتون آقای اردوخانی توی تاپلرن یک سری پروژه با این دیتابیس زده شده که برای پروژه های کوچک کاملاً کافی است و اطلاعات مفیدی بهتون میده.
#Python
#پایتون
#دانستنی
#آموزش
@Pairen_Programmers
Tutorialspoint
Python - Databases and SQL
Python - Databases and SQL - The Python programming language has powerful features for database programming. Python supports various databases like SQLite, MySQL, Oracle, Sybase, PostgreSQL, etc. Python also supports Data Definition Language (DDL), Data Manipulation…
Python Collections (Arrays)
There are four collection data types in the Python programming language:
List is a collection which is ordered and changeable. Allows duplicate members.
Tuple is a collection which is ordered and unchangeable. Allows duplicate members.
Set is a collection which is unordered, unchangeable*, and unindexed. No duplicate members.
Dictionary is a collection which is ordered** and changeable. No duplicate members.
*Set items are unchangeable, but you can remove and/or add items whenever you like.
**As of Python version 3.7, dictionaries are ordered. In Python 3.6 and earlier, dictionaries are unordered.
When choosing a collection type, it is useful to understand the properties of that type. Choosing the right type for a particular data set could mean retention of meaning, and, it could mean an increase in efficiency or security.
منبع: w3schools.com
#پایتون
#python
@Pairen_Programmers
There are four collection data types in the Python programming language:
List is a collection which is ordered and changeable. Allows duplicate members.
Tuple is a collection which is ordered and unchangeable. Allows duplicate members.
Set is a collection which is unordered, unchangeable*, and unindexed. No duplicate members.
Dictionary is a collection which is ordered** and changeable. No duplicate members.
*Set items are unchangeable, but you can remove and/or add items whenever you like.
**As of Python version 3.7, dictionaries are ordered. In Python 3.6 and earlier, dictionaries are unordered.
When choosing a collection type, it is useful to understand the properties of that type. Choosing the right type for a particular data set could mean retention of meaning, and, it could mean an increase in efficiency or security.
منبع: w3schools.com
#پایتون
#python
@Pairen_Programmers
W3Schools
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
https://www.online-python.com/
ابزار خیلی خوبی است برای اجرای آنلاین کد های پایتون. با قابلیت های خیلی خوب.
#پایتون
#python
@Pairen_Peogrammers
ابزار خیلی خوبی است برای اجرای آنلاین کد های پایتون. با قابلیت های خیلی خوب.
#پایتون
#python
@Pairen_Peogrammers
Online-Python
Online Python - IDE, Editor, Compiler, Interpreter
Build and Run your Python code instantly. Online-Python is a quick and easy tool that helps you to build, compile, test your python programs.
Web Scraping with Python
Link: https://www.google.com/amp/s/www.edureka.co/blog/web-scraping-with-python/amp/
#آموزش
#پایتون
#python
@Pairen_Programmers
Link: https://www.google.com/amp/s/www.edureka.co/blog/web-scraping-with-python/amp/
#آموزش
#پایتون
#python
@Pairen_Programmers
👍2
توضیحاتی دربارهی PIP:
Link: https://www.w3schools.com/python/python_pip.asp
خلاصه:
دستور نگاه کردن نسخه pip:
pip --version
دستور نصب پکیج:
pip install "package name"
دستور حذف پکیج:
pip uninstall "package name"
دستور دیدن فهرست پکیج های نصب شده:
pip list
پ.ن: قاعدتاً وقتی شما دستور pip list رو میزنید با اسم setuptools هم مواجه میشید که احتمالاً نمیدونید چی هست و از کجا اومده.
در پایین توضیح داده شده که setuptools چی هست.
setuptools is a package used by many other packages to handle their installation from source code (and tasks related to it).
It is generally used extensively for non-pure-Python packages, which need some compilation/installation step before being usable (think packages containing extensions written in C); setuptools factors away some of the most common operations used in this process (compiling C files with options compatible with the current Python installation, running Cython if required, provide some vaguely coherent set of commands/options for setup.py files, ...) as well as providing some tools used during Python packages development.
...
Link: https://stackoverflow.com/questions/41216875/what-is-the-purpose-of-python-setuptools
#Python
#پایتون
@Pairen_Programmers
Link: https://www.w3schools.com/python/python_pip.asp
خلاصه:
دستور نگاه کردن نسخه pip:
pip --version
دستور نصب پکیج:
pip install "package name"
دستور حذف پکیج:
pip uninstall "package name"
دستور دیدن فهرست پکیج های نصب شده:
pip list
پ.ن: قاعدتاً وقتی شما دستور pip list رو میزنید با اسم setuptools هم مواجه میشید که احتمالاً نمیدونید چی هست و از کجا اومده.
در پایین توضیح داده شده که setuptools چی هست.
setuptools is a package used by many other packages to handle their installation from source code (and tasks related to it).
It is generally used extensively for non-pure-Python packages, which need some compilation/installation step before being usable (think packages containing extensions written in C); setuptools factors away some of the most common operations used in this process (compiling C files with options compatible with the current Python installation, running Cython if required, provide some vaguely coherent set of commands/options for setup.py files, ...) as well as providing some tools used during Python packages development.
...
Link: https://stackoverflow.com/questions/41216875/what-is-the-purpose-of-python-setuptools
#Python
#پایتون
@Pairen_Programmers
W3Schools
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
👎3
یکی از دوره های خوب جنگو که پیدا کردم دورهی سانلرن هست.
دورهی دیگه که خیلی خوب هست دورهی آقای مهران تعریف در یوتیوب هست که متأسفانه یوتیوب فیلتر هست و دسترسی به این ویدیو ها سخت هست. شما میتونید با یک جستجو داخل یوتیوب لینک ویدیو ها رو بدست بیارید و با ربات های تلگرام اون ها رو دانلود کنید.
#جنگو
#پایتون
#آموزش
#Python
@Pairen_Programmers
دورهی دیگه که خیلی خوب هست دورهی آقای مهران تعریف در یوتیوب هست که متأسفانه یوتیوب فیلتر هست و دسترسی به این ویدیو ها سخت هست. شما میتونید با یک جستجو داخل یوتیوب لینک ویدیو ها رو بدست بیارید و با ربات های تلگرام اون ها رو دانلود کنید.
#جنگو
#پایتون
#آموزش
#Python
@Pairen_Programmers
👍4🤣1
OOP in Python
Part of the article:
What is Encapsulation?
Encapsulation is the process of preventing clients from accessing certain properties, which can only be accessed through specific methods.
Private attributes are inaccessible attributes, and information hiding is the process of making particular attributes private. You use two underscores to declare private characteristics.
Link: https://www.freecodecamp.org/news/object-oriented-programming-in-python/
#Python
#پایتون
#دانستنی
@Pairen_Programmers
Part of the article:
What is Encapsulation?
Encapsulation is the process of preventing clients from accessing certain properties, which can only be accessed through specific methods.
Private attributes are inaccessible attributes, and information hiding is the process of making particular attributes private. You use two underscores to declare private characteristics.
Link: https://www.freecodecamp.org/news/object-oriented-programming-in-python/
#Python
#پایتون
#دانستنی
@Pairen_Programmers
freeCodeCamp.org
Object-Oriented Programming in Python
Python is a fantastic programming language that allows you to use both functional and object-oriented programming paradigms. Python programmers should be able to use fundamental object-oriented programming concepts, whether they are software develop...
Security Task Manager
نرم افزار کاربردی که ميتواند تمام اطلاعات مربوط به فايل های در حال اجرا را در اختیار شما قرار بدهد. اين اطلاعات ميتواند از قبيل نام برنامه و محل نصب برنامه و نوع فعاليت و درصدی که از CPU اشغال کرده و مدت زمانی که Application در حال اجراست و خيلی اطلاعات ديگر باشد! حتی توانايي اين را دارد که مشخص کند که کدام فايل احتمال خطر دارد و ممکن است ويروس يا تروجان يا Keylogger باشد.
لینک نصب Security Task Manager:
https://soft98.ir/software/2708-Security-Task-Manager.html
پ.ن: من روی لپ تاپم یک لحظه دیدم صدای فن زیاد شد نگاه کردم دیدم توی تسک منیجر سه تا
Console Window Host
که هر کدوم داشتن ۲۰ درصد از CPU رو مصرف میکردن باز هست. شک کردم و رفتم ببینم ویروسی چیزی نباشه. در اولین مرحله اینترنت رو قطع کردم و سیستم رو ریستارت کردم. با گوشی سرچ زدم و نرم افزار
AdwCleaner
رو پیدا و نصب کردم و خطر هایی رو که توی PIP مربوط به پایتون کشف کرده بود پاک کردم. فکر کنم بعضی از کتابخونه ها آلوده بودن.
بعدش برای اینکه مطمئن بشم خطر رفع شده با نرم افزار
Security Task Manager
سیستم رو چک کردم و خدا رو شکر خطر رفع شد.
این لینک رو هم برید بخونید بد نیست:
https://superuser.com/questions/1648598/why-are-there-multiple-console-window-host-open-in-the-background
لینک نصب AdwCleaner:
https://soft98.ir/security/17292-adwcleaner.html
#دانستنی
#پایتون
#Python
@Pairen_Programmers
نرم افزار کاربردی که ميتواند تمام اطلاعات مربوط به فايل های در حال اجرا را در اختیار شما قرار بدهد. اين اطلاعات ميتواند از قبيل نام برنامه و محل نصب برنامه و نوع فعاليت و درصدی که از CPU اشغال کرده و مدت زمانی که Application در حال اجراست و خيلی اطلاعات ديگر باشد! حتی توانايي اين را دارد که مشخص کند که کدام فايل احتمال خطر دارد و ممکن است ويروس يا تروجان يا Keylogger باشد.
لینک نصب Security Task Manager:
https://soft98.ir/software/2708-Security-Task-Manager.html
پ.ن: من روی لپ تاپم یک لحظه دیدم صدای فن زیاد شد نگاه کردم دیدم توی تسک منیجر سه تا
Console Window Host
که هر کدوم داشتن ۲۰ درصد از CPU رو مصرف میکردن باز هست. شک کردم و رفتم ببینم ویروسی چیزی نباشه. در اولین مرحله اینترنت رو قطع کردم و سیستم رو ریستارت کردم. با گوشی سرچ زدم و نرم افزار
AdwCleaner
رو پیدا و نصب کردم و خطر هایی رو که توی PIP مربوط به پایتون کشف کرده بود پاک کردم. فکر کنم بعضی از کتابخونه ها آلوده بودن.
بعدش برای اینکه مطمئن بشم خطر رفع شده با نرم افزار
Security Task Manager
سیستم رو چک کردم و خدا رو شکر خطر رفع شد.
این لینک رو هم برید بخونید بد نیست:
https://superuser.com/questions/1648598/why-are-there-multiple-console-window-host-open-in-the-background
لینک نصب AdwCleaner:
https://soft98.ir/security/17292-adwcleaner.html
#دانستنی
#پایتون
#Python
@Pairen_Programmers
👍2
اولین نسخه دیکشنری سبک و کارآمد GTranslator:
Link: https://github.com/PAIREN1383/GTranslator
ویژگی ها:
۱. قابلیت ترجمه کلمات همراه با مترادف های فارسی و انگلیسی و تعریف آن کلمه به انگلیسی.
۲. ترجمهی سریع متن در هر کجای کامپیوتر که قابلیت کپی شدن متن وجود داشته باشد.
۳. ترجمه سریع با هاتکی Ctrl+C.
۴. تلفظ صوتی کلمات و متن به صورت آنلاین و آفلاین.
۵. حجم بسیار پایین برنامه چه به صورت فایل پایتونی و چه exe. فایل exe حدوداً 13.1 مگابایت حجم دارد.
پ.ن: برنامه نیاز به اینترنت دارد.
#دانستنی
#پایتون
#Python
#Tk
#GitHub
@Pairen_Programmers
Link: https://github.com/PAIREN1383/GTranslator
ویژگی ها:
۱. قابلیت ترجمه کلمات همراه با مترادف های فارسی و انگلیسی و تعریف آن کلمه به انگلیسی.
۲. ترجمهی سریع متن در هر کجای کامپیوتر که قابلیت کپی شدن متن وجود داشته باشد.
۳. ترجمه سریع با هاتکی Ctrl+C.
۴. تلفظ صوتی کلمات و متن به صورت آنلاین و آفلاین.
۵. حجم بسیار پایین برنامه چه به صورت فایل پایتونی و چه exe. فایل exe حدوداً 13.1 مگابایت حجم دارد.
پ.ن: برنامه نیاز به اینترنت دارد.
#دانستنی
#پایتون
#Python
#Tk
#GitHub
@Pairen_Programmers
GitHub
GitHub - PAIREN1383/GTranslator: An online translator that is lightweight and powerful. This translator is only for English to…
An online translator that is lightweight and powerful. This translator is only for English to Persian translation. - PAIREN1383/GTranslator