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
import web | |
urls = ( | |
'/', 'FileViewer' | |
) | |
class FileViewer: | |
def GET(self): | |
file_path = 'access.log' |
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
import os | |
from datetime import datetime, timedelta | |
import re | |
import mistune | |
import web | |
def merge_and_process_txt_files(directory_path): | |
if not os.path.exists(directory_path): | |
print(f"Directory '{directory_path}' does not exist.") | |
return |
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
# Specify the file path | |
file_path = 'a1.txt' | |
zatot = 0 | |
# Open the file in read mode | |
with open(file_path, 'r') as file: | |
# Process each line in the file | |
for line in file: | |
# Do something with the line (replace this with your processing logic) | |
processed_line = line.strip() # Removing leading and trailing whitespaces |
This file has been truncated, but you can view the full file.
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
Jalan EE --> Kebon Jeruk - Sukabumi Utara - RW 01 | |
Jalan Budi Raya --> Kebon Jeruk - Kebon Jeruk - RW 04 | |
Jalan Budi Raya --> Kebon Jeruk - Kebon Jeruk - RW 12 | |
Jalan Kali Besar Barat --> Tambora - Roa Malaka - RW 03 | |
Jalan Tambora III --> Tambora - Tambora - RW 05 | |
Jalan SMPN 125 --> Kalideres - Pegadungan - RW 11 | |
Jalan Michelia 3 --> Kembangan - Joglo - RW 01 | |
Gang Nangka --> Cengkareng - Rawa Buaya - RW 02 | |
Jalan Eco Culture --> Kalideres - Pegadungan - RW 08 | |
Jalan Profesor Doktor Latumeten --> Grogol Petamburan - Jelambar - RW 04 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
1 | |
00:00:00,000 --> 00:00:03,740 | |
Welcome to another episode of the Mapscaping Podcast. | |
2 | |
00:00:03,740 --> 00:00:07,960 | |
My name is Daniel and this is a podcast for the Geospatial Community. | |
3 | |
00:00:07,960 --> 00:00:10,480 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
lang_dict = { | |
'sma':'Southern Sami', | |
'ace':'Achinese', | |
'ang':'Old English', | |
'agq':'Aghem', | |
'af':'Afrikaans', | |
'ak':'Akan', | |
'gsw':'Swiss German', | |
'als':'Alemannisch', | |
'en-us':'American English', |
This file has been truncated, but you can view the full file.
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
<?xml version='1.0' encoding='UTF-8'?> | |
<osm version='0.6' upload='false' generator='JOSM'> | |
<node id='-552207' lat='-10.43571623147' lon='121.91601042819' /> | |
<node id='-552208' lat='-10.43571465776' lon='121.91593802924' /> | |
<node id='-552209' lat='-10.43576540439' lon='121.91593690348' /> | |
<node id='-552210' lat='-10.4357669781' lon='121.91600930244' /> | |
<node id='-552211' lat='-10.53804116209' lon='121.7915149079' /> | |
<node id='-552212' lat='-10.53798479834' lon='121.79149513005' /> | |
<node id='-552213' lat='-10.53801091698' lon='121.79141911377' /> | |
<node id='-552214' lat='-10.53806728073' lon='121.7914388916' /> |