1234567891011121314151617181920212223242526272829303132333435 |
- # %%
- import sqlite3
- import pandas as pd
- import dtale
- import unicodedata
- with open("../db/ftxt/aa1", 'rb') as file1:
- formByte = file1.read()
- form = [byte for byte in formByte]
- # %%
- form
- # %%
- list( filter(lambda el: el>0, appa) )
- # %%
- for index, byte in enumerate(appa):
- if byte > 0:
- print(index, byte)
- # %%
- with open("../db/itxt/aa1", 'r', encoding="utf-32-le") as file1:
- file1.seek(4*179)
- text = file1.read(188-179 + 1)
- print(text)
- # %%
- with open("../db/itxt/aa1", 'r', encoding="utf-32-le") as file1:
- textfull = file1.read()
- # %%
- text[179:188]
- # %%
- len(appa)
- # %%
- len(text)
- # %%
- textfull[179+1:188+1]
- # %%
|