Skip to content

Commit

Permalink
clone and try yourself
Browse files Browse the repository at this point in the history
  • Loading branch information
metatronslove authored Mar 19, 2024
1 parent fc0eea5 commit 7f8951f
Show file tree
Hide file tree
Showing 6 changed files with 1,919 additions and 1,816 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ Türk Alfabe Sıra No numerolojisi değerlerini [Sahur Özel'in Ebced Hesaplayan

```extractnamestocsv.py``` dosyasını çalıştırarak; ```ilçeisimleri2024.csv``` isimli liste oluşturuldu. ```İlçe İsimleri Numerolojik Kayıtları.ods```, ```İlçe İsimleri Numerolojik Kayıtları.xlsm``` dosyalarına fonksiyonları içeren makro kodları iliştirilmiştir.

### python3 extractnamestocsv.py
```ilçeisimleri2024.csv``` listesini üretmek için python kodunu çalıştırabilirsin:
### python3 extractnamestocsv.py
6 changes: 3 additions & 3 deletions extractnamestocsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
nameofatown=page[bas+2:son]
if son == chk:
towns = 0
page = page[son:]
page = page[lnk:]
if nameofacity != 'İsimlerine göre ilçeler ve nüfusları':
recordline = str(totaloftowns) + ',' + str(numberofcities) + ',' + nameofacity + ',' + str(townsofcity) + ',' + nameofatown + '\n'
linetoview = '' + nameofacity + " ilinin " + nameofatown + ' isimli ilçesi listeye eklenen ' + str(totaloftowns) + '. ilçe oldu. '
linetoview = str(totaloftowns) + ' ' + nameofacity + " ilinin " + nameofatown + ' ilçesi eklendi. '
dosya.write(recordline)
print(linetoview, sep='',end =' '*19+'\b'*len(linetoview)+'\b'*19, file = sys.stdout , flush = True)
else:
cities = 0
print(linetoview, sep='',end ='\b\b\'ilçeisimleri2024.csv\' dosyasına kaydedildi\n\r', file = sys.stdout , flush = True)
dosya.close()
dosya.close()
Loading

0 comments on commit 7f8951f

Please sign in to comment.