- TechShopBd www.techshopbd.com
- ProjectShopBd http://projectshopbd.com/
- RcShopBd http://www.rcshopbd.com/
- RcSolutionBd http://www.rcsolutionbd.com/
- BdSpeedTech www.bdspeedytech.com
- MMRcBd http://mmrcbd.com
- EStoreBd http://estoresbd.com/
- ProjectShop http://projectshopbd.com/
- Projukti Ponno http://projuktiponno.com/
- EStoreBD www.estoresbd.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Day 0: Mean, Median, and Mode | |
# Selecting standard input | |
con <- file('stdin', open='r') | |
# We don't need the first input | |
data_line <- readLines(con)[[2]] | |
# splitting the data into individual string | |
split_data <- strsplit(data_line, " ") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt5.QtWidgets import (QTreeWidget, QTreeWidgetItem, QPushButton, QLabel, QDialog, QVBoxLayout, QApplication, QLineEdit) | |
from PyQt5.QtCore import pyqtSlot | |
import sys | |
class TreeWidgetWithWidgetItems(QDialog): | |
def __init__(self): | |
super(TreeWidgetWithWidgetItems, self).__init__() | |
self.init_ui() | |
def init_ui(self): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt5.QtWidgets import QDialog, QProgressBar, QLabel, QHBoxLayout | |
from PyQt5.QtCore import pyqtSlot | |
class ProgressBar_Dialog(QDialog): | |
def __init__(self): | |
super(ProgressBar_Dialog ,self).__init__() | |
self.init_ui() | |
def init_ui(self): | |
# Creating a label |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def on_changed_value(self, value): | |
self.changedValue.emit(value) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt5.QtWidgets import QSlider, QDialog, QLabel, QHBoxLayout | |
from PyQt5.QtCore import Qt, pyqtSignal | |
class Slider_Dialog(QDialog): | |
# Added a signal | |
changedValue = pyqtSignal(int) | |
def __init__(self): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from SliderDialog.Slider import Slider_Dialog | |
from ProgressDialog.Progress import ProgressBar_Dialog | |
import sys | |
from PyQt5.QtWidgets import QApplication | |
if __name__ == '__main__': | |
app = QApplication(sys.argv) | |
sd = Slider_Dialog() | |
pb = ProgressBar_Dialog() | |
sys.exit(app.exec_()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt5.QtWidgets import QSlider, QDialog, QLabel, QHBoxLayout | |
from PyQt5.QtCore import Qt, pyqtSignal | |
class Slider_Dialog(QDialog): | |
def __init__(self): | |
super(Slider_Dialog, self).__init__() | |
self.init_ui() | |
def init_ui(self): |