Networkx_tutorial_full.ipynb
192.7 KB
Networkx tutorial
@raspberry_python
@raspberry_python
Basic OFDM Example in Python
https://dspillustrations.com/pages/posts/misc/python-ofdm-example.html
🔰 @raspberry_python
https://dspillustrations.com/pages/posts/misc/python-ofdm-example.html
🔰 @raspberry_python
Dspillustrations
Python OFDM Example - DSPIllustrations.com
This page describes a basic OFDM system in Python, including channel estimation, modulation and demodulation and CP insertion.
#آموزش کار با لیست
lst = [0, 1, 2, 3, 4, 5, 6, 7, 8]
print(lst[2])
outpu : 2
print(lst[1:3])
outpu : [1, 2]
print(lst[:3])
outpu : [0, 1, 2]
print(lst[-3:])
outpu : [6, 7, 8]
print(lst[:-3])
outpu : [0, 1, 2, 3, 4, 5]
print(lst[:])
outpu : [0, 1, 2, 3, 4, 5, 6, 7, 8]
print(lst[1:-1])
outpu : [1, 2, 3, 4, 5, 6, 7]
print(lst[::3])
outpu : [0, 3, 6]
print(lst[1:5:2])
outpu : [1, 3]
print(max(lst))
outpu : 8
print(min(lst))
outpu : 0
lst.append(9)
print(lst)
outpu : [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
tmp = lst.pop()
print(tmp)
outpu : 9
lst.remove(8)
print(lst)
output : [0, 1, 2, 3, 4, 5, 6, 7]
print(lst)
outpu : [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
print(lst.index(5))
output : 6
lst1 = [1, 2, 3]
lst2 = [4, 5, 6]
lst1.extend(lst2)
print(lst1)
output : [1, 2, 3, 4, 5, 6]
lst = [1, 2, 2, 2, 3, 4]
print(lst.count(2))
output : 3
lst = [1, [2, 3, 4, 5], 6, 7]
print(lst[1])
outpu : [2, 3, 4, 5]
print(lst[1][3])
outpu : 5
با تشکر از
@milad_ghasemi_1
🔰 @raspberry_python
lst = [0, 1, 2, 3, 4, 5, 6, 7, 8]
print(lst[2])
outpu : 2
print(lst[1:3])
outpu : [1, 2]
print(lst[:3])
outpu : [0, 1, 2]
print(lst[-3:])
outpu : [6, 7, 8]
print(lst[:-3])
outpu : [0, 1, 2, 3, 4, 5]
print(lst[:])
outpu : [0, 1, 2, 3, 4, 5, 6, 7, 8]
print(lst[1:-1])
outpu : [1, 2, 3, 4, 5, 6, 7]
print(lst[::3])
outpu : [0, 3, 6]
print(lst[1:5:2])
outpu : [1, 3]
print(max(lst))
outpu : 8
print(min(lst))
outpu : 0
lst.append(9)
print(lst)
outpu : [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
tmp = lst.pop()
print(tmp)
outpu : 9
lst.remove(8)
print(lst)
output : [0, 1, 2, 3, 4, 5, 6, 7]
print(lst)
outpu : [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
print(lst.index(5))
output : 6
lst1 = [1, 2, 3]
lst2 = [4, 5, 6]
lst1.extend(lst2)
print(lst1)
output : [1, 2, 3, 4, 5, 6]
lst = [1, 2, 2, 2, 3, 4]
print(lst.count(2))
output : 3
lst = [1, [2, 3, 4, 5], 6, 7]
print(lst[1])
outpu : [2, 3, 4, 5]
print(lst[1][3])
outpu : 5
با تشکر از
@milad_ghasemi_1
🔰 @raspberry_python
#آموزش کار با دیکشنری
dic = {'name' : 'milad', 'family' : 'ghasemi', 'age' : 34}
print(dic)
output : {'name' : 'milad', 'family' : 'ghasemi', 'age' : 34}
print(dic['name'])
output : 'milad'
dic['age'] = 25
print(dic)
output : {'name' : 'milad', 'family' : 'ghasemi', 'age' : 25}
print("my name is ", dic['name'])
output : my name is milad
print("lenght of dictionary is : %d " % len(dic))
output : 3
dic1 = dic.copy()
output : {'name' : 'milad', 'family' : 'ghasemi', 'age' : 34}
print(dic.get('name'))
output : 'milad'
print(dic.get('sex', "Op's can't find it!"))
output : "Op's can't find it this key in dictionary"
print(dic.keys())
output : name, family, age
print(dic1.values())
output : milad, ghasemi, 34
seq = ('name', 'age', 'state')
dic = dic.fromkeys(seq)
print(dic)
output : {'name' : None, 'age' : None, 'state' : None}
dic = dic.fromkeys(seq, 10)
print(dic)
output : {'name' : 10, 'age' : 10, 'state' : 10}
dic1 = {'language' : 'c++'}
dic.update(dict1)
print(dic)
output : {'name' : 'milad', 'family' : 'ghasemi', 'age' : 34, 'language' : 'c++'}
dic = {'name' : 'milad', 'favorite_language' : ['c++', 'python', 'perl']}
print(dic['favorite_language'])
output : c++, python, perl
print(dic['favorite_language'][0])
output : c++
از طرف مهندس
@milad_ghasemi_1
🔰 @raspberry_python
dic = {'name' : 'milad', 'family' : 'ghasemi', 'age' : 34}
print(dic)
output : {'name' : 'milad', 'family' : 'ghasemi', 'age' : 34}
print(dic['name'])
output : 'milad'
dic['age'] = 25
print(dic)
output : {'name' : 'milad', 'family' : 'ghasemi', 'age' : 25}
print("my name is ", dic['name'])
output : my name is milad
print("lenght of dictionary is : %d " % len(dic))
output : 3
dic1 = dic.copy()
output : {'name' : 'milad', 'family' : 'ghasemi', 'age' : 34}
print(dic.get('name'))
output : 'milad'
print(dic.get('sex', "Op's can't find it!"))
output : "Op's can't find it this key in dictionary"
print(dic.keys())
output : name, family, age
print(dic1.values())
output : milad, ghasemi, 34
seq = ('name', 'age', 'state')
dic = dic.fromkeys(seq)
print(dic)
output : {'name' : None, 'age' : None, 'state' : None}
dic = dic.fromkeys(seq, 10)
print(dic)
output : {'name' : 10, 'age' : 10, 'state' : 10}
dic1 = {'language' : 'c++'}
dic.update(dict1)
print(dic)
output : {'name' : 'milad', 'family' : 'ghasemi', 'age' : 34, 'language' : 'c++'}
dic = {'name' : 'milad', 'favorite_language' : ['c++', 'python', 'perl']}
print(dic['favorite_language'])
output : c++, python, perl
print(dic['favorite_language'][0])
output : c++
از طرف مهندس
@milad_ghasemi_1
🔰 @raspberry_python
🌟 PyAudio Documentation
PyAudio provides Python bindings for PortAudio, the cross-platform audio I/O library. With PyAudio, you can easily use Python to play and record audio on a variety of platforms
https://people.csail.mit.edu/hubert/pyaudio/docs/
🔰 @raspberry_python
PyAudio provides Python bindings for PortAudio, the cross-platform audio I/O library. With PyAudio, you can easily use Python to play and record audio on a variety of platforms
https://people.csail.mit.edu/hubert/pyaudio/docs/
🔰 @raspberry_python
🌟 LibROSA
LibROSA is a python package for music and audio analysis. It provides the building blocks necessary to create music information retrieval systems.
http://librosa.github.io/librosa/
🔰 @raspberry_python
LibROSA is a python package for music and audio analysis. It provides the building blocks necessary to create music information retrieval systems.
http://librosa.github.io/librosa/
🔰 @raspberry_python
🌟 Reading *.wav files in Python
https://stackoverflow.com/questions/2060628/reading-wav-files-in-python
🔰 @raspberry_python
https://stackoverflow.com/questions/2060628/reading-wav-files-in-python
🔰 @raspberry_python
Stack Overflow
Reading *.wav files in Python
I need to analyze sound written in a .wav file. For that I need to transform this file into set of numbers (arrays, for example). I think I need to use the wave package. However, I do not know how
🌈 Six Key Components That Enable Kubernetes
🌐 https://www.serverwatch.com/server-trends/six-key-components-that-enable-kubernetes.html
🔰 @raspberry_python
🌐 https://www.serverwatch.com/server-trends/six-key-components-that-enable-kubernetes.html
🔰 @raspberry_python
Serverwatch
Six Key Components That Enable Kubernetes
Kubernetes is made up of many different inter-related concepts and abstractions that help to enable the container orchestration platform.
Pair Correlation Function Analysis of Fluorescence Fluctuations in Big Image Time Series using Python
https://www.lfd.uci.edu/~gohlke/ipcf/
🔰 @raspberry_python
https://www.lfd.uci.edu/~gohlke/ipcf/
🔰 @raspberry_python
Forwarded from 🐍 Python & Raspberry 🐍 (F.Naserizadeh)
coding.pdf
1.2 MB
جزوه رمزنگاری 👇 به صورت پاور پوینت از طرف مهندس
@Spouyakazemian
@Spouyakazemian
Forwarded from Pouya Kazemian
3-روش های رمزنگاری سنتی.ppt
917 KB
Forwarded from Pouya Kazemian
final-cryptography.pptx
31.9 MB