top of page
Search

PYTHON CODING

  • Writer: waclaw_koscielniak
    waclaw_koscielniak
  • Sep 22, 2025
  • 1 min read

import glob, os

with open("a.txt", "w") as f:

f.write("A")

with open("b.txt", "w") as f:

f.write("B")

print(len(glob.glob("*.txt")))

os.remove("a.txt")

os.remove("b.txt")


[Running] python3 -u "/Users/name/test/test769.py"

4

[Done] exited with code=0 in 0.081 seconds

Try to run it.
Try to run it.

 
 
 

Recent Posts

See All

1 Comment


Guest
Sep 22, 2025

Could you try to verify it?

Like
bottom of page