Forwarded from ⓜⓐⓗⓓⓘ
Windows 10 for the Internet of Things.pdf
24.2 MB
How to Delete a File or Folder in Python
🌟 How to Delete a File
import os
os.unlink('C:\\Users\\David\\file.txt')
🌟 How to Delete an Empty Folder (Directory)
import os
os.rmdir('C:\\Users\\David\\PythonProjects')
🌟 How to Delete an Directory (that has empty)
import shutil, os
shutil.rmtree('C:\\Users\\David\\PythonProjects')
❇️ @raspberry_python
🌟 How to Delete a File
import os
os.unlink('C:\\Users\\David\\file.txt')
🌟 How to Delete an Empty Folder (Directory)
import os
os.rmdir('C:\\Users\\David\\PythonProjects')
🌟 How to Delete an Directory (that has empty)
import shutil, os
shutil.rmtree('C:\\Users\\David\\PythonProjects')
❇️ @raspberry_python
🌟 How to Write to a CSV File in Python
import csv❇️ @raspberry_python
studentsdata= [["Jessica Wallens", 1987], ["Samantha Peters", 1988],
["Jessica Warren", 1990]]
with open ("Students.csv", "w", newline="") as file:
writedata= csv.writer(file)
writedata.writerows(studentsdata)
🌟🌟 How to Plot a Graph with Matplotlib from Data from a CSV File using the Numpy Module in Python
import matplotlib.pyplot as plt
import numpy as np
x,y= np.loadtxt('csvfile1.txt', delimiter=',', unpack=True)
plt.plot(x,y, marker='o')
plt.title('Data from the CSV File: People and Expenses')
plt.xlabel('Number of People')
plt.ylabel('Expenses')
plt.show()
❇️ @raspberry_python
import matplotlib.pyplot as plt
import numpy as np
x,y= np.loadtxt('csvfile1.txt', delimiter=',', unpack=True)
plt.plot(x,y, marker='o')
plt.title('Data from the CSV File: People and Expenses')
plt.xlabel('Number of People')
plt.ylabel('Expenses')
plt.show()
❇️ @raspberry_python
Pramod Singh_Learn_PySpark_Build.pdf
9 MB
Learn PySpark. Build Python-based Machine Learning and Deep Learning Models
🌟 2019
❇️ @raspberry_python
🌟 2019
❇️ @raspberry_python
Wei_Meng Lee_Beginning_Ethereum.pdf
7.8 MB
Beginning Ethereum Smart Contracts Programming. With Examples in Python, Solidity and JavaScript
🌟 2019
🔰 @raspberry_python
🌟 2019
🔰 @raspberry_python
Interactive Data Visualization in Python With Bokeh
یک کتابخانه جدید و بسیار قدرتمند به اسم Bookeh
@raspberry_python
یک کتابخانه جدید و بسیار قدرتمند به اسم Bookeh
@raspberry_python