[(u'While', u'O'), (u'in', u'O'), (u'France', u'LOCATION'), (u',', u'O'), (u'Christine', u'PERSON'), (u'Lagarde', u'PERSON'), (u'discussed', u'O'), (u'short-term', u'O'), (u'stimulus', u'O'), (u'efforts', u'O'), (u'in', u'O'), (u'a', u'O'), (u'recent', u'O'), (u'interview', u'O'), (u'with', u'O'), (u'the', u'O'), (u'Wall', u'ORGANIZATION'), (u'Street', u'ORGANIZATION'), (u'Journal', u'ORGANIZATION'), (u'.', u'O')]
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Sun Aug 14 20:37:16 2016 | |
@author: Manash | |
""" | |
from bs4 import BeautifulSoup | |
import urllib2 | |
import unicodedata | |
from datetime import datetime |
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
# seq = ('name ', 'roll', 'class') | |
# keys = [1, 2, 3] | |
# dict1 = dict.fromkeys(seq, keys) | |
# print "%s" % dict1 | |
# -*- coding: utf-8 -*- | |
""" | |
Spyder Editor |
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% Deedy - One Page Two Column Resume | |
% LaTeX Template | |
% Version 1.1 (30/4/2014) | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\documentclass[]{deedy-resume-openfont} | |
\begin{document} |
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
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): |
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): | |
# 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
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 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 |