#آموزش نمودار میله ای
🔰 @raspberry_python
import matplotlib.pyplot as plt
x= [1,2,3]
y= [20,40,60]
x2=[4,5,6]
plt.bar(x,y, label="Morning Group")
plt.bar(x2,y, label="Evening Group")
plt.title('Bar Graph 1 of Customer Data')
plt.xlabel('Amount of People')
plt.ylabel('Money Spent')
plt.legend()
plt.show()
🔰 @raspberry_python
#آموزش
Create a Stack Plot
🔰 @raspberry_python
Create a Stack Plot
import matplotlib.pyplot as plt
months= [x for x in range(1,13)]
mortgage= [700, 700, 700,
800, 800, 800,
850, 850, 850,
850, 850, 850]
utilities= [500, 300, 380,
200, 600, 550,
310, 620, 290,
320, 440, 400]
repairs= [100, 120, 100,
150, 850, 80,
120, 220, 240,
50, 60, 150]
plt.plot([],[], color='blue', label='mortgage')
plt.plot([],[], color='orange', label='utilities')
plt.plot([],[], color='brown', label='repairs')
plt.stackplot(months, mortgage, utilities, repairs, colors=['blue', 'orange', 'brown'])
plt.legend()
plt.title('Household Expenses')
plt.xlabel('Months of the year')
plt.ylabel('Cost')
plt.show()
🔰 @raspberry_python
#آموزش
🌟 Create Subplots of Graphs
🔰 @raspberry_python
🌟 Create Subplots of Graphs
import matplotlib.pyplot as plt
fig,axes= plt.subplots(nrows=2, ncols=3)
plt.tight_layout()
plt.show()
🔰 @raspberry_python
#آموزش
🔰 @raspberry_python
import matplotlib.pyplot as plt
fig,axes= plt.subplots(nrows=2, ncols= 3)
x= [1,2,3,4,5]
y=[x**2 for x in x]
axes[0][1].plot(x,y)
axes[0][1].set_title('Non-Inverted Plot')
axes[1][0].plot(y,x)
axes[1][0].set_title('Inverted Plot')
plt.tight_layout()
plt.show()
🔰 @raspberry_python
#آموزش
🔰🔰 Create a Pie Chart
import matplotlib.pyplot as plt
labels= ['Mortgage', 'Utilities', 'Food', 'Gas']
colors=['blue', 'yellow', 'green', 'orange']
sizes= [1500, 600, 500, 300]
plt.pie(sizes,labels=labels, colors=colors, startangle=90, autopct='%1.1f%%')
plt.axis('equal')
plt.show()
🔰 @raspberry_python
🔰🔰 Create a Pie Chart
import matplotlib.pyplot as plt
labels= ['Mortgage', 'Utilities', 'Food', 'Gas']
colors=['blue', 'yellow', 'green', 'orange']
sizes= [1500, 600, 500, 300]
plt.pie(sizes,labels=labels, colors=colors, startangle=90, autopct='%1.1f%%')
plt.axis('equal')
plt.show()
🔰 @raspberry_python
یک سایت خوب برای مباحث رمزنگاری با پایتون
از طرف @Stack_Over_Flow
https://www.blog.pythonlibrary.org/2016/05/18/python-3-an-intro-to-encryption
🔰 @raspberry_python
از طرف @Stack_Over_Flow
https://www.blog.pythonlibrary.org/2016/05/18/python-3-an-intro-to-encryption
🔰 @raspberry_python
مینی کامپیوترهای LattePanda با پردازنده های اینتل ویندوز ۱۰ و تمامی توضیع های لینوکس را میتوان بر روی این مینی کامپیوتر ها اجرا کرد و توانایی پردازش بسیار بالا در ابعاد کوچک را دارند
LinkPerview
@raspberry_python
LinkPerview
@raspberry_python
DCP – Transfer Files Between Linux Hosts Using Peer-to-Peer Network
instal dcp:
@raspberry_python
instal dcp:
npm i -g dat-cp
run this command on source host:dcp file.ext
run this command on target host:dcp <generated public key>
MoreInfo@raspberry_python
DCP – Transfer Files Between Linux Hosts Using Peer-to-Peer Network
DCP - Transfer Files Between Linux Hosts Using Peer-to-Peer Network
In this tutorial, we are going to show you how to transfer files between two Linux servers on a network using the peer-to-peer Dat network.
https://forum.raspberryitaly.com/showthread.php?tid=3524
Traduzione Italiana di The MagPi n.77
🔰 @raspberry_python
Traduzione Italiana di The MagPi n.77
🔰 @raspberry_python
🔴 اینترنت اشیا
خانه هوشمند
https://www.open-electronics.org/using-a-telegram-bot-and-a-demo-board-to-experiment-with-home-automation/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+OpenElectronics+%28Open+Electronics%29
🔰 @raspberry_python
خانه هوشمند
https://www.open-electronics.org/using-a-telegram-bot-and-a-demo-board-to-experiment-with-home-automation/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+OpenElectronics+%28Open+Electronics%29
🔰 @raspberry_python
Open Electronics
Using a Telegram Bot and a Demo Board to experiment with home automation - Open Electronics
Let’s discover the potential of the instant messaging app, Telegram, by creating a remote control, based on a smartphone and a WiFi powered demoboard. We may say that, when we have our smartphone in our hands, we have a door opened to the world. This is…
گرفتن موقعیت مکانی با زبان پایتون
import requests
ip_request = requests.get('https://get.geojs.io/v1/ip.json')
my_ip = ip_request.json()['ip']
print(my_ip)
geo_request_url = 'https://get.geojs.io/v1/ip/geo/' + my_ip + '.json'
geo_request = requests.get(geo_request_url)
geo_data = geo_request.json()
print(geo_data)
🔰 @raspberry_python
import requests
ip_request = requests.get('https://get.geojs.io/v1/ip.json')
my_ip = ip_request.json()['ip']
print(my_ip)
geo_request_url = 'https://get.geojs.io/v1/ip/geo/' + my_ip + '.json'
geo_request = requests.get(geo_request_url)
geo_data = geo_request.json()
print(geo_data)
🔰 @raspberry_python
https://www.howtogeek.com/139433/how-to-turn-a-raspberry-pi-into-a-low-power-network-storage-device/
❇️ @raspberry_python
❇️ @raspberry_python
How-To Geek
How to Turn a Raspberry Pi into a Low-Power Network Storage Device
Mix together one Raspberry Pi and a sprinkle of cheap external hard drives and you have the recipe for an ultra-low-power and always-on network storage device.
https://becominghuman.ai/turn-your-raspberry-pi-into-homemade-google-home-9e29ad220075
❇️ @raspberry_python
❇️ @raspberry_python
Medium
Turn your Raspberry Pi into homemade Google Home
Google Home is a beautiful device with built-in Google Assistant — A state of the art digital personal assistant by Google. — which you can…
https://www.tecmint.com/learn-vi-and-vim-editor-tips-and-tricks-in-linux/
vim text guide for beginners
یکی از بهترین تکست ادیتورهای ممکن 😁😍
raspberry_python
vim text guide for beginners
یکی از بهترین تکست ادیتورهای ممکن 😁😍
raspberry_python
Learn Useful ‘Vi/Vim’ Tips and Tricks for Beginners – Part 1
Master Vim: Top Tips and Tricks for Beginners - Part 1
In this article and the next of this 2-article series, we will review 15 useful vi/vim editor tips and tricks for enhancing your vim skills in Linux.