This file contains 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 datetime import datetime | |
from bs4 import BeautifulSoup | |
###### START CODE!!!! :) | |
###### Python3 | |
###### E' possibile leggere 200 parole al minuto | |
def choice_zero(): | |
print('\n>>>>>RESPONSE') |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 datetime import datetime | |
from urllib.request import urlopen | |
import re | |
########################Python 3.6.7 | |
def choice_one(): | |
''' | |
This function write the urls into a txt file | |
''' |
This file contains 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
/* INDEX */ | |
/* 1 - Generic customizations */ | |
/* ######################## */ | |
/* 1 - Generic customizations */ | |
html, body, section { | |
margin: 0; |
This file contains 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
import './style.css'; | |
import {MapInizialized, MapSetView, BaseMapLayer} from './directopenlayers'; | |
const mapCanvas = new MapInizialized('map'); | |
const mapCanvasView = new MapSetView(0.0, 0.0, 0); | |
const basemap = new BaseMapLayer('OSM'); | |
const osm = basemap.createOSMStandard(); | |
mapCanvas.addLayer(osm); |
This file contains 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
import './style.css'; | |
import { | |
MapInizialized, MapSetView, BaseMapLayer, | |
MapFullScreen, MapScaleLine | |
} from './directopenlayers'; | |
const mapCanvas = new MapInizialized('map'); | |
const mapCanvasView = new MapSetView(0.0, 0.0, 0); | |
const fullScreen = new MapFullScreen(); | |
const scaleLine = new MapScaleLine(); |
This file contains 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
import './style.css'; | |
import { | |
MapInizialized, MapSetView, BaseMapLayer, | |
MapScaleLine, MapFullScreen, vectorsLayer | |
} from './directopenlayers'; | |
const mapCanvas = new MapInizialized('map'); | |
const mapCanvasView = new MapSetView(14.350, 40.905, 15); | |
const scaleLine = new MapScaleLine(); | |
const basemap = new BaseMapLayer('OSM'); |
This file contains 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
import './style.css'; | |
import { | |
MapInizialized, MapSetView, BaseMapLayer, | |
MapFullScreen, MapScaleLine, vectorsLayer | |
} from './directopenlayers'; | |
const mapCanvas = new MapInizialized('map'); | |
const mapCanvasView = new MapSetView(14.350, 40.905, 5); | |
const basemap = new BaseMapLayer('Test'); | |
const osm = basemap.createOSMStandard(); |
This file contains 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
import './style.css'; | |
import { | |
MapInizialized, MapSetView, BaseMapLayer, | |
MapFullScreen, MapScaleLine, vectorsLayer | |
} from './directopenlayers'; | |
const mapCanvas = new MapInizialized('map'); | |
const mapCanvasView = new MapSetView(14.350, 40.905, 5); | |
const basemap = new BaseMapLayer('Test'); | |
const osm = basemap.createOSMStandard(); |
This file contains 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
import './style.css'; | |
import { | |
MapInizialized, MapSetView, BaseMapLayer, | |
MapFullScreen, MapScaleLine, vectorsLayer | |
} from './directopenlayers'; | |
const mapCanvas = new MapInizialized('map'); | |
const mapCanvasView = new MapSetView(14.350, 40.905, 3); | |
const basemap = new BaseMapLayer('OSM'); | |
const osm = basemap.createOSMStandard(); |
OlderNewer