lucinos
Death Knight
- Joined
- Nov 16, 2015
- Messages
- 2,694
Ήθελα να έχω την βιβλιοθήκη μου ως κείμενο. Υπάρχει κάποιος καλός τρόπος;<br>Ιδού τι έκανα:<br><br>-βήμα πρώτο-<br>πηγαίνουμε στο προφίλ μας και επιλέγουμε games ώστε να δούμε την λίστα τών παιχνιδιών μας<br><br>-βήμα δεύτερο-<br>κάνουμε κόπυ σε έναν κειμενογράφο (κώδικα, όχι word)<br><br>-βήμα τρίτο-<br>σβήνουμε τις περιττές γραμμές στην αρχή και στο τέλος<br><br>-βήμα τέταρτο-<br>παρατηρούμε ότι κάθε τίτλος έπεται μιας κενής γραμμής. Με βάση αυτήν την παρατήρηση έγραψα ένα σκριπτάκι<br>
<div class="bbcode_code">
<div class="bbcode_code_head">Code:
<div class="bbcode_code_body" style="white-spacere"><br>#!/usr/bin/python3<br>## parsing steam raw list<br><br>def readline():<br> while True:<br> try: line = input()<br> except EOFError: break<br> <br> yield line<br><br>def main():<br> title = True<br> for line in readline(): <br> if title: print(line)<br> <br> title = line == ' '<br> <br>if __name__ == '__main__':<br> main()<br><br>
<br><br>-βήμα πέμτο-<br>τρέχουμε το σκριπτάκι (με τις κατάλληλες ανακατευθύνσεις για είσοδο-έξοδο)<br><br>success!! cmr:<br><span class="bbcode_spoiler"><br>9 Clues: The Secret of Serpent Creek<br>140<br>AaaaaAAaaaAAAaaAAAAaAAAAA!!! for the Awesome<br>Abyss: The Wraiths of Eden<br>AdVenture Capitalist<br>Age of Wonders III<br>A Golden Wake<br>AI War: Fleet Command<br>Amnesia: The Dark Descent<br>Anodyne<br>Anomaly 2<br>Anomaly Defenders<br>Anomaly Korea<br>Anomaly Warzone Earth<br>Anomaly Warzone Earth Mobile Campaign<br>Antichamber<br>Apotheon<br>AR-K<br>Asphyxia<br>Audiosurf<br>A Virus Named TOM<br>Awesomenauts<br>A Wizard's Lizard<br>Bad Hotel<br>Bardbarian<br>Bastion<br>BattleBlock Theater<br>Beatbuddy: Tale of the Guardians<br>Black Mirror<br>Black Mirror II<br>Black Mirror III<br>Blackwell Convergence<br>Blackwell Unbound<br>Braid<br>Breach & Clear<br>Bridge Constructor<br>Bridge Constructor Medieval<br>Bridge Constructor Playground<br>Broken Sword 1 - Shadow of the Templars: Director's Cut<br>Broken Sword 2 - the Smoking Mirror: Remastered<br>Broken Sword 5 - the Serpent's Curse<br>Brütal Legend<br>Capsized<br>Chaser<br>Clockwork Tales: Of Glass and Ink<br>Closure<br>Cognition - Original Soundtrack Vol 1<br>Cognition: An Erica Reed Thriller<br>Contraption Maker<br>Costume Quest<br>Crimsonland<br>Crowntakers<br>Crusader Kings II<br>Cubemen<br>Cubemen 2<br>Deadlight<br>Deadlight Original Soundtrack<br>Dear Esther<br>DEFCON<br>Defender's Quest: Valley of the Forgotten<br>Deja Vu: MacVenture Series<br>Delver<br>Deponia<br>Deponia: The Complete Journey<br>Desperados - Wanted Dead or Alive<br>Desperados 2: Cooper’s Revenge<br>Detective Grimoire<br>Don't Starve<br>Don't Starve Together Beta<br>Draw a Stickman: EPIC<br>Duke Nukem 3D: Megaton Edition<br>Dungeon Defenders<br>Dungeons of Dredmor<br>Dust: An Elysian Tail<br>Dustforce<br>Dyscourse<br>Eets Munchies<br>Eldritch<br>English Country Tune<br>Enigmatis 2: The Mists of Ravenwood<br>Escape Goat 2<br>Eufloria HD<br>Europa Universalis IV<br>FEZ<br>Fieldrunners<br>Fieldrunners 2<br>Fistful of Frags<br>FOTONICA<br>Fractal: Make Blooms Not War<br>Frozen Synapse<br>FTL: Faster Than Light<br>Full Mojo Rampage<br>Galcon Fusion<br>Galcon Legends<br>Gemini Rue<br>Girls Like Robots<br>Gone Home<br>Greed Corp<br>Grim Fandango Remastered<br>Gunpoint<br>Guns of Icarus Online<br>Hack 'n' Slash<br>Half-Life<br>Half-Life 2<br>Half-Life 2: Deathmatch<br>Half-Life 2: Episode One<br>Half-Life 2: Episode Two<br>Half-Life 2: Lost Coast<br>Half-Life: Blue Shift<br>Half-Life: Opposing Force<br>Half-Life: Source<br>Half-Life Deathmatch: Source<br>Hammerwatch<br>Harvester<br>Hatoful Boyfriend<br>Heavy Bullets<br>Hero Academy<br>Hotline Miami<br>I Have No Mouth, and I Must Scream<br>Imagine Me<br>Incredipede<br>Intrusion 2<br>Ironclad Tactics<br>Ittle Dew<br>Jack Lumber<br>Jagged Alliance Gold<br>Jamestown<br>Journey of a Roach<br>Kairo<br>Kerbal Space Program<br>Kingdom Rush<br>Knights of Pen and Paper +1<br>La-Mulana<br>Left 4 Dead 2<br>Legend of Grimrock<br>Leisure Suit Larry in the Land of the Lounge Lizards: Reloaded<br>LIMBO<br>Little Inferno<br>Loren The Amazon Princess<br>Loren The Amazon Princess - The Castle Of N'Mar DLC<br>LUFTRAUSERS<br>Lume<br>Lumino City<br>Machinarium<br>Magicka<br>Magicka: Vietnam<br>Mark of the Ninja<br>MASSIVE CHALICE<br>Mercenary Kings<br>METAL SLUG 3<br>MirrorMoon EP<br>Monaco<br>Monster Loves You!<br>MURI<br>MX vs. ATV Unleashed<br>Natural Selection 2<br>Neverending Nightmares<br>Nightmares from the Deep 2: The Siren`s Call<br>Nightmares from the Deep: The Cursed Heart<br>Nihilumbra<br>Oddworld: Abe's Oddysee<br>Oil Rush<br>Organ Trail: Director's Cut<br>Outlast<br>Papers, Please<br>Pixel Piracy<br>Plug & Play<br>Portal<br>Portal 2<br>Prison Architect<br>Proteus<br>Quest for Infamy<br>Quest of Dungeons<br>Race The Sun<br>Ravensword: Shadowlands<br>Read Only Memories<br>Receiver<br>Red Faction: Guerrilla Steam Edition<br>Risk of Rain<br>Road Not Taken<br>Rocketbirds: Hardboiled Chicken<br>Rogue Legacy<br>Sakura Spirit<br>Sanctum 2<br>Savant - Ascent<br>Secret of the Magic Crystal<br>Secret of the Magic Crystals - Soundtrack and Coloring Book<br>Secret of the Magic Crystals - The Race<br>Serious Sam 3: BFE<br>Shadowgate<br>Shadowgate: MacVenture Series<br>Shadow Man<br>Shadowrun Returns<br>Shadow Warrior<br>Shadow Warrior Classic Redux<br>Shatter<br>Sid Meier's Civilization V<br>Sid Meier's Civilization V: Brave New World<br>Sid Meier's Civilization V: Scrambled Continents Map Pack<br>Silent Storm<br>Silent Storm Sentinels<br>Skulls of the Shogun<br>Small World 2<br>Solar 2<br>Solar Flux<br>SpaceChem<br>Space Hulk<br>Space Pirates and Zombies<br>Splice<br>Spy Chameleon - RGB Agent<br>Stacking<br>Stealth Bastard Deluxe<br>Stealth Inc 2<br>SteamWorld Dig<br>Strata<br>Super Meat Boy<br>SuperPower 2 Steam Edition<br>Super Splatters<br>Surgeon Simulator<br>Syder Arcade<br>Symphony<br>Talisman: Prologue<br>Team Fortress Classic<br>Teleglitch: Die More Edition<br>Tetrobot and Co.<br>Tex Murphy: Martian Memorandum<br>Tex Murphy: Mean Streets<br>Tex Murphy: Overseer<br>Tex Murphy: The Pandora Directive<br>Tex Murphy: Under a Killing Moon<br>The 7th Guest<br>The Bard's Tale<br>The Binding of Isaac<br>The Blackwell Legacy<br>The Book of Unwritten Tales<br>The Book of Unwritten Tales 2<br>The Book of Unwritten Tales: The Critter Chronicles<br>The Bridge<br>The Cave<br>The Clockwork Man<br>The Clockwork Man: The Hidden World<br>The Detail<br>The Inner World<br>The Next Penelope<br>The Nightmare Cooperative<br>The Raven - Legacy of a Master Thief<br>The Royal Trap: The Confines Of The Crown<br>The Shivah<br>The Stanley Parable<br>The Talos Principle<br>The Whispered World<br>The Whispered World Special Edition<br>The Witcher 2: Assassins of Kings Enhanced Edition<br>Thomas Was Alone<br>Ticket to Ride<br>Ticket to Ride - Europe<br>Ticket to Ride - USA 1910<br>Tiny and Big: Grandpa's Leftovers<br>TinyKeep<br>Titan Attacks<br>Toast Time<br>Toki Tori 2+<br>Torchlight II<br>To the Moon<br>Trine<br>Trine 2<br>Triple Town<br>Tropico 3 - Steam Special Edition<br>Type:Rider<br>Ultimate General: Gettysburg<br>Unepic<br>Unity of Command<br>Vertical Drop Heroes HD<br>Viscera Cleanup Detail: Shadow Warrior<br>Volgarr the Viking<br>VVVVVV<br>Wanderlust: Rebirth<br>Wargame: European Escalation<br>Warhammer 40,000: Storm of Vengeance: Deathwing Terminator<br>Warlock 2: the Exiled<br>Windosill<br>Wizardry 6: Bane of the Cosmic Forge<br>Wizardry 7: Crusaders of the Dark Savant<br>World of Goo<br>Worms Reloaded<br>X-Tension<br>X2: The Threat<br>X3: Albion Prelude<br>X3: Reunion<br>X3: Terran Conflict<br>X: Beyond the Frontier<br>XCOM: Enemy Unknown<br>XCOM: Enemy Within<br><br></span>
<div class="bbcode_code">
<div class="bbcode_code_head">Code:
<div class="bbcode_code_body" style="white-spacere"><br>#!/usr/bin/python3<br>## parsing steam raw list<br><br>def readline():<br> while True:<br> try: line = input()<br> except EOFError: break<br> <br> yield line<br><br>def main():<br> title = True<br> for line in readline(): <br> if title: print(line)<br> <br> title = line == ' '<br> <br>if __name__ == '__main__':<br> main()<br><br>
<br><br>-βήμα πέμτο-<br>τρέχουμε το σκριπτάκι (με τις κατάλληλες ανακατευθύνσεις για είσοδο-έξοδο)<br><br>success!! cmr:<br><span class="bbcode_spoiler"><br>9 Clues: The Secret of Serpent Creek<br>140<br>AaaaaAAaaaAAAaaAAAAaAAAAA!!! for the Awesome<br>Abyss: The Wraiths of Eden<br>AdVenture Capitalist<br>Age of Wonders III<br>A Golden Wake<br>AI War: Fleet Command<br>Amnesia: The Dark Descent<br>Anodyne<br>Anomaly 2<br>Anomaly Defenders<br>Anomaly Korea<br>Anomaly Warzone Earth<br>Anomaly Warzone Earth Mobile Campaign<br>Antichamber<br>Apotheon<br>AR-K<br>Asphyxia<br>Audiosurf<br>A Virus Named TOM<br>Awesomenauts<br>A Wizard's Lizard<br>Bad Hotel<br>Bardbarian<br>Bastion<br>BattleBlock Theater<br>Beatbuddy: Tale of the Guardians<br>Black Mirror<br>Black Mirror II<br>Black Mirror III<br>Blackwell Convergence<br>Blackwell Unbound<br>Braid<br>Breach & Clear<br>Bridge Constructor<br>Bridge Constructor Medieval<br>Bridge Constructor Playground<br>Broken Sword 1 - Shadow of the Templars: Director's Cut<br>Broken Sword 2 - the Smoking Mirror: Remastered<br>Broken Sword 5 - the Serpent's Curse<br>Brütal Legend<br>Capsized<br>Chaser<br>Clockwork Tales: Of Glass and Ink<br>Closure<br>Cognition - Original Soundtrack Vol 1<br>Cognition: An Erica Reed Thriller<br>Contraption Maker<br>Costume Quest<br>Crimsonland<br>Crowntakers<br>Crusader Kings II<br>Cubemen<br>Cubemen 2<br>Deadlight<br>Deadlight Original Soundtrack<br>Dear Esther<br>DEFCON<br>Defender's Quest: Valley of the Forgotten<br>Deja Vu: MacVenture Series<br>Delver<br>Deponia<br>Deponia: The Complete Journey<br>Desperados - Wanted Dead or Alive<br>Desperados 2: Cooper’s Revenge<br>Detective Grimoire<br>Don't Starve<br>Don't Starve Together Beta<br>Draw a Stickman: EPIC<br>Duke Nukem 3D: Megaton Edition<br>Dungeon Defenders<br>Dungeons of Dredmor<br>Dust: An Elysian Tail<br>Dustforce<br>Dyscourse<br>Eets Munchies<br>Eldritch<br>English Country Tune<br>Enigmatis 2: The Mists of Ravenwood<br>Escape Goat 2<br>Eufloria HD<br>Europa Universalis IV<br>FEZ<br>Fieldrunners<br>Fieldrunners 2<br>Fistful of Frags<br>FOTONICA<br>Fractal: Make Blooms Not War<br>Frozen Synapse<br>FTL: Faster Than Light<br>Full Mojo Rampage<br>Galcon Fusion<br>Galcon Legends<br>Gemini Rue<br>Girls Like Robots<br>Gone Home<br>Greed Corp<br>Grim Fandango Remastered<br>Gunpoint<br>Guns of Icarus Online<br>Hack 'n' Slash<br>Half-Life<br>Half-Life 2<br>Half-Life 2: Deathmatch<br>Half-Life 2: Episode One<br>Half-Life 2: Episode Two<br>Half-Life 2: Lost Coast<br>Half-Life: Blue Shift<br>Half-Life: Opposing Force<br>Half-Life: Source<br>Half-Life Deathmatch: Source<br>Hammerwatch<br>Harvester<br>Hatoful Boyfriend<br>Heavy Bullets<br>Hero Academy<br>Hotline Miami<br>I Have No Mouth, and I Must Scream<br>Imagine Me<br>Incredipede<br>Intrusion 2<br>Ironclad Tactics<br>Ittle Dew<br>Jack Lumber<br>Jagged Alliance Gold<br>Jamestown<br>Journey of a Roach<br>Kairo<br>Kerbal Space Program<br>Kingdom Rush<br>Knights of Pen and Paper +1<br>La-Mulana<br>Left 4 Dead 2<br>Legend of Grimrock<br>Leisure Suit Larry in the Land of the Lounge Lizards: Reloaded<br>LIMBO<br>Little Inferno<br>Loren The Amazon Princess<br>Loren The Amazon Princess - The Castle Of N'Mar DLC<br>LUFTRAUSERS<br>Lume<br>Lumino City<br>Machinarium<br>Magicka<br>Magicka: Vietnam<br>Mark of the Ninja<br>MASSIVE CHALICE<br>Mercenary Kings<br>METAL SLUG 3<br>MirrorMoon EP<br>Monaco<br>Monster Loves You!<br>MURI<br>MX vs. ATV Unleashed<br>Natural Selection 2<br>Neverending Nightmares<br>Nightmares from the Deep 2: The Siren`s Call<br>Nightmares from the Deep: The Cursed Heart<br>Nihilumbra<br>Oddworld: Abe's Oddysee<br>Oil Rush<br>Organ Trail: Director's Cut<br>Outlast<br>Papers, Please<br>Pixel Piracy<br>Plug & Play<br>Portal<br>Portal 2<br>Prison Architect<br>Proteus<br>Quest for Infamy<br>Quest of Dungeons<br>Race The Sun<br>Ravensword: Shadowlands<br>Read Only Memories<br>Receiver<br>Red Faction: Guerrilla Steam Edition<br>Risk of Rain<br>Road Not Taken<br>Rocketbirds: Hardboiled Chicken<br>Rogue Legacy<br>Sakura Spirit<br>Sanctum 2<br>Savant - Ascent<br>Secret of the Magic Crystal<br>Secret of the Magic Crystals - Soundtrack and Coloring Book<br>Secret of the Magic Crystals - The Race<br>Serious Sam 3: BFE<br>Shadowgate<br>Shadowgate: MacVenture Series<br>Shadow Man<br>Shadowrun Returns<br>Shadow Warrior<br>Shadow Warrior Classic Redux<br>Shatter<br>Sid Meier's Civilization V<br>Sid Meier's Civilization V: Brave New World<br>Sid Meier's Civilization V: Scrambled Continents Map Pack<br>Silent Storm<br>Silent Storm Sentinels<br>Skulls of the Shogun<br>Small World 2<br>Solar 2<br>Solar Flux<br>SpaceChem<br>Space Hulk<br>Space Pirates and Zombies<br>Splice<br>Spy Chameleon - RGB Agent<br>Stacking<br>Stealth Bastard Deluxe<br>Stealth Inc 2<br>SteamWorld Dig<br>Strata<br>Super Meat Boy<br>SuperPower 2 Steam Edition<br>Super Splatters<br>Surgeon Simulator<br>Syder Arcade<br>Symphony<br>Talisman: Prologue<br>Team Fortress Classic<br>Teleglitch: Die More Edition<br>Tetrobot and Co.<br>Tex Murphy: Martian Memorandum<br>Tex Murphy: Mean Streets<br>Tex Murphy: Overseer<br>Tex Murphy: The Pandora Directive<br>Tex Murphy: Under a Killing Moon<br>The 7th Guest<br>The Bard's Tale<br>The Binding of Isaac<br>The Blackwell Legacy<br>The Book of Unwritten Tales<br>The Book of Unwritten Tales 2<br>The Book of Unwritten Tales: The Critter Chronicles<br>The Bridge<br>The Cave<br>The Clockwork Man<br>The Clockwork Man: The Hidden World<br>The Detail<br>The Inner World<br>The Next Penelope<br>The Nightmare Cooperative<br>The Raven - Legacy of a Master Thief<br>The Royal Trap: The Confines Of The Crown<br>The Shivah<br>The Stanley Parable<br>The Talos Principle<br>The Whispered World<br>The Whispered World Special Edition<br>The Witcher 2: Assassins of Kings Enhanced Edition<br>Thomas Was Alone<br>Ticket to Ride<br>Ticket to Ride - Europe<br>Ticket to Ride - USA 1910<br>Tiny and Big: Grandpa's Leftovers<br>TinyKeep<br>Titan Attacks<br>Toast Time<br>Toki Tori 2+<br>Torchlight II<br>To the Moon<br>Trine<br>Trine 2<br>Triple Town<br>Tropico 3 - Steam Special Edition<br>Type:Rider<br>Ultimate General: Gettysburg<br>Unepic<br>Unity of Command<br>Vertical Drop Heroes HD<br>Viscera Cleanup Detail: Shadow Warrior<br>Volgarr the Viking<br>VVVVVV<br>Wanderlust: Rebirth<br>Wargame: European Escalation<br>Warhammer 40,000: Storm of Vengeance: Deathwing Terminator<br>Warlock 2: the Exiled<br>Windosill<br>Wizardry 6: Bane of the Cosmic Forge<br>Wizardry 7: Crusaders of the Dark Savant<br>World of Goo<br>Worms Reloaded<br>X-Tension<br>X2: The Threat<br>X3: Albion Prelude<br>X3: Reunion<br>X3: Terran Conflict<br>X: Beyond the Frontier<br>XCOM: Enemy Unknown<br>XCOM: Enemy Within<br><br></span>