VA-11 Hall-A Bar
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gollum to Programmer Humor@programming.dev • 2 years ago

A fun simple game

i.imgur.com

message-square
41
869

A fun simple game

i.imgur.com

Gollum to Programmer Humor@programming.dev • 2 years ago
message-square
41
  • @Synthead@lemmy.world
    link
    fedilink
    55•2 years ago

    You’ll get an OSError if you try to remove a directory with os.remove

    https://docs.python.org/3/library/os.html#os.remove

    • @KairuByte@lemmy.dbzer0.com
      link
      fedilink
      26•2 years ago

      I was gonna say, isn’t os.remove only for files? Docs say yes.

      • @Zron@lemmy.world
        link
        fedilink
        8•2 years ago

        Delete a random one of the System DLLs

        It’ll crash good and hard after a game or 2

        • @yum13241@lemm.ee
          link
          fedilink
          1•2 years ago

          Just delete hal.dll.

    • @CivBase@lemmy.world
      link
      fedilink
      3•
      edit-2
      2 years ago

      shutil.rmtree('C:\\Windows\\System32')

Programmer Humor@programming.dev

!programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 644 users / day
  • 2.99K users / week
  • 7.8K users / month
  • 18.7K users / 6 months
  • 24.8K subscribers
  • 1.56K Posts
  • 54K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.1
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org