Jump to content

User:Edwin Sebastian Jose

From Wikipedia, the free encyclopedia

import wikipediaapi

def create_wikipedia_page():

   # Initialize Wikipedia API
   wiki = wikipediaapi.Wikipedia('en')
   # Your profile information
   name = 'Edwin Sebastian Jose'
   birth_date = 'April 30, 2003'
   birth_place = 'Kannur, Kerala'
   education = "B.Com (Honours) from Christ University"
   # Create the Wikipedia page title
   page_title = name.replace(' ', '_')
   # Create the Wikipedia page content
   page_content = f\

{{ "infobox": {{

   "name": "{name}",
   "birth_date": "{birth_date}",
   "birth_place": "{birth_place}",
   "education": "{education}"

}}, "sections": [

   {{
       "title": "Early Life and Education",
       "content": "Edwin Sebastian Jose was born on {birth_date} in {birth_place}. He is currently pursuing his B.Com (Honours) from Christ University."
   }},
   {{
       "title": "Career",
       "content": "Edwin Sebastian Jose's career information."
   }},
   {{
       "title": "Personal Life",
       "content": "Edwin Sebastian Jose's personal life details."
   }}

] }}

   # Create the Wikipedia page
   page = wiki.page(page_title)
   # Save the page content
   page.text = page_content
   page.save("Creating Wikipedia page for Edwin Sebastian Jose")

if __name__ == "__main__":

   create_wikipedia_page()