DEV Community


Posted on • Updated on


Wikipedia Python Tutorial

# Created By Moumen
import wikipedia
import json
import time
# Created By Moumen
print(f"Welcome To Wikipedia")
lan = input (str("Language: "))
test_file = open("log.txt", "w")
# Created By Moumen
while True: 
    question = input("Question: ")
    question_1 = question.replace("What is", "")
# Created By Moumen

    test_file = open("log.txt", "a")
    test_file.write(f"\n {question_1}") 
    answer_1 = question.replace("What is", "")
    search =
    info = search.content
# Created By Moumen
    new_file = open(f"{answer_1}.txt", "w")
# Created By Moumen
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git