Telegram Web
#Python 2.7 reaches end-of-life at the end of 2019. Afterwards, the interpreter will not get updates -- no bugfixes, no security fixes, nothing. In the interim, the Python ecosystem is abandoning 2.7 support. https://python3statement.org/ Don't wait to switch to Python 3.
Peeking Behind The Bytecode Curtain

#pytrick #bytecode
انجمن علمی دانشکده کامپیوتر برگزار میکند:
دوره آموزشی مقدماتی یادگیری عمیق با رویکرد عملی

📚مدرس : علیرضا اخوان پور
🗓 تاریخ : ۱۸ و ۲۵ بهمن ماه
مدت زمان دوره: ۱۲ ساعت
🏢 مکان : دانشگاه شهید رجایی

برای اطلاعات بیشتر و ثبت نام به لینک زیر مراجعه شود
http://cesru.ir/course/deep-learning/
ظرفیت محدود
💰تخفیف ویژه برای دانشجویان دانشگاه رجایی💰

#یادگیری_عمیق #دوره_آموزشی #انجمن_علمی_دانشکده_کامپیوتر #دانشگاه_شهید_رجایی
#swig

ابزاری برای bind کردن کدهای ++C به پایتون ( و زبانهای دیگر)
ظاهرا در توسعه numpy و scipy که از ++C استفاده شده، با همین ابزار bind به زبان پایتون را انجام داده اند.
http://www.swig.org
2009 VS 2019 Challenge🐍
#Fun
Cython
#خبر
#پایتون #numpy
نسخه 1.16 کتابخانه ی NumPy آخرین نسخه ای از این کتابخانه است که پایتون 2 را هم پشتیبانی می کند،
نسخه 1.17 کتابخانه NumPy دیگر فقط از پایتون 3 پشتیبانی خواهد کرد.

https://github.com/numpy/numpy/blob/master/doc/release/1.16.0-notes.rst
Sharif Data Science contest
مسابقه علوم داده دانشگاه شریف

#data_science #data_mining #mining #machine_learning #

http://datadays.sharif.edu
One-Hot Encoding
Lambda Functions

(lambda x, y: x + y)(5, 3)

#pytrick
@classmethod vs @staticmethod vs "plain" methods (part 1)
@classmethod vs @staticmethod vs "plain" methods (part 2)

#pytrick
راه های به اشتراک گذاشتنن / نمایش یا اجرای نوت بوک های پایتون به صورت آنلاین:

Ways to share/run/present Jupyter Notebooks online:

1. GitHub
2. http://nbviewer.org
3. http://kyso.io
4. http://mybinder.org
5. Kaggle Kernels: http://kaggle.com/kernels
6. Google Colab: http://colab.research.google.com
7. deepnote.org
#آموزش #psutil
چه قدر حافظه فیزکی داریم؟ تا چه مقدار اگر حافظه استفاده کنیم سیستم از swap استفاده نمیکنه؟ و اطلاعات آماری مفید دیگر از حافظه RAM با psutil در پایتون.

import psutil ; print(list(psutil.virtual_memory()))



Return statistics about system memory usage as a namedtuple
including the following fields, expressed in bytes:

- total:
total physical memory available.

- available:
the memory that can be given instantly to processes without the
system going into swap.
This is calculated by summing different memory values depending
on the platform and it is supposed to be used to monitor actual
memory usage in a cross platform fashion.

- percent:
the percentage usage calculated as (total - available) / total * 100

- used:
memory used, calculated differently depending on the platform and
designed for informational purposes only:
macOS: active + inactive + wired
BSD: active + wired + cached
Linux: total - free

- free:
memory not being used at all (zeroed) that is readily available;
note that this doesn't reflect the actual memory available
(use 'available' instead)


https://www.tgoop.com/PyLab/325
https://www.tgoop.com/PyLab/324

import psutil
print(list(psutil.virtual_memory()))
#آموزش

احتمالا مواجه شدید که اگر در محیط interactive فایلی را import کنید و سپس آن فایل را ویرایش کنید. با import مجدد دیگر تغییراتتان را مشاهده نمیکنید و مجبورید مثلا نوت بوک را ریستارت کنید.
برا حل این موضوع کافیه آن را reload کنید.

# Load custom functions
import example

# For reloading after making changes
import importlib
importlib.reload(example)
from example import *
2025/07/13 17:27:24
Back to Top
HTML Embed Code: