Forwarded from RASPBERRY PI FOR ALL (Kasra :|)
با استفاده از دستور lnav میتونید فایل های لاگ رو خیلی بهتر ببینید
برای نصب کردنش
برای اسنفاده کردنش خیلی راحت همه فایلای مورد نظر رو ب عنوان ارگومان برای برنامه بفرستید
@raspberrypiforall
برای نصب کردنش
sudo apt install lnav
برای اسنفاده کردنش خیلی راحت همه فایلای مورد نظر رو ب عنوان ارگومان برای برنامه بفرستید
@raspberrypiforall
#آموزش
# Example of flattening a nested sequence using subgenerators
مسطح نمودن محتواهای تو در تو
from collections import Iterable
def flatten(items, ignore_types=(str, bytes)):
for x in items:
if isinstance(x, Iterable) and not isinstance(x, ignore_types):
yield from flatten(x)
else:
yield x
items = [1, 2, [3, 4, [5, 6], 7], 8]
# Produces 1 2 3 4 5 6 7 8
for x in flatten(items):
print(x)
items = ['Dave', 'Paula', ['Thomas', 'Lewis']]
for x in flatten(items):
print(x)
❇️ @raspberry_python
# Example of flattening a nested sequence using subgenerators
مسطح نمودن محتواهای تو در تو
from collections import Iterable
def flatten(items, ignore_types=(str, bytes)):
for x in items:
if isinstance(x, Iterable) and not isinstance(x, ignore_types):
yield from flatten(x)
else:
yield x
items = [1, 2, [3, 4, [5, 6], 7], 8]
# Produces 1 2 3 4 5 6 7 8
for x in flatten(items):
print(x)
items = ['Dave', 'Paula', ['Thomas', 'Lewis']]
for x in flatten(items):
print(x)
❇️ @raspberry_python
https://docs.python-guide.org/scenarios/gui/
چن تا از کتابخونه های خوب برای کار با محیط های گرافیکی
@raspberry_python
چن تا از کتابخونه های خوب برای کار با محیط های گرافیکی
@raspberry_python
docs.python-guide.org
GUI Applications — The Hitchhiker's Guide to Python
Forwarded from RASPBERRY PI FOR ALL (Kasra :|)
At Open Source Summit Europe in France, GitHub COO Erica Brescia said: “99% of software projects are built on open source."
she also added:
“In these increasingly difficult geopolitical times. . . [many] companies have decided to geo-block access to their products for Iran, Syria, and Crimea, but GitHub has taken a different approach. We have left all of our open-source repositories available to developers in those countries.”
اریکا برسیکا در کنفرانس اوپن سورس فرانسه گفته که ما میدونیم همه تکنولوژی ها برای ۳ تا کشور ایران، سوریه و کریمیا[ نمیدونم کجاس اصن ] تحریمه ولی ما تاحد امکان اون هارو تحریم نکردیم و همین موضوع بلاک کردن اونا برای ریپازیتوری های خصوصی کاملا برخلاف میل ماست .
همچنین ی چیزایی هم در مورد توضیع دوولوپرهای اوپن سورس توی جهان حرف زده و گفته هند و چین بیشترین سرعت رشد رو دارن
بعدشم گفت ک میخوان شرایط ویژه ای تو چین برای دسترسی ب گیت هاب درست کنن :)
StoryLink
@raspberrypiforall
she also added:
“In these increasingly difficult geopolitical times. . . [many] companies have decided to geo-block access to their products for Iran, Syria, and Crimea, but GitHub has taken a different approach. We have left all of our open-source repositories available to developers in those countries.”
اریکا برسیکا در کنفرانس اوپن سورس فرانسه گفته که ما میدونیم همه تکنولوژی ها برای ۳ تا کشور ایران، سوریه و کریمیا[ نمیدونم کجاس اصن ] تحریمه ولی ما تاحد امکان اون هارو تحریم نکردیم و همین موضوع بلاک کردن اونا برای ریپازیتوری های خصوصی کاملا برخلاف میل ماست .
همچنین ی چیزایی هم در مورد توضیع دوولوپرهای اوپن سورس توی جهان حرف زده و گفته هند و چین بیشترین سرعت رشد رو دارن
بعدشم گفت ک میخوان شرایط ویژه ای تو چین برای دسترسی ب گیت هاب درست کنن :)
StoryLink
@raspberrypiforall
ZDNet
GitHub: All open-source developers anywhere are welcome
Open-source software rules the world, and if you're an open-source developer anywhere around the globe -- even in countries not on good terms with the US -- you have a home at GitHub.
Javier_Riverola_Gurruchaga_Solve.pdf
5.7 MB
Solve It With PYTHON !: A Programming Guide To Ease Your Science And Engineering Challenges
کتابی فوق العاده در خصوص حل مسائل علمی و مهندسی به همراه بهینه سازی
🌟جدید 2019
❇️ @raspberry_python
کتابی فوق العاده در خصوص حل مسائل علمی و مهندسی به همراه بهینه سازی
🌟جدید 2019
❇️ @raspberry_python
Linux Device Driver Development Cookbook: Develop custom drivers for your embedded Linux applications
🌟 2019
❇️ @raspberry_python
🌟 2019
❇️ @raspberry_python
Rodolfo_Giometti_Linux_Device_Driver.pdf
8.6 MB
Linux Device Driver Development Cookbook: Develop custom drivers for your embedded Linux applications
🌟 2019
❇️ @raspberry_python
🌟 2019
❇️ @raspberry_python
Learning Geospatial Analysis with Python: Understand GIS fundamentals and perform remote sensing data analysis using Python 3.7
🌟 2019
❇️ @raspberry_python
🌟 2019
❇️ @raspberry_python
Joel_Lawhead_Learning_Geospatial.pdf
57.2 MB
Learning Geospatial Analysis with Python: Understand GIS fundamentals and perform remote sensing data analysis using Python 3.7
🌟 2019
❇️ @raspberry_python
🌟 2019
❇️ @raspberry_python
Reinforcement Learning Algorithms with Python: Learn, understand, and develop smart algorithms for addressing AI challenges
یادگیری الگوریتم ها با پایتون و استفاده در هوش مصنوعی
🌟 جدید 2019
❇️ @raspberry_python
یادگیری الگوریتم ها با پایتون و استفاده در هوش مصنوعی
🌟 جدید 2019
❇️ @raspberry_python
Andrea_Lonza_Reinforcement_Learning.pdf
22 MB
Reinforcement Learning Algorithms with Python: Learn, understand, and develop smart algorithms for addressing AI challenges
یادگیری الگوریتم ها با پایتون و استفاده در هوش مصنوعی
🌟 جدید 2019
❇️ @raspberry_python
یادگیری الگوریتم ها با پایتون و استفاده در هوش مصنوعی
🌟 جدید 2019
❇️ @raspberry_python
تا حدودا دوماه دیگه پایتون ۲ ب صورت رسمی پشتیبانی نخواهد شد و همچنان تعداد بیسار زیادی پروژه و محصولات مختلف هستن ک با پایتون ۲ اجرا میشن
اینجا ی مقاله هست ک در مورد بازنویسی کردن یا نکردن کدهاتون تو پایتون ۳ بحث میکنه
https://switowski.com/blog/you-dont-have-to-migrate-to-python3
@raspberry_python
اینجا ی مقاله هست ک در مورد بازنویسی کردن یا نکردن کدهاتون تو پایتون ۳ بحث میکنه
https://switowski.com/blog/you-dont-have-to-migrate-to-python3
@raspberry_python
تو پایتون میتونید با نوشتن یونیکد مربوط ب هر اموجی اون اموجی رو چاپ کنید
برای اطلاعات بیشتر لینک زیر رو نگا کنید
emojies official lists
@raspberry_python
برای اطلاعات بیشتر لینک زیر رو نگا کنید
emojies official lists
@raspberry_python