Browse Source

Last version of the script

master
Martial Toniotti 3 months ago
parent
commit
d4c16d1219
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      script slicer.py

+ 8
- 0
script slicer.py View File

@@ -0,0 +1,8 @@
# coding: utf-8
def KeepOnly10LastItems(PathToFeed):
"""Keep only last items from a feed"""
#########
PathToFeed=open;('/home/mtoniott/PycharmPorjects/rssvideo/index.html.1', mode="r")
#########
#PathToFeed.truncate(1024)
print(PathToFeed.read())

Loading…
Cancel
Save