Month: February 2025

  • Al Riyadh Newspaper: February 28, 2025 Ramadan Insights: Kingdom’s Commerce, Spirituality, and Community

    Al Riyadh Newspaper: February 28, 2025 Ramadan Insights: Kingdom’s Commerce, Spirituality, and Community

    This collection of articles, dated February 28 – March 1, 2024, explores a variety of topics relevant to Saudi Arabia and the wider world. The articles examine preparations for Ramadan, including market trends, price stability, and the tradition of gift-giving. Digital transformation within the Kingdom, as well as various aspects of Saudi culture, including the founding day, are discussed. Furthermore, the paper contains global issues such as NATO’s future and displacement in Palestine. The newspaper also features sports coverage, health advice, and local advertisements, giving a snapshot of life in Saudi Arabia.

    Ramadan and Saudi Arabia in 2025: A Comprehensive Study Guide

    I. Quiz

    Answer each question in 2-3 sentences.

    1. According to the texts, what are some ways that Ramadan in Saudi Arabia is marked by a sense of spirituality and community?
    2. How has the التحول الوطني (National Transformation Program) impacted the lives of citizens in Saudi Arabia?
    3. What indications are there in the source material that Ramadan is a significant commercial period in Saudi Arabia?
    4. How are advancements in technology impacting the experience of Ramadan in Saudi Arabia, specifically at the المسجد الحرام and المسجد النبوي?
    5. What are some economic concerns regarding Ramadan in Saudi Arabia as expressed in the documents?
    6. In what ways does the article suggest Saudi Arabian culture is preserving its heritage and values?
    7. How has the Kingdom used space technologies? What goals were announced?
    8. Describe the dispute between former US President Trump and NATO. What solutions were proposed?
    9. What is the essence of the Palestinian “right of return”? How does this apply to Israeli settlements in the West Bank?
    10. How has Saudi Arabia supported its local artists?

    II. Quiz – Answer Key

    1. Ramadan is marked by a sense of spirituality and community in Saudi Arabia through increased prayer, attendance at mosques for Tarawih prayers, charitable giving, and a focus on family and social connections. This is further exemplified by the unique customs and traditions observed in the country during the holy month.
    2. The التحول الوطني (National Transformation Program) has improved the lives of citizens in Saudi Arabia by providing easier digital government services that save time and effort, as well as enhancing the role of the private sector to improve citizens’ lives. The program also prioritizes the financial security of citizens and offers a variety of innovative services that reflect Saudi Arabia’s leadership and global development.
    3. Ramadan is a significant commercial period in Saudi Arabia, with increased consumer spending, especially on food and gifts. The وزراة التجارة (Ministry of Commerce) announces seasonal discounts, and many businesses launch promotions targeting Ramadan shoppers, indicating the economic importance of the month.
    4. Advancements in technology are significantly improving the Ramadan experience in Saudi Arabia by providing digital access to خطب (sermons) and translation services at the المسجد الحرام, as well as providing guidance and information to visitors in multiple languages. Additionally, digital platforms like “توكلنا” enhance emergency response and healthcare services during the holy month.
    5. Economic concerns surrounding Ramadan include rising costs of Ramadan gifts, which can strain household budgets, especially for low-to-middle-income families. Some people resort to loans or savings depletion to keep up with social customs of lavish giving, leading to potential financial instability.
    6. Despite the growing digital world, Saudi Arabia is working to preserve its heritage and values by integrating them with modernization, for instance, the Najdi architecture which is a blend of authentic historical elements. There are national celebrations and historical museums to preserve local history and culture.
    7. Saudi Arabia has invested billions of dollars into technology to enhance its economy and has increased its presence in space. The stated goals for these projects are to provide advanced technological services, including Earth monitoring.
    8. Trump repeatedly insisted that NATO member states increase their defense spending to 2% of their gross domestic product and threatened to reduce American support. One proposal to resolve the issues was for Europe to develop an independent defense.
    9. The Palestinian “right of return” refers to the claim of Palestinians who were displaced during the establishment of Israel in 1948 to return to their former homes. Settlements in the West Bank, claimed as Palestinian territory, are considered illegal under international law.
    10. Local Saudi artists are supported by building cultural coffee shops to share their work, helping architects use sustainable materials to design buildings, encouraging Islamic calligraphy, and highlighting authors in newspapers. This highlights a commitment to promote their work.

    III. Essay Questions

    1. Analyze the evolving role of technology in shaping the Ramadan experience in Saudi Arabia. How does technology enhance both the spiritual and practical aspects of the holy month, and what are the potential challenges or drawbacks of this increased reliance on technology?
    2. Discuss the economic implications of Ramadan in Saudi Arabia. How does the holy month impact consumer spending, business activity, and the overall economy, and what measures are being taken to ensure economic stability and prevent price manipulation during this period?
    3. Evaluate the challenges and opportunities facing حلف الناتو (NATO) in the context of changing global politics. How do factors such as shifting U.S. foreign policy, relations with Russia, and burden-sharing among member states impact the future of the alliance?
    4. Examine the humanitarian situation in the West Bank and Gaza, focusing on the impact of Israeli policies and military operations on the Palestinian population. What are the key issues and challenges facing civilians in these areas, and what role do international organizations play in addressing their needs?
    5. Explore the intersection of tradition and modernity in contemporary Saudi Arabian society, with specific reference to the topics and trends highlighted in the provided articles. How are cultural heritage, religious values, and technological advancements being integrated to shape the identity and development of the kingdom?

    IV. Glossary of Key Terms

    • رمضان (Ramadan): The ninth month of the Islamic calendar, observed by Muslims worldwide as a month of fasting, prayer, reflection, and community.
    • المسجد الحرام (Al-Masjid al-Haram): The Great Mosque of Mecca, the holiest mosque in Islam, containing the Kaaba.
    • المسجد النبوي (Al-Masjid an-Nabawi): The Prophet’s Mosque in Medina, the second holiest mosque in Islam.
    • التحول الوطني (Al-Tahawul Al-Watani): The National Transformation Program, a Saudi Arabian initiative aimed at diversifying the economy, improving public services, and promoting sustainable development.
    • وزارة التجارة (Wizarat Al-Tijara): Ministry of Commerce, the government agency responsible for regulating and promoting trade and commerce in Saudi Arabia.
    • خطب (Khutbah): Sermons.
    • تكافل وتراحم (Takaful wa tarahum): Mutual support and compassion; Islamic virtues emphasized during Ramadan.
    • حلف الناتو (Helf Al-Nato): The North Atlantic Treaty Organization (NATO), a military alliance established in 1949.
    • القدس (Al-Quds): Jerusalem, a city of religious importance to Judaism, Christianity, and Islam.
    • الضفة الغربية (Al-Diffah Al-Gharbiyyah): The West Bank, a landlocked territory near the Mediterranean coast of Western Asia.
    • غزة (Ghazzah): Gaza, a self-governing Palestinian territory on the eastern coast of the Mediterranean Sea, that borders Egypt on the southwest and Israel on the east and north.
    • القدس الشرقية (Al-Quds al-Sharqia): East Jerusalem, a part of Jerusalem occupied by Israel in 1967 and later annexed.

    Saudi Arabia: Vision 2030, Ramadan, and Regional Tensions in 2025

    Okay, here’s a detailed briefing document summarizing the main themes and ideas from the provided excerpts.

    Briefing Document: Analysis of “20702.pdf” Excerpts

    Date: October 26, 2023 Source: Excerpts from “20702.pdf” (Various articles from the Al Riyadh newspaper, dated Friday-Saturday 28-2/1-3 2025, Issue: 20702)

    Overview:

    These excerpts from the Al Riyadh newspaper, dated February 28 – March 1, 2025, provide insights into various aspects of Saudi Arabian life, focusing on the approaching month of Ramadan, economic trends, cultural preservation, technological advancements, and regional political concerns. The overarching themes include:

    • The significance of Ramadan in Saudi society and the preparations surrounding it.
    • Economic developments, digitalization, and the impact of Vision 2030.
    • Cultural preservation and national identity.
    • Regional political tensions, particularly concerning Palestinian territories.
    • The evolving role of Saudi Arabia in the global landscape.
    • The future of NATO

    Main Themes and Key Ideas:

    1. Ramadan in Saudi Arabia:

    • Spiritual Significance: Ramadan is portrayed as a month of great spiritual importance, marked by increased religious observance, charitable activities, and a focus on community. “رمضان.. أبواب الجنة فتحت” (Ramadan… the gates of paradise are opened). The excerpts highlight the filling of mosques, increased prayer, and the spirit of “تكامل وتراحم” (solidarity and compassion).
    • Social Traditions: The article emphasizes the unique customs and traditions associated with Ramadan, noting how even non-Muslims in some countries participate in the spirit of the month by respecting the atmosphere. The Saudi society places a high value on the spiritual aspects of Ramadan, reinforcing Islamic values and social bonds.
    • Economic Impact: The excerpts discuss the significant increase in consumer spending during Ramadan, leading to seasonal sales and promotions. The Ministry of Commerce announces discounts on various products, including food, clothing, electronics, and home appliances. There’s a focus on ensuring fair pricing and preventing price manipulation. (Early on, the Ministry of Commerce announced seasonal discounts for the holy month of Ramadan and Eid).
    • Digitalization of Religious Services: The excerpts highlight the high level of preparedness at the Masjid al-Haram (Grand Mosque) in Mecca, with services enhanced by modern technology. This includes digital broadcasting of sermons in multiple languages, audio services, and informational services accessible through digital platforms. “المسجد الحرام في رمضان.. جاهزية عالية بخدمات تقنية” (The Grand Mosque in Ramadan… high readiness with technological services).
    • Ramadan Gift Giving: The text addresses the growing trend of Ramadan gift-giving and its economic implications. The practice is described as potentially becoming an “التزام مرهق” (onerous obligation), especially for families with limited income. The article suggests alternatives, such as exchanging homemade dishes or giving symbolic gifts.
    • Consumer Trends: There’s a focus on consumer behavior during Ramadan, including the tendency to buy excessive amounts of food, the increase in demand for meat, and the availability of promotional offers. The data indicates a move towards electronic payments and a positive reception of this trend by the public.

    2. Economic Development and Vision 2030:

    • National Transformation Program: The excerpts emphasize the positive changes and growth driven by the National Transformation Program, including the development of digital government services and the strengthening of the private sector.
    • Digital Economy: The significant number of point-of-sale transactions (210,088,000 transactions worth 13,045,971,000 riyals during Feb 16-22, 2025) reflects Saudi Arabia’s leadership in the digital realm and the increasing adoption of electronic payments.
    • Technology Investment: Saudi Arabia is investing heavily in technology, with spending exceeding $34.5 billion in various fields.
    • Economic Diversification: The Saudi government is actively working on economic diversification, reducing reliance on oil, and enabling the private sector. The Kingdom is striving to become a leading nation through the National Transformation Program, focusing on strategic partnerships and economic development.

    3. Cultural Preservation and National Identity:

    • Architectural Heritage: The excerpts touch on the importance of preserving architectural heritage, highlighting the “Najdi style” as a symbol of Saudi identity.
    • Day of Founding: It discussed the official website for the Saudi “Day of Founding”, where a rich literary style is discovered based on historical events. It reveals a long history that proves its existence before Islam.
    • Importance of Saudi Figures in Literature: A reminder of a number of important Saudi writers who have had a major influence on the history of literature and culture in Saudi Arabia.
    • The Concept of Shame (Aib): The article discusses the concept of Aib and its influence on the norms of the society, which may be used as a method for regulating social behaviour. However, it may be controversial in several cases.
    • Al-Hussain, the man of good qualities: Discussing Ibrahim Al-Hussain’s journey to help people and stand with them and stand by their needs.

    4. Regional Political Tensions:

    • Palestinian Territories: The excerpts express concern about the situation in the West Bank, with reports of demolitions, displacement of Palestinians, and Israeli military operations. The articles note the potential for permanent displacement and the impact on healthcare. “شبح التهجير يطارد الفلسطينيين” (The specter of displacement haunts the Palestinians). The article mentions the destruction of homes in Jenin and the fears of long-term Israeli presence.
    • Concerns about Expansion: The reports suggest that some Israeli officials are calling for the annexation of the West Bank, which raises concerns about the future of a Palestinian state.

    5. International Affairs and NATO

    • Concerns over US Commitment to NATO: Donald Trump’s questioning of NATO’s relevance and his call for increased defense spending by member states raise concerns about the future of the alliance. “»الناتو« السيناريو المقبل.. البقاء أو االنهيار” (NATO The next scenario… survival or collapse).

    Quotes of Significance:

    • “رمضان.. أبواب الجنة فتحت” (Ramadan… the gates of paradise are opened) – Illustrates the profound spiritual significance of Ramadan.
    • “المسجد الحرام في رمضان.. جاهزية عالية بخدمات تقنية” (The Grand Mosque in Ramadan… high readiness with technological services) – Highlights the integration of technology in religious services.
    • (Early on, the Ministry of Commerce announced seasonal discounts for the holy month of Ramadan and Eid). – Shows The importance of commerce in celebrating the month of Ramadan
    • (The specter of displacement haunts the Palestinians). – Highlights the severity of political tension on Palestinian territories.

    Key Trends

    • Digital Transformation: Saudi Arabia’s rapid adoption of digital technologies across various sectors is a prominent trend.
    • Economic Restructuring: Vision 2030 is driving significant changes in the Saudi economy, with a focus on diversification and private sector growth.
    • Cultural Preservation alongside Modernization: There’s an effort to balance cultural preservation with modernization and development.
    • Continued Regional Instability: The political situation in the Palestinian territories remains a significant concern.

    Potential Implications:

    • The focus on Ramadan provides an opportunity for businesses to cater to increased consumer demand while upholding Islamic values.
    • The growth of the digital economy can attract foreign investment and create new job opportunities.
    • Preserving cultural heritage can strengthen national identity and promote tourism.
    • Regional political tensions may require Saudi Arabia to play a mediating role.
    • The outcome of the US commitment to NATO has a direct impact in the Kingdom of Saudi Arabia.

    Further Research:

    • Investigate the specific initiatives under the National Transformation Program and their impact on various sectors.
    • Analyze the economic impact of Ramadan on different industries in Saudi Arabia.
    • Examine Saudi Arabia’s role in regional peace efforts and its relationship with international organizations.
    • Investigate the role of Saudi Arabia in maintaining NATO

    Ramadan 2025: Saudi Arabia, West Bank, and Global Implications

    Ramadan and Saudi Arabia in 2025: An FAQ

    1. What is the significance of Ramadan for Muslims, particularly in Saudi Arabia?

    Ramadan holds immense spiritual significance for Muslims worldwide, including those in Saudi Arabia. It is considered the most blessed month, characterized by heightened religious observance, community, and charitable activities. In Saudi Arabia, this is reflected in increased attendance at mosques for Tarawih prayers, greater emphasis on prayer and remembrance of God, and a strong sense of unity and social cohesion. The Saudi community places great importance on upholding the Islamic values and traditions associated with the holy month.

    2. What are some of the changes and developments occurring in Saudi Arabia that are highlighted in the provided articles?

    The articles spotlight the significant transformations in Saudi Arabia, driven by the National Transformation Program. These changes include the expansion of digital government services, improvements in quality of life for citizens, and the Kingdom’s growing digital prowess. This is reflected in the substantial increase in point-of-sale transactions, indicating the public’s embrace of electronic payments. These changes also highlight the Kingdom’s focus on economic diversification and the adoption of cutting-edge technologies.

    3. How is Saudi Arabia preparing for and facilitating religious observances during Ramadan in Mecca and Medina?

    Saudi Arabia invests heavily in ensuring a smooth and spiritually fulfilling experience for pilgrims and residents during Ramadan. This includes comprehensive readiness plans for the Grand Mosque in Mecca and the Prophet’s Mosque in Medina, with technical services facilitating communication in multiple languages. There is also the availability of digital content, such as translated sermons and lectures, and an organized volunteer force to assist visitors. Health and safety measures are also prioritized, with strategic positioning of medical facilities and the use of technology to manage emergency response.

    4. How have shopping habits and spending patterns changed during Ramadan in Saudi Arabia, and what are the economic implications?

    There is a marked increase in consumer demand for food and other essential goods during Ramadan, which can cause inflationary pressure on prices. Families and restaurants tend to purchase larger quantities of food, and the tradition of giving Ramadan gifts has evolved, with costs rising in recent years. This has led some families to re-evaluate their budgets, and consider less extravagant gift-giving options, and many shops offer Ramadan deals to compete for consumer spending.

    5. What are some of the trends observed in Ramadan gift-giving, and what advice is given to families regarding this custom?

    The practice of giving gifts during Ramadan has become increasingly elaborate and expensive, placing a financial burden on some families. Experts recommend returning to simpler traditions, like exchanging homemade dishes or giving small, personalized gifts. They also advise families to plan their spending in advance, seek out discounts, and consider group purchases to reduce individual costs. The articles emphasize that excessive spending on gifts can detract from the spiritual purpose of Ramadan.

    6. What issues are Palestinians in the West Bank facing during Ramadan, according to these sources?

    The articles highlight the difficult circumstances faced by Palestinians in the West Bank. Israeli military operations in refugee camps have resulted in displacement and destruction of homes, raising concerns about forced displacement. There are also reports of increased violence and attacks on healthcare facilities, as well as concerns regarding restrictions on aid and access to services for Palestinian refugees.

    7. What was the role of Ibrahim al-Hussayyin in relation to Sheikh Ibn Baz, and what does this reveal about scholarly life?

    Ibrahim al-Hussayyin served as a close companion and assistant to Sheikh Ibn Baz for many years. He managed his office, read correspondence, and accompanied him on travels. This demonstrates the important role played by assistants and students in supporting prominent scholars.

    8. What potential challenges does the article “The Future Scenario of NATO… Survival or Collapse” pose for the NATO alliance, especially considering the possibility of Donald Trump’s return to power?

    The article highlights the potential for instability within NATO due to pressures from the United States under a possible Trump administration. Key challenges include demands for increased defense spending from member states, potential reduction of U.S. commitments to European security, and a more conciliatory approach towards Russia. These factors could weaken alliance cohesion, undermine deterrence strategies, and force European nations to develop independent defense policies.

    Saudi Arabia Prepares for Ramadan

    سعودi Arabia gears up for Ramadan with a focus on spirituality, community, and charitable giving. Preparations include:

    • Charitable Initiatives Ramadan is considered a prime time for philanthropy, with many individuals and organizations increasing their efforts to aid those in need. Digital platforms are used to streamline donations and distribute zakat and sadaqat to eligible recipients.
    • Community Events Ramadan is a time for strengthening family and community bonds.
    • Families gather daily for Iftar, sharing meals with relatives and neighbors.
    • Many mosques and community centers organize mass Iftar gatherings for the needy and travelers.
    • The Saudi Ministry of Culture usually launches events to celebrate cultural heritage and enhance the atmosphere of Ramadan.
    • Increased Religious Observance During Ramadan, there is a greater emphasis on religious practices.
    • Mosques are filled with worshippers, and Tarawih prayers are performed.
    • Many Muslims aim to complete a reading of the Quran during the month and engage in Itikaf in the last ten days.
    • Economic Activity The Ministry of Commerce announces seasonal discounts for Ramadan, with many establishments and online stores participating.
    • The markets see an increase in demand for consumer goods, especially food.
    • The commercial sector sees increased activity, and shopping centers record a rise in sales of goods and products related to Ramadan.
    • Maintaining Price Stability The Saudi government works to ensure the availability of essential goods at reasonable prices and intensifies inspections to protect consumers.
    • ** духовные приготовления ** В Медине аль-Мунавваре готовятся к Рамадану, удваивая усилия по уборке и обеспечивая медицинское обслуживание и транспорт.

    Saudi Arabia: Digital Transformation in Finance and Charity

    The sources highlight aspects of digital transformation in Saudi Arabia, particularly in the context of facilitating financial transactions and charitable giving.

    Here’s a summary:

    • Digital Financial Services: The Saudi Central Bank (SAMA) is actively promoting digital transformation by expanding options for electronic payments and encouraging their adoption. This includes developing the infrastructure for national payment systems, improving digital payment solutions, and increasing the efficiency and decreasing the costs of financial transactions.
    • Digital Charitable Donations: During Ramadan, a period marked by increased charitable giving, digital platforms are used to streamline the donation process. This facilitates assistance to those in need and reinforces the spirit of solidarity among individuals.

    Saudi Arabia: Ramadan Food Price Analysis

    The sources discuss food prices in Saudi Arabia, particularly in the context of Ramadan.

    • Price Fluctuations: During the month of Ramadan, data indicates some fluctuations in food prices.
    • The price of Chinese garlic increased by 1.7% to 12.26 riyals per kilo, while the price of local jute mallow recorded a decrease of 0.4% to 2.55 riyals.
    • Parsley prices rose by 1.9% to 1.07 riyals, while spinach prices increased by 4.1% to 1.26 riyals.
    • Increased Demand: The holy month of Ramadan typically sees increased demand for food.
    • There is a high demand from charities and individuals for food items needed for Iftar meals.
    • The increased demand plays a significant role in boosting sales of food and Ramadan products.
    • Price Ranges for Meat: Meat prices vary, with larger-sized Swakni ranging around 2000 riyals, medium-sized Swakni selling for about 1700 riyals, and Najdi sheep priced at 1300 riyals. The price of al-Harri is about 1500 riyals.
    • Price of Dates: The availability of Saudi dates, with over 300 varieties, ensures options suitable for different consumer segments in the local markets.
    • Price Concerns: There are concerns about potential احتكار(hoarding) by some traders and rising annual prices, especially in the days leading up to and the first week of Ramadan.
    • Price Stability Efforts: The Saudi government works to ensure the availability of essential goods at reasonable prices and intensifies inspections to protect consumers.

    NATO’s Uncertain Future: Challenges, Scenarios, and the U.S. Role

    The future of the North Atlantic Treaty Organization (NATO) is uncertain, with scenarios ranging from continued unity to potential collapse, as explored in the sources.

    Key points regarding NATO’s future:

    • Challenges to NATO:
    • Political tensions and doubts: Criticism, threats, and doubts regarding the U.S.’s commitment to NATO reveal significant challenges for the alliance’s future.
    • Financial Burdens: The U.S. has historically been a major contributor to NATO, providing substantial financial support. There have been calls for other member states to increase their defense spending.
    • Internal Disputes: Disputes among member states, such as those between Turkey and other European nations, pose challenges to NATO’s unity and effectiveness.
    • Scenarios for NATO’s Future:
    • Potential Collapse: The possibility of the U.S. withdrawing from NATO is considered a radical step. While there are legal constraints, a U.S. president might exploit legal loopholes to initiate withdrawal.
    • NATO’s Purpose:
    • Original Goal: NATO was founded in 1949 to counter Soviet expansion in Europe, with the U.S. providing essential support due to Europe’s limited resources after World War II.
    • Revival: Russia’s invasion of Ukraine in 2022 has seemingly revitalized the alliance by uniting members against a common adversary.
    • U.S. Role:
    • Dominant Force: The U.S. is a central player in NATO, contributing approximately 70% of the alliance’s military strength and defense spending.
    • Impact of US policy: Some analysts believe that certain policies may lead to a reduction in the U.S.’s role in funding and supporting NATO activities, potentially causing a rift between the U.S. and European allies.

    Palestinian Displacement: Israeli Operations in the West Bank

    The sources discuss Palestinian displacement in the context of Israeli military operations in the West Bank.

    Key points:

    • Displacement:
    • Jenin: Israeli forces have reportedly demolished wide areas of the Jenin refugee camp, displacing at least 40,000 Palestinians in Jenin and nearby Toukarem.
    • Strategic Intent: An expert in military intelligence suggests the actions are part of a broader and continuous operation of displacement targeting residents, especially in refugee camps near Toukarem and Jenin.
    • Israeli Perspective:
    • Counterterrorism: Israel has justified the operations as necessary to target Iranian-backed groups, such as Hamas and Islamic Jihad, which it claims have infiltrated refugee camps.
    • Palestinian Perspective:
    • Accusations of Occupation: Islamic Jihad views the extensive evacuations and the presence of Israeli tanks as confirmation of an Israeli plan to seize the West Bank by force.
    • Condemnation: Islamic Jihad has condemned the actions as an aggressive step aimed at uprooting the Palestinian people from their land.

    By Amjad Izhar
    Contact: amjad.izhar@gmail.com
    https://amjadizhar.blog

  • Learn Python in Under 3 Hours Variables, For Loops, Web Scraping Full Project

    Learn Python in Under 3 Hours Variables, For Loops, Web Scraping Full Project

    The provided text consists of a series of coding tutorials and projects focused on Python. The initial tutorials cover fundamental Python concepts, including Jupyter Notebooks, variables, data types, operators, and conditional statements. Later tutorials explore looping constructs, functions, data type conversions, and practical projects like building a BMI calculator. The final segment introduces web scraping using Beautiful Soup and Requests, culminating in a project to extract and structure data from a Wikipedia table into a Pandas DataFrame and CSV.

    Python Fundamentals: A Study Guide

    Quiz

    1. What is Anaconda, and why is it useful for Python development?
    • Anaconda is an open-source distribution of Python and R, containing tools like Jupyter Notebooks. It simplifies package management and environment setup for Python projects.
    1. Explain the purpose of a Jupyter Notebook cell, and how to execute code within it.
    • A Jupyter Notebook cell is a block where code or markdown text can be written and executed. Code is executed by pressing Shift+Enter, which runs the cell and moves to the next one.
    1. Describe the difference between code cells and markdown cells in a Jupyter Notebook.
    • Code cells contain Python code that can be executed, while markdown cells contain formatted text for notes and explanations. Markdown cells use a simple markup language for formatting.
    1. What is a variable in Python, and how do you assign a value to it?
    • A variable is a named storage location that holds a value. Values are assigned using the assignment operator (=), such as x = 10.
    1. Explain why variable names are case-sensitive, and provide an example.
    • Python treats uppercase and lowercase letters differently in variable names. For example, myVar and myvar are distinct variables.
    1. List three best practices for naming variables in Python.
    • Use descriptive names, follow snake_case (words separated by underscores), and avoid starting names with numbers.
    1. What are the three main numeric data types in Python?
    • The three main numeric data types are integers (whole numbers), floats (decimal numbers), and complex numbers (numbers with a real and imaginary part).
    1. Explain the difference between a list and a tuple in Python.
    • A list is mutable (changeable), while a tuple is immutable (cannot be changed after creation). Lists use square brackets, while tuples use parentheses.
    1. Describe the purpose of comparison operators in Python, and give three examples.
    • Comparison operators compare two values and return a Boolean result (True or False). Examples: == (equal to), != (not equal to), > (greater than).
    1. Explain the purpose of the if, elif, and else statements in Python.
    • if executes a block of code if a condition is true. elif checks additional conditions if the previous if or elif conditions are false. else executes a block of code if none of the preceding conditions are true.

    Quiz Answer Key

    1. Anaconda is an open-source distribution of Python and R, containing tools like Jupyter Notebooks. It simplifies package management and environment setup for Python projects.
    2. A Jupyter Notebook cell is a block where code or markdown text can be written and executed. Code is executed by pressing Shift+Enter, which runs the cell and moves to the next one.
    3. Code cells contain Python code that can be executed, while markdown cells contain formatted text for notes and explanations. Markdown cells use a simple markup language for formatting.
    4. A variable is a named storage location that holds a value. Values are assigned using the assignment operator (=), such as x = 10.
    5. Python treats uppercase and lowercase letters differently in variable names. For example, myVar and myvar are distinct variables.
    6. Use descriptive names, follow snake_case (words separated by underscores), and avoid starting names with numbers.
    7. The three main numeric data types are integers (whole numbers), floats (decimal numbers), and complex numbers (numbers with a real and imaginary part).
    8. A list is mutable (changeable), while a tuple is immutable (cannot be changed after creation). Lists use square brackets, while tuples use parentheses.
    9. Comparison operators compare two values and return a Boolean result (True or False). Examples: == (equal to), != (not equal to), > (greater than).
    10. if executes a block of code if a condition is true. elif checks additional conditions if the previous if or elif conditions are false. else executes a block of code if none of the preceding conditions are true.

    Essay Questions

    1. Discuss the differences between for loops and while loops in Python. Provide examples of situations where each type of loop would be most appropriate.
    2. Explain the concept of web scraping using Python. What libraries are commonly used for web scraping, and what are some ethical considerations involved in web scraping?
    3. Describe the process of defining and calling functions in Python. Explain the purpose of function arguments and return values, and provide examples of how to use them effectively.
    4. Explain the different data types in Python and provide examples of using them in variable assignments, and data manipulation.
    5. Explain the difference between an arbitrary argument, an arbitrary keyword argument, and an ordinary argument, and what are the use cases for each one.

    Glossary of Key Terms

    • Anaconda: An open-source distribution of Python and R used for data science and machine learning, simplifying package management.
    • Jupyter Notebook: An interactive web-based environment for creating and sharing documents containing live code, equations, visualizations, and explanatory text.
    • Cell (Jupyter): A block in a Jupyter Notebook where code or markdown can be entered and executed.
    • Markdown: A lightweight markup language used for formatting text in markdown cells.
    • Variable: A named storage location that holds a value in a program.
    • Data Type: The classification of a value, determining the operations that can be performed on it (e.g., integer, string, list).
    • Integer: A whole number (positive, negative, or zero).
    • Float: A number with a decimal point.
    • String: A sequence of characters.
    • List: An ordered, mutable collection of items.
    • Tuple: An ordered, immutable collection of items.
    • Set: An unordered collection of unique items.
    • Dictionary: A collection of key-value pairs.
    • Comparison Operator: Symbols used to compare two values (e.g., ==, !=, >, <).
    • Logical Operator: Symbols used to combine or modify Boolean expressions (e.g., and, or, not).
    • if Statement: A conditional statement that executes a block of code if a condition is true.
    • elif Statement: A conditional statement that checks an additional condition if the preceding if condition is false.
    • else Statement: A conditional statement that executes a block of code if none of the preceding if or elif conditions are true.
    • for Loop: A control flow statement that iterates over a sequence (e.g., list, tuple, string).
    • while Loop: A control flow statement that repeatedly executes a block of code as long as a condition is true.
    • Function: A reusable block of code that performs a specific task.
    • Argument: A value passed to a function when it is called.
    • Return Value: The value that a function sends back to the caller after it has finished executing.
    • Web Scraping: Extracting data from websites using automated software.
    • Beautiful Soup: A Python library for parsing HTML and XML documents, making it easier to extract data from web pages.
    • Request: The act of asking a URL for its information.
    • HTTP request: A request using the standard “Hypertext Transfer Protocol,” which is the foundation for data communication on the World Wide Web.
    • CSV file: A Comma Separated Value file, which allows data to be saved in a table-structured format.
    • Pandas data frame: A two-dimensional, size-mutable, potentially heterogeneous tabular data structure with labeled axes.
    • List comprehension: An elegant syntax for creating lists based on existing iterables. It provides a concise way to generate lists using a single line of code, making it efficient and readable.

    Python Programming and Web Scraping Tutorial

    Okay, I have reviewed the provided text and here’s a briefing document summarizing its main themes and important ideas:

    Briefing Document: Python Basics and Web Scraping Tutorial

    Overall Theme:

    This document contains the script for a video tutorial aimed at teaching beginners the fundamentals of Python programming, including setting up the environment, covering core concepts, and introducing web scraping with Beautiful Soup. The tutorial is structured as a hands-on lesson, walking the viewer through installing Anaconda, using Jupyter Notebooks, understanding variables, data types, operators, control flow (if/else, for loops, while loops), functions, data type conversions, and finally applying these skills to a web scraping project.

    Key Ideas and Facts:

    • Setting up the Python Environment:
    • The tutorial recommends installing Anaconda, describing it as “an open source distribution of python and our products. So within Anaconda is our jupyter notebooks as well as a lot of other things but we’re going to be using it for our Jupiter notebooks.”
    • It walks through the Anaconda installation process, emphasizing the importance of selecting the correct installer for the operating system (Windows, Mac, or Linux) and system architecture (32-bit or 64-bit).
    • Introduction to Jupyter Notebooks:
    • Jupyter Notebooks are the primary environment for writing and executing Python code in the tutorial. “Right here is where we’re going to be spending 99% of our time in future videos this is where we’re going to write all of our code.”
    • Notebooks are comprised of “cells” where code or markdown can be written.
    • Markdown is introduced as a way to add comments and organization to the notebook: “markdown is its own kind of you could say language but um it’s just a different way of writing especially within a notebook.”
    • Basic notebook operations are explained, including saving, renaming, inserting/deleting cells, copying/pasting cells, moving cells, running code, interrupting the kernel, and restarting the kernel.
    • Python Variables:
    • A variable is defined as “basically just a container for storing data values.”
    • Variables are dynamically typed in Python, meaning the data type is automatically assigned based on the value assigned to the variable.
    • Variables can be overwritten with new values.
    • Multiple variables can be assigned values simultaneously (e.g., x, y, z = 1, 2, 3).
    • Multiple variables can be assigned the same value (e.g., x = y = z = “hello”).
    • Lists, dictionaries, tuples, and sets can all be assigned to variables.
    • The tutorial covers naming conventions such as camel case, Pascal case, and snake case, recommending snake case for readability: “when I’m naming variables I usually write it in snake case because I just find it a lot easier to read because each word is broken up by this underscore”.
    • It also covers invalid naming practices and what symbols can be used within variable names.
    • Strings can be concatenated using the + operator, but you can’t directly concatenate strings and numbers within a variable assignment (you can in a print statement using commas).
    • Python Data Types:
    • The tutorial covers the main data types in Python.
    • Numeric: Integers, floats, and complex numbers.
    • Boolean: True or False values.
    • Sequence Types: Strings, lists, and tuples.
    • Set: Unordered collections of unique elements.
    • Dictionary: Key-value pairs.
    • Strings can be defined with single quotes, double quotes, or triple quotes (for multi-line strings). Strings are arrays of bytes representing Unicode characters.
    • Indexing in strings starts at zero and can use negative indices to access characters from the end of the string. Slicing also works.
    • Lists are mutable, meaning their elements can be changed after creation using their indexes. Lists are index just like a string is. “One of the best things about lists is you can have any data type within them.”
    • Tuples are immutable, and lists and tuples are very similar with that being one main exception. “typically people will use tupal for when data is never going to change”.
    • Sets only contain unique values and are unordered.
    • Dictionaries store key-value pairs, and values are accessed by their associated keys. Dictionaries are changeable. “within a data type we have something called a key value pair… we have a key that indicates what that value is attributed to”.
    • Operators:
    • Comparison Operators: Used to compare values (e.g., ==, !=, >, <, >=, <=).
    • Logical Operators: Used to combine or modify boolean expressions (and, or, not).
    • Membership Operators: Used to check if a value exists within a sequence (in, not in).
    • Control Flow:
    • If/Elif/Else Statements: Used to execute different blocks of code based on conditions. The tutorial mentions “You can have as many ill if statements as you want but you can only have one if statement and one else statement”. Nested if statements are also covered.
    • For Loops: Used to iterate over a sequence, the diagram in the text walks through this, ending in “exit the loop and the for loop would be over”.
    • While Loops: Used to repeatedly execute a block of code as long as a condition is true. Break statements, continue statements, and using else statements to create a “counter” are also covered.
    • Functions:
    • Functions are defined using the def keyword.
    • Arguments can be passed to functions.
    • The tutorial describes many types of arguments including custom arguments, multiple arguments, arbitrary arguments, and keyword arguments. Arbitrary arguments use *args, and arbitrary keyword arguments use **kwargs.
    • Data Type Conversion:
    • Functions like int(), str(), list(), tuple(), and set() are used to convert between data types. This is important because the tutorial also says “it cannot add both an integer and a string.” Converting a list to a set automatically removes duplicate elements.
    • BMI Calculator Project:
    • The tutorial walks through building a BMI calculator.
    • The program takes user input for weight (in pounds) and height (in inches).
    • The BMI is calculated using the formula: weight * 703 / (height * height).
    • The program then uses if/elif/else statements to categorize the BMI into categories like underweight, normal weight, overweight, obese, severely obese, and morbidly obese.
    • The program uses input() for user input, which is then converted to an integer.
    • Web Scraping Project:
    • Introduction to Web Scraping: Web scraping is the process of extracting data from websites.
    • Libraries Used:requests: Used to send HTTP requests to retrieve the HTML content of a webpage.
    • Beautiful Soup: Used to parse the HTML content and make it easier to navigate and extract data. “Beautiful Soup takes this messy HTML or XML and makes it into beautiful soup”.
    • pandas: Used for data manipulation and analysis, specifically creating a DataFrame to store the scraped data. “We can use Pandas and manipulate this”.
    1. Steps in Web Scraping:Send a Request: Use the requests library to get the HTML content of the target webpage.
    2. Parse the HTML: Use Beautiful Soup to parse the HTML content into a navigable data structure.
    3. Locate Elements: Use Beautiful Soup’s methods (e.g., find(), find_all()) to locate the specific HTML elements containing the data you want to extract.
    4. Extract Data: Extract the text or attributes from the located HTML elements.
    5. Store Data: Store the extracted data in a structured format, such as a pandas DataFrame or a CSV file.
    • Key Beautiful Soup Methods:find(): Finds the first element that matches the specified criteria.
    • find_all(): Finds all elements that match the specified criteria.
    • HTML Element Attributes: The tutorial mentions the importance of HTML element attributes (e.g., class, href, id) for targeting specific elements with Beautiful Soup.
    • Targeting Elements with Classes: The .find() and .find_all() methods can be used to select elements based on their CSS classes.
    • Navigating HTML Structure: The tutorial demonstrated how to navigate the HTML structure to locate specific data elements, particularly focusing on table, tr (table row), and td (table data) tags.
    • Data Cleaning: The tutorial showed how to clean up the extracted data by stripping whitespace from the beginning and end of the strings.
    • Creating Pandas DataFrame: The scraped data is organized and stored into a pandas DataFrame.
    • Exporting Data to CSV: The tutorial shows how to export the data in a data frame to a CSV file.

    Quotes:

    • “Right here is where we’re going to be spending 99% of our time in future videos this is where we’re going to write all of our code.”
    • “a variable is basically just a container for storing data values.”
    • “when I’m naming variables I usually write it in snake case because I just find it a lot easier to read because each word is broken up by this underscore”
    • “typically people will use tupal for when data is never going to change”
    • “Beautiful Soup takes this messy HTML or XML and makes it into beautiful soup”
    • “we can use Pandas and manipulate this”
    • “It cannot add both an integer and a string”

    Overall Assessment:

    The provided text outlines a comprehensive introductory Python tutorial suitable for individuals with little to no prior programming experience. It covers a wide range of essential concepts and techniques, culminating in practical projects that demonstrate how these skills can be applied. The step-by-step approach and clear explanations, supplemented by hands-on examples, should make it accessible and engaging for beginners. However, some familiarity with HTML is assumed for the web scraping portion.

    Python Programming: Basics and Fundamentals

    Python Basics & Setup

    1. What is Anaconda and why is it recommended for Python beginners?

    Anaconda is an open-source distribution of Python and R, containing tools like Jupyter Notebooks. It simplifies setting up a Python environment, especially for beginners, by providing pre-installed packages and tools, avoiding individual installations and configurations that can be complex.

    2. What is a Jupyter Notebook and how do you use it to write and run Python code?

    A Jupyter Notebook is an interactive environment where you can write and execute Python code, as well as include formatted text (Markdown), images, and other content. You create cells within the notebook, type code, and then run each cell individually by pressing Shift+Enter.

    3. What are variables in Python and why are they useful?

    Variables are containers for storing data values. They are useful because they allow you to assign a name to a value (like a number, string, or list) and then refer to that value throughout your code by using the variable name, without having to rewrite the value itself.

    4. How does Python automatically determine the data type of a variable, and what are some common data types?

    Python uses dynamic typing, meaning it automatically infers the data type of a variable based on the value assigned to it. Common data types include integers (whole numbers), floats (decimal numbers), strings (text), Booleans (True/False), lists, dictionaries, tuples, and sets.

    Python Fundamentals & Usage

    5. What are the key differences between lists, tuples, and sets in Python?

    • Lists: Ordered, mutable (changeable) collections of items. They allow duplicate values.
    • Tuples: Ordered, immutable (unchangeable) collections of items. They also allow duplicate values.
    • Sets: Unordered collections of unique items. Sets do not allow duplicate values.

    6. What are comparison, logical, and membership operators in Python, and how are they used?

    • Comparison Operators: Used to compare values (e.g., == (equal), != (not equal), > (greater than), < (less than)). They return Boolean values (True or False).
    • Logical Operators: Used to combine or modify Boolean expressions (e.g., and, or, not).
    • Membership Operators: Used to test if a value is present in a sequence (e.g., in, not in).

    7. Explain the purpose of if, elif, and else statements in Python, and how they control the flow of execution.

    if, elif (else if), and else statements are used to create conditional blocks of code. The if statement checks a condition, and if it’s true, the code block under the if statement is executed. elif allows you to check additional conditions if the previous if or elif conditions were false. The else statement provides a default code block to execute if none of the if or elif conditions are true.

    8. How do for and while loops work in Python, and what are the differences between them?

    • for Loops: Used to iterate over a sequence (like a list, tuple, or string) and execute a block of code for each item in the sequence.
    • while Loops: Used to repeatedly execute a block of code as long as a specified condition is true. The loop continues until the condition becomes false.

    The main difference is that for loops are typically used when you know in advance how many times you want to iterate, while while loops are used when you want to repeat a block of code until a specific condition is no longer met.

    Creating Jupyter Notebooks with Anaconda

    To create a notebook in Anaconda using jupyter notebooks, these steps can be followed:

    1. Download Anaconda, which is an open source distribution of Python and R products, from the Anaconda website. Make sure to select the correct installer for your operating system (Windows, Mac, or Linux). For Windows users, it’s important to check the system settings to determine if it’s a 32-bit or 64-bit system.
    2. Install Anaconda by clicking ‘next’ on the installer window. Review the license agreement and click ‘I agree’. Choose the installation type, either for the current user only or for all users on the computer. Select the file path for the installation, ensuring there is enough disk space (approximately 3.5 GB).
    3. In the advanced options, it is not recommended to add Anaconda to the path environment variable unless you are experienced with Python. It is safe to register Anaconda as the default Python version. Allow the installation process to complete.
    4. After the installation is complete, search for and open Anaconda Navigator.
    5. In Anaconda Navigator, launch jupyter Notebook. This will open a new tab in the default web browser. If this is the first time opening jupyter Notebook, the file directory may be blank.
    6. In the jupyter Notebook interface, go to the ‘new’ drop down and select ‘Python 3 (ipykernel)’ to create a new notebook with a Python 3 kernel.
    7. A new jupyter Notebook will open where code can be written. This is where code will be written in future tutorials.
    8. In the notebook, there are cells where code can be typed. To run the code in a cell, press Shift + Enter.
    9. Besides writing code, markdown can be used to add comments and organize the notebook. To use markdown, type a hashtag/pound sign (#) followed by the text.

    After creating a jupyter Notebook, the title can be changed by clicking on the name at the top of the page. It is also possible to insert cells, delete cells, copy and paste cells and move cells up or down.

    Python Code: Concepts and Web Scraping

    Python code involves several key concepts, including variables, data types, operators, control flow (if statements, loops), functions, and web scraping.

    Variables:

    • Are containers for storing data values, such as numbers or strings.
    • A value can be assigned to a variable using the equal sign (=), for example, x = 22 assigns the value 22 to the variable x.
    • The print() function displays the value of a variable. For example, print(x) would output 22 if x has been assigned the value of 22.
    • Python automatically assigns a data type to a variable based on the assigned value.
    • Variables can be overwritten with new values.
    • Variables are case-sensitive.
    • Multiple values can be assigned to multiple variables. For example, x, y, z = “chocolate”, “vanilla”, “rocky road” assigns “chocolate” to x, “vanilla” to y, and “rocky road” to z.
    • Multiple variables can be assigned to one value. For example, x = y = z = “root beer float” assigns “root beer float” to all three variables.
    • Variables can be used in arithmetic operations. For example, y = 3 + 2 assigns the value 5 to the variable y.
    • Variables can be combined within a print statement using the + operator for strings or commas to combine different data types.

    Data Types:

    • Are classifications of the data that you are storing.
    • Numeric data types include integers, floats, and complex numbers.
    • Integers are whole numbers, either positive or negative.
    • Floats are decimal numbers.
    • Complex numbers are numbers with a real and imaginary part, where j represents the imaginary unit.
    • Booleans have two built-in values: True or False.
    • Sequence types include strings, lists, and tuples.
    • Strings are arrays of bytes representing Unicode characters and can be enclosed in single quotes, double quotes, or triple quotes. Triple quotes are used for multi-line strings. Strings can be indexed to access specific characters.
    • Lists store multiple values and are changeable (mutable). Lists are defined using square brackets []. Lists can contain different data types. Items can be added to the end of a list using .append(). Items in a list can be changed by referring to the index number. Lists can be nested.
    • Tuples are similar to lists but are immutable, meaning they cannot be modified after creation. Tuples are defined using parentheses ().
    • Sets are unordered collections of unique elements. Sets do not allow duplicate elements. Sets are defined using curly brackets {}.
    • Dictionaries store key-value pairs. Dictionaries are defined using curly brackets {}, with each key-value pair separated by a colon :. Dictionary values are accessed using the key. Dictionary items can be updated, and key-value pairs can be deleted.

    Operators:

    • Comparison operators compare two values.
    • == (equal to)
    • != (not equal to)
    • > (greater than)
    • < (less than)
    • >= (greater than or equal to)
    • <= (less than or equal to)
    • Logical operators combine conditional statements.
    • and (returns True if both statements are true)
    • or (returns True if one of the statements is true)
    • not (reverses the result, returns False if the result is true)
    • Membership operators test if a sequence is present in an object.
    • in (returns True if a sequence is present in the object)
    • not in (returns True if a sequence is not present in the object)

    Control Flow:

    • If statements execute a block of code if a condition is true.
    • if condition: (body of code)
    • else: (body of code) – executes if the initial if condition is false
    • elif condition: (body of code) – checks an additional condition if the initial if condition is false
    • Nested if statements can be used for more complex logic.
    • For loops iterate over a sequence (list, tuple, string, etc.).
    • for variable in sequence: (body of code)
    • Nested for loops can be used to iterate over multiple sequences.
    • While loops execute a block of code as long as a condition is true.
    • while condition: (body of code)
    • break statement: stops the loop even if the while condition is true
    • continue statement: rejects all the remaining statements in the current iteration of the loop
    • else statement: runs a block of code when the condition is no longer true

    Functions:

    • Are blocks of code that run when called.
    • Defined using the def keyword.
    • Arguments can be passed to functions.
    • Arbitrary arguments allow an unspecified number of arguments to be passed.
    • Keyword arguments allow arguments to be passed with a key-value assignment.
    • Arbitrary keyword arguments allow an unspecified number of keyword arguments to be passed.

    Web Scraping:

    • Involves extracting data from websites using libraries like Beautiful Soup and requests.
    • The requests library is used to send HTTP requests to a website.
    • Beautiful Soup is used to parse HTML content.
    • find() and find_all() methods are used to locate specific HTML elements.

    Python Variable Assignment: A Comprehensive Guide

    Variable assignment in Python involves using variables as containers for storing data values. You can assign a value to a variable using the equal sign (=). For example, x = 22 assigns the value 22 to the variable x. You can display the value of a variable using the print() function, such as print(x).

    Key aspects of variable assignment:

    • Data Type Assignment: Python automatically assigns a data type to a variable based on the assigned value. For example, assigning 22 to x makes it an integer.
    • Overwriting: Variables can be overwritten with new values.
    • y = “mint chocolate chip”
    • print(y) # Output: mint chocolate chip
    • y = “chocolate”
    • print(y) # Output: chocolate
    • Case Sensitivity: Variables are case-sensitive. Y and y are treated as different variables.
    • Y = “mint chocolate chip”
    • y = “chocolate”
    • print(Y) # Output: mint chocolate chip
    • print(y) # Output: chocolate
    • Multiple Assignments: Multiple values can be assigned to multiple variables. For example:
    • x, y, z = “chocolate”, “vanilla”, “rocky road”
    • print(x) # Output: chocolate
    • print(y) # Output: vanilla
    • print(z) # Output: rocky road
    • One Value to Multiple Variables: Multiple variables can be assigned the same value. For example:
    • x = y = z = “root beer float”
    • print(x) # Output: root beer float
    • print(y) # Output: root beer float
    • print(z) # Output: root beer float
    • Combining Variables in Print: Variables can be combined within a print statement using the + operator for strings or commas to combine different data types. However, it is important to note that you can only concatenate a string with another string, not with an integer, unless you are separating the values by a comma in the print statement.
    • x = “ice cream”
    • y = “is”
    • z = “my favorite”
    • print(x + ” ” + y + ” ” + z) # Output: ice cream is my favorite
    • x = 1
    • y = 2
    • z = 3
    • print(x, y, z) # Output: 1 2 3

    It is allowable to assign lists, dictionaries, tuples, and sets to variables as well.

    Python Data Types: Numeric, Boolean, Sequence, Set, and Dictionary

    Data types are classifications of the data that is stored; they inform what operations can be performed on the data. The main data types within Python include numeric, sequence type, set, Boolean, and dictionary.

    Numeric data types include integers, float, and complex numbers.

    • An integer is a whole number, whether positive or negative.
    • A float is a decimal number.
    • A complex number is used for imaginary numbers, with j as the imaginary number.

    Boolean data types only have two built-in values: either true or false.

    Sequence type data types include strings, lists, and tuples.

    • Strings are arrays of bytes representing Unicode characters. Strings can be in single quotes, double quotes, or triple quotes. Triple quotes are called multi-line. Strings can be indexed, with the index starting at zero.
    • Lists store multiple values and are changeable. A list is indexed just like a string. A bracket means that it will be a list. Lists can have any data type within them. The comma in a list denotes that the values are separate. Lists can be nested.
    • Tuples are quite similar to lists but the biggest difference is that a tuple is immutable, meaning that it cannot be modified or changed after it is created. Typically, tuples are used when data is never going to change.

    A set is similar to a list and a tuple, but does not have any duplicate elements. The values within a set cannot be accessed using an index, because it does not have one.

    A dictionary is different than the other data types because it has a key value pair.

    Web Scraping with Beautiful Soup and Requests

    Web scraping involves extracting data from websites using libraries like Beautiful Soup and requests.

    Key points regarding web scraping:

    • Libraries:
    • Requests: Used to send HTTP requests to a website to retrieve its HTML content. The requests.get() function sends a GET request to the specified URL and returns a response object. A response of 200 indicates a successful request.
    • Beautiful Soup: Used to parse HTML content, making it easy to navigate and search for specific elements.
    • Setting Up:
    • Import the necessary libraries:
    • from bs4 import Beautiful Soup
    • import requests
    • Specify the URL of the website to scrape:
    • URL = ‘https://example.com&#8217;
    • Send a GET request to the URL and retrieve the page content:
    • page = requests.get(URL)
    • Create a Beautiful Soup object to parse the HTML content:
    • soup = Beautiful Soup(page.text, ‘html.parser’)
    • HTML Structure:
    • HTML (Hypertext Markup Language) is used to describe the structure of web pages.
    • HTML consists of elements defined by tags (e.g., <html>, <head>, <body>, <p>, <a>).
    • Tags can have attributes, such as class, id, and href.
    • Inspecting web pages using browser developer tools helps identify the relevant HTML elements for scraping.
    • Finding Elements:
    • find(): Locates the first occurrence of a specific HTML element.
    • find_all(): Locates all occurrences of a specific HTML element and returns them as a list.
    • Elements can be filtered by tag name, class, id, or other attributes.
    • soup.find_all(‘div’, class_=’container’)
    • Extracting Data:
    • .text: Extracts the text content from an HTML element.
    • .strip(): Removes leading and trailing whitespace from a string.
    • Workflow:
    1. Import libraries: Import Beautiful Soup and requests.
    2. Get the HTML: Use requests to fetch the HTML content from the URL.
    3. Parse the HTML: Create a Beautiful Soup object to parse the HTML.
    4. Find elements: Use find() or find_all() to locate the desired elements.
    5. Extract data: Use .text to extract the text content from the elements.
    6. Organize data: Store the extracted data in a structured format, such as a list or a Pandas DataFrame.
    • Pandas DataFrames and Exporting to CSV:
    • The extracted data can be organized into a Pandas DataFrame for further analysis and manipulation.
    • The DataFrame can be exported to a CSV file using df.to_csv(). To prevent the index from being included in the CSV, use index=False.
    Learn Python in Under 3 Hours | Variables, For Loops, Web Scraping + Full Project

    The Original Text

    what’s going on everybody welcome back to another video today we’re going to be learning the basics of python in under 3 [Music] hours python is a fantastic skill to know how to do but I remember when I was first learning python it was a little bit intimidating it a little bit more difficult than I was used to when I had just known Excel and SQL and python seemed really really difficult but I’ve been using python for over 7even years now is a fantastic skill to know how to use so in this really long lesson we’re going to be walking through every you need to know in order to get started in Python I’ll be walking you through how to set up your environment to make sure that you can actually run your code and then we’ll be walking through all of the basics all the variables and for loops and while loops and even web scraping and we’ll even have a full project in this as well so we have a ton of things to cover and I hope it is really helpful without further Ado let’s jump onto my screen and get started all right so let’s get started by downloading anaconda anaconda is an open source distribution of python and our products So within Anaconda is our jupyter notebooks as well as a lot of other things but we’re going to be using it for our Jupiter notebooks so let’s go right down here and if I hit download it’s going to download for me because I’m on Windows but if you want additional installers if you’re running on Mac or Linux then you can get those all right here now if you are running on Windows just make sure to check your system to see if it’s a 32-bit or a 64 you can go into your about and your system settings to find that information I’m going to click on this 64-bit it’s going to pop up on my screen right here and I’m going to click save now it’s going to start downloading it it says it could take a little while but honestly it’s going to take probably about two to three minutes and then we’ll get going now that it’s done I’m just going to click on it and it’s going to pull up this window right here we are just going to click next because we want to install it this is our license agreement you can read through this if you would like I will not I’m just going to click I agree now we can select our installation type and you can either select it for just me or if you have multiple admin or users on one laptop you can do that as as well for me it’s just me so I’m going to use this one as it recommends now it’s going to show you where it’s installing it on your computer this is the actual file path it’s going to take about 3.5 gigs of space I have plenty of space but make sure you have enough space and then once you do you can come right over here to next and now we can do some Advanced options we can add Anaconda 3 to my path environment variable and when you’re using python you typically have a default path with whatever python IG or notebook that you’re using I use a lot of Visual Studio code so if I do this I’m worried it might mess something up so I am not going to do this it also says it doesn’t recommend it again messing with these paths is kind of something that you might want to do once you know more about python so I don’t really recommend you having this checked we can also register in AA 3 as my default python 3.9 you can do this one and I’m going to keep it this way just so I have the exact same settings as you do so let’s go ahead and click install install and now it is going to actually install this on your computer now once that’s complete we can hit next and now we’re going to hit next again and finally we’re going to hit finish but if you want to you can have this tutorial and this getting started with anonda I don’t want either of them because I don’t need them but if you would like to have those keep those checked and you can get those let’s click finish now let’s go down and we’re going to search for Anaconda and it’ll say Anaconda navigate and we’re going to click on that and it should open up for us so this is what you should be seeing on your screen this is the Anaconda Navigator and this is where that distribution of python and R is going to be so we have a lot of different options in here and some of them may look familiar we have things like Visual Studio code spider our studio and then right up here we have our Jupiter notebooks and this is what we’re going to be using throughout our tutorials so let’s go ahead and click on launch and this is what should kind of pop up on your screen now I’ve been using this a lot um so I have a ton of notebooks and files in here but if you are just now seeing this it might be completely blank or just have some you know default folders in here but this is where we’re going to open up a new jupyter notebook where we can write code and all the things that we’re going to be learning in future tutorials and you can use this area to save things and create folders and organize everything if you already have some notebooks from previous projects or something you can upload them here but what we’re going to do is go right to this new we’re going to click on the drop down and we’re going to open up a Python 3 kernel and so we’re going to open this up right here now right here is where we’re going to be spending 99% of our time in future videos this is where we’re going to write all of our code so right here is a cell and this is where we can type things so I can say print I can do the famous hello world and then I’ll run that by clicking shift enter and this is where all of our code is going to go these are called cells so each one of these are a cell and we have a ton of stuff up here and I’m going to get to that in just a second one thing I want to show you is that you don’t only have to write code here you can also do something called markdown and so markdown is its own kind of you could say language but um it’s just a different way of writing especially within a notebook so all we’re going to do is do this little hashtag and actually I think it’s a pound sign but I’m going to call it hashtag we’re going to do that and we’re going to say first notebook and then if I run that we have our first notebook and we can make little comments and little notes like that that don’t actually run any code they just kind of organize things for us and I’m going to do that in a lot of our future videos so just wanted to show you how to do that now let’s look right up here a lot of these things are pretty important uh one of the first things that’s really important is actually saving this so let’s say we wanted to change the title to I’m going to do a AA because I want it to be at the beginning um so I can show you this I’m do AAA new notebook and I’m going to rename it and then I’m going to save that so if I go right back over here you can see AAA new notebook that green means that it’s currently running and when I say running I mean right up here and if we wanted to we go ahead and shut that down which means it wouldn’t run the code anymore and then we’d have to run up a new cluster uh so let’s go ahead and do that I didn’t plan on doing that but let’s do it so we have no notebooks running and right here it says we have a dead kernel so this was our Python 3 kernel and now since I stopped it it’s no longer processing anything so let’s go ahead and say try restarting now and it says kernel is ready so it’s back up and running and we’re good to go the next thing is this button right here now this is an insert cell below so if I have a lot of code I know I’m going to be writing I can click a lot of that and I often do that because I just don’t like having to do that all the time so I make a bunch of cells just so I can use them you can also delete cells so say we have some code here we’ll say here and we have code here and then we have this empty cell right here we can just get rid of that by doing this cut selected cells we can also copy selected cells so if I hit copy selected cells then I can go right here and say paste selected cells and as you can see it pasted that exact same cell you can also move this up and down so I can actually take this one and say I wanted it in this location I can take this cell and move it up or I can move it down and that’s just an easy way to kind of organize it in instead of having to like copy this and moving it right down here and pasting it you can just take this cell and move it up which is really nice now earlier when I ran this code right here I hit shift enter you can also run and it’ll run the cell below so you can hit run and it works properly if you’re running a script and it’s taking forever and it’s not working properly at least it’s you don’t think it’s working properly you can stop that by doing this interrupt the kernel right here and anything you’re trying to do within this kernel if it’s just not working properly it’ll stop it you can restart it then you can try fixing your code you can also hit this button if you want to restart your kernel and this button if you want to restart the kernel and then rerun the entire notebook as we talked about just a second ago we have our code and our markdown code we’re not going to talk about either of these because we’re not going to use that throughout the entire series the next thing I want to show you is right up here if you open this file we can create a new notebook we can open an existing notebook we can copy it save it rename it all that good stuff we can also edit it so a lot of these things that we were talking about you can cut the cells and copy the cells using these shortcuts if you would like to we also go to view and you can toggle a lot of these things if you would like to which just means it’ll show it or not show it depending on what you want so if we toggle this toolbar it’ll take away the toolbar for us or if we go back and we toggle the toolbar we can bring it back we can also insert a few different things like inserting a cell above or a cell below so instead of saying This plus button you can just say A or B adding above or below we also have the cell in which we can run our cells or run all of them or all above or all below and then we have our kernels right here which we were talking about earlier where we can interrupt it and restart those there are widgets we’re not going to be looking at any widgets in this series but if it’s something you’re interested in you can definitely do that then we have help so if you are looking for some help on any of these things especially some of these references which are really nice you can use those and you can also edit your own keyboard shortcuts and now that we walked through all of that you now have anacon and jupyter notebooks installed on your computer in future videos this is where we’re going to be writing all of our python code so be sure to check those out so we can learn python together hello everybody today we’re going to be learning about variables in Python a variable is basically just a container for storing data values so you’ll take a value like a number or a string you can assign it to a variable and then the variable will carry and contain whatever you put into it so for example let’s go right over here we’re going to say x and this is going to be our variable we’re going to say is equal to now we can assign the value to it so let’s say I want to put 22 x is now equal to 22 so we won’t have to write out the number 22 in later scripts that we write we can just say x because X is equal to 22 it now contains that number so now we can hit enter and say print we do an open parentheses and we’ll say x now I’m going to hit shift enter and now it prints out that 22 because we are printing x and x is equal to 22 this is our value and this is our variable one really great thing about variables is that it assigns its own data type it’s going to automatically do this so we didn’t have to go and tell X that it’s an integer it just automatically knew that 22 is a number so we can check that by saying type and then open parenthesis and writing X and we’ll do shift enter again and this says that X is an integer type now we only assigned a integer to X let’s try assigning a string value or some text to a variable so we’ll say Y is equal to uh let’s say mint chocolate chip I’m feeling some ice cream today so we’ll say mint chocolate chip now if we print that again we’ll do print open parentheses Y and do shift enter it’ll print mint chocolate chip and if we look at the type we can see that the type is a string this time and not an integer now again we did not tell it that X was an integer and Y was a string it just automatically knew this let’s go up here really quickly we’re going to add several rows in here because we’re about to write a lot of different variables and really learn in- depth how to use variables the next thing to know about variables is that you can overwrite previous variables right now we have mint chocolate chip and that is assigned to the variable y so if I go down here I say print y I hit shift enter it’s going to print out mint chocolate chip but if I go right above it I say Y is equal to and let’s say chocolate if I print that out it’s now going to say chocolate whereas up here I’m reassigning it to Y it’s still going to say mint chocolate chip so if I come right down here and I copy this and I’m going to paste this right here initially it is going to assign y to Chocolate but then right here it will automat Ally overwrite y as mint chocolate chip and when we hit shift enter it’s going to show mint chocolate chip variables are also case sensitive so if I come up here and I say a capital Y this is a lowercase Y and this is a capital Y it is going to print out the correct one instead of mint chocolate chip and then if I go down here to the print and I type the capital Y it will give us the mint chocolate chip up till now we’ve only assigned one value to one variable but but we can actually assign multiple values to multiple variables so let’s do X comma y comma Z is equal to and now we can assign multiple values to all of those so we can say chocolate and then we’ll do a comma oops a comma then we can say vanilla and then we’ll do another comma and we’ll say rocky road now now this is going to assign chocolate to X vanilla to Y and Rocky Road to Z so what we can do is we’ll say print and we’ll go print print print and we’ll say X Y and Z so it prints out chocolate vanilla and rocky road and these are our three different values we can also assign multiple variables to one value and we can do this by saying X is equal to Y is equal to Z is equal to and we can put whatever we would like let’s do root beer float then we’ll come back up here we’ll copy this and let’s print off our X our Y and Z and they are all the exact same now so far we’ve really only looked at integers and strings but you can assign things like lists dictionaries tupal and sets all to variables as well so let’s go right down here so let’s create our very first list I’m going to say ice _ cream is equal to and that is our variable right there the ice uncore cream is our variable so now we’re going to do an Open Bracket like this and we’re going to come up here and copy all of these values and we’re going to stick it within our list so now within ice cream we have three string values chocolate vanilla and rocky road all within this list so what we can do is we can say x comma y comma Z is equal to to ice cream so now these three values chocolate vanilla and rocky road will be assigned to these three variables X Y and Z and we can copy this print up here and we’ll hit shift enter and now the X Y and Z all were assigned these values of chocolate vanilla and rocky road now something that we just did which is really important or something that you really need to consider is how you name your variables so right here we have ice cream now this to me is exactly how I usually write my variables but there are many different ways that you can write your variables so let’s take a look at that really quickly and let’s add just a few more because I have a feeling we’re going to go a little bit longer than what we have so there are a few best practices for naming variables first I’m going to show you kind of what a lot of people will do I’ll show you some good practices and I’m going to show you some bad practices as well that you should avoid doing the first thing that we’re going to look at is something called camel case and let’s say we want to name it test variable case oops case now if we have a test variable case the camel case is going to look like this we’ll have lowercase test and then we’ll have uppercase variable and uppercase case is equal to this is what this variable is going to look like and we can assign it a nilla swirl and this is what your camel case will look like it’s going to be lowercase and then all the rest of those uh compound words or however you want to say that these letters are going to be capitalized to kind of separate where the words end and begin let’s go right down here we’re going to copy this the next one is called Pascal case so Pascal case is going to look just a little bit different instead of the lower case at test it’s going to be a capital T in test so test variable case again this is a very similar way of writing it very similar to camel case but just a capital at the beginning now let’s look at the last one and this one is my personal favorite this one is going to be the snake case now this one is quite a bit different in the fact that you don’t use any capital letters and you separate everything using underscore so we’re going to write testore variable uncore case now typically let me have them all in there typically these are the best practices these are what you typically want to do but probably the best one to use is this snake case right here what a lot of people say is that it improves readability if you take a look at either the camel case or the Pascal case which you will see people do it’s not as easy to distinguish exactly what it says and the name of a variable is important because you can gain information from it if people name them appropriately so when I’m naming variables I usually write it in snake case because I just find it a lot easier to read because each word is broken up by this underscore so now let’s look at some good variable names these are all ones that you can use or could use so let’s do something like test VAR so test VAR is completely appropriate we can also do something like testore VAR oops underscore we could do underscore testore VAR you’ll see that often as well well people will start it with an underscore you can do test VAR capital T oops capital T capital V in test VAR or you could even do something like test VAR two now adding a number to your variable is not inherently a Bad Thing usually it’s semif frowned upon but there are definitely some use cases where you can use it but one thing that you cannot do is do something like putting the two at the front if you put the two at the front it no longer works it won’t run properly at all so we’re going to take that out so we can’t do that so I’m going to use this as an example of what you should not do you also can’t use a dash so something like test- var2 that doesn’t work either and you also can’t use something like a space or a comma or really any kind of symbol like a period or a backslash or equal sign none of those things will work work within your variable now another thing that you can do within your variable is use the plus sign so let’s assign this we’ll say x is equal to and we’ll do a string we’ll say ice cream is my favorite and then we’ll do a plus sign and we’ll say period now what this will do is it will literally add these two strings together so let’s do print and we’ll do X so now it says ice cream is my favorite one thing that we cannot do in a variable is we cannot add a string and a number or an integer so we can’t do ice cream as my favorite two if we try to do that it will give us this error right here so in this error it’s saying you can only concatenate a string not an integer to a string so only a string plus a string for this example you can also do and we’ll say x is equal to or we’ll say y we’ll say Y is equal to 3 + 2 and it should output 5 because you can also do an integer and an integer now so far we’ve only been outputting one variable in the print statement but you can actually add multiple variables within a print statement so let’s go right down here we’re going to say let’s give it some more right there so we’ll say x is equal to ice cream and we’ll say Y is equal to is and then the last one Z is equal to my favorite and we’ll do a period at the end now we can go to the bottom and we can say print x + y + C and when we enter that and when we run and when we run that we get ice cream is my favorite now we can actually add a space before is a space before my and when we hit shift enter it says ice cream is my favorite you can also do this exact same thing with numbers as well so we’ll say x = to 1 2 and what Z is equal to 3 so this should equal six now one thing that we tried to do was assign to one variable a string plus an integer and that did not work but what you can do is you can take something like this and you can say ice cream and we’ll get rid of this one and we’ll get rid of the Z Now say Plus is actually not going to work let’s try running this so again we can’t concatenate these but what we can do in the print statement is we can separate it by a comma so when we add this comma it should work properly let’s hit enter and it says ice cream 2 again this makes no sense but you are able to combine a string and an integer separating by a comma now this is the meat and potatoes of variables there are some other things as well but some of those things are a little bit more advanced and not something I wanted to cover in this tutorial although we may be looking at some of those things in future tutorials but this is definitely the basics what you really really need to know about variables hello everybody today we’re going to be talking about data types in Python data types are the classification of the data that you are storing these classifications tell you what operations can be performed on your data we’re going to be looking at the main data types within python including numeric sequence type set Boolean and dictionary so let’s get started actually writing some of this out and first let’s look at numeric there are three different types of numeric data types we have integers float and complex numbers let’s take a look at integers an integer is basically just a whole number whether it’s positive or negative so an integer could be a 12 and we can check that by saying type we’ll do an open parenthesis and a Clos parenthesis and if we say the type of 12 it’s going to give us an integer or if we say a -2 that is also an integer we can also perform basic calculations like -2 + 100 and that’ll tell us it is also an integer so whether it’s just a static value or you’re performing an operation on it it’s still going to be that data type if those numbers are whole numbers whether negative or positive now let’s take this exact one and let’s say 12 and we’ll do plus 10.25 when we run this it’s no longer going to be a whole number it’ll now be a float so let’s check this now this is a float type because is no longer a whole number it’s now a decimal number and the last data type within the numeric data type is called complex let’s copy this right down here now personally this is not one that I’ve used almost ever but it is one just worth noting so you can do 12 plus and let’s say 3 J and if we do this it’s going to give us a complex the complex data type is used for imaginary numbers for me it’s not often used but if you do use it J is used as that imaginary number if you use something like C or any other number it’s going to give you an error J is the only one that will work with it now let’s take a look at Boolean values so we’ll say Boolean the Boolean data type only has two built-in values either true or false so let’s go right down here and say type true and when we run this it’ll say bu which stands for Boolean we can do the exact same thing with false that is also Boolean and this can be used with something like a comparison operator so let’s say 1 is greater than 5 and let’s check this this is giving us a Boolean because it’s telling us whether one is greater than five let’s bring that right down here this will give us a false so it’s telling us that one is not greater than five and just as we got a false we can say 1 is equal to 1 and this should give us a true so now let’s take a look at our sequence type data types and that includes strings lists and tupal we let’s start off by looking at string strings in Python strings are arrays of byes representing Unicode characters when you’re using strings you put them either in a single quote a double quote or a triple quote I call them apostrophes it’s just what I was raised to call them but most people who use Python call them quotes So Right Here we have a single quote and that works well we can do a double quote and that works also and as you can see they are the exact same output and then we have a triple quote just like this and this is called a multi-line so we can write on multiple lines here so let’s write a nice little poem so we’ll say the ice cream vanquished my longing for sweets upon this diet I look away it no longer exists on this day and then if we run that it’s going to look a little bit weird it’s basically giving us the raw text which is completely fine but let’s let’s call this a multi-line and we’re going to call this a variable multi-line and we’re going to come down here and say print and before I run this I have to make sure that this is Ran So now let’s print out our multi-line and now we have our nice little poem right down here now something to know about these single and double quotes is how they’re actually used so if we use a single quote and we say I’ve always wanted to eat a gallon of ice cream and then we do an apostrophe at the end obviously something went wrong here what went wrong is when you use a single quote and then within your text within your sentence you have another apostrophe it’s going to give you an error so what we want to do is whenever we have a quote within it we need to use a double quote these double quotes will negate any single quotes that you have within your statement they won’t however negate another double quote so you need to make sure you aren’t using double quotes within your sentence if you want to do something like that you need to use the triple quotes like we did above so we can do double double and then let’s paste this within it and anything you do Within These triple quotes will be completely fine as long as you don’t do triple quotes within your triple quotes we’ll say this is wrong so even though it’s between these two triple quotes it doesn’t work exactly again you just have to understand how that works you have to use the proper apostrophes or quotes within your string and just to check this we can always say here’s our multi-line we can always say type of multi-line and that is still a string one really important thing to know about strings is that they can be indexed indexing means that you can search within it and that index starts at zero so let’s go ahead and create a variable and we’ll just say a is equal to and let’s let’s do the all poopular hello world let’s run this and now when we print the string we can say a and we’re going to do a bracket and now we can search throughout our string using the index so all you have to do is do a colon we going say five what this is going to do is is going to say zero position zero all the way up to five which should give us the whole hello I believe let’s run this and it’s giving us the first five positions of this string we can also get rid of the colon and just say something like five and then when we run this it’s actually going to give us position five so this is 0 1 2 3 4 and then five is the space let’s do six so we can see the actual letter and that is our w we can also use a negative when we’re indexing through our string so we could say -3 and it’ll give us the L because it’s -1 2 and three we can also specify a range if we don’t want to use the default of Z so before we did 0 to 5 and it started at zero because that was our default but we could also do 2 to 5 let’s run this and now we go position 0 1 and then we start at 2 L L O now we can also multiply strings and we have this a hello world so we can do a time three and if we run this it’ll give us hello world three times and we can also do A+ a and that is hello world hello world now let’s go down here and take a look at lists lists are really fantastic because they store multiple values the string was stored as one value multiple characters but a list can store multiple separate values so let’s create our very first list we’ll say list really quickly and then we’ll put a bracket and a bracket means this is going to be a list there are other ones like a squiggly bracket and a parentheses these denote that they are different types of data types the bracket is what makes a list a list so to keep it super simple we’ll say 1 2 3 and we’ll run this and now we have a list that has three separate values in it the comma in our list denotes that they are separate values and a list is indexed just like a string is indexed so position zero is this one position one is the two and position two is the three now when we made this list we didn’t have to use any quotes because these are numbers but if we wanted to create a list and we wanted to add string values we have to do it with our quotes so we’ll say quote cookie dough then we’ll do a comma to separate the value and then we’ll say strawberry and then we’ll do one more and this will just be chocolate and when we run this we have all three of these values stored in our list now one of the best things about list is you can have any data type within them they don’t just have to be numbers or strings you can basically put anything you want in there so let’s create a new list and let’s say vanilla and then we’ll do three and then we’ll add a list within a list and we’ll say Scoops comma spoon and then we’ll get out of that list and then we’ll add another value of true for Boolean and now we can hit shift enter and we just created a list with several different data types within one list now let’s take this one list right here with all of our different ice cream flavors we’ll say icore cream is equal to this list now one thing that’s really great about lists is that they are changeable that means we can change the data in here we can also add and remove items from the list after we’ve already created it so let’s go and take ice cream and we’ll say ice cream. append and this is going to append it to the very end of the list we do an open parenthesis let’s say salted caramel now when we run this and we call it just like this it’s going to take this list add salted caramel to the end and we’ll print it off and as you can see it was added to the list and just like I said before let me go down here we can also change things from this list so let’s say ice cream and then we need to look at the indexed position so we’re going to say zero and that’s going to be this cookie dough right here we can say that is equal to so we can now change that value so let’s call that butter peon and now when we call it we can now see that the cookie dough was changed to butter peon another thing that you saw just a little bit ago is something called a list within a list basically a nested list so we had Scoops spoon true let’s give this and we’ll say nested uncore list is equal to now when we run this we now have this nested list so if we look at the index and we say 0 we’ll get vanilla if we say two we’ll get scoops and spoons now since we have a list within a list we can also look at the index of that nested list so let’s now say one and that should give us just spoon and you can go on and on and on with this you can do lists within lists within lists and all of them will have indexing that you can call now let’s go down here and start taking a look at tupal so a list and a tupal are actually quite similar but the biggest difference between a list in a tupal is that a tupal is something called immutable it means it cannot be modified or changed after it’s created let’s go right up here we’re going to say Tuple and let’s write our very first tupal so we’ll say Tuple undor Scoops is equal to and then we’ll do an open parenthesis now these open parentheses you’ve seen if you do like a print statement but that’s different because that’s executing a function this is actually creating a tupal which is going to store data for us so we’ll say one 2 three two and one let’s go ahead and create that tupal and we can just check the data type really quickly and it’s a tupal and just like we saw before a tupal is also indexed so if we go at the very first position which is a one we will get the output of a one but we can’t do something like aend and then add a value like three if we do that it’s going to say tupal object has no attribute aend it’s just because you cannot change or add anything to a tupal just like we were talking about before typically people will use tupal for when data is never going to change an example for this might be something like a city name a country a location something that won’t change they definitely have their use cases but I don’t think they’re as popular as just using a list so now let’s scroll down and start taking a look at sets but really quickly let me add a few more cells for us and let’s say sets now a set is somewhat similar to a list and a tupal but they are little bit different in the fact that they don’t have any duplicate elements another big difference is that the values within a set cannot be accessed using an index because it doesn’t have an index because it’s actually unordered we can still Loop through the items in a set with something like a for Loop but we can’t access it using the bracket and then accessing its index point so let’s go ahead and create our very first first set so we’re going to say daily pints then we’re going to say equal to and to create a set we’re going to use these squiggly brackets I don’t know if there’s an actual name for those if I’m being honest I call them squiggly brackets and that’s what we’re going to go with we’re going to put in a one a two and a three so let’s go ahead and run this and let’s look at the type and as you can see it is a set now when we print this out it’s going to show us one a two and a three and those are all the values Within set but if we copy this and we’ll say daily pant log this is going to be every single day maybe I had different values now when we run this and we do the exact same thing now when we print this it’s going to have just the unique values within that set now a use case for set and this is something that I’ve done in the past is comparing two separate sets maybe you have a list or a tupal and you convert that into a set and that will narrow it down down to its unique values then you can compare the unique values of one set to the unique values in another set and then we can see what’s the same and what’s different so let’s go down here and let’s say wife’s uncore daily and we’ll just copy this right here we’ll say is equal to let’s do our squiggly lines let’s do one two let’s do just random numbers so now this is my daily log and this is my wife’s daily log and now we can compare these values so let’s go right down here let’s say print we’ll do my daily logs and then we’ll do this bar right here and this is going to show us the combined unique values it’s basically like putting them all in one set and then trimming it down to just the unique values so we’ll take wife’s daily pintes log and when we run this we actually need to run this first when we run this we should see all the unique values between these two sets and so as you can see 0 1 2 3 4 5 6 7 24 31 so these are all the unique values between these two sets we can also do another one and instead of this bar we’re going to do this symbol right here which I believe is called an Amper sand don’t quote me on that but when we run this it’s going to show what matches that means which ones show up in both sets so the only ones that show up in both sets are 1 2 3 and five we can also do the opposite of that by doing a minus sign and this is going to show us what doesn’t match and so we have 4 6 and 31 now where is our 24 that was in our wife’s daily pints log it’s in this one but we’re subtracting the values on this one so let’s reverse this and we’ll say daily pints log and let’s run it now those are our other values so we’re taking the values of this and then we’re subtracting all the ones that are the same and getting the remaining values and then for our last one we can get rid of this and we’ll do this symbol right here and this is going to show if a value is either in one or the other but not in both so let’s run this so these values are completely unique only to each of those sets now the very last one that we’re going to look at in this video is dictionaries so let’s go right down here let’s add a few cells and let’s say dictionaries now I saved dictionary for last because this one is probably the most different out of all the previous data types that we’ve looked at within a data type we have something called a key value pair that means when we use a dictionary it’s not like a list where you just have a value comma value comma value we have a key that indicates what that value is attributed to so let’s write out a dictionary to see how this looks so we’re going to say dictionary cream and just like a set we use a squiggly line but the thing that differentiates it is that in a dictionary we’ll have that key value pair whereas in a set each value is just separated by a comma so let’s write name and this is our key and then we do a colon and this is then where we input our value so we’re going to say Alex freeberg and then we separate that key value Pair by a comma and now we can do another key value pair so we’ll say weekly intake and and a colon and we’ll say five pints of ice cream do a comma and then we’ll do favorite ice creams and now what we’re going to do is we’re going to put in here a list so within this dictionary we can also add a list we’ll do MCC from mint chocolate chip and then we’ll add chocolate another one of my favorites so now we have our very first dictionary let’s copy this and run it and let’s just look at the type and as as you can see it says that this is a dictionary let’s also print it out now if we want to we can take our dictionary cream and say dot values with an open parenthesis and when we execute this we’ll see all of the values within this dictionary so here’s our values of Alex freeberg five mint chocolate chip and chocolate we can also say keys and when we run this all of the keys the name weekly intake and favorite ice creams and we can also say items so this key value pair is one item and this key value pair is another item now one difference between something like a list and a dictionary is how you call the index but you can’t call it by doing something like this where you just do a bracket oops and say zero so this would in theory take this very first one right our very first key value pair that’s going to give us an error how you call a dictionary is actually by the key so it doesn’t technically have an index but you can specify what you want to call and take it out so we’re going to say name and this is going to call that key right here and when we run this we’ll get the value which is Alex freeberg one other thing that you can do is you can also update information in a dictionary which we can’t with some other data types so for this for the name it was Alex freeberg now let’s say Steen freeberg and when we update that I’m also going to print the dictionary get rid of this so it’s going to update Christine freeberg in that value of the name so let’s go ahead and run this and now it changed the name from Alex freeberg to Christine freeberg we can also update all of these values at one time so let’s copy this and I’m going to put it right down here I’m going to say dictionary.c cream. update then we’re going to put a bracket or not a rocket but a parenthesis around these so now what we’re going to do is update this entire thing let me take this say print this dictionary now we can update this to anything we want so instead of here I can say I’ll say weight and because of all that ice cream I now weigh 300 lb so let’s run this and as you can see it did not delete our key value pair right here instead it just added to it when you’re using the update we can’t actually delete that’s the delete statement and I’ll show you that in just a second but all we did was added this new value it also is going to check and see if you changed anything with your key value pair so we can go in here and change this value and we’ll say 10 so now when we run this the value of this key value pair was changed but let’s say we do want to delete it we’ll say deel that stands for delete part of this dictionary cream and now let’s specify the key which will also delete the value with it but let’s specify the key that we want to get rid of and let’s say wait and then let’s print that again and as you can see the weight was deleted from that dictionary so hello everybody today we’re going to be taking a look at comparison logical and membership operators in Python operators are used to perform operations on variables and values for example you’re often going to want to compare two separate values to see if they are the same or if they’re different within Python and that’s where the comparison operator comes in right here you can see our operators you can also see what they do so this equal sign equal sign stands for equal we have the does not equal the greater than less than greater than or equal to and less than or equal to and honestly I use these almost every single time I use Python so these are very important to know and know how to use so let’s get rid of that really quickly and actually start writing it out and see how these comparison operators work in Python the very first one that we’re going to look at is equal to now you can’t just say 10 is equal to 10 let’s try running that really quickly by clicking shift enter it’s going to say cannot assign to literal that’s because this is like assigning a variable we’re trying to say 10 is equal to 10 and then we can call that 10 later but that’s not how this actually works what we’re trying to do is to determine whether 10 is equal to 10 so we’re going to say equal sign equal sign and then if we run that by clicking shift enter again it’s going to say true now if we put something else like 50 in there and we try to run this it’s going to say false so really what you’re going to get when you use these comparison operators is either a true or a false if we take this right down here we can also say does not equal and we’re going to use an exclamation point equal sign and that says 10 is not equal to 50 and that should be true you can also compare strings and variables so let’s go right down here and we’re going to say vanilla is not equal to chocolate and when we run this it’ll say false now if it was the same just just like when we did our numbers it should say true and we can also compare variables so we’ll say x is equal to vanilla and Y is equal to chocolate and then when we come down here we can say x is equal to Y and it’ll give us a false and we say X is not equal to Y and it’ll give us a true the next one that we’re going to take a look at is the less than so let’s copy this one right up here let’s scroll down and let’s say 10 is less than 50 now this will come out as true now let’s say we put a 10 in here before 10 was of course less than 50 but is 10 less than 10 no that’s false because they are the same so if we want an output that is true all we would have to add is an equal sign right here and this would say 10 is less than or it is equal to 10 and now it’s true of course we can say the exact same thing by saying greater than so 10 is equal or greater than 10 that’ll be true because 10 is equal to 10 we can also say 50 is greater or equal to 10 because 50 is obviously greater than 10 now let’s look at logical operators that are often combined with comparison operators so our operators are and or and not so if you have an and that returns true if both statements are true if it’s or only one of the statements has to be true and the not basically reverses the result so if it was going to return true it would return turn false I don’t use this not one a lot but I will show you how it works so let’s actually test that out so before we were saying 10 is greater than 50 and of course this returned false so now let’s add a parentheses around this 10 is greater than 50 and we’re going to say and we’ll do an open parenthesis 50 is greater than 10 now this statement right here is true 50 is greater than 10 so we have a true statement and a false statement but this and is going to look at both of them it’s going to say they both need to be true in order to return a true so let’s try running this and we still have a false if we want it to return true we’re going to have to change this to make it a true statement so 70 is greater than 50 and 50 is greater than 10 when we run this it should return true now let’s look at the or so let’s copy this and we’ll say 10 is greater than 50 or 50 is greater than 10 now this is a false statement and this is a true statement so if even one of them is a true statement the output should be true and again we can do this even with strings so we can do vanilla and chocolate there we go and vanilla is actually greater than chocolate because V is a higher number in the alphabetical order so V is like 20 something whereas chocolate is three right so it actually looks at the spelling for this so if we say or here it will come out true and if we say and here it should also be true because V is greater than C and 50 is greater than 10 so this should also be true now let’s copy this right here and we’re going to say not so what we had before is 50 is greater than 10 that returned true but now all we’re doing is putting not in front of it so instead of returning true it’s going to return false so now let’s take a look at membership operators and we use this to check if something whether it’s a value or a string or something like that is within another value or string or sequence our operators are in and not in so it’s pretty simple if it’s in it’s going to return true if the sequence with a specified value is present in the object just like we were talking about and for not in it’s basically the exact same thing if it’s not in that object so let’s start out by taking a look at a string we’re going to say icore cream is equal to I love chocolate ice cream and then we’re going to say love in icore cream and that will will turn true so all we’re doing is searching if the word love or that string is in this larger string we could also just do that by literally copying this and putting this where this is so we can check is this string part of this string and it’ll say true we can also make a list so we’ll say Scoops is equal to and then we’ll do a bracket and we’ll say 1 2 3 4 5 and then we’ll say two in Scoops so all we’re doing is searching to see if two is within this list and that should return true now if we put a six here and we said not in it will also return true because six is not in scoops and that is true and just like we did we could also say wanted underscore Scoops and we’ll say eight so I wanted eight Scoops so we can say wanted Scoops in Scoops and this should return true because there’s not an eight within the Scoops that we wanted and if we said in and we said we wanted eight is that within our list that we created and that’s going to return a false hello everybody today we’re going to be taking a look at the if statement within python now it’s actually the if lfl statement but that’s a mouthful so I’m just going to call it the if L statement now we have this flowchart and I apologize for being blurry but this is the absolute best one that I could find right up top we have our if condition now if this if condition is true we’re going to run a body of code but if that condition is false we’re going to go over here and go to the LF condition the LF condition or statement is basically saying if the first if statement doesn’t work let’s try this if statement if this LF statement is true it goes to this body of code if it’s false it’ll come over here to the else and the else is basically if all these things don’t work then run this body of code now you can have as many ill if statements as you want but you can only have one if statement and one else statement so let’s write out some code and see how this actually looks let’s first start off by writing if that is our if statement and now we have to write our condition which is about to be either met or not met so we’ll say if 25 is greater than 10 which is true we’ll say colon and then we’re going to hit enter and it’s going to automatically indent that line of code for us and this is our body of code so if 25 is greater than 10 our body of code will execute so for us we’re just going to write print and we’ll say it worked now if we run this it’s going to check is 25 greater than 10 if that is true print this so let’s hit shift enter and it worked now let’s take this exact code we’ll paste it right down here and we’ll say is less than and right now this if statement is not true so it’s not actually going to work as you can see there’s no output there’s nothing that happened really but it did check to see if 25 was less than 10 but it just wasn’t true now we can use our else statement so we’re going to come right down here and we’re going to say else and we’ll do a colon and we’ll hit enter again automatically indenting and we’re going to say print and we’re going to say it did not work dot dot dot so what it’s going to do is it’s going to come up here and check is 25 less than 10 no it’s not so this body of code is not going to be executed it’s going to go right down to this else statement now this else statement is going to be printed there’s no condition on this so the if statement has a condition 25 is less than 10 this has no condition so if this doesn’t work if this is false it’s going to come down here and it will run this body of code let’s run this by clicking shift enter and as you can see our output is it did not work now let’s go back up here and put greater than because this is now true it’s going to say if 25 is greater than 10 print it worked and then it’s going to stop it’s not going to go to this L statement at all so let’s run this and our output is it worked so what if we have a lot of different conditions that we want to try let’s come right down here this is where the LF comes in so really quickly let’s change this to a not true a false statement we’re going to go down and say LF and we’re going to say if it is and let’s say 30 we’ll say LF worked so now it’s going to check is 25 less than 10 no it’s not let’s look at the next condition is 25 less than 30 and if it is we’ll print L if worked so let’s try running this and L if worked now we can do as as many of these LF statements as we want we can do let’s just try a few of them right here so we’ll say if 25 is less than 20 is less than 21 and let’s do 40 and let’s do 50 so we’ll say LF lf2 lf3 and lf4 now if you look at this the first one that is actually going to work is this 25 to 40 right here once this one is checked and it comes out as true none of the other LF or L statements will work so let’s try this one it should be lf3 and this one ran properly now within our condition so far we’ve only used a comparison operator we can also use a logical operator like and or or so we can say if 25 is less than 10 which it’s not let’s say or actually and we’ll say or 1 is less than three which is true if we run this now it will actually work so we can use several different types of operators within our if statement to see if a condition is true or not or several conditions are true there’s also a way to write an if else statement in one line if you want to do that so we can write print we’ll say it worked and then we’ll come over here and say if 10 is greater than 30 and then we’ll write else print and we’ll say it did not work just like we had before except now it’s all occurring on one line so let’s just try this and see if it works so it’s saying print it worked if 10 is greater than 30 which it wasn’t so it went to the L statement and then it printed out our body right here although we didn’t have any indentation or multiple lines it was all done in one line now there’s one other thing that we haven’t looked at yet uh and I’m going to show it to you really quickly and that’s a nested if statement so when we run this it’s going to say it worked it works because it says 25 is less than 10 or 1 is less L than three since this is true it’s going to print out it worked but we can also do a nested if statement so we can do multiple if statements as well so we’re going to hit enter and we’ll say if and we’ll do a true statement here so we’ll say if 10 is greater than 5 let’s do a colon hit enter then we’ll say print and then we’ll type A String saying this nested if statement oops worked now let’s try this out and see what we get so it went through the first if statement it said it was true and it prints out it worked this is still the body of code so it goes down to this next if statement and it says if 10 is greater than five we’re going to print this out and you could do this on and on and on it can basically go on forever and you can create a really in-depth logic and that actually happens a lot when you start writing more advanced code hello everybody today we’re going to be learning about four Loops in Python the for Loop is used to iterate over a sequence which could be a list a tube an array a string or even a dictionary here’s the list that we’ll be working with throughout this video and I have this little diagram right here which kind of explains how a for Loop works the for Loop is going to start by looking at the very first item in our sequence or our list and that’s going to be our one right here it’s going to ask is this the last element in our list and it is not so it’s going to go down to this body of the for Loop now we can have a thousand different things that can happen in the body of the for loop as we’re about to look out in just second then it’s going to go up to the next element and ask is this the last element reached so it’ll be no again because we’ll be going to the two and then the three and then the four and the five once it reaches the five it’ll go to the body of the for Loop and then when it asks if that’s the last element the answer would be yes because it’s iterated through all the items within the list and then we would exit the loop and the for Loop would be over now that may not have made perfect sense but let’s actually start writing out the syntax of a for Loop so we can understand understand this better to start our for loop we’re going to say four and then we’re going to give it a temporary variable for this for Loop so it’s a variable as it iterates through these numbers it’s going to assign the variable to that number so for this one we’re just going to say number because it’s pretty appropriate because these are all numbers and then we’re going to say in integers now right here you can put just about anything this could be the list this could be a tuple this could be a string even but that is what we’re going to iterate through so we’re saying for the variables each of these numbers within this list of integers and then we’re going to write a colon this is the body of code that’s going to actually be executed when we run through and iterate through our list so for our first example we’re going to start off super simple and all we’re going to do is say print open parentheses and say number as it iterates through the one two 3 4 and five number becomes our variable that is going to be printed so during that first loop our one will be printed because that will be assigned right here then through the next iteration the two will be assigned and it’ll be put right here in each Loop until the very end so let’s hit shift enter and as you can see it did exactly that now in this body and I’ll copy and paste this down here in this body we really can do just about anything we want we don’t even have to use this variable number right here we can just print yep if we wanted to and and what it’s going to do is for each iteration all five of those every time it Loops through it’s going to print off yep so let’s hit shift enter and it printed it off for us so really we weren’t even using the numbers within the list we were really just using it as almost a counter now let’s copy this integers once again let’s go right up here and let’s go copy this for Loop that we wrote now we do not have to call this number this can be anything you want any variable name that you’d like to name it we could call it jelly and we can do jelly plus jelly I think you’re getting the picture right when it Loops through that one it’s doing one plus one when it Loops through the two it’s doing 2 + 2 that is basically how a for Loop works now for a dictionary it’s going to handle it a little bit differently so let’s create a dictionary really quickly so we’ll say ice cream d iary is equal to we’re going to do a squiggly brackets so we’re going to say name and we’re going to say colon we need to assign our value for that item so we’re going to say Alex freeberg we’ll do our next one separated by a comma and we’ll say weekly intake and I’ll say five Scoops per week the next one we will do is favorite ice creams and for this one we’re going to do something a little bit different for this we’re going to have a list list within this dictionary so we’ll say within our list of my favorite ice creams we’ll say mint chocolate chip and I’ll just do MCC for that and we’ll separate that out by a comma and we’ll say chocolate so now we have this dictionary ice cream dick and within it we have my name my weekly intake and my favorite ice creams with a list in there as well let’s hit shift enter and now we’re going to start writing our for Loop now the for Loop is going to look very similar but to call it dictionary it’s just a little bit different so we’re going to say for the cream in icore creamore dictionary. values and then we’re going to do parentheses and then a colon now we’re going to print the cream so in order to indicate what we actually want to pull we have to specify within the dictionary what we want are we pulling the item are we pulling the value we need to specify this so that’s why we have thist value right here so let’s run this and see what we get so as you can see we are pulling in the values right here that’s why we’re pulling in Alex freeberg 5 and mint chocolate chip SL chocolate now we are able to call both of those both the key and the value so let’s go right down here and we can do both the key and the value so we can pull two things at one time and we’re going to do this by saying do items so we could also do key if we just wanted to do a key but we want to do items so we going to do both of them so we’re going to go right down here and say four key and value in ice cream dictionary. items print and let’s write key and then we’ll do a comma and then let’s give it a little arrow or something like that uh something like this and then we’ll do a comma and we’ll say value and let’s print this off and see what we get so it’s looping through and for each key and value it’s saying here is the key so that’s the name then we have weekly intake then we have favorite ice creams it’s giving us a little arrow and then we’re also printing off the value so we have name Alex freeberg weekly intake five favorite ice creams mint chocolate chip and chocolate so now let’s talk about nested for Loops we’ve looked at for Loops we understand how they work and why they do what they do but what about a nested for Loop a for Loop within a for Loop for this example let’s create two separate lists let’s create flavors and let’s make that a list by making it a bracket and we’ll do vanilla the classic chocolate and then cookie dough all great flavors so that’s our first list and then we’re going to say toppings and we’ll do a bracket for that as well and we’ll say fudge and then we’ll do Oreos and then we’ll do Marsh mows is how you spell marshmallows I think it’s an e that looks wrong I might be spelling it wrong but that’s okay so let’s save this by clicking shift enter and now we have our flavors and our toppings so now let’s write our first for Loops we’re going to say 41 as in our number one for loop we’re going to say in flavors and we’ll do a colon we’ll click enter now we can write our second for Loop so we’re going to say 42 in toppings and then we’ll do a colon and enter and then we’re going to say print and we’ll do an open parenthesis and then we’re going to say one so we’re printing the one in flavors and then we’re going to say one comma we to say topped with comma two so what this is essentially going to do is we’re going to say for one we’re going to take the very first one in flavors and then we’re going to Loop through all of two as well so we’re going to Loop through hot fudge Oreos and marshmallows and once we print that off then we will Loop all the way back to Flavors and look at the next iteration or the next sequence within the first for Loop so let’s run this really quickly and see what we get so as you can see it goes vanilla vanilla vanilla and vanilla is topped with the hot fudge the Oreos and the marshmallows and then we start iterating through our second one in our first for Loop so there’s that hierarchy so we’re iterating completely through this one before we actually go to the very first for Loop and start iterating through that one again now that is essentially how a nested for Loop works these nested for Loops can get very complicated in fact for Loops in general can get very complicated the more you add to it and the more you’re wanting to do with it but that is basically how a for Loop and a nested for Loop Works hello everybody today we’re going to be taking a look at while Loops in Python the while loop in Python is used to iterate over a block of code as long as the test condition is true now the difference between a for Loop and a while loop is that a for Loop is going to iterate over the entire sequence regardless of a condition but the while loop is only going to iterate over that sequence as long as a specific condition is met once that condition is not met the code is going to stop and it’s not going to iterate through the rest of the sequence so if we take a look at this flowchart right here we’re going to enter this while loop and we have a test condition right here the first time that this test condition comes back false it’s going to exit the while loop so let’s start actually writing out the code and see how this while loop works so let’s create a variable we’re just going to say number is equal to one and then we’ll say while and now we need to write our condition that needs to be met in order for our block of code beneath this to run so we’re going to say while number is less than five and then we’ll do colon enter and now this is our block of code we’re going to say print and then we’ll say number now what we need to do is basically create a counter we’re going to say number equals number + 1 if you’ve never done something like this it’s kind of like a counter most people start it at zero in fact let’s start it at zero and then each time it runs through this while loop it’s going to add one to this number up here and then it’s going to become a one a two a three each time it iterates through this while loop now once this number is no longer less than five it’ll break out of the while loop and it will no longer run so let’s run this really quick by hitting shift enter so it starts at zero and it’s going to say while the number is less than five print number so the first time that it runs through it is zero and so it prints zero and then it adds one to number and then it continues that y Loop right here and it keeps looping through this portion it never goes back up here to this line of code this is just our variable that we start with and then once this condition is no longer met once it is false then it’s going to break out of that code now that we basically know how a y Loop Works let’s look at something called a break statement so let’s copy this right down here and what we’re going to say is if number is equal to three we’re going to break now with the break statement we can basically Stop the Loop even if the while condition is true so while this number is less than five it’s going to continue to Loop through but now we have this break statement so it’s going to say if the number equals three we’re going to break out of this while loop but if this is false we’re going to continue adding to that number just like normal so let’s execute this so as you can see it only went to three instead of four like before because each time it was running through this y while loop it was checking if the number was equal to three and once it got to three this became true and then we broke out of this while loop the next thing that I want to look at and we’ll copy this right down here is an else statement much like an if statement but we can use the else statement with a while loop which runs the block of code and when that condition is no longer true then it activates the else statement so we’ll go right down here and we’ll say else and we’ll do a colon and enter and then we’ll say print and we’ll say no no longer less than five now because this if statement is still in there it will break so let’s say six and then we’ll run this and so it’s going to iterate through this block of code and once this statement is no longer true once we break out of it we’re going to go to our else statement now as long as this statement is true it’s going to continue to iterate through but once this condition is not met then it will go to our L statement and we’ll run that line of code now the L statement is only going to trigger if the Y Loop no longer is true if we have something like this if statement that causes it to break out of the while loop the lse statement will no longer work so let’s say if the number is three and we run this the L statement is no longer going to trigger so this body of code will not be run now the next thing that I want to look at is the continue statement if the continue statement is triggered it basically rejects all remaining statements in the current iteration of the loop and then we’ll go to the next iteration now to demonstrate this I’m going to change this break into a continue so before when we had the break if the number was equal to three it would stop all the code completely but when we change this to continue which we’ll do right now what it’s going to do is it’s no longer going to run through any of the subsequent code in this block of code it’s just going to go straight up to the beginning and restart our while loop so what’s going to happen when we run this is it’s going to come to three it’s going to become three it’s going to continue back into the while loop but it’s never going to have that number changeed to be added to one to continue with the while loop this will create an infinite Loop let’s try this really quickly and as you can see it’s going to stay three forever eventually this would time out but I’m just going to stop the code really quick so if we just change up the order of which we’re doing things we’re going to say there and we’re going to put this down here so what it’s going to do now instead of printing the number immediately and then adding the number later we’re going to add the number right away and then we’re going to say if it is three we’re going to continue and it’s going to print the number so let’s try executing this and see what happens so as you can see we no longer have the three in our output what it did was when we got to the number three it continued and didn’t execute this right here which prints off that number hello everybody today we’re going to be taking a look at functions in Python a function is a block of code which is only run when you call it so right here we’re defining our function and then this is our body of code that when we actually call it is going to be ran so right here we have our function call and all we’re doing is putting the function with the parenthesis es that is basically us calling that function and then we have our output throughout this video I’m going to show you how to write a function as well as pass arguments to that function and then a few other things like arbitrary arguments keyword arguments and arbitrary keyword arguments all these things are really important to know when you are using functions so let’s get started by writing our very first function together we’re going to start off by saying DF that is the keyword for defining a function then we can actually name our function and for this one we’re just going to do first underscore function and then we do an open parenthesis and then we’ll put a colon we’ll hit enter and it’ll automatically indent for us and this is where our body of code is going to go now within our body of code we can write just about anything and in this video I’m not going to get super Advanced we’re just going to walk through the basics to make sure that you understand how to use functions so for right now all we’re going to say is print we’ll do an open parenthesis we’ll do an apostrophe and we’ll say we did it and now we’re going to hit shift enter and this is not going to do anything at least you won’t see any output from this if we want to see the output or we actually want to run that function and some functions don’t have outputs but if we want to run that function what we have to do is just copy this and put it right down here and now we’re going to actually call our function so let’s go ahead and click shift enter and now we’ve successfully called our first function this function is about as simple as it could possibly be but now let’s take it up a notch and start looking at arguments so let’s go right down here and we’re going to say Define number underscore squared we’ll do a parenthesis and our colon as well now really quickly when you’re naming your function it’s kind of like naming a variable you can use something like X or Y but I tend to like to be a little bit more descriptive but now let’s take a look at passing an argument into a function the argument is going to be passed right here in the parenthesis so for us I’m just going to call it a number and then we’re going to hit enter and now we’ll write our body of code and all we’re going to do for this is type print and open parenthesis and we’ll say number and we’ll do two stars at least that’s what I call it a star and a two and what this is going to do is it’s going to take the number that we pass into our function it’s going to put it right here in our body of code and then for what we’re doing it’s going to put it to the power of two and so when the user or you run this and call this function this number is something that you can specify it’s an argument that you can input that will then be run in this body of code so let’s copy this right here and then put it right down here into this next cell and we’ll say five and so this five is going to be passed through into this function and be called right here for this print statement let’s run it and it should come out as I believe 25 that is my fault I forgot to actually run this block of code so I’m going to hit shift enter so now we’ve defined our function up here and now we can actually call it so now we’ll hit shift enter and we got our output of 25 now in this function we only called one argument but you can basically call as many arguments arents as you want you just have to separate them by commas so let’s copy this and we’ll put it right down here now we’ll say number squared uncore custom and then we’ll do number and then we’ll do power so now we can specify our number as well as the power that we want to raise it to so instead of having two which is what you call hardcoded we can now customize that and we’ll have power and now when we call this function we can specify the number and the power and both of those will go into this body of code and be run and we can customize those numbers so let’s copy this and we’ll say 5 to the power of three and let’s make sure I Ram this so let’s do shift enter and now we will call our function and let’s hit shift enter and we got 5 to the^ of 3 which is 125 and just one last thing to mention is if you have two arguments within your function and you are calling right here you have to pass in two arguments you can’t just have one so if we have a five right here it’s going to error out we have to specify both Arguments for it to work now let’s take a look at arbitrary arguments now arbitrary arguments are really interesting because if you don’t know how many arguments you want to pass through if you don’t know if it’s a one a two or a three you can specify that later when you’re calling the argument so you don’t have to do it upfront and know that information ahead of time so let’s define our function so we’re going to say Define and then we’re going to say number underscore args and we’ll do an open parenthesis and a colon now within our argument right here typically we would just specify here’s what our argument will be it will be number or it will be a word right but what we’re going to do is something called an arbitrary argument so it’s unknown so we’re going to put star and then we’ll say args now you will see something exactly like this typically if you’re looking at tutorials that’ll have star args in there or you’re looking at just a generic piece of code this is what it will look like but for us we’re going to actually put number so again we have the star and then we have our arbitrary argument right here and then we’ll hit enter and we’re going to say print open parentheses and this is where it’s going to get a little bit different so we’re going to say number and then we’re going to do an open bracket and let’s say zero and then we’ll do that times and then we’ll say number again with a bracket of one so in a little bit once we run this and then we call this number args function right here we’re going to need to specify the number zero and the number one that’s going to be called so let’s go ahead and run this and then we are going to call it and let’s say 5 comma 6 comma 1 2 8 so right up here we did not know how many arguments we were going to pass through it could be five it could be a thousand and we could also call in a tuple and that’s what this is right here we’re calling in a tup so what it’s going to do now is when it calls this number it’s going to call the very first within that tupal which will be that five and then it’ll also call in this number which will be the first position which is the six so let’s hit shift enter and it’s going to multiply these numbers together so five * 6 is equal to 30 now like I just said this is a tuple so we don’t actually have to write out these numbers like we just did we can pass through a tuple when we are actually calling this function let’s do that right up here let’s just create um let’s call it argor Tuple and we’ll do open parentheses and we’ll do the same numbers let’s just copy it make it easier and now we’ve created this tupal right here which we can then pass in and this is a lot more handy a lot more specific and this is most likely how someone would do something like this but let’s now create this and now we can copy AR Tuple and pass it through now really quickly this is going to fail and I’m doing that on purpose but I want to show you what you need to do in order to pass through this tupal so right now it’s going to say Tuple index is out of range all you have to do in order to use this is you have to specify a star before it just like you did when you creating your argument up here we have to put a star in front of our Tuple that we just passed through and now let’s try running this and now it works properly now the last two things that we’re going to look at are keyword arguments and arbitrary keyword arguments there are more things that you can learn and do within functions but again I’m just trying to teach you the basics to make sure that you understand how they work so let’s go right up here and a keyword argument is kind of similar to this right here and let’s actually copy this and put it right down here now a keyword argument is very similar in that you’re going to specify your arguments right here but what we did up here let me bring this down when we actually called the function what we did was we just put a five and a three and when we did that it automatically assigned number to five and power to three and that’s totally fine and you can do that but if you want a little bit more control you can use a keyword argument so right here we could say our is equal to five and number is equal to three so I just switched it around right number was assigned to five and power was assigned to three but I just switched it to show you how this might work let’s run both of these and now it’s 3 to the^ of 5 which is 243 so that essentially is a keyword argument again it just gives you a little bit more control you don’t have to put them in specific positions like if you’re just calling multiple arguments now let’s come right down here we’re going to create basically another custom function uh so for this one we’re going to write Define number underscore org and then we’ll do an open parenthesis a colon and enter and what this one is is is this one is a keyword argument or an arbitrary keyword argument now to specify an arbitrary argument all we did was a star and then we input number but if we’re doing a keyword argument we actually have to have two stars right here so let’s start taking a look and again if you’re doing arbitrary it means we don’t really know how many keyword arguments we want to pass into our function so we’re just going to put star star number and then later within our body of code and when we’re calling it we’ll be able to specify it and just like the arbitrary argument before the arbitrary keyword argument means we really just don’t know how many keyword arguments we’re going to need to pass into our function so to demonstrate this let’s write print do an open parenthesis and we’ll say my oops need to do an apostrophe my number is we’ll do just like that little space and we’ll say plus and this is kind of where it gets a little interesting or a little bit more tricky so what we’re going to say is number So This Is Us calling our number and then we’re going to do a bracket and then I’m actually going to go to calling the function it’s a little bit backward or a little bit different than what you might think but when we’re calling it what I’m going to do is I’m going to say integer is equal to let’s just do some random number now when we’re calling that keyword within our body of code what we’re going to do is we’re going to actually type out integer just like this and this looks a little bit different but what this this allows us to do is we can put as many keyword arguments in here as we want later and I’ll show you in just a second but for us we’re just creating this key and this value when we are calling it within the function so now when we create this and we run this oh whoops I forgot this has to be a string um so let’s run this again now we will say my number is 2309 then we’re going to add we’ll say plus and this isn’t going to look great but we’ll say my other number this will all be in the same line that’s okay my other number and then we’ll say number and we can specify again what we want in there so now we can go down here to where we’re calling it we’ll just put a comma and we’ll say integer oops integer 2 is equal to we’ll do a random number and then we’ll put integer two right here and then we’ll add plus right here so we don’t error out we’ll create this we’ll run this and as you can see both numbers were passed through again the syntax is terrible but now you can see that you have this arbitrary keyword argument right here and all we have to do is put number number and we can pass through as many of these arbitrary keyword arguments as we want as long as we just specify within our function when we’re calling it hello everybody today we’re going to be talking about converting data types in Python in this video I’m going to show you how to convert several different data types in including strings numbers sets tupal and even dictionaries so let’s start off by creating a variable we’ll say numor int is equal to 7 and we can check that data type by saying type and then inserting our variable number undor int and that will tell us that our data type for this variable is an integer let’s go ahead and create another one we’re going to say numor string is equal to and for this one we’ll also do a seven but let’s check the type and and we’ll do an open parenthesis and we’ll say the type of num string and that one is a string now let’s say we wanted to add those we’ll say num underscore sum so the sum of numor int plus numor string now when we’re adding these two values it is not going to work it’s going to give us an error and it’s going to say unsupported operand for INT and string so it cannot add both an integer and a string what we need to do in order to add these two numbers is to convert that string into an integer so let’s go right up here let’s add another cell and let’s say numor string undor converted is equal to and we want to convert it into an integer so all we have to do to convert it into an integer is type int and then we’re going to say numor string and that is as easy as it’s going to get all we have to do is say integer with our numb string inside of it and then it’s going to convert it and we can even check it right after by saying type num string converted and let’s run this and now we can see that it was converted into an integer so now let’s add that num string converted right here let’s copy and replace that string with the string converted and let’s actually print out that numor sum and it worked properly now we did not specify what type of value this Num Sum was going to be but because it was two integers in here it’s going to automatically apply that data type of integer to that num suum let’s go right down here and now let’s look at how we can convert lists sets and tupal so now let’s say we have a listor type and that’s equal to 1 2 3 and we can check it again by saying type and that is a list let’s say we want to convert it to a tuple it’s fairly easy all we’re going to do is write Tuple say listor type that listor type is now going to be a tupal and we can check that by saying type and wrapping it around this tupal and it shows us that it is converting that list into a tupal now we can also convert a list into a set but it may change the actual values within it let’s check that out really quickly so let’s say we have this list and let’s add a few more values to this just like that now let’s say we want to convert it to a set so we’re going to run this and we’ll say set of listor type and let’s try running this and see what the output is so this is something that you really need to be aware of when you are converting data types because set does not act the same as a list a set is basically going to take the unique values in the list and convert it to a set and it fundamentally changes the data that was in that original list and just to check the data type we can say type I’m just doing this for all of them and as you can see that is now a set now let’s go down here and take a look at dictionaries now let’s say we have a dictionary called dictionary type and we’ll do a squiggly bracket and we’ll say name and we’ll do a colon and we’ll say Alex then we’ll do age and a colon and we’ll say 28 and then we’ll do hair col and so really quickly let’s take that dictionary type and just confirm that it is a dictionary and it is and now what we’re going to do is take a look at all the items within that dictionary so we’re going to do dictionary type. items open parenthesis and this is going to show us all the items within it now we can also take this and look at something like the values and when we run that these are our values So within our dictionary we have items and that’s what this is right here this is one item and then within that we have our values which are right here so Alex 28 and Na and then we have something called a key and this is the key the name age and hair are all keys and we can look at that by saying dot keys so let’s say we want to take all of the keys and put that into a list what we’re going to do is we’re going to take this right here to say list we’ll do an open parenthesis we’ll type that in right there so it says a list and we’re converting these Keys into a list and let’s run that and now this is a list and let’s just check the type as well just to confirm and as you can see it was converted properly into a list and we can do the exact same thing with value Val and the values can also be converted into a list now we can also convert longer strings that aren’t just numbers like we did above in our very first example so let’s do longcore string and we’ll say I like to party now we’re going to take this string and we’re going to say list long string so we’re going to convert this string into a list and let’s see what happens so it took every single character in that string and put it into a list and we could also do a set as well that one’s a lot shorter because it’s only looking at unique values so that is how you convert data types in Python hello everybody today we’re going to be working on building a BMI calculator in Python now before we get started I want to show you this BMI calculator that I found online and it shows you the basic calculation that they use and that’s the one we’re going to use in this video and they also have this calculator right down here and some ranges that we can use for our calculator as well so for reference I weigh about 170 I’m about 59 let’s calculate this so I’m about a 25.1 BMI which falls into the overweight category that’s unfortunate but we can see exactly how this works and how RS should work when we actually build it so we’re going to kind of reference this throughout the video so let’s go right over here to our BMI calculator we need to calculate weight and height and then run this calculation right here so let’s go ahead and copy this and we’re going to put it right down here and so now we have our calculation so what we need is we need input from a user and there is an input function within python that we’re going to be using so let’s actually give me a few more cells so the first thing that we need to calculate is their weight let’s type out weight right here we’ll say weight is equal to and this is where we’ll use our input function so we’ll say input and when we actually run this it’s just going to give us this blank square or a user can input something we’ll say Alex so this is our output is what the actual user input and it does save it to this variable so if we say print weight it will still print out Alex now this is where we want the user to just like we did before where they’ll input their weight so we want to kind of give them a prompt for this we’ll put a string in here so I’ll do a double quote and then I’ll say enter your weight in and we’re using pounds say pounds colon space so now when we do this it’ll say enter your weight in pounds I’ll say 170 and then when we run this it does store that now let’s do print I should have saved it wait again oops now it’s only storing the value of 170 it’s not actually storing this string right here so that’s really important for when we do our calculations later um I’m going to I’m going to save this right down here because I’m sure I’m going to use that later um so we have that it’s working now we need to also do our height so let’s copy this and we’ll put it right here and we’ll do height and enter your height in inches so now for this one if we hit enter it’s actually running let’s stop it really quick and interrupt it let’s try running this so it’s going to say enter your weight and pounds that’s the first input say 170 and then when I hit enter it’s going to prompt me for that second input and so in inches 59 is 69 in and then I can hit enter again and now we have both of our inputs now we need this calculation right down here and just like that so now we have weight in pounds * 703 divided by height in inches by height in inches so we actually have weight and it’s already written in there but I’m just going to do it like this we’ll do weight time 703 so that’s pounds there our weight in pounds time 703 divided by now we have our height in inches times the height in inches so this is our calculation right here so let’s do this exact same thing let’s run this and this times of course is not going to work oops we need to do our star for both of these right now this is our calculation so let’s run this so we have 170 and that’s pounds and inches was 69 hit enter and it says cannot multiply the sequence of non- integer type of string Ah that’s because these are being stored in strings if right down here I do and we’ll do type of height we run that this is actually a string so we want to change that cuz we don’t need that anymore that so we don’t want it to be a string we need those to be integers or Floats or really anything besides a string it just needs to be numerical so integer float really so let’s do integer and we’ll wrap that input in it and we’ll do the same thing for this one now we have an integer for our weight an integer for our height so now when we’re running this calculation it should work properly let’s run this again our pounds are 70 our height is 69 in and it’s not giving us our output because we’re not printing anything okay so I just need to do print BMI so let’s try this again 1 70 69 and there is our BMI 25.1 so it worked the exact same as this one so they input well we input our height we inputed our or we inputed our weight we inputed our height and then it calculated rbmi the next thing that we need to do is we need to kind of give the user some context is that good is there BMI in within a good range a bad range we don’t know uh so let’s go ahead and I’m going to see if I can copy this know if this will work or not let’s go ahead and copy this right down here perfect so what we now need to do is we need to say okay if the user has given us this input we want to give them or tell them if they are a normal weight overweight obese severely obese anything like that and we have these ranges so that should help us out quite a bit so let’s just write our if statement and then we’ll include it up here but let’s go down here and we’ll say if and then we’ll do BMI and let’s just say BMI is greater than zero so if it’s greater than zero if they had any input where the BMI was not zero which should be every time if they do it properly don’t you know put a string in there or something or type out 40 which maybe we should make a prompt for that if that happens then we can say if we’ll do BMI and now we need to give that first range so this range right here so if it’s under 18.5 so we need to do a less than so if it’s less than 18.5 and it just says under it doesn’t say under or equal to so I’ll keep it at 18.5 so if it’s under 18.5 then let’s give kind of the output we’ll say print and the output or the basically the prompt is underweight so we’ll just say you are under under case underweight and just like that um then we’re going to pass several ellf statements through here well let’s just say else so I guess this would be like if they are if they don’t input something properly or something messes up maybe I we could write something like um print oops I’m thinking all this through we can write print enter valid inputs or something like this or we can always change that but let’s really quickly let’s run this okay so I’m not in that range uh let’s make the next one so then I can be within a certain range oops and we need we should need one more a minimum so we’ll say LF and LF these next two are this 24.9 so it’s going to check this one first so if it’s 18.5 or below 18.5 it’s automatically going to print this one so this next one we don’t have to do like a range or anything we can just say if it’s below if it’s between 25 and 20 9.9 so this one actually should be less than or equal to um this one is normal oh whoops 24.9 so this one is 24.9 this one is going to say you are normal weight so let’s run this now let’s see BMI was 25.1 oh guys I’m just messing up here I apologize all right this is the one that I was part of so now it’s going to be part of the overweight crowd now let’s run this and now our prompt is you are overweight because remember the BMI was saved right here as 25.1 down here if we run through this it’s saying no you’re not in oops get rid of that no you’re not in under 18.5 you’re not under 24.9 if you are under 29.9 you are overweight so that did work properly so that’s really good and I don’t think I want this to be our output for the person because we’re going to add this up here it’s just going to give us the BMI and then the output is going to say you are overweight uh let’s make it a little bit more customized um I’m going to say name is equal to input and then we’ll say enter your name um so it’ll be enter your name we’ll do Alex 70 69 there’s our BMI now it’s going to run through this logic or it will run through this logic in just a second when we actually finished this then we have 34.9 and let’s do one more oops and then this one’s going to be for 39.9 so this one was overweight this one is obese severely obese OB we’ll say severely you spell it severely obese and then anything that’s over that 40 and over so if it’s not this one anything else should be S morbidly obese so actually this else statement right here should say uh you are you are severely obese this is going to say morbidly morbidly obese now I added that name up here here because I wanted to add that down below actually so we’re going to say uh name plus and then we’ll do like comma you are underweight so it’ll be a little bit more personalized uh I think it’ll I think it’ll be a nice touch I really do we’ll do it like this and we’ll say you and let’s go back and do that to all of them and let me see how quickly I can do this oh whoops what I do got rid of that name plus u like that geez you guys are seeing me mess up a ton name plus you and then name plus you so now let’s run this and now it’s a little more personalized it says Alex you are overweight so this is all really good now this is an if statement um what we had done before I think is actually what we should put right down here so we’ll say else and then if that doesn’t work we’ll say what do we say enter valid input we’ll just put that um and let let me see if I can test this out don’t I don’t know if this will error out or if this will even work let me just see if I can mess with it and see if I can get it to work actually let’s copy this we’re going to copy this whole thing we’re going to include it right here and now we have basically our entire calculator so um let’s run this enter your name we’ll say Alex enter your pounds 170 Ander your inches 69 and then it’s going to say 25.1 Alex you are overweight and that’s perfect we could even go as far as adding like some feedback we could say you are overweight and then it would be a period and we could say um you need to exercise more stop sitting and writing so many python tutorials so now if we run this we’ll do Alex 17069 it says Alex you are overweight you need to exercise more and stop sitting and writing so many python tutorials period and that’s it this is the entire project um you can go a ton farther you can include much more complex logic you could even build out a UI to create your own you know app just like this where it has this input and this UI you can build that out with in jupyter notebooks with python um but that’s not really what this tutorial is for this is just to kind of help you um think through some of the logic of creating something like this hello everybody in this lesson we’re going to be taking a look at beautiful soup and requests now these packages in Python are really useful these are the two main ones that I use when I was first starting out with web scraping it can get a lot of what you want done in order to get that information out now of course there are other packages that you can use that may be a little bit more advanced but again this is just the beginner Series in a future series we’ll look at other packages as well that have some more advanced functionality so what we’re going to be doing is we’re going to import these packages and then we’re going to get all of the HTML from our website and make sure that it’s in a usable State and then in the next lesson we’re going to kind of query around in the HTML kind of pick and choose exactly what we want we’ll look at things like tags variable strings classes attributes and more so let’s get started by importing our packages what we’re going to say is from bs4 this is the module that we’re taking it from we’re going to say import and then we’ll do beautiful soup then we’re going to come down and we’re going to say import requests now let’s go ahead and run this I’m going to hit shift enter and it works well for me now if this do does not work for you you may potentially need to actually install bs4 so you may have to go to your terminal window and say pip install bs4 I’ll just let you Google how to do that if you need to do that CU it’s pretty easy but if you’re using Jupiter notebooks through Anaconda like how we set it up at the beginning of this python series then you should be totally fine it should be there for you the next thing that we need to do is specify where we’re taking this HTML from so what we need to actually do is come right over here to our web page and we need to get the URL so we’re going to go here we’re going to copy this URL and I’m just going to put it right here for a second and what we’re going to do is we’re going to be using this URL quite a bit so we just want to assign it to a variable so just say URL is equal to and then we’ll put it right in here now we can get rid of that so now this is our URL going forward this is where we’re going be pulling data from let’s go ahead and run this now we’re going to use requests and what we’re going to do is we’re going to say requests.get and then we’re going to put in url now this get function is going to use the request Library it’s going to send a get request to that URL and it’s going to return a response object let’s go ahead and run this as you can see here I got a response of 200 if you got something like a 204 or a 400 or 401 or 404 all of these things are potentially bad something like a 204 would mean there was no content in the actual web page 400 means a bad request so it was invalid the server couldn’t process it and you don’t get any response if you you got a 404 that might be one that you’re familiar with that’s an error that means the server cannot be found the next thing that we’re going to do is take the HTML now if you remember we come right back here and we inspect this we have all of this HTML right here now on this web page specifically right now it’s completely static it’s not a bunch of moving stuff or anything like that usually when you’re looking at HTML if you’re looking at something like Amazon and those web pages can update but when you actually pull that into python you’re basically getting a snapshot of the HTM at that time so what we’re going to do is bring in all of this HTML which is our snapshot of our website and then we can take a look at it so we’re going to come right down here and now we’re going to say beautiful soup so now we’ll use the beautiful soup package or Library so we need to say beautiful soup and we’re going do an open parenthesis we’re going to do two things there’s two parameters that we need to put in here first we need to put in this get request we actually need to name this and we’ll call this page we’ll say page is equal to and let’s run this and now we’re going to put that page in here and what we’re going to say is text so the page is what’s sending that request and then the text is what’s retrieving the actual raw HTML that we’re going to be using then we’re going to put a comma here and what we need to specify is how we’re going to parse this information now this is an HTML so what we’re going to do is HTML just like this this is a standard this already built into to this Library so we don’t need to go any further but it’s basically going to parse the information in an HTML format now let’s go ahead and run this let’s see what we get and as you can see we have a lot of information and as we scroll down I’ll try to point out some things that we’ve already looked at in previous lessons umm something like this th tag that should be very similar that’s the title then we have these TD tags and then of course if we scroll down even further we’ll have things like ATR tag so these are all things that we looked at in that first lesson when learning about HTML now again we want to assign this to a variable so we’re going to say soup that’s going to say equal to this information right here now I’m not going to go into all the history behind beautiful soup what I will say is the guy who created this beautiful soup Library uh what he said was is that it takes this really messy HTML or XML which you can also use it for and makes it into this kind of beautiful soup so I just thought that was kind of funny uh but that’s why we’re calling it soup right here and we’re going to go ahead and run this and we’ll come right down here here and we’ll say print soup and let’s run it and now we have everything in here so we have our HTML our head we have some HR and some links in here let scroll down a little bit more and then we have our body right there and of course we have a bunch of information in here now in the next lesson what we’re going to be doing is learning how to kind of query all of this to take specific information out and basically understand a lot of what’s going on in this HTML to make sure we can actually get what we need now if this looks really kind of messy to you and it just doesn’t make a lot of sense there is one more thing that I’m going to show you and we’ll come right down here so we’ll say soup. prettify and if you’ve ever used a different type of programming languages uh pry is very common in a lot of them where it’ll just make it a little bit more easy to visualize and see uh you’ll notice that it kind of has this hierarchy built in whereas if we scroll up there’s no hierarchy built in it’s all just down this left hand side so if you kind of want to view it and just kind of visually see the differences this does help a lot but it doesn’t actually help a lot when you’re you know querying it or using you know find and find all which is what we’re going to look at in the next lesson now the first thing that we need to learn is HTML HTML stands for hypertext markup language and it’s used to describe all of the elements on a web page now when we actually go to a website and start pulling data and information we need to know HTML so we can specify exactly what we want to take off of that website so that’s where HTML comes in and we’re going to look at the basics understanding just the basic structure of HTML then we’ll go look at a real website and you’ll kind of see that’s a little bit more difficult than what we just have right here but this is the basic building blocks to get to what the HTML actually looks like on a website now this is basically what HTML looks like we have these angled brackets with things like HTML head title body and then you’ll notice that at the end we’ll have a body and then we’ll have a body at the bottom this forward SL body denotes that this is the end of the body section in HTML so everything inside of this is within this body so there is this hierarchy within HTML we have HTML and HTML at the bottom which encapsulates all the HTML on the website then we have things like head and head body and body now Within These sections we usually have things like classes tags attributes text and all these other things things that we’ll get to in different lessons but one of the easiest ones to notice and look at are tags things like a P tag or a title tag now Within These tags because this is a super simple example we have these strings here my first web page and this is what’s called a variable string and this is actual text that we could take out of this web page now that you understand the super basics of HTML let’s actually go to our website and I’m going to have a link down below but it’s going to be this one right here this is basically just a website that you can you know practice web scraping on it’s called scrape the site.com and what we’re going to do is look at the HTML behind this web page and you can do this on any website that you go on so we’re going to right click we’re going to go down to inspect now right off the bat this looks a lot more complicated and a lot more complex than the very simple illustration that we’re looking at but let’s kind of roll this up just a little bit you’ll notice we have HTML and HTM at the bottom we have a head and there is the end of the head and then a body and the end of the body so in a super simple sense it is similar but just the information that’s within it is a lot more difficult now if we look at this title right here this is our title tag if we click this little arrow this is our drop- down you’ll notice that here we have the string hockey teams forms searching imagination now let’s say we didn’t know we didn’t want to click on that and go find it there’s something that’s super helpful within this inspection page that you can click on right here it says select an element in the page to inspect it so we’re going to click on that and as we go through our page and let’s click on this title it’s going to take us to exactly where this is in our HTML this is extremely helpful extremely useful for example let’s say the data I want is down here I want to take in the Boston Bruins I can click on it and it’s going to take me to where that is exactly in the HTML this is where we can start writing our web scraping script to specify okay I’m looking for a TR tag I’m looking for a TD tag I’m looking for the class called team this is all information and things that we can use to specify exactly what we want to pull out of our web page now there are other things that we didn’t really look at as well in just our simple illustration let’s come right over here there’s things like HRS now these are hyperlinks so if we went and then clicked on this this is just regular text but inside of it is this hyperlink where if we clicked on it it would take us to another website and typically that’s denoted by this hre right here then you’ll typically see things like a P tag which usually stands for a paragraph now the last thing that I want to show you while we’re here and we’re going to learn a lot more in the next several lessons but if we come right down here there is this actual entire table here and let’s try to find this table and I’m having trouble selecting the entire thing but let’s select this team name and if we look at this team name you can see that this is encapsulating the tables this table tag now these are super helpful because it takes in the entire table now if we wrap this up and we look just at this it says class table and then we have the end of this table tag now when we open it it’s going to have all of this information so as you can see as I’m highlighting over it we have these th tags and we have these TD tags and even these TR tags which is the individual data and this is something that we’ll look at when we’re actually scraping all of the data from this table in a few future lesson so this is how we can use HTML how we can inspect the web page and see exactly what’s going on kind of under the hood and then in future lessons we’ll see how we can use this HTML to specify exactly what data we want to pull out thank hello everybody in this lesson we’re going to be taking a look at find and find all really we’re going to be looking at a ton of different things in this lesson this is where we really start digging in seeing how we can extract specific information from our web page but in order to do that let’s set everything up where we actually bring in the HTML like we did in the last lesson and we’re just going to write all this out one more time just for practice if nothing else and then we’ll get into actually getting that information from the HTML so we’re going to start by saying from bs4 import beautiful soup there we go and import requests we’ll go ahead and run this then we’re going to come up here grab our HTML or sorry our URL we’ll say URL is equal to to and we’ll have that right here now we need to say page is equal to and then we’ll do requests.get and then we’ll put in our URL right here and we’re going to come over here and run this and lastly we need to say soup so we’ll say soup is equal to beautiful soup there we go and then within our parentheses we need to specify the page. text because we need that and our parser which is HTML and there we go and let’s go ahead and run this let’s print it out make sure it’s working and there we go so we have our soup right here all this should look really similar to uh our last lesson and so now we’ brought in our HTML from our page we have a lot a lot a lot of information in here now really quickly let’s come over and let’s inspect our web page now in here we have a ton of information right we have bunch of different tags and classes and all these other things but how do we actually use these well that’s where the find and find all is going to come into play and they’re pretty similar and you’ll see that in just a little bit but let’s say we want to take uh one of these tags and let’s come down let’s say we just want to take this div tag now there’s going to be a lot of different div tags in our HTML but let’s just come right here let’s go down and let’s say we’re going to call soup we’re going to say soup that’s all of our information we’re going to say do find now within our parentheses we can specify a lot of different things but we’re going to keep it really simple right now we’re just going to say di let’s go ahead and run this what this is going to bring up is the very first div tag in our HTML and that’s going to be this information right here now let’s copy this and we’re going to do the exact same thing except we’re going to say find underscore all now let’s run this now we’re going to have a ton more information really all find and find all do is that they find the information now find is only going to find the first response in our HTML lead that’s the div class container let’s go back up to the top that’s our div class container but find all is going to find all of them so it’ll put it in this list for you so it’s going to have this first one and it goes down to uh this word SL div which should be right here and then we have have a comma which separates our next div tag so that is how we can use it now what if we want to specify one of these div tags we pulled in a ton of them but we want to just look for one of them well this is something where the class comes in handy because right now we have classes equal to container class is equal to co md-12 I don’t know what these are at the off the top of my head but um usually they’ll be somewhat unique and we can use these to help us specify what we’re looking for for example just kind of glancing of this we could also use this a tag if we wanted to look at this so we could say oh we’re looking for uh these H refs so we have an hre here and this right down here we have this hre as well which again uh if you remember from previous lesson that stands for a hyperlink now something like the class or the href um or these IDs these are all attributes so we can specify or kind of filter Down based off of these now let’s try it so what we can do is we can do class first and this is kind of the default uh within something like find all is you can even do class underscore we can come right back up we have this div and then here’s our class so again we have to have the div and the class if we took this a tag this is an a tag which would go right here with the class of something like navlink or something like navlink again down here we need to specify that more but we have our div so we’ll say CL Cole md12 right here and let’s go ahead and run this and now it’s going to pull in just that information now we’re still getting a list because we have multiple of these so this div class uh Co md-12 doesn’t just happen once if we scroll down we’ll see it multiple times something like right here uh or actually let me see right here so here’s this comma then here’s our next one so we have two of these uh div tags with a class of coal- md-12 and in each of these we have different information this looks like a paragraph with this P tag right here and let’s scroll back up uh so I also think we should try out doing something like this P tag typically these P tags stand for paragraphs or they have text information in them let’s try to P tag really quickly let’s just see what we get and let’s run this and it looks like we get multiple P tags now if we come back here you can see that there’s this information and it’s this information that we’re pulling in and I’m just you know noticing that from right here and then we have this information right here and it looks like there’s one more which is this hre which looks like this open source so data via and then that uh hyperlink or that link right there so we have three different P tags now just to verify and make sure that that’s correct what we could do is come over here we’re going to click on this paragraph it’s going to take us to that P tag where the class is equal to lead let’s come over here and look at this paragraph now we have another P tag right over here where the class is equal to glyphicon glyphicon education I have no idea what that means um and then we’ll go to our last one which is right here where the P tag is equal to uh we have AAG hre class uh and a bunch of other information so let’s say we just wanted to pull in this paragraph right here let’s go here and see how we can specify this information so it looks like P or the class is equal to lead that looks like it’s going to be unique to just that one so if we come down here we’re going to say comma and it was class so you can do uh class underscore is equal to and then we’re going to say lead let’s try running this and we’re just pulling in that information now let’s say we actually want to pull in this paragraph We actually want this text right here and this is a very real use case you know let’s say I’m trying to pull in some information or or a paragraph of text well let’s copy this and what we’re going to then do is say. text and let’s run this now we’re going to get an error right here and this is a very common error because we’re trying to use find all unfortunately find all does not have a text attribute we actually need to change this to find typically when I’m working with these find and find alls I’m using find all most of the time until I want to start extracting text then when I specify it I’ll change this back to find just like this now let’s try this and now we’re getting in parentheses this information now this is all wonky it needs to definitely be cleaned up a little bit but if we Cod back up it’s no longer in a list and we no longer have things like these P tags in here or this class attribute so we’re really just trying to pull out this information now again this does not look perfect we could even trying to do something like strip look like there’s some white space uh that cleans it up a little bit this definitely looks a little better um and we could definitely go in here and clean this up more but just for you know an example this is how we can then extract that information now let’s look at one more example this is some information and this is what we’re going to do kind of our little mini project in the next lesson on let’s say we wanted to take all this information well what if we wanted to pull in something like the team name that’s going to be in right here in this TR tag and each of these TR tags have th tags underneath them so if we scroll down you’ll notice that each row is this TR tag so let’s go ahead and search for let’s do th let’s just search for that first so let’s come right back up here let’s use this find all and we’ll get rid of this text for right now and let’s just say we want to look for the TR is that what we said we were looking for no th so let’s say we’re looking for th let’s go ahead and run this so we’re going to have underneath this th we have team name year wins losses and notice these are all the titles so these titles are the only ones with these th tags if we go down you’ll notice that the data is actually TD tags so now let’s go back and look for TD we’ll say d and this is going to be a lot longer we have a lot of information but these are all the rows of data let’s see if we can just get one piece of this data we’re going to get back we want just this team name that’s all we’re trying to pull in for now um and then we’ll try to get this row and then in the next lesson we’re going to try to get all of this information make it look really nice and then we’ll put it into a panda’s data frame so let’s just get this team name right now let’s go ahead we’re going to say th let’s run this and we have this th and now that we know we’re getting this information in we can do find let’s run this so there’s our team name I’m just going to say. text and again we can do do strip just like that and Bam we have our team name so you can kind of start getting the idea of how we’re pulling this information out we’re really just specifying exactly what we’re seeing in this HTML and and what’s really really helpful and you know something that I do all the time is I’m inspecting it I’m just kind of searching like how what do I want what piece of information do I want then I go ahead and click on it and then I’m looking you know where is this sitting in the hierarchy it’s within the body it’s within this table with the class of table then it’s down here where this TR tag and then this TD tag so I’m looking kind of at the hierarchy and I’m specifying exactly what I’m looking for so that is what we’re going to look at in today’s lesson that’s how we can use f find and find all we were able to look at classes and tags and attributes and variable strings which is this right here getting that text uh and variable strings and we will look at find and find all and how it’s pulling that information in and how we can specify exactly what we’re looking for hello everybody in this lesson we are going to be scraping data from a real website and putting it into a panda’s data frame and maybe even exporting it to CSV if we’re feeling a bit spicy now in the last several lessons we’ve been looking at this page right here and I even promised that we were going to be pulling this data but as I was building out the project I just I honestly thought it was a little bit too easy since in the last lesson we kind of already pulled out some information from this table and I want to kind of throw you guys off so we’re going to be pulling from a different table we’re going to be going on to Wikipedia and looking at the list of the largest companies in the United States by revenue and we’re going to be pulling all of this information so if you thought this was going to be easy in a little mini project uh it’s now a full project because why not so let’s get started uh what we’re going to do is we’re going to import beautiful soup and requests we’re going to get this information and we’re going to see how we can do this and it’s going to get a little bit more complicated and a little bit more tricky we’re going to have to you know format things properly to get it into our Panda data frame to make it looking good and making it more usable so let’s go ahead and get rid of this easy table we don’t want that one uh and we’re going to come in here and we’re just going to start off this should look uh really familiar by now we’re going to say from bs4 import beautiful soup I don’t know if you’ve noticed but I’ve messed up spelling beautiful soup in every single uh video I’ve noticed uh let’s run this and now we need to go ahead and get our URL so let’s come up here let’s get our URL say URL is equal to and we’ll just keep it all in the same thing really quickly because we know this by Heart by now right uh we’ll say request. get and then URL to make sure that we’re getting that information it give us a response object um hopefully it’ll be 200 that’ll mean a good response and then we’ll say soup is equal to and then we’ll say beautiful soup and we’ll do our page. text now we’re pulling in the information from this URL and then we use our parser which will be oops HTML and let’s go ahead and run this looks like everything went well let’s print our soup now this is completely new to you it’s completely new to me I don’t know what I’m doing uh but it looks like we’re pulling in the information am I right so we got a lot of things going for us uh the uh stuff was imported properly we got our URL we got our soup which is uh not beautiful in my opinion but let’s keep on rolling let’s come right down here now what we need to do is we need to specify what data we’re looking for so let’s come and let’s inspect this web page now the only information that we’re going to want want is right in here we’re going to want these uh titles or these headers whoops so we’re going to want rank name industry Etc and then we are for sure going to want all of this information let’s just scroll down see if there’s anything tricky in here all right that looks pretty good uh and there is another table so there’s not just one table in here there are two tables in this page so that might change things for us but let’s come right back and let’s inspect our page by using this little button right here and let’s specify in let’s see if I can highlight just this page oh it’s not oh let’s do that right there so now we have this uh Wiki table sorter now I’m going to actually come right here I’m going to copy and I’m just going to say copy the outer HTML I’m just going to paste it in here real quick and that’s a ton of information I didn’t think it was going to copy all of it and we’re just going to delete that I just wanted to keep that class uh because I wanted to then come right down here at the bottom and just see what this table uh looks like I don’t know if it’s part of it or if it’s a if it’s its own table um I can’t tell let’s look at this Rank and let’s come up so it says uh it’s under this table and it looks like it’s its own table but it says Wiki table sort sortable jQuery table sorter what could be do a sortable jQuery table Ser so it looks like there are two tables with the same class which shouldn’t be a problem if we’re using find to get our text because we should be taking the first one which will be this table and this is the table we want um and if we wanted this one we could just use find all and since it’s a list we could use indexing to pull this table right um but I think we’re going to be okay with just pulling in this one so let’s go ahead and let’s do our find so we’ll do soup. find and we could find all or we could just do find a table let’s just try this and see what we get and if it pulls in the right one that we’re looking for that’ be great now this does not look correct at all um I don’t know what table it’s pulling in oh maybe it’s this right here this might be a table yeah it is so we have this uh box more citations so actually we are going to have to do exactly like what I was talking about uh let’s pull this and we well we could do comma class uh right here and let’s do both you know what this is a learning opportunity let’s do both so let me go back up to the top because I need these um and what we’re going to do let come right down here I want to add in uh another thing actually I’ll just push this one up there we go so we’re going to say findor all let’s run this so now we have multiple and again we got that weird one first but if we scroll down here’s our comma and then here’s our wik Wiki table sortable and then we have rank name industry all the ones that we were hoping to see and I guarantee you if you scroll all the way to the bottom um we’re going to see potentially Wells Fargo Goldman Sachs I’m pretty sure those are um let’s see yeah here we go like Ford motor Wells Fargo Goldman Soxs that’s this table right here so now we’re looking at the third table but again this is a list so we can use indexing on this and we’ll just choose not position zero because that’s this one right here which we did not like well now we’ll take position one let’s run this let’s go back up to the top and this is our table right here rank name industry this is the information that that we were actually wanting just to confirm rank name industry Etc so this is the information we’re wanting and we’re able to specify that with our find all and this is the information we want so we now want to make this the only information that we’re looking at so I’m just going to copy this we didn’t need to use our class for this one you could probably could have um but we could so let’s actually um put this right down here this will be our table we’ll say equal to but then I’ll come right here and I’m going to say soup. find this is just for demonstration purposes we do table comma glcore is equal to and then we’ll look at this right here whoops me do this let’s see if we get the correct output and let’s run this and looks like we’re getting a nun type object uh if I remember looks like the actual class is this right here so let’s run this instead and I got to get rid of the index there we go okay so we were able to pull it in just using the find so the find table class and it says Wiki table sortable at least that’s the HTML that we’re pulling in right here let me go back because I don’t I don’t know if that’s what I was seeing earlier let’s just get this rank let’s go back up where’s the rank go rank there we go so here’s our Rank and let’s go up to the table and there’s our class yeah and and that’s just uh to me that’s a little bit odd so it says Wiki table sortable jQuery Das table sorder right here but in our actual um in our actual python script that were running it was only pulling in the wiki table sortable so it wasn’t pulling in the jQuery dasht sorter why uh I’m not 100% sure but all things that we’re working through and we were able to uh we were able to figure out so we’re going to make this our table we’re going to say tables equal to uh soup. findall and let’s run this and if we print out our table we have this table now this is our only data that we are looking at now the first thing that I want to get is I want to get these titles or these headers right here that’s what we’re going to get first so let’s go in here we can just look in this information you can see that these are with these th tags and we can pull out those th tags really easily let’s come right down here we’re just going to say t and we can get rid of this let’s run this now these are our only th tags because everything else is a TR tag for these rows of data so these th tags are pretty unique which makes it really easy which is really great because then we can just do worldcore titles is equal to so now we have these titles but uh they’re not perfect but what we’re going to do is we’re going to Loop through it so I’m going to say worldcore titles and I’ll kind of walk through what I’m talking about is in a list and each one is Within These th tags so th and then there’s our um string that we’re trying to get so we can easily take this list and use list comprehension and we can do that right down here so I’m going to keep this to where we can see it um we’ll do worldcore tore titles that’s equal to now we’ll do our list comprehension should be super easy uh we’ll just say for title in worldcore titles and then what do we want we want title. text that’s it um because we’re just taking the text from each of these we’re just looping through and we’re getting rank then We’re looping through getting name looping through getting industry that’s it so let’s go and print our world table titles and see if it worked and it’s did uh this looks like it needs to be cleaned up just a little bit so let’s go ahead and do that while we’re here before we actually put it into the uh P’s data frame oops I just wanted uh I just wanted this actually so what we’re going to do is try to get rid of those back slash ends if we do dot strip that may actually not work yeah uh because this is a list what we need to do is we can actually do it dot. text. strip right here let’s try to do it in there there there we go so now we have uh this and now this world tables is good to go now I’m actually noticing one thing that may be odd yeah so we have rank name industry it goes to headquarters but then in here we’re getting rank name industry and then the profits which is from this table right here which we don’t want uh let’s scroll back up let’s kind of backtrack this and see where this happened we did find all table we’re looking at the first one right and then we’re doing [Music] headquarters uh so we’re doing print table ah okay I think I found the issue here and let’s backtrack again this is we’re working through this together we’re going to make mistakes uh the table is what we actually wanted to do we just did soup. findall th which is going to pull in that secondary table um jeez we were not thinking here um so now we need to do find all on the table not the soup because now we were looking at all of them oh what a rookie mistake okay uh let’s go back now let’s look at this now it’s just down to headquarters okay okay let’s go ahead and run this let’s run this now we just have headquarters now let’s run this now we are sitting pretty okay excuse my mistakes Hey listen you know if it happens to me it happens to you I promise you this is you know this is a project this a little U little project we’re creating here so we’re going to run into issues and that’s okay we’re figuring out as we go now what I want to do before we start pulling in all the data is I want to put this into our Panda data frame we’ll have the uh you know headers there for us to go so we won’t have to get that later and it just makes it easier uh in general trust me so we’re going to import pandas as PD let’s go ahead and run this and now we’re going to create our data frame so we’ll say PD dot now we have these world uh t titles so what we’re going to do is pd. data frame and then in here for our columns we’ll say that’s equal to the world table titles and let’s just go ahead and say that’s our data frame and call our data frame right here let’s run it there we go so we were able to pull out and extract those headers and those titles of these columns we’re able to put it into our data frame so we’re set up and we’re ready to go we’re rocking and rolling the next thing we need let’s go back up next thing we need is to start pulling in this data right here so we have to see how we can pull this data in now if you remember that we had those th tags those were our titles as you can see I’m highlighting over it but down here now we have these TD tags and those are all encapsulated within a TR tag so these TR represent the rows right then the D represents the data within those rows so R for rows D for data so let’s see how we can use that in order to get the information that we want so let’s go back up here just going to take this cuz again we’re only pulling from table not soup not soup what were we thinking um and let’s go ahead and let’s look at TR let’s run this now when we’re doing this TR these do come in with the headers so we’re going to have to later on we’re going to have to get rid of these we don’t want to pull those in um and have that as part of our data but if we scroll down there’s our Walmart um we have the location these are all with these TD tags and then of course it’s separated by a comma then we have our td2 so above we had our td1 so Row one row two Row three all the way down now we will easily be able to use this right because this is our column data and we can even call it that column underscore data is equal to we’ll run that um and what we’re going to do is we’re going to Loop through that cuz it was all in a list so we’re going to Loop through that information but instead of looking at the TR tag we’re going to look at the T D tag so let’s come right down here we’ll say for the row in column row and we’ll do a colon now we need to Loop through this we’ll do something like row. findor all and then what are we looking for we’re not looking for the TR looking for the TD and just for now let’s print this off see what this looks like apparently I didn’t run this uh column data that’s why and let’s run this and what we actually need to do is something almost exactly like this and I’m going to put it right below it um instead of printing this off because again this is all in a list we’re using find all so we’re we’re printing off another list which isn’t actually super helpful um for each of or all these data that we’re pulling in what we can do is we can call this uh the rowcor data and then we’ll put the row data in here so we’ll say four and we’ll say in row data so we’ll just say for the data in row data and we’ll take the data we’ll exchange that and now instead of uh World Table titles we can change this into uh individual row data right and now let’s print off the individual row data so it’s the exact same process that we were doing up here and that’s how we cleaned it up and got this and we may not need to strip but let’s just run this and see what we get there we go um and strip I’m sure was helpful let’s actually get rid of this yeah strip was helpful it’s the exact same thing that happened on the last one so let’s keep that actually let’s run this and now let’s just kind of glance glance at this information let’s look through it this looks exactly like the information that’s in the table let’s just confirm with this first one uh 25 uh two what am I saying 572 754 2.4 2300 57275 2.4 2200 so this looks exactly correct now we have to figure out a way to get this into our table because again these are all individual lists it’s not like we’re just you know putting all of this in at one time we can’t just take the entire table and plop it into um into the data frame we need a way to kind of put this in one at a time now if you’re just here for web scraping and you haven’t taken like my panda series that’s totally fine that’s not what we’re here for anyways um but what we can do we’ll have our individual row data and we’re going to put it in kind of one at a time now the reason we have to do that is because when we had it like this and let’s go back when we had it like this it’s printing out all of it but what it’s really doing and let’s get rid of it um what it’s really doing is it’s kind of doing it like this it’s printing it off one at a time and it’s only going to save that current row of data this last one it’s only going to save that as it’s looping through so what we actually want to do is every time it Loops through we append this information onto the data frame so as it goes through and eventually it’s going to end up with this one but as it goes through let’s run this as it goes through it puts this one in and then the next time it Loops through it puts this one in and the next time it Loops through Etc all the way down um so let’s see how we can do this so we have our data frame right here let’s get rid of this let’s bring our data frame in now again like I just mentioned if you don’t know pandas and you haven’t learned that uh you know go take my uh series on that it’s really good and we do something very similar to this in that Series so I’m not going to kind of walk through the entire logic um but there is something called l which stands for location when you’re looking at the index on a data frame and we’re going to use that to our advantage so we’re going to say the length of the data frame so we’re looking at how many rows are in this data frame and then we’re going to say that’s our length then we’re going to take that length and use it when we’re actually putting in this new information pretty um pretty cool so we’re going to say df.loc then a bracket and we’re putting in that length so we’re checking the length of our data frame each time it’s looping through and then we’re going to put the information in the next position that’s exactly what we’re doing let’s go ahead and put in the individual row data um so let’s just recap We’re looping through this TR this is our column data so these TR that’s our row of data then we’re as as We’re looping through it we’re doing find all and looking for TD tags that’s our individual data so that’s our row data then we’re taking that that data each piece of data and we’re getting out the text and we’re stripping it to kind of clean it and now it’s in a list for each individual row then we’re looking at our current data frame which has nothing in it right now we’re looking at the length of it and we’re appending each row of this information into the next position so let’s go ahead and run this it’s working it’s thinking and it looks like we got an issue and not set a row with mismatched columns now we’re encountering an issue not one that I got earlier but we’re going to cancel this out we’re going to figure this out together so let’s print off our individual row data let’s look at this this one is empty uh this is I’m almost certain is probably the issue um I didn’t encounter this issue when I wrote these uh when I wrote this lesson um but I’m almost certain that this is the issue right here so let’s do the column data but let’s start at position um let’s try one and not parentheses I need brackets because this is a list right so it should work and there we go so now that first one’s gone so now we just have the information I didn’t even think about that um just a second ago but I’m glad we’re running into it in case you ran into that uh issue let’s go ahead and try this again and it looked like it worked so let’s pull our data frame down I could have just wrote DF let’s pull our data frame down and now this is looking fantastic fantastic now um these three dots just mean there’s information in there just doesn’t want to display it but it looks like we have our rank we have our name have the industry revenue revenue growth employees and headquarters for every single one so this is perfect now this is exactly what I was hoping to get now you can go in and use pandas and manipulate this and change it and you know dive into all the information in there but we can also export this into a CSV if that’s what you’re wanting so we could easily do that by saying we’ll do DF do2 CSV and then within here we’re just going to do R and specify our file path so let’s come down here to our file path then we’ll go to our folder for our output so we’re just going to take this path and let me do it like that so I have this path in my one drive documents python web scraping folder for output so you know I already made this um and I’m just going to put this right down here now I do have to specify what we’re going to call this um we’ll just call this companies and then we have to say CSV that is very important now if we run this I already know just because uh we have this Rank and this index here we’re going to keep this index in the output not great uh but let’s run it let’s look at our output there’s our companies and when we pull this up as you can see this is not what we want because we have this extra thing right here now if we’re automating this this would get super annoying so what we’re going to do is go back and just say index equals false let’s go out of here and now we’re just going to come right down here we’re going to say comma index equals false and so it’s going to take this index and it’s not going to import or actually export it into the CSV now let’s go ahead and run this let’s pull up our folder one more time and let’s refresh just to make sure should be good and now this looks a lot better so we’re able to take all of that information and put it into a CSV and it’s all there so this is the whole project so if we scroll all the way back up let’s just kind of glance at what we did here scroll down we brought in our libraries and packages we specified our URL we brought in our soup um and then we tried to find our table now that took a little bit of uh testing out but we knew that the table was the second one so in position one so we took that table we were also able to specify it using find but then we use the class and of course we just wanted to work with that table that’s all the data we wanted so we specified this is our table and we worked with just our table going forward of course uh we encountered some small issues user errors on my end but we were able to get our world titles and we put those into our data frame right here using pandas then next we went back and we got all the row data and the individual data from those rows and we put it into our Panda’s data frame then we came below and we exported this into an actual CSV file so that is how we can use web scraping to get data from something like a table and put it into a panda’s data frame I hope that this lesson was helpful I know we encountered some issues that’s on my end and I apologize but if you run into those same issues hopefully that helped uh but I hope this was helpful and if you like this be sure to like And subscribe below I appreciate you I love you and I will see you in the next lesson [Music]

    By Amjad Izhar
    Contact: amjad.izhar@gmail.com
    https://amjadizhar.blog

  • Microsoft’s Majorana 1: A Quantum Computing Leap with Topological Qubits

    Microsoft’s Majorana 1: A Quantum Computing Leap with Topological Qubits

    Microsoft has announced the creation of Majorana 1, a quantum chip powered by Topological Core architecture. This novel design utilizes topoconductors to observe and control Majorana particles for more reliable qubits. The new architecture aims for a million qubits on a single chip, enabling solutions to complex industrial and societal problems. Microsoft’s approach focuses on practical applications, leading to inclusion in DARPA’s US2QC program for utility-scale quantum computing. A Nature paper validates their creation and precise measurement of topological qubits, integrating qubits and control electronics into a compact chip for Azure data centers. This advancement marks a significant step toward scalable and commercially viable quantum computing, potentially revolutionizing fields like materials science and pharmaceuticals.

    Microsoft’s Majorana 1: A Quantum Computing Leap – Study Guide

    I. Study Guide Topics:

    1. Quantum Computing Fundamentals: Review the basic principles of quantum computing, including qubits, superposition, and entanglement.
    2. Topological Qubits: Understand the concept of topological qubits and their advantages over traditional qubits.
    3. Majorana Particles: Define Majorana particles and their role in Microsoft’s quantum computing approach.
    4. Topoconductors/Topological Superconductors: Understand what a topoconductor is and how it enables the observation and control of Majorana particles.
    5. Microsoft’s Topological Core Architecture: Understand the key features of Microsoft’s quantum chip architecture and its scalability.
    6. Error Correction and Stability: Grasp the importance of error correction in quantum computing and how Microsoft’s design aims to address it.
    7. Applications of Quantum Computing: Understand the potential applications of quantum computing in various industries.
    8. Azure Quantum Platform: Learn about Microsoft’s Azure Quantum platform and its role in advancing scientific discovery.
    9. Scalability and the Million-Qubit Threshold: Understand why scaling to a million qubits is crucial for practical quantum computing.
    10. Microsoft’s Approach: Understand how Microsoft’s approach has focused on commercial impact rather than theoretical advancement.

    II. Short-Answer Quiz:

    1. What is the significance of Microsoft’s Majorana 1 chip in the field of quantum computing?
    2. What are topological qubits, and how do they differ from traditional qubits?
    3. What is a topoconductor, and what role does it play in the creation of Majorana particles?
    4. Why is error correction a critical issue in quantum computing, and how does Microsoft address it in its design?
    5. Name three potential applications of quantum computing mentioned in the article.
    6. What is the purpose of Microsoft’s Azure Quantum platform?
    7. Why is achieving a million qubits considered a crucial threshold for quantum computers?
    8. How does Microsoft’s approach to quantum computing differ from some other approaches in the industry?
    9. What material is Microsoft using to create topological qubits?
    10. What is DARPA’s US2QC program and what role does Microsoft play?

    Answer Key:

    1. Majorana 1 is the first quantum chip powered by Microsoft’s Topological Core architecture, promising more reliable and scalable qubits, potentially solving industrial-scale problems in years, not decades.
    2. Topological qubits are more stable and require less error correction than traditional qubits because they encode information in the topology of the system, making them more resistant to local disturbances.
    3. A topoconductor, or topological superconductor, creates a new state of matter enabling a more stable, fast, and digitally controlled qubit without the limitations of current approaches.
    4. Quantum systems are highly susceptible to errors due to environmental noise; Microsoft’s Topological Core aims to incorporate error resistance at the hardware level for greater stability.
    5. Potential applications include breaking down microplastics, creating self-healing materials, and designing materials with unprecedented efficiency.
    6. Azure Quantum integrates AI, high-performance computing, and quantum systems to help customers advance scientific discovery.
    7. A million qubits is a critical threshold because it is believed to be the point at which quantum computers can tackle complex industrial and societal challenges that classical computers cannot solve.
    8. Microsoft’s approach focuses on practical application and commercial impact from the start, rather than focusing primarily on theoretical advancements.
    9. Microsoft has developed a new materials stack made of indium arsenide and aluminum to create topological qubits.
    10. The US2QC program aims to develop the industry’s first utility-scale fault-tolerant quantum computer, and Microsoft is one of two companies invited to the final phase of the initiative.

    III. Essay Questions:

    1. Discuss the potential impact of Microsoft’s Majorana 1 chip on the future of quantum computing. What are the key innovations, and how might they address existing challenges in the field?
    2. Compare and contrast the advantages and disadvantages of topological qubits versus traditional qubits. In what scenarios might each type of qubit be more suitable?
    3. Explain the role of Majorana particles in Microsoft’s quantum computing approach. Why are these particles considered crucial, and what challenges did Microsoft overcome in creating and measuring them?
    4. Describe the potential applications of quantum computing across different industries. Choose three specific examples and explain how quantum computers could revolutionize these fields.
    5. Evaluate Microsoft’s overall strategy in the quantum computing space. How does their focus on scalability and commercial applications position them in the competitive landscape?

    IV. Glossary of Key Terms:

    • Qubit: The fundamental unit of information in quantum computing, analogous to a bit in classical computing. A qubit can exist in a superposition of states (0 and 1 simultaneously).
    • Superposition: A quantum mechanical principle where a quantum system can exist in multiple states at the same time until measured.
    • Entanglement: A quantum mechanical phenomenon where two or more qubits become linked, and the state of one qubit instantly affects the state of the others, regardless of the distance between them.
    • Topological Qubit: A type of qubit that encodes information in the topology of the system, making it more resistant to local disturbances and errors.
    • Majorana Particle: A particle that is its own antiparticle. In the context of quantum computing, they are used in topological qubits to provide greater stability.
    • Topoconductor (Topological Superconductor): A new state of matter that exhibits topological properties, enabling the development of more stable qubits.
    • Quantum Computing: A type of computing that uses quantum mechanical phenomena like superposition and entanglement to perform calculations.
    • Error Correction: Techniques used to mitigate the effects of errors and noise in quantum computations, crucial for achieving reliable results.
    • Scalability: The ability to increase the size and complexity of a quantum computer without significantly increasing error rates, a key challenge in quantum computing.
    • Azure Quantum: Microsoft’s cloud-based platform that provides access to quantum computing hardware, software, and services.

    Briefing Document: Microsoft’s Majorana 1 Quantum Computing Leap

    Date: October 12, 2024 (based on assumption of current date from lack of date provided in source)

    Subject: Review of Microsoft’s Majorana 1 Quantum Chip Announcement

    Source: Excerpts from “Microsoft unveils Majorana 1 in quantum computing leap” (IT Brief Australia)

    Executive Summary: Microsoft has announced Majorana 1, a quantum chip powered by a new Topological Core architecture, which it claims is a significant leap toward achieving fault-tolerant, utility-scale quantum computing. The innovation centers around the use of topological qubits based on Majorana particles, offering increased stability and scalability compared to traditional qubit technologies. This development puts Microsoft on a path to creating quantum computers with a million qubits, which the company argues is a necessary threshold to tackle complex industrial and societal problems.

    Key Themes and Ideas:

    1. Topological Qubits and Majorana Particles: The core of Microsoft’s innovation lies in the use of topological qubits derived from Majorana particles. These particles, generated using a custom-built “materials stack made of indium arsenide and aluminium,” offer inherent stability. The benefit, as stated by Chetan Nayak, is, “It’s one thing to discover a new state of matter. It’s another to take advantage of it to rethink quantum computing at scale.” This approach addresses a fundamental limitation of existing qubit technologies, which are prone to errors and require extensive error correction.
    2. Scalability to One Million Qubits: Microsoft emphasizes the importance of achieving a quantum computer with a million qubits for solving real-world problems. Chetan Nayak states, “Whatever you’re doing in the quantum space needs to have a path to a million qubits. If it doesn’t, you’re going to hit a wall before you get to the scale at which you can solve the really important problems that motivate us.” The Topological Core architecture is designed with this scalability in mind, offering a “clear path” to reaching this critical threshold.
    3. Industrial and Societal Impact: The article highlights the potential applications of million-qubit quantum computers in various fields. Examples include:
    • Breaking down microplastics into harmless byproducts.
    • Creating self-healing materials for construction, manufacturing, and healthcare.
    • Designing new materials, pharmaceuticals, and industrial products with unprecedented efficiency. According to Matthias Troyer, “Any company that makes anything could just design it perfectly the first time out. It would just give you the answer.”
    1. Digital Measurement and Simplified Control: Microsoft’s approach includes a new digital measurement method that simplifies qubit control. This is crucial for managing the complexity of a million-qubit system. Current analogue-based methods are deemed impractical for handling trillions of operations across a million qubits, so this digital approach is a crucial innovation in the architecture.
    2. Focus on Practical Application: Unlike some other quantum computing efforts, Microsoft emphasizes a focus on practical application and commercial impact. Matthias Troyer states, “From the start, we wanted to make a quantum computer for commercial impact, not just thought leadership.” This focus is evident in their long-term pursuit of topological qubits and their participation in DARPA’s US2QC program, which aims to develop utility-scale fault-tolerant quantum computers.
    3. Integration with Azure Quantum: Microsoft’s Azure Quantum platform integrates AI, high-performance computing, and quantum systems to enable customers to advance scientific discovery. The Majorana 1 chip is designed to fit inside Microsoft’s Azure datacenters, underscoring their strategy of offering quantum computing as a cloud-based service.
    4. Breakthrough Confirmed in Nature Paper: A paper published in Nature validates Microsoft’s claims by confirming the creation and measurement of the quantum properties of topological qubits using microwaves. This independent verification strengthens the credibility of Microsoft’s announcement. This precision allows the detection of differences of “as small as a single electron among a billion”.
    5. Error Resistance at the Hardware Level: The Topological Core powering Majorana 1 is designed for reliability, incorporating error resistance at the hardware level. This intrinsic error resistance is critical for achieving fault tolerance and scaling up to a million qubits.

    Key Facts:

    • Majorana 1 is the first quantum chip powered by Microsoft’s Topological Core architecture.
    • The chip utilizes a topoconductor to enable the observation and control of Majorana particles.
    • Microsoft claims the architecture offers a path to fitting a million qubits on a single chip.
    • The company is participating in DARPA’s US2QC program to develop a utility-scale fault-tolerant quantum computer.
    • A paper in Nature confirms the creation and measurement of Majorana particles by Microsoft researchers.
    • Majorana 1 integrates both qubits and control electronics into a single chip designed for Azure datacenters.

    Implications:

    If Microsoft’s claims hold true, the Majorana 1 chip represents a major step towards achieving practical, utility-scale quantum computing. The focus on topological qubits, combined with their emphasis on scalability and industrial applications, positions Microsoft as a significant player in the quantum computing landscape. This breakthrough could accelerate innovation in various industries, leading to the development of new materials, pharmaceuticals, and solutions to complex societal challenges.

    Further Research:

    • Review the published paper in Nature for a more detailed technical understanding of Microsoft’s breakthrough.
    • Investigate the specific goals and timelines of DARPA’s US2QC program.
    • Monitor the progress of Microsoft’s partnerships with Quantinuum and Atom Computing.

    Microsoft’s Majorana 1 Chip: Topological Qubits and Quantum Computing

    What is Majorana 1 and why is it significant?

    Majorana 1 is Microsoft’s first quantum chip built using its Topological Core architecture. It is significant because it utilizes a novel material called a topoconductor to enable the observation and control of Majorana particles. This allows for the creation of more stable and scalable qubits, which Microsoft believes is crucial for developing quantum computers capable of solving complex, industrial-scale problems.

    What are topological qubits and how do they differ from traditional qubits?

    Topological qubits, unlike traditional qubits, are inherently more stable and less susceptible to errors due to their topological properties. This stability reduces the need for extensive error correction, making them more scalable. They rely on Majorana particles, which are exotic states of matter that Microsoft has successfully created and measured.

    What is a “topoconductor” (topological superconductor) and what role does it play in Majorana 1?

    A topoconductor (or topological superconductor) is a new state of matter that enables the creation of Majorana particles. In Majorana 1, the topoconductor, made of indium arsenide and aluminium, allows for the development of more stable, fast, and digitally controlled qubits, overcoming limitations of current quantum computing approaches.

    What is the significance of achieving one million qubits on a single chip?

    Reaching one million qubits on a single chip is a critical threshold for quantum computers to tackle complex industrial and societal challenges. This scale allows for the practical application of quantum computing to problems that are currently intractable for classical computers, such as breaking down microplastics, designing self-healing materials, and developing new pharmaceuticals.

    What is Microsoft’s approach to error correction in quantum computing?

    Microsoft’s approach prioritizes error resistance at the hardware level through its Topological Core architecture. By using topological qubits based on Majorana particles, the system is designed to be inherently more stable, reducing the need for extensive and complex error correction methods required by other qubit technologies.

    What are some potential applications of quantum computers with a million qubits?

    Quantum computers with a million qubits could revolutionize various industries. Some potential applications include: designing new materials with specific properties (like self-healing materials), developing catalysts for breaking down pollutants, creating new pharmaceuticals and optimizing drug design, and improving efficiency in industries such as manufacturing and construction.

    How is Microsoft’s approach to quantum computing different from other companies?

    Microsoft’s approach, from the beginning, has been focused on practical application and commercial impact rather than just theoretical advancement. They chose to pursue topological qubits due to their inherent stability and scalability, and have developed a comprehensive system, including hardware, software (Azure Quantum), and partnerships, to advance quantum computing towards real-world problem-solving.

    How does Microsoft plan to integrate its quantum computing efforts with its existing Azure cloud platform?

    Microsoft plans to integrate its quantum computing capabilities into its Azure Quantum platform. This allows customers to access quantum hardware, quantum algorithms, and high-performance computing resources within the Azure cloud environment. Azure Quantum combines AI, high-performance computing, and quantum systems to enable customers to advance scientific discovery and solve complex problems.

    Microsoft’s Majorana 1 Quantum Chip: Topological Core Architecture

    The Majorana 1 chip is Microsoft’s first quantum chip, which is powered by its new Topological Core architecture. This chip aims to enable quantum computers to solve industrial-scale problems.

    Key aspects of the Majorana 1 chip:

    • Topological Core: The chip utilizes a novel material called a topoconductor, enabling the observation and control of Majorana particles, leading to more reliable and scalable qubits. Microsoft designed and fabricated much of the material, atom by atom, using indium arsenide and aluminium.
    • Scalability: The architecture has a path to fitting a million qubits on a single chip. This is viewed as a crucial threshold for quantum computers to tackle complex industrial and societal challenges.
    • Stability: The Topological Core incorporates error resistance at the hardware level for greater stability. Topological qubits offer greater stability and require less error correction, making them more scalable.
    • Digital Measurement: Microsoft’s new digital measurement approach allows for simplified qubit control, which redefines how quantum computing functions. The Nature paper confirms that Microsoft has not only succeeded in creating Majorana particles but also developed a precise measurement method using microwaves. This allows Microsoft’s quantum systems to measure qubits with extreme accuracy.
    • Integration: Majorana 1 integrates both qubits and control electronics into a single compact chip that can fit inside Microsoft’s Azure datacentres.

    Microsoft’s long-term approach to quantum computing focuses on practical application. The company aims to develop the industry’s first utility-scale fault-tolerant quantum computer. Microsoft envisions that quantum computers could solve complex problems in various industries, such as designing self-healing materials or developing catalysts for breaking down pollutants.

    Microsoft’s Majorana 1 Chip: Topological Qubit Quantum Computing

    Topological qubits are a key component of Microsoft’s approach to quantum computing, particularly within the Majorana 1 chip. Microsoft decided to pursue topological qubits nearly two decades ago because, unlike traditional qubits, topological qubits offer greater stability and require less error correction, making them more scalable.

    Key points about topological qubits:

    • Topoconductor Material: The Majorana 1 chip leverages a novel material known as a topoconductor (or topological superconductor), which creates a new state of matter that is neither a solid, liquid nor gas but instead exists in a topological state. This material allows for the observation and control of Majorana particles.
    • Majorana Particles: Creating the exotic Majorana particles needed for topological qubits is challenging because they do not exist in nature and must be generated under specific conditions. Microsoft has succeeded in creating Majorana particles.
    • Stability and Error Correction: Topological qubits are reliable by design, incorporating error resistance at the hardware level for greater stability. They also require less error correction compared to traditional qubits, which enhances their scalability.
    • Digital Measurement: Microsoft has developed a precise measurement method using microwaves, confirmed in a Nature paper, that allows their quantum systems to measure qubits with extreme accuracy.
    • Scalability: The new chip architecture offers a clear path to fitting a million qubits on a single chip, which is a crucial threshold for tackling complex industrial and societal challenges.
    • Fabrication: Microsoft designed and fabricated much of the material for the topological qubits, atom by atom, using indium arsenide and aluminium.

    Microsoft’s Topological Quantum Computing Innovation

    Microsoft’s innovation in quantum computing is characterized by its focus on practical application, scalability, and stability, particularly through its development and use of topological qubits. This approach is exemplified by the Majorana 1 chip, which is powered by a new Topological Core architecture.

    Key areas of Microsoft’s innovation:

    • Topological Core Architecture: This architecture is at the heart of Microsoft’s quantum computing innovation. It utilizes a novel material called a topoconductor to enable the observation and control of Majorana particles, leading to more reliable and scalable qubits. This is a departure from traditional methods and is seen as a “transistor for the quantum age”.
    • Topological Qubits: Microsoft’s decision to pursue topological qubits nearly two decades ago reflects a long-term vision for creating more stable and scalable quantum computers. Unlike traditional qubits, topological qubits offer greater stability and require less error correction.
    • Materials Science: Microsoft has innovated in materials science by designing and fabricating much of the material for topological qubits, atom by atom, using indium arsenide and aluminum. The creation of Majorana particles, which do not exist in nature and must be generated under specific conditions, is a significant achievement.
    • Scalability: Microsoft is focused on achieving the scale needed to solve complex industrial and societal challenges. The new chip architecture offers a clear path to fitting a million qubits on a single chip, a crucial threshold for practical quantum computing.
    • Digital Measurement: Microsoft has developed a precise measurement method using microwaves to measure qubits with extreme accuracy. This new digital measurement approach simplifies qubit control, redefining how quantum computing functions.
    • Practical Application: Microsoft’s approach is driven by the goal of creating a quantum computer for commercial impact rather than just theoretical advancement. This is demonstrated by its inclusion in DARPA’s US2QC program, which aims to develop the industry’s first utility-scale fault-tolerant quantum computer.
    • Integration: Majorana 1 integrates both qubits and control electronics into a single compact chip that can fit inside Microsoft’s Azure datacenters. This ensures a more practical and scalable solution compared to alternative qubit technologies that require large-scale infrastructure.

    Microsoft envisions quantum computers that can solve complex problems in diverse fields, including designing self-healing materials, developing catalysts for breaking down pollutants, and creating advanced materials and pharmaceuticals. The company believes that quantum computers could even teach AI the “language of nature” to design materials perfectly.

    Microsoft: Million-Qubit Quantum Computing and Majorana 1 Chip

    The achievement of one million qubits on a single chip is a crucial milestone for quantum computing, particularly emphasized by Microsoft in the context of its Majorana 1 chip and broader quantum computing efforts. Microsoft believes that reaching this threshold is essential for quantum computers to effectively tackle complex industrial and societal challenges.

    Key points regarding the million-qubit milestone:

    • Threshold for Complex Problem-Solving: Microsoft states that a quantum system capable of handling a million qubits and performing trillions of reliable operations is necessary to address the “really important problems” that motivate their work.
    • Scalability: The architecture of the Majorana 1 chip offers a clear path to fitting a million qubits on a single chip. This scalability is a primary focus of Microsoft’s quantum computing strategy.
    • Practical Applications: Reaching a million qubits would enable quantum computers to mathematically model nature with extreme precision, potentially solving complex problems in chemistry, materials science, and other industries that classical computers cannot.
    • Impact on Industries: Microsoft envisions that with a million qubits, quantum computers could revolutionize various sectors. This includes designing self-healing materials for construction, manufacturing, and healthcare, as well as developing catalysts for breaking down pollutants.
    • AI Integration: Microsoft anticipates that quantum computers with this level of capability could teach AI the “language of nature,” allowing AI to provide recipes for creating desired materials and products perfectly.
    • Utility-Scale Computing: Microsoft’s participation in DARPA’s US2QC program reflects the aim to develop utility-scale, fault-tolerant quantum computers, which necessitates achieving a million qubits.
    • Commercial Viability: Microsoft’s focus from the start has been on creating quantum computers with commercial impact, which requires scaling to a million qubits to solve commercially relevant problems.

    By Amjad Izhar
    Contact: amjad.izhar@gmail.com
    https://amjadizhar.blog

  • Mastering Microsoft OneNote: A Comprehensive Guide

    Mastering Microsoft OneNote: A Comprehensive Guide

    The text provides instructions on how to use Microsoft OneNote effectively. It covers topics such as navigating the OneNote interface, creating and managing notebooks, sections, and pages, and adding various types of content like text, images, links, and recordings. The text also demonstrates formatting options and organizational features, including tables, tags, and spell-checking. Additionally, it compares features across the desktop and Windows 10 versions of OneNote. The guide focuses on enhancing note-taking efficiency and usability through practical tips and step-by-step instructions.

    OneNote for Microsoft 365 Study Guide

    Quiz

    1. What is the primary purpose of OneNote for Microsoft 365, according to Deb? Deb describes OneNote as a digital note-taking application designed to rethink how users approach the task of taking notes. It’s intended to help organize and gather information from multiple sources.
    2. What assumptions does Deb make about the users of this OneNote course? She assumes users have some familiarity with Microsoft applications, the ribbon layout, and the standard user interface common to these applications. She will not be covering any Microsoft basics.
    3. Where are the commands for inserting tables, file printouts, and pictures located within the OneNote interface? These commands are found within the “Insert” ribbon.
    4. If using a touch device with a stylus, which ribbon tab in OneNote would be most relevant for handwriting notes or making annotations? The “Draw” tab is the most relevant because it provides tools for drawing, handwriting notes, and inserting shapes.
    5. Explain the purpose of the “History” tab in OneNote, particularly in the context of collaborative notebooks. The “History” tab is useful when multiple people are collaborating on a notebook, allowing users to see changes made by different authors and track different versions of a page.
    6. How does saving a OneNote notebook to a local drive affect its shareability with other users? Saving a notebook to a local drive (like the desktop) makes it non-shareable, whereas saving it to a network drive or OneDrive makes it shareable.
    7. How does the process of saving changes to a notebook in OneNote differ from the process in other Microsoft applications, like Word or Excel? OneNote automatically saves and synchronizes changes, so there’s no need to manually save or press Ctrl+S.
    8. When modifying notebook properties, what aspects of a notebook can be changed? You can change the display name, color, and location of the notebook. You can also determine the default format.
    9. What is the procedure for deleting a notebook stored in OneDrive, and why is it not as straightforward as one might expect? To delete a notebook stored in OneDrive, you must navigate to the folder in OneDrive where the notebook is saved and delete it from there, because there is no delete option from within OneNote. It’s not straightforward because users often assume there’s a “delete” option in OneNote itself.
    10. What considerations should be taken into account when using images from the internet in OneNote notebooks, particularly regarding copyright? It’s essential to check the licensing of images and ensure they have a Creative Commons license suitable for the intended use (commercial vs. non-commercial). You must delve further as to whether you can use the image as a lot of people make the mistake when it comes to copyright.

    Essay Questions

    1. Discuss the advantages and disadvantages of using OneNote for Microsoft 365 as a collaborative tool for team projects, referencing specific features mentioned in the source material.
    2. Explain the importance of understanding the file storage location of OneNote notebooks (OneDrive vs. local storage) and how it impacts sharing and accessibility.
    3. Compare and contrast the OneNote for Microsoft 365 desktop application with the OneNote for Windows 10 version, focusing on interface differences and feature availability as described by Deb.
    4. Describe how OneNote’s organizational structure (notebooks, sections, pages, subpages, and section groups) facilitates effective note-taking and information management, providing examples of how each element can be used.
    5. Analyze how different formatting options (font styles, tables, tags, etc.) contribute to the clarity, readability, and overall effectiveness of notes in OneNote, and how these can be tailored to different note-taking purposes.

    Glossary of Key Terms

    • Notebook: The highest level of organization in OneNote; analogous to a physical notebook or binder.
    • Section: A division within a notebook used to further organize notes; similar to tabs in a physical binder.
    • Page: A single sheet within a section where notes are placed; the primary canvas for note-taking.
    • Subpage: A nested page within a page, used to create hierarchies and further organize content.
    • Section Group: A container that holds multiple sections; useful for grouping related sections together.
    • Ribbon: The user interface element at the top of the OneNote window that contains various commands and tools, organized into tabs.
    • Tag: A marker or label that can be applied to notes for categorization, prioritization, or tracking; can be customized.
    • Placeholder: A container for text or other content that can be moved and resized on a OneNote page.
    • Format Painter: A tool that copies formatting from one area of a document and applies it to another.
    • File Printout: An inserted image of a document or file, displaying its content within a OneNote page.
    • Clip to OneNote: A tool for capturing web content and inserting it into OneNote.
    • OneDrive: Microsoft’s cloud storage service, used for saving and synchronizing OneNote notebooks for accessibility and sharing.
    • To-Do Tag: A specific tag used to create checklists, allowing items to be marked as completed.
    • Ink Equation: Inserts mathematical equations using your handwriting.
    • Creative Commons License: A license to allow the free distribution of an otherwise copyrighted work.

    OneNote for Microsoft 365 Training Course: A Comprehensive Guide

    Okay, here’s a briefing document summarizing the key themes and ideas from the provided text excerpts:

    Briefing Document: OneNote for Microsoft 365 Training Course

    Overview:

    This document summarizes a training course on OneNote for Microsoft 365. The course aims to provide a comprehensive guide to the application, focusing on note-taking, organization, collaboration, and content integration. The target audience is assumed to have basic familiarity with Microsoft applications (Word, Excel, PowerPoint).

    Key Themes and Ideas:

    1. Course Scope and Structure:
    • The course covers a complete guide to the latest version of OneNote for Microsoft 365.
    • It’s divided into 13 logically arranged sections, corresponding to a natural workflow.
    • While the primary focus is the desktop application, mobile and online versions will receive a high-level overview.
    • The course will cover “how to get started with onenote how to gather information from different sources how to insert different types of media files how to organize that information logically so it’s easier to read and find I’m going to show you how you can collaborate with others on team notebooks.”
    1. User Interface and Navigation:
    • The course assumes familiarity with the Microsoft Office ribbon interface.
    • Key interface elements discussed include:
    • File Ribbon: Used for creating new notebooks, opening existing ones, saving/exporting, and managing account settings.
    • Home Ribbon: Contains basic text formatting options (font, size, bold, italics, bullets, numbering, highlighting).
    • Insert Ribbon: Used for adding various types of content: tables, files, printouts, attachments, pictures (local/online), screen clippings, audio/video recordings, and page templates.
    • “The insert tab you come to whenever you want to insert something into your notebook”
    • Draw Ribbon: Primarily useful for stylus users to draw, annotate, and handwrite notes.
    • History Ribbon: Crucial for collaborative notebooks, allowing users to track changes by author and view different versions of pages.
    • “the history tab really comes into play if you want to essentially see changes that have been made to a notebook by author if you want to find specific changes or even if you want to see different versions of your page”
    • Review Ribbon: Standard review tools, including spell check, thesaurus, accessibility checker, and language settings.
    • View Ribbon: Options for page appearance, including rule lines, zoom levels, and window management.
    • “Moving across we have our review tab and this is pretty much what you would expect to find on any review tab in your microsoft applications this is where you would come to spell check use the thesaurus check your accessibility change things like language”
    1. Notebook Creation and Management:
    • Notebooks can be saved to OneDrive (for sharing and automatic syncing) or locally.
    • “If you want to share your notebook with other people then your notebook must be saved to location that’s shareable”
    • Saving to a shareable location (like OneDrive) enables collaboration features.
    • OneNote automatically saves and synchronizes changes, especially when stored in the cloud.
    • “onenote notebooks automatically save so you don’t have to worry about going into file and save you don’t have to press ctrl s as you’re working everything automatically saves and synchronizes”
    • Notebook properties can be modified (display name, color, location).
    • “if you want to change the display name of your notebook so maybe I want to change this to project alpha project beta something else I can come in here and I can edit the display name”
    • Notebooks can be closed (removed from the list of open notebooks) without being deleted.
    • “you haven’t deleted your notebook it hasn’t disappeared you have literally just closed it down”
    • Deleting notebooks requires understanding where they are stored (OneDrive or locally). Deleting a notebook stored on OneDrive requires deleting it through the OneDrive interface.
    • “you need to jump into your onedrive account find the folder that contains your onenote notebooks and then delete your notebook through onedrive.com”
    1. Notebook Structure: Sections and Pages:
    • Notebooks are organized into sections (tabs) and pages.
    • Sections act as dividers within a notebook. Pages are contained within sections.
    • Sections can be renamed, reordered, color-coded, and deleted.
    • Section groups are used to further organize sections, especially in notebooks with lots of information.
    • “a way of grouping different sections together”
    • Pages can be added, renamed, moved, and made into subpages.
    • “Adding pages in itself is a very simple and straightforward process but what you might not know is that you can also add sub pages”
    1. Adding and Formatting Content:
    • Text notes can be typed directly onto pages within placeholders, and multiple placeholders can exist on a single page.
    • “don’t think that you’re limited to just always typing in one placeholder you can have multiple going on on the same page”
    • Text formatting options (font, size, bold, italics, underline, color, highlighting, alignment, etc.) are available on the Home tab and a mini toolbar.
    • Styles can be used to ensure consistency in headings and other elements.
    • The Format Painter tool copies formatting from one piece of text to another.
    • “format painter is a great tool if you just want to copy formatting from one piece of text to another it can save you a lot of time”
    • Web content can be clipped and inserted into OneNote pages using the OneNote Clipper browser extension.
    • “clip this information and send it directly to a page in onenote”
    • Images (local and online), audio recordings, and video recordings can be inserted.
    • “You can also insert pictures whether they be saved on your local drives or located online you can add screen clippings or screenshots directly into your notebook and you can also do cool things like record audio and video from directly within your onenote notebook”
    • Files can be attached to pages or inserted as printouts (images of the file’s content).
    • “This is more like adding a file attachment like you would in an outlook email or something along those lines”
    • Links to websites, files, and other sections within the notebook can be added.
    • “create a link to web pages files or other places in your notes”
    • Mathematical equations and symbols can be inserted using the equation editor.
    • “onenote provides an equation editor to assist you with this”
    • Content can be copied and pasted from other documents, with options for preserving source formatting or using the destination formatting.
    1. Organizing Information:
    • Tables can be inserted to organize text and data (though with limited formatting options compared to Word or Excel). Tables can be converted to Excel Spreadsheets.
    • “it allows you to select a file that you have stored in onedrive or locally and that could be any kind of file it might be a word document an excel spreadsheet powerpoint pdf anything like that and it’s going to print the contents of that file into wherever you’re clicked”
    • Tags (like “To Do”) can be added to create checklists and categorize information.
    1. OneNote for Windows 10
    • Features many similar features to the Desktop version of OneNote, though there are some changes to the user interface.
    • Custom tags can be created to better manage organization of topics.
    • Spelling is checked as you type.
    • Provides options to insert tables, files, printouts, pictures, online video, as well as things like links and audio meeting details symbols.
    • Formatting can be applied using the formatting painter.
    1. Collaboration:
    • Saving notebooks to OneDrive enables sharing and collaborative editing with team members.
    • “You’ll see as we move through the course you can share your notebook with team members other people and then everybody can jump into the notebook and make changes their own annotations things like that”

    In summary, this OneNote training course offers a detailed guide to using the application effectively for note-taking, organization, and collaboration. It covers a range of features from basic text formatting to advanced content integration and sharing options.

    Microsoft OneNote: Usage, Organization, and FAQs

    OneNote FAQs

    Here’s an 8-question FAQ covering key aspects of using Microsoft OneNote, based on the provided source:

    1. What is Microsoft OneNote, and what are its primary functions?

    OneNote for Microsoft 365 is a digital note-taking application designed to help users rethink the simple task of taking notes. It allows users to gather information from various sources, insert different types of media files, organize information logically for easy reading and finding, and collaborate with others on team notebooks. It’s a comprehensive tool for organizing thoughts, research, and collaborative projects.

    2. What are the key assumptions made before starting a OneNote course?

    A basic familiarity with Microsoft applications (Word, Excel, PowerPoint) is assumed, specifically regarding the ribbon layout and standard user interface common across these applications. The course primarily focuses on the OneNote for Microsoft 365 desktop application, with overviews of the mobile app and online version.

    3. How do you create a new notebook in OneNote, and where should you save it?

    To create a new notebook, go to File > New, select a location (OneDrive or local), give the notebook a name, and click Create. If you intend to share the notebook with others, it must be saved to a shareable location like OneDrive or a network drive, not a local location like your desktop. OneNote notebooks automatically save, so there’s no need to manually save your work.

    4. How do you modify notebook properties, and what properties can be changed?

    To modify notebook properties, right-click the notebook name in the notebook list and select “Properties”. You can change the display name (without affecting the actual folder name), the color of the notebook tab for visual organization, and the location where the notebook is stored. You can also view the default notebook format.

    5. How do you close a notebook in OneNote, and how does this differ from deleting it?

    To close a notebook, right-click the notebook name in the notebook list and select “Close This Notebook.” This removes the notebook from the list of open notebooks but does not delete it. To reopen, go to File > Open and select the notebook.

    6. How do you properly delete a OneNote notebook stored in OneDrive?

    Deleting a notebook stored on OneDrive involves closing the notebook within OneNote, then navigating to the notebook’s location on OneDrive through File Explorer or a web browser. From there, the notebook folder can be deleted. This ensures the notebook and its contents are permanently removed from cloud storage.

    7. What are sections and pages in OneNote, and how can they be used to organize information?

    Sections are like dividers within a notebook, allowing you to group related pages together. Pages contain the actual content (text, images, etc.). Sections appear as tabs at the top of the OneNote window, while pages are listed on the right-hand side. You can create subpages to further organize pages within a section.

    8. How can you add different types of content to OneNote pages?

    OneNote allows you to add various types of content, including text notes, web clippings (using the OneNote Clipper), pictures (from local files or online sources), file printouts, file attachments, audio recordings, and links to websites or other sections within the notebook. You can also insert equations and symbols for mathematical or technical notes.

    OneNote for Microsoft 365: A Comprehensive Guide

    OneNote for Microsoft 365 is a digital note-taking application with many features available. A comprehensive course is available that offers a complete guide to all the features in the latest version of OneNote.

    Versions

    • OneNote for Windows 10 For Windows 10 users, OneNote may come packaged with the operating system. This version has fewer features than the desktop version, but a module at the end of each course section reviews the content in the Windows 10 version. A quick way to check if you’re using the Windows 10 version is to check the title bar at the top, which will say “OneNote for Windows 10”.
    • Online version With a Microsoft 365 subscription, OneNote is accessible through an online portal. This allows users to update and read information and work on the go.
    • Desktop version The full desktop version is available with a Microsoft 365 subscription. This version is feature-rich and the primary focus of the training course.
    • Mobile app A mobile app is available for Windows Phone, Android, and iOS, with a brief overview of the iOS app provided at the end of the course.

    Interface

    • The ribbon tabs are located at the top.
    • The File menu provides access to admin tasks such as creating, opening, printing, and sharing notebooks.
    • The Home ribbon contains frequently used commands, including clipboard functions, text formatting options, styles, tags, and Outlook integration.
    • The Insert ribbon is where users can insert tables, file printouts, attachments, Excel spreadsheets, pictures, screen clippings, audio recordings, video recordings, and page templates.
    • The Draw tab is designed for touch devices with stylus pens, allowing users to draw, make annotations, handwrite notes, and insert shapes.
    • The History tab is useful for collaborative notebooks, allowing users to see changes made by different authors, find specific changes, and view different versions of a page.
    • The Review tab includes tools for spell checking, using the thesaurus, checking accessibility, changing language, and password protecting sections.
    • The View tab allows users to view their notebook in different ways, format the page background, zoom in and out, and modify window display.
    • The Help tab provides access to help files and is not always visible by default. It can be enabled in OneNote options.
    • The Quick Access Toolbar is located above the ribbon and can be customized with frequently used commands.

    Key Features and Functions

    • Keyboard shortcuts Many keyboard shortcuts are the same across Microsoft applications. Screen tips display keyboard shortcuts when hovering over commands on the ribbons.
    • Touch Mode OneNote is suited for touch devices and has a touch mode that optimizes the interface for touch input.
    • Notebook Structure Notebooks are organized into sections and pages. Sections are like dividers, and each section can contain multiple pages.
    • Creating a New Notebook To create a new notebook, go to the File tab, select New, and choose a location to save the notebook.
    • Notebook Properties Notebook properties can be modified by right-clicking the notebook name and selecting Properties.
    • Closing Notebooks To close a notebook, right-click the notebook name and select Close This Notebook.
    • Deleting Notebooks Deleting a notebook involves locating the notebook file in File Explorer and deleting it from there.
    • Send to OneNote Tool The Send to OneNote tool allows users to send items like Excel spreadsheets, Word documents, or emails directly to a specific page in OneNote.
    • OneNote Clipper The OneNote Clipper is a browser extension that makes it easy to clip content from the web and pull it into a specific page in OneNote.
    • Screen Clipping Utility The screen clipping utility allows users to clip anything that they have open on their PC.
    • Inserting Pictures Pictures can be inserted from local files or online sources.
    • Inserting Online Video OneNote allows embedding videos from various online video sites such as YouTube, Dailymotion, and Vimeo.
    • File Printouts File printouts allow users to insert the contents of a file (e.g., Word document, Excel spreadsheet, PDF) into a OneNote page.
    • Audio and Video Recordings OneNote allows users to record audio and video directly into their notebooks.
    • Adding Links OneNote allows adding links to web pages, files, and other sections within the notebook.
    • Equations and Symbols OneNote allows users to insert mathematical equations and symbols into their notes.
    • Copying and Pasting Content OneNote offers various paste options, including keeping source formatting, merging formatting, keeping text only, and inserting text as a picture.
    • Formatting Text Notes OneNote offers various formatting options to make text more readable and emphasize certain points.
    • Using Styles OneNote offers a range of styles that can be applied to headings, quotes, and other elements to give a consistent look and feel.
    • Tables Tables can be used to organize information on a page.
    • Tags OneNote allows users to add tags to their notes to categorize and prioritize information.
    • Spell Checking OneNote checks spelling as you type and allows you to correct errors as you go.

    OneNote: Keyboard Shortcuts for Efficiency

    OneNote has keyboard shortcuts to help you work more efficiently. Many shortcuts are the same across other Microsoft applications.

    General Information

    • A keyboard shortcut is a combination of keystrokes that executes a task.
    • Screen tips provide a description of the command and its keyboard shortcut when hovering over different commands on the ribbons. To ensure screen tips are enabled, navigate to File > OneNote options > General tab > User interface options and select “Show feature descriptions in screen tips” in screen tips style.
    • Pressing the Alt key on the keyboard assigns keyboard shortcuts to the different ribbon tabs, allowing navigation and execution of tasks without a mouse.
    • A full list of shortcut keys available in OneNote can be found within the help files. The Help tab may need to be turned on in OneNote options. To turn it on, go to file, options, customize ribbon and make sure there is a tick next to help. The shortcut key for help is the F1 key.

    Frequent keyboard shortcuts

    • Bold: Ctrl + B
    • Italics: Ctrl + I
    • Underline: Ctrl + U
    • Cut, Copy, and Paste also use the same keyboard shortcuts as other Microsoft applications.

    OneNote Quick Access Toolbar: Customization and Use

    The Quick Access Toolbar in OneNote provides quick access to frequently used commands. It can be customized to include the commands you use most often. This feature is available across all Microsoft applications.

    Location and Appearance

    • The Quick Access Toolbar is located in the top left-hand corner of the OneNote interface.
    • By default, it may contain commands such as Undo and Touch/Mouse Mode.
    • The toolbar can be positioned either above or below the ribbon. To change the location, click the drop-down button on the right end of the toolbar and select “Show below the Ribbon”.

    Customization

    • To add commands, click the drop-down button on the right end of the toolbar. This will display a list of popular commands that can be added.
    • Commands from the ribbon can be added by right-clicking on them and selecting “Add to Quick Access Toolbar”.
    • The “More Commands” option in the drop-down menu opens the OneNote Options, where you can add any command available in OneNote. This includes commands not listed on the ribbon.
    • To access all commands, in the OneNote Options, choose “All Commands” from the drop-down menu. To see commands not on the ribbon, select “Commands not in the ribbon”.
    • Commands can be removed from the toolbar via the OneNote Options.

    Organization

    • The order of commands on the Quick Access Toolbar can be reorganized using the up and down arrows in the OneNote Options.
    • Separators can be added between commands to visually group them. Separators are available at the top of the list of commands in the OneNote Options.

    OneNote: Inserting and Refreshing File Printouts

    File printouts in OneNote allow you to insert the contents of a file stored locally or in OneDrive into a OneNote page. This can be any kind of file, such as a Word document, Excel spreadsheet, or PDF.

    Key aspects of file printouts:

    • Insertion: To insert a file printout, select “File Printout” from the Insert tab. This will prompt you to select the desired file from File Explorer.
    • Content Copy: The content is printed directly into the page. It’s a copy, so the text isn’t directly editable from within OneNote.
    • Updating Content: To update the printout with any changes made to the original file:
    • Double-click the printout to open the original file in its respective application (e.g., Word).
    • Make the necessary edits and save the file.
    • In OneNote, right-click on the printout and select “Refresh Printout” to display the updated content.
    • Copying Text: The text from a printout can be copied and pasted elsewhere. Right-click the printout, select “Copy Text from this Page of the Printout”, and paste the text wherever it is needed. The text will then be editable.
    • As with other types of inserted content, you can use the send to OneNote tool to print to OneNote from other applications. When printing this way, you must select the notebook and section to send the content to.

    OneNote: Managing Notebook Sections and Section Groups

    Notebook sections in OneNote are a way to organize your notebooks. Sections function as dividers within a paper notebook and are displayed as tabs. Each section can contain multiple pages.

    Here’s what you should know about working with sections:

    • Adding Sections The most direct way is to click the plus sign, which says ‘create new section’. Alternatively, you can right-click on any one of the tabs and select ‘new section’.
    • Renaming Sections Right-click on a section tab and choose ‘rename’.
    • Section Colors Section tabs are color-coded. To change the color, right-click on the tab, select ‘section color’, and choose a new color.
    • Reordering Sections To move a section, click and drag the tab to the desired position. You can also right-click a tab, choose ‘move or copy,’ and select where to move the section.
    • Copying Sections To copy a section, right-click on the tab, choose ‘move or copy’, select a location, and click ‘copy’.
    • Deleting Sections Right-click on a section tab and select ‘delete’. Deleting a section will also delete all of the pages within it. When you delete sections, pages, or anything from your notebooks, they go into the notebook recycle bin.

    Section Groups

    • Section groups are a way to group different sections together, which is useful if you have a lot of information in one notebook. To create one, right-click on any of the tabs and select ‘new section group’.
    • To move sections into a section group, right-click on a section tab, select ‘move or copy,’ choose the section group, and click ‘move’. Unfortunately, in OneNote, there is currently no way to select multiple sections and move them all at once.

    In OneNote for Windows 10, you can add sections at the bottom. You can also reorder sections by dragging them.

    OneNote Tutorial: Getting Started with Microsoft OneNote – 3.5 hour+ OneNote Class

    The Original Text

    subscribe and click the bell icon to turn on notifications hello everyone and welcome to this course on onenote for microsoft 365. my name’s deb and i’m a microsoft i.t trainer and your excitable host for this course and the reason why i’m so excited is because i love onenote and i can’t wait to show you some of the awesome features available in this digital note-taking application which is really going to make you rethink how you go about the simple task of taking notes over the balance of this course i’m going to show you how to get started with onenote how to gather information from different sources how to insert different types of media files how to organize that information logically so it’s easier to read and find i’m going to show you how you can collaborate with others on team notebooks now this is a very comprehensive course and it offers a complete guide to all of the features available in the latest version of onenote so if that’s what you’re looking for then you’ve come to the right place now this course is divided down into 13 sections and i’ve tried to arrange these logically to correspond with the natural flow of how you would work in onenote now i’m going to be making some assumptions before we begin this course i’m going to assume that you have some familiarity with microsoft applications so maybe you are a word or an excel or a powerpoint user prior to coming to onenote and what i mean by this is that i won’t be going through the basics of how microsoft applications work per se i am going to assume you are reasonably familiar with the ribbon layout and the standard user interface that’s common amongst all microsoft applications and when it comes to the scope of this course i’m going to be working in the onenote for microsoft 365 desktop application i’ll be providing information on things like the mobile app and the online version but it will be a high level overview as opposed to a full training course in those specific parts now if you’re feeling a bit confused by what i’ve just said there don’t worry at all in the next module we’re going to start by running through the different versions of onenote that are available because as with all things in microsoft there are quite a few options but for now that is all i just want to say thank you so much for choosing this course i can’t wait to dive into it with you so with that said grab yourself a coffee and let’s get started hello everyone and welcome back to the course now i just thought i’d start out this section by running you through the different versions of onenote that are available because in my experience this is one of those things that causes a lot of confusion in fact very recently i was running a webinar on onenote and we got about halfway through and i had many of the participants say to me what you’re looking at on the screen looks nothing like what i’m looking at on my screen and we determined that we were actually using different versions of onenote so this is something you really have to watch out for so i’m going to run you through the different versions available and also let you know the version that i’m going to be using throughout the balance of this course if you are a windows 10 user what you might find is that you have access to the windows version of onenote because onenote now comes packaged with windows 10 so if you’ve downloaded that onto your pc or maybe you’ve bought a new laptop that has it already installed you’ll find that you will have a version of onenote 2016 already installed and ready to go on your pc so i’m using a windows 10 laptop and this is a fairly new laptop so i have this version installed so i’m going to jump down to my search bar at the bottom and i’m going to start to type in one note now i want you to ignore the onenote app which is showing underneath best match for the moment because that’s something different to the one underneath which is one note for windows 10. this is the one that comes installed with windows 10 and it looks completely different to the onenote desktop version and also the online version so if i very quickly open onenote for windows 10 you’ll see that it looks like this so if when you open up your version of onenote it looks very similar to something that i have here then you’re more than likely using the windows 10 version and a really quick and easy way to check that is that in the title bar at the top it will say onenote for windows 10. so this is one of the versions now this isn’t the version that i’m going to be using throughout this course and the reason why is that it doesn’t have quite as many features as the full desktop version however because a lot of people do have this on their pc for free without having to have any kind of 365 subscription at the end of each section of this course i am going to provide a module which basically runs through everything we’ve been through in the section but in the windows 10 version as well so if you do have this version you should still be able to follow along nicely so that’s the first version of windows 10 that you may or may not have available depending on what operating system you’re using now the second way that you can access onenote is through a microsoft 365 subscription and you can see here that i’m currently logged in to my online 365 portal and if you’re a bit confused by microsoft 365 it’s just the new name for office 365 so if you have a subscription to microsoft 365 then you should have access to onenote so if i click the little waffle or the app launcher at the top here you can see that one of the applications i have access to is onenote i can click it and it’s going to jump me into the online version of onenote and again this looks very different to the windows version and also the full desktop version that we’re going to open shortly now if you’re fairly used to using microsoft 365 you’ll know that this kind of online browser online portal is where you can come to access the lite versions of the applications so they’re intended for you to be able to update read things work on the go on whatever device you’re using as long as you’ve got an internet connection you can jump into your office 365 account and access online versions but these aren’t the full versions and because of that this also isn’t the version that we’re going to be covering in this particular course now i’m going to click on home for the time being because when you do have a microsoft 365 subscription when you log into the portal you’re able to download and install the full versions of all of these applications and you do that via this button just here install office and by clicking that and running through the setup process you’re then going to have the full versions of all of the applications available on your desktop so that’s exactly what i’ve done and once you’ve done that you’ll then be able to search for onenote it’s actually this one here so not the one with four windows 10 after it this is the full desktop version so you can click here to launch it or you can do what i’ve done and pin it to your taskbar and you’ll see mine is located down here with the rest of my microsoft applications so i can click to open it up and this is the feature rich desktop version and it’s this one that i’m going to be using throughout the balance of this course so what i’m trying to say to you here is if you predominantly work in the online version then this isn’t a training course that’s going to cover that however if you do have the desktop version and also if you have that free version through windows 10 then this course is going to be perfect for you just bear in mind there will only be one module per section that relates to the windows 10 version as we’re mostly going to be working in the desktop version phew quite a lot to take in there as always microsoft likes to make things a little bit confusing for everybody and just a final point to note there is a mobile app that you can download for windows phone android and ios and i will be doing a brief overview on the ios app at the end of this course so hopefully that is reasonably clear to everybody and we’re all on the same page with regards to the version we’re going to be using and what we’re going to be covering in this course i’m going to jump across to the next module where we’re going to start to explore some of the keyboard shortcuts in onenote so i’m going to go across there now and i hope to see you there now in this first module we’re going to talk about keyboard shortcuts and it wouldn’t be one of my courses if i didn’t start out with this module because keyboard shortcuts are such an important thing when it comes to being able to work efficiently not just in onenote but any microsoft application now if you’re coming to onenote having used word excel powerpoint or even outlook then you’ve got a bit of a head start here because many of the keyboard shortcuts are exactly the same in onenote as they are in those other applications at least the ones that you’ll use most frequently now if all things microsoft are completely new to you and you’re not entirely sure what i mean by a keyboard shortcut keyboard shortcut is essentially a combination of keystrokes that will execute a task and a lot of the time using a keyboard shortcut is a lot quicker than using your mouse to hunt through the different ribbons to find the task that you need and there are so many different keyboard shortcuts in onenote that you would never be expected to remember them all but most people have a catalog of about five to ten in their minds which they use frequently now as i mentioned the keyboard shortcuts in one note do bear a lot of similarities to the keyboard shortcuts in other microsoft applications so for example something like bold control b is the keyboard shortcut and that is the same across every single microsoft application italics is control i underline control u and of course we have things like cut copy and also paste with the same keyboard shortcuts now you’ll see that as i hover over these different commands on the ribbons i’m getting a little screen tip which not only gives me a little bit of description text so i know exactly what that command does it’s also showing me the keyboard shortcut now if for some reason when you hover over these icons you can’t see those screen tips i would advise you to turn them on so let’s just take a look at how we do that if we can’t see these screen tips so i’m going to jump up to file and you’ll find this in the onenote options and it’s this first general tab just here in this first group user interface options so in screen tips style make sure you have show feature descriptions in screen tips now if for some reason you find those completely annoying then you can also turn them off from here as well but soon as you turn those on it’s going to allow you to see those keyboard shortcuts in that screen tip text so that can be super useful now if you’re somebody who likes to work predominantly using the keyboard as opposed to the mouse if you press the alt key on your keyboard you’ll see that you get some keyboard shortcuts assigned to the different ribbon tabs so this is great because it enables me to navigate and do things without touching my mouse and i know a lot of people who are really into working with keyboard shortcuts use this option quite frequently it’s also really good if you have any wrist problems or something that prevents you from fully working with your mouse you don’t technically have to use it in order to work within onenote so for example if i want to navigate to the insert tab i can press capital n which is going to jump me to that tab and then i get a whole new list of keyboard shortcuts that i can use to execute a task so if i want to insert a picture i could press p and it’s going to open up file explorer and let me browse for the picture that i want to add and also with screens like this if you take a look at the bottom if i was to hit my enter key it’s going to open whatever i have selected now if i want to just cancel out of this window which i do i can use my tab key to move to cancel and then hit the enter key so i’ve been able to cancel that dialog box without touching the mouse at all so those alt key shortcuts are really useful now the only other thing i really want to mention to you regarding keyboard shortcuts here is if you’re somebody who does like their keyboard shortcuts and you want to see a full list of all of the shortcut keys available in onenote then you can find a list of those within the help files so you can see here in onenote i have a help tab and once again this isn’t a tab that’s turned on by default so if you can’t see help up here you’re going to want to jump to file go down to options and then jump into customize ribbon and on the right hand side here this is where you can select what ribbon tabs you can see in your onenote so just go into here and make sure that you have a tick next to help in order to be able to see that ribbon tab so if i hold my mouse over where it says help you’ll see that there’s also a shortcut key for this as well and that is the f1 key and again as you would expect that is the same across all microsoft applications so let’s jump into help and that’s going to open a pane up on the right hand side and what i can do is type in keyboard shortcuts and press enter to run that search and the top result i get is keyboard shortcuts in onenote and if i jump into here i get a lot of information about different keyboard shortcuts and then i can view all of the shortcuts divided down by category so i can jump to frequently used shortcuts and i can see all of them listed in here i then have shortcuts for formatting inserting items onto a page working with tables so on and so forth so this is a really great place to come if you want just to see a full list of all the keyboard shortcuts available in onenote now i will say that throughout this training course i’m going to try to use keyboard shortcuts as little as possible and the only reason for that is because it’s a lot more difficult for you to see what i’m doing if i’m using a keyboard shortcut as opposed to if i’m actually clicking on things bringing up menus so on and so forth so if you wonder why i’m not personally using them i will say that in my day-to-day work when i’m not recording a training course i use keyboard shortcuts all the time but i’m going to be using my mouse throughout the balance of this course so that’s it on keyboard shortcuts in the next module in this introductory section i’m just going to be talking to you a little bit about customizing the quick access toolbar again this is something you might have done in previous applications so if you’re familiar with how to do that then you can probably jump over the next module but if not stay tuned i’m going to show you how you can be more efficient by adding frequently used commands to the quick access toolbar i’m going to jump over there now so join me when you’re ready hi guys and welcome back to the course in this module we’re going to take a look at customizing the quick access toolbar now once again this is one of those features that’s available across all of the microsoft applications so if you are a excel powerpoint word user and you’re fairly familiar with how the quick access toolbar works and how to customize it then you can probably skip over this module and head straight to the next one however if this is all fairly new for you stay tuned and let’s run through why the quick access toolbar is useful and how you can customize it now the quick access toolbar you’ll see located in the top left hand corner and it’s this little toolbar just here so it’s kind of tucked away a little bit now i don’t have a great deal on my quick access toolbar at the moment just a couple of commands and that’s pretty much what this quick access toolbar is you can add whatever commands you like to it in particular commands that you use frequently to make them super easy for you to access so for example if i’m always inserting pictures into my onenote notebook instead of jumping to the insert tab and then selecting pictures from here i could essentially add this command to my quick access toolbar which then gives me one click access to that particular option now by default when you first open up onenote you’ll already see a couple of things assigned to your quick access toolbar so for me that is the undo command a very popular command ctrl z to take us back a step and also the command that allows me to switch between touch and mouse mode now i’m going to be going into that in more detail in the next module so i’m not going to delve into exactly what this command does right at this moment and then right on the end here we have this little drop down button and when i hover over it says customize quick access toolbar and what this is going to show you is a number of different commands that you could add to your quick access toolbar so i could add forward i could add redo print print preview so on and so forth so these are merely suggestions of popular commands that you might consider adding to that quick access toolbar now something else i want to draw your attention to here is as you can see currently my quick access toolbar is tucked away in the top right hand corner now whilst i don’t have too many options as to the location of this toolbar i do have one more option and that is i can choose to show it below the ribbon so i’m going to click that and you can now see that it pulls it down to below my ribbons now this is where i like to have my quick access toolbar because i just find it a lot easier to get to and less tucked out the way so let’s click our drop down again and look at how we can customize and add commands to this toolbar now if i wanted to choose any of these i can just select them so let’s add the redo button like so i could also add the print button and let’s add print preview as well and you’ll see it just builds a long list of all of these different commands which i can then execute simply by clicking on them so it’s a lot more efficient than having to find them in the ribbons or in that file area backstage now one thing you will notice is that obviously we just have a selection of commands which we can choose from here but what if you want to add a command that’s on the ribbon well as i said at the beginning if i insert a lot of pictures into my onenote notebook then what i could do is right click on the pictures command and say add to quick access toolbar to add that on and you’ll see that you have this option whenever you right click on any of these commands and of course i could carry on going and build myself up a nice long list of all of the commands that i access frequently now in addition to adding them this way through the right click menu if i click the drop down again you’ll see right at the bottom we have a more commands option and that’s going to jump you straight into the onenote options and into the quick access toolbar area so over on the right hand side of the screen you’re going to see everything that you currently have on your quick access toolbar and what you can essentially do is go through all of the commands available in onenote and add them in from here so it’s definitely worth noting that not every single command that’s available in onenote is listed out as a command on ribbons so what you could do is click the drop down here and i could say all commands which is going to show absolutely every command available in one note if i just wanted to see the commands that weren’t available to select from a ribbon i could select commands not in ribbon now i’m going to select all commands to bring up the full list that’s available so i’m going to scroll through and i can add a couple of things from here so let’s say customize tags is something i do all the time i’m going to select it click on the add button to add it over to my quick access toolbar and of course once i have it over here i could then choose to remove so let’s remove print preview if i want to get rid of any of these so i could go through this big long list just adding commands i use frequently to my quick access toolbar now another thing that you can do within here is you can reorganize the way these are listed out so for example undo and redo are kind of in the same category so i want these to be together so i’m going to click on redo and then i can use my arrows to move that up one maybe i want touch mouse mode to be right at the beginning so i’m going to select it and say move up just to put that at the beginning so you can organize your list however you like now something else you might want to add in here and again this is more of an organizational tip if you start to get quite a lot of icons on your quick access toolbar sometimes it’s nice to have a little bit of separation between commands of similar type and we can do that by adding in a separator now you’ll find separators available at the top of any of these lists that you select and it’s this just here i can click click on add to add in a separator and i can add in as many separators as i like so i’m going to add another one i can then use my up and down arrows to move these into position so i’m going to have one separator there and i’m going to move this one down two so now when i click on ok you can see how that looks on my quick access toolbar i now have these very faint lines in between separating out different groups of commands so it’s just a little bit easier on your eye to have them organized in this way as opposed to just a big long row of random icons so that is how you can customize your quick access toolbar and it is something i always advise people to do because it does really increase your efficiency when you’re looking for commands you use frequently in onenote in the next module we’re going to finish off this introductory section by talking about using onenote on a touch device so i’m going to grab a coffee head over there now and i look forward to you joining me hi guys welcome back now i didn’t want to finish up this introductory section without giving a bit of a shout out to all the touch screen users out there more and more these days people have tablet devices and also laptops that have touch screen capabilities i am in fact using one of those laptops as we speak and out of all of the microsoft applications onenote is the application that is most suited to people who use touch device with a stylus pen and you’ll see as we work through this course particularly in certain sections when it comes to things like handwriting things are a lot easier if you are using a touch device with a stylus because let’s face it trying to write a word using your mouse never works well so before we finish up this section i just want to run through a couple of the options for all of the touch screen users out there now currently i’m working with the mouse and keyboard and so i’m in what we call mouse mode now helpfully one of the default commands on my quick access toolbar is this option just here the touch mouse mode option so this allows me to toggle between using a mouse and using touch now when you’re using a mouse and keyboard the interface is really optimized for that particular usage whereas if we jump into touch you’ll see that the screen changes slightly more because it’s then going to optimize for people who use a touch screen so let me briefly switch into touch mode now the most obvious thing that’s changed here is that i have a lot more space between the different commands on the ribbons so what it’s doing here is just accommodating for your finger your finger is a lot bigger than your mouse pointer and so you need a little bit more room because the last thing you want to be doing is pressing one command and accidentally hitting two or three so if you’re watching this course now and you are using a touch device i would advise you to switch into this particular mode and remember if you can’t see this option on your quick access toolbar by default then you can jump into more commands and then find touch mouse mode in here and add it to make it super simple for you to switch between the two modes now we are going to be typing a lot of text throughout the balance of this course and again if you are using a touch device then you’re going to want to make sure that you know how to pull up your touch screen keyboard now mine’s located right in the bottom corner on my taskbar and you can see as i hover over it says touch keyboard and if i click that that’s going to pull up my touch keyboard and i can then go through and i can start to use that to type in different words and notes so make sure you know where that is because it’s going to make your life a whole lot easier as we’re going through this course now we’re going to dip back into touch a little bit later on particularly when we get to this section of the course here where we start to draw things as i said it’s a lot easier to do if you do have a touch screen with a stylus but of course as always i will try to accommodate both keyboard and mouse users as well as touch users so that’s it on touch i am going to very quickly toggle back to mouse and keyboard mode and i will see you in the next section hello everyone and welcome back to the course this is deb your host and we are about to get into section two which i’ve titled getting started with onenote and over the course of this section we’re going to learn some of the skills that you need to know in order to get going with onenote and we’re going to start out in this first lesson by just taking a look at how we open onenote i’m going to show you how to open a notebook and then we’re going to do a quick tour of the onenote interface so you understand the ribbon structure and the kinds of commands that you’ll find on the different ribbons so let’s dive in now as i mentioned in the previous section i’m going to be demonstrating one note for desktop so what i could do in order to launch onenote is click in the search bar down here and i’m using windows 10 type in onenote and you’ll see that i have onenote listed underneath my apps so i could launch it from here simply by clicking on this menu item but what i’ve actually done is i’ve pinned the application to my taskbar just to make it super simple for me to access and it’s all the way down here right in the middle i’m going to click to launch now when you open onenote for the first time it’s probably going to look something similar to this so you can see there right in the middle we have this big old message that says you don’t have any open notebooks and that would be correct i haven’t created a notebook and i don’t have an open notebook now one thing you’ll notice is that with no notebook open a lot of the commands on the menus are out so in order to give you a quick tour of this interface i’m going to need to either create a new notebook or open a notebook that i have saved off so i’m going to do the latter i’m going to open a notebook that i’ve already created and we are going to go into this in more detail a bit later on but for demonstration purposes let’s quickly run through the process now much like any other microsoft application you’ll see that we have our ribbon tabs at the top we have our file menu which jumps us into that backstage area and if you are familiar with other microsoft applications you’ll know that this is kind of where you’ll find those admin style tasks so if you need to create a new notebook open print share all of those kinds of things you’re going to find in here so what i want to do is i want to jump straight down to open and you’ll see at the top some of the notebooks that i’ve had open recently and these are notebooks that i have stored in onedrive and then if i scroll down i can see some more lists so on the right hand side i’ve got notebooks selected and this is showing me any notebooks that i’ve recently used so i could select to open one of these alternatively if i can’t see the notebook that i want to open listed either down here or at the top here what i can do is choose to open from other locations and jump across to my onedrive or maybe even browse my local drives to find a notebook that i want to use now as i said we’re going to get into this a bit more later on so for the time being i’m just going to open something that i’ve opened recently and i’m going to choose this one here that is my work trips notebook click to open it up so this is a very basic notebook but we’re not going to worry about the content too much at this time really what i want to do in this lesson is just run you through the interface so you kind of start to get an idea of where things are located on the different ribbons now again something that’s very consistent across all microsoft applications your home ribbon is going to contain all of the things that you’re probably going to utilize most often so we have our clipboard group which contains cut copy paste we have add text formatting options and also styles if we want to apply them we then have a big section here called tags and tags is something that’s really cool and we’re going to talk a lot about this a bit later on in the course i can email my page from here and i also have some interaction with outlook on the end here and again we’re going to cover this a bit later on moving across to the insert ribbon this contains all of the things that you can insert into your notebooks so that might range from things like tables file printouts attachments even excel spreadsheets you can also insert pictures whether they be saved on your local drives or located online you can add screen clippings or screenshots directly into your notebook and you can also do cool things like record audio and video from directly within your onenote notebook this is also where you would come if you wanted to use some kind of page template as well so the insert tab you come to whenever you want to insert something into your notebook we then have our draw tab and this is probably most useful if you are somebody who uses a laptop or maybe a touch device that has a stylus because this is where you can come to draw make annotations handwrite your own notes and insert things like shapes now whilst it is possible to do these things using a mouse a lot of the time it is quite hard to use a mouse to do handwriting as i said this does tend to work best if you’re using a stylus moving across to the next tab we have our history tab and this really relates to having lots of people collaborating on one notebook you’ll see as we move through the course you can share your notebook with team members other people and then everybody can jump into the notebook and make changes their own annotations things like that so the history tab really comes into play if you want to essentially see changes that have been made to a notebook by author if you want to find specific changes or even if you want to see different versions of your page and again we’re going to get into how all that works a little bit later on moving across we have our review tab and this is pretty much what you would expect to find on any review tab in your microsoft applications this is where you would come to spell check use the thesaurus check your accessibility change things like language or even password protector section we also have something in here called linked notes which is a very useful feature which we’ll explore in more detail later on in the course the view tab is where you can view your notebook or your page in different ways and you can also format your page background so if you want to change your page color or maybe you want to add raw lines to your page you can definitely do that you can do things like zoom in and out to make things a bit easier to see and also make modifications to how you’re displaying your window and then finally on the end here we have our help tab now as i mentioned at the beginning of this course the help tab isn’t always there by default if you think that you’re going to utilize this tab then it’s definitely worth jumping into onenote options and turning that tab on i’m not going to focus on this because we have already been through this tab earlier on in the course so aside from that ribbon structure underneath we have our quick access toolbar which we’ve seen how to customize and then we have our notebook and the way that a notebook is structured is it has sections and then it has pages so i liken this to a paper notebook that maybe you have dividers in the dividers are very similar to the different sections that we have up here and you can see them showing as tabs and then within each section i have pages and if you cast your eyes over to the right hand side in this blue panel you can see i currently have three pages milan rome and venice within the italy section and of course you can add sections and you can add more pages to each section and this is in general how all of the notebooks that you create will be structured don’t forget if you feel that you need a little bit more room when you’re working in your onenote notebook and you want to temporarily minimize the ribbon you can definitely do that by clicking on this small little up arrow over on the right hand side and this up arrow does have a keyboard shortcut control plus f1 and that’s going to minimize up your ribbon which gives you a little bit more room when you’re working in your notebook if you want to bring your ribbons back after you’ve collapsed them up if you click on any of the tabs the ribbon will drop down again if i click back on my notebook that ribbon’s going to disappear if you decide that you want to have that ribbon back permanently what you need to do is just click on one of the ribbons again to pull it up and then go over to the right hand side and click on the pin the ribbon icon again control plus f1 and that’s going to lock that ribbon in place so that is pretty much what your interface looks like when you open up a workbook so the main point i want you to take away here is this notebook structure you have your sections running in tabs across the top and each section can contain multiple different pages and we’re going to see in the next lesson exactly how we create a new notebook from scratch and how we start to add sections and pages so i’m going to jump over to the next module now and i look forward to you joining me hello everyone and welcome back to the course it’s time for us to start creating some stuff let’s start creating some content in wonderful onenote now in the previous module we took a quick tour around the onenote interface and of course we’re going to be dipping in and out of these ribbons and exploring all of the commands over the balance of this course but the first thing we want to do the most fundamental thing in one note is we want to create a new notebook and this is a very simple process so we’re going to go up to the file tab and as you would expect we want to make sure that we’ve got new selected now what you’ll see in here is essentially a split screen on the left hand side we have different locations so this is where we want to save a new notebook and then on the right we have a list of recent folders so recent folders that you’ve saved into are used now this is a reasonably new account that i’ve set up so currently i only have one recent folder listed and that’s my documents folder in onedrive and the way this works is that when you create a new notebook you essentially save it first which is why we’re being asked to select a location now i’m going to save my notebook into onedrive but before i do that let’s just take a look at the other options that we have so you could if you wanted to choose to save this directly to a sharepoint team site you could save it to this pc you can add a place so if you have more than one onedrive account you can choose to add those from here to make them easy to access alternatively if you just want to save your notebook locally you can do that by selecting browse and it’s going to jump you into file explorer and you can then jump in and choose a folder now one thing to note here if you want to share your notebook with other people then your notebook must be saved to location that’s shareable so for example saving your notebook to your desktop is not a shareable location whereas saving your notebook to maybe a network drive that you have within your company or even saving it to onedrive cloud storage those are considered shareable locations now whilst it is a good idea to have a little bit of an idea as to if you want to share your notebook right at the point where you’re creating it it doesn’t matter so much if you create it in one location and then change your mind because you can move your notebook at a later time if you then want to share it but what i’m going to do is i’m going to save to onedrive and i’m going to put it just in my onedrive train it now limited folder and when i click it it’s going to jump me to that folder and i’m going to say i want to put it in the folder notebooks and then i’m going to give my notebook a name so i’m going to click in the notebook name field and i’m going to call my notebook project artemis so maybe where i work we are working on a project that’s got a code name of project artemis and i want all of my notes all of the meetings all of the content related to this project to be contained within this notebook so i’ve given my notebook a name and i’m going to say create and this is a really important point you’ll see straight away it’s popped up with a little message that says your notebook has been created would you like to share it with other people and that’s come up because i’ve saved it in a location that is shareable so if i wanted to maybe i know right now that i want to share this with the rest of the project artemis team i could choose invite people now i’m not going to do that at this stage because i want to talk you through that process a bit later on so i’m going to say not now and it creates my notebook and what you’ll see is that my notebook name is now listed just here and as i hover over it gives me a little bit of information in that screen tip so it says i can click to view other notebooks so if you have more than one notebook open if you click just here you’re going to be able to see all of your notebooks listed and you can easily switch between the different notebooks that you’re working in now obviously i only have project artemis open which is why it’s the only one i can see listed here something else you can see when i hover over is you can see the location where i have this notebook saved so onedrive train it now notebooks and it’s telling me that it’s up to date and this is another important thing to note onenote notebooks automatically save so you don’t have to worry about going into file and save you don’t have to press ctrl s as you’re working everything automatically saves and synchronizes and this is particularly important if you’ve saved your notebook to cloud storage like onedrive every change you make will be synchronized every change that anybody else makes to your team notebook if they have access will also be synchronized so all this message is telling me is that all of the changes are up to date so that is basically how you create a notebook from scratch if you wanted to create another one you could just jump back into file go to new and go through exactly the same process select your location first give your notebook a name and then it’s going to open in onenote and it will be listed in your notebooks drop down and we’re going to create a couple of notebooks a bit later on so you can see how you can very easily switch between the two and work in multiple workbooks at the same time now in the next lesson we’re going to delve a bit more into notebook properties i’m going to show you the different things that you can change and i’m also going to show you how you can essentially close a notebook and come out of it when you’re done but for now that is it i will see you in the next module hello everyone welcome back to the course we are down in section two where we are getting started with onenote and in the previous module i showed you how to create a new notebook from scratch and select a location in which to store it so what we’re going to do in this module is i’m just going to show you how you can modify the properties on a notebook and also how you can close a notebook when you’re finished with it so let’s take a look at properties first of all now as we’ve already discovered any notebook that we have open will be listed underneath this drop down and currently i only have project artemis open now if i want to view the properties for this particular notebook if i right click my mouse you’ll see right towards the bottom in this little menu we have a properties option so let’s select it and see what we get now when you go into notebook properties there isn’t a great deal of information that you can change in here but there are some important things that you should be aware of if for example you want to change the display name of your notebook so maybe i want to change this to project alpha project beta something else i can come in here and i can edit the display name and what you’ll see underneath is it says does not affect the actual notebook folder name so what that’s essentially saying is you are merely changing the display name the name that you can see in onenote it doesn’t change the folder name so for example if i just quickly pull up file explorer this is essentially where i have my notebook saved in onedrive in the notebooks folder and you can see here a couple of workbooks that i have within this folder and one of them is project artemis so if i was to change the display name to project beta and click on ok it’s going to change the name here but what it’s not going to do is change the actual folder name within notebooks so that’s a really little important point to be aware of now so we don’t confuse things i’m actually going to go back into my properties and i’m just going to change that name back to project artemis the next property that we can change is the color of the notebook and we have a drop down here which brings up a little palette of muted pastel shades and we can essentially color code our different notebooks it makes them stand out from one another you could even color code notebooks that are maybe related with the same color just as a way of organizing your notebooks in a more visual way so i’m going to select this purple color for this particular notebook underneath that we have the location so it’s telling me the location where my current notebook is stored and if i decide i want to move that somewhere else i can click on change location once again it’s going to open up file explorer and i can choose a different folder to save my notebook into and then finally at the bottom it’s telling me what my default format is so it’s saying that this is a onenote 2010 to 2016 notebook format and the convert to button is grayed out for me so if i was to open a notebook that was in a different format i could choose to convert it to 2010 to 2016 format but at the moment we are all good with how we have our format set so i’m just going to click on ok so now when i click the drop down you can see that my notebook is that purple color so those are the properties that you have for each notebook as i said not a great deal but some important things in there now the final thing i want to talk to you about in this particular module is how to close notebooks so you might have multiple notebooks open and if you’ve finished working in one of them for the day you’re going to want to close down that particular notebook now in most microsoft applications when you want to close something you would jump up to file and there would be a handy little close button in here but you can see with onenote we don’t actually have that so we need to close in a slightly different way again we’re going to click the drop down we’re going to hover the mouse over the notebook that we want to close right click and in here you’ll find a close this notebook option and when i click it it’s going to remove that notebook from the list now i want to stress here you haven’t deleted your notebook it hasn’t disappeared you have literally just closed it down and of course if you want to reopen it you would go back up to file down to open and because this is a notebook that i’ve recently opened the quickest way for me to open this would be to scroll down make sure i’m clicked on recent and then underneath the notebooks tab i should be able to see the last notebook that i had open at the top of this list so i’m going to click project artemis just to re-open this notebook so modifying your notebook properties and closing notebooks very straightforward very simple but very important in the next module i’m going to talk you through the process of deleting a notebook because this is not as easy as it might sound and it’s something that i find confuses people quite a bit because it works a lot different to how other things work in microsoft so i’m gonna grab a coffee jump over to the next lesson and i look forward to you joining me over there hello everyone and welcome back to the course this is still deb and we are still down in section two where we’ve been taking a look at some of the fundamental skills you need to know in order to get started with onenote and in the previous modules i’ve shown you how you can create a notebook from scratch and as is called project artemis and i’ve also shown you how you can modify those notebook properties and we finished off by taking a look at how we can close down any open notebooks once we’re finished using them now the subject that i want to discuss in this particular module is deleting notebooks because i’ve been training onenote for quite a few years now and i find that this is a really common question people get very confused when it comes to deleting because it’s not as straightforward and obvious as you might expect it to be so for example if i said to you how do you think you would delete a notebook the logical assumption is that you might jump into your notebooks list right click on the notebook and you have an option in here to delete the notebook but what you’ll find when you come into this right-click menu is that you actually don’t the only thing you have is close this notebook now whilst that will get rid of the notebook from your notebooks list it hasn’t deleted it it’s just closed it and you can jump back into file and reopen that notebook whenever you like however there will be times where maybe you’ve completed a project and you have no use for the notebook anymore we want to actually delete it and all of its contents so how do we actually delete a notebook this is where it’s really important to know where you have your notebook stored or saved so if i pull up file explorer so here i can see the two notebooks that i have saved into the notebooks folder in onedrive so what do you think i might do here in order to delete this notebook well again the logical assumption as i’ve led you down this path is that you can come into here click on the notebook you want to delete and press the delete key on your keyboard but look what happens i’m going to delete it i’m going to wait a few seconds and you’ll see that it automatically comes back again and this is where i find people have a problem they try to delete it from one drive but it keeps appearing back now the reason why that is happening is because you can see that i’m working within file explorer and i have my onedrive synchronized to file explorer so i can work with my onedrive files without having to log in to the microsoft 365 portal but what happens is my portal synchronizes with my folders in file explorer so as soon as i delete project artemis the synchronization happens onedrive can see the project artemis notebook still in microsoft 365 and so it pulls it back into my folder structure so with all that said how do we actually delete this notebook well we need to log into the online portal so i’m going to minimize file explorer and the first thing i’m going to do is i’m going to close down project artemis because this is the one that we’re going to delete so i’m going to right click and i’m going to say close this notebook what i’m then going to do is jump across to my microsoft 365 portal now i’m already logged in and for those of you that are familiar with using microsoft 365 this should be instantly recognizable and what i want to do is i want to access onedrive from here so i’m going to select the onedrive icon and then i’m going to go to my notebooks folder and this is where i have my onenote notebook saved so what i need to do is select the notebook in this case project artemis and delete it from my portal and you’ll see that when i delete it from here it doesn’t come back again so now if i jump back into file explorer you can see that in my notebooks folder i don’t have that project artemis notebook anymore so essentially it is deleted so this is a really important point to note if you want to delete a notebook that you have saved to cloud storage now i will say that if the notebook that you’ve created is just a local notebook it does work in a slightly different way but we’re going to save that for the next module where we’re going to jump in i’m going to show you how you can create a locally stored notebook and then we’ll look at the difference when it comes to deleting but for the time being that is it i will see you in the next module hello everyone and welcome back to the course in the last module i showed you the process of deleting a notebook that’s been stored into onedrive so what i want to do in this lesson is really just talk a little bit about locally stored notebooks and show you how you can manage those how you can delete them so that you can see the difference between local notebooks and notebooks that are stored in the cloud so let’s jump in and let’s create ourselves a couple of notebooks so we’re going to go up to file down to new and i’m going to recreate one saved into onedrive because we did delete project artemis and i kind of want to use that one so let’s select onedrive i’m going to select the folder of notebooks and i’m just going to call it the same thing let’s call it project artemis just to recreate that notebook and click on create now because i’m saving to a shareable location it’s asking me if i want to invite people i’m going to say not now because that’s something i’m going to do later and there i have my notebook opened again and of course we’ve already seen we can right click and maybe i want to go into the properties and i’m going to change the color to blue and click on ok so what i’m going to do next is i’m going to create another notebook but this time i’m going to save it to my local drives not in onedrive so back up to file down to new and this time i’m going to browse for a location to save now what i’m looking for here is a location that doesn’t synchronize and these days with onenote if you have it installed on your pc even your desktop will synchronize so i’m going to select a folder that i know doesn’t synchronize which is the downloads folder now i know this is an extremely strange folder to save a notebook into but as i said i just want one that i know for sure doesn’t synchronize at all so i’m going to give my notebook a name i’m going to call it my personal notebook and click on create now did you notice the difference there it didn’t ask me if i wanted to invite people to my notebook and that’s because onenote has recognized that this is a locally saved notebook and so it’s not shareable another thing you’ll notice is that if i click this drop down you can now see both of my notebooks in here now if i just make a quick change so i’m going to right click and i’m going to say properties and let’s just change the color of the folder again and click on ok notice this little sinking icon that comes up it was pretty quick so you may have missed it let me do it one more time i’m going to right click go to properties i’m just going to change the color of the notebook look for this icon when i click on ok can you see it just there that tells me that the notebook is synchronizing to cloud storage now when it comes to locally saved notebooks it doesn’t matter how many changes you make you’re never going to get that icon because it’s just saving to your local drive it doesn’t have to synchronize with cloud storage so if you’re wondering what that little sync icon is that appears every now and again when you’re working in a notebook that’s been saved to the cloud that’s what it’s doing it’s just updating any changes that you’ve made or any changes that other people have made to the notebook with the copy in the cloud now when it comes to local notebooks you can right click and you can change the properties in exactly the same way so i can change the color of the icon the location and the display name as well so maybe i want to remove the word notebook let’s just delete that out as it’s a bit of overkill and just call it my personal click on ok and there we go and i can very easily switch between my two notebooks now when it comes to deleting locally stored notebooks it works in a slightly different way now i still can’t delete it from within one note so if i right click i don’t have a delete option so what i need to do is open up file explorer again and navigate to the folder where i have this notebook stored so i’ve stored this notebook in the downloads folder you can see it there sitting at the top so if i want to delete it i can actually just delete it directly from here because i don’t need to jump into cloud storage because it’s just saved locally and because there’s no synchronization happening it’s not going to keep reappearing however the first thing i’m going to want to do is close down this notebook i can then jump into the folder click on the notebook press delete and that notebook is essentially deleted so the process is a little bit shorter a little bit easier when you’re deleting local notebooks now in the next module we’re gonna start to actually expand on our notebook by adding in sections and pages so i’m looking forward to it i hope you are too i’m gonna head over there now and i look forward to seeing you so so far in this course we’ve been taking a look at some of the more admin tasks that you might wish to do within onenote such as closing notebooks creating new notebooks and also the process for deleting notebooks it’s now time to move on to something a little bit more interesting and that is to start to build our notebook with content now before we can start adding content in we need to understand the structure of a notebook and that means talking about sections and pages so currently i’m in the project artemis notebook and you can see at the top i have a tab that says new section one then if you cast your eyes over to the right hand side you can see i have add page at the top here and then something that says untitled page now untitled page is currently where i’m clicked now i’m going to speak a little bit more about pages in the next couple of modules but for now we’re going to focus on sections and really organizing our notebook now the way i like to think about this is i like to imagine a book project artemis is the book title and then within that book i might have part one which would be the section and then i would have the different chapters which might be the different pages so these are kind of like dividers within your notebook and within each section you can have numerous different pages now when it comes to sections there are lots of different things that you can do with them so let’s start out by running through some of the basics so currently i’m clicked on new section one and if i right click my mouse you’ll see that i get that contextual menu come up which has lots of different things i can do with this particular section so the first thing i have in this menu is the rename option now obviously most of the time you’re not going to want to keep that tab as new section one you’re going to want to give it a more meaningful name so i’m going to select rename and i’m just going to over type what i have on the screen and i’m going to call this tab meetings now what i can do here is i can either hit the enter key on my keyboard or i can just click away in order to set that so that is my first section now i want to have lots of other different sections within this notebook to store different types of information so i’m going to add another section in and there’s a couple of ways that you can do this the most easiest and probably the most obvious to everybody watching this lesson is that we have a little plus sign and when we hover over it it says create new section that’s going to give me another tab and i can now type the name of that tab and this one is going to be called corsets and hit enter now the other way that i can add a new section is if i right click on any one of the tabs you’ll see that i have a new section option down here as well which is basically going to do exactly the same thing so for this one i’m going to call this offices and hit enter and i’m going to carry on just adding a couple more sections into this notebook so let’s click the plus and i’m going to call this one travel hit enter click the plus again and we’re going to call this one costs and hit enter so very quickly i’ve been able to add into my notebook all of these different tabs and i can then just click on them to switch to those different sections and what you’ll also notice is the section tabs are color coded so if you want to keep them all different colors that’s absolutely fine however if you have sections that maybe relate to each other a nice way of just visually indicating that to whoever is looking at the notebook is to make those tabs the same color so maybe both offices and travel are related and i want to make them both orange what i can do is click on that travel section right click my mouse and right at the bottom of the contextual menu i have a section color option so i might want to change this to orange as well and so visually i’ve now created a link between those two different sections now of course when you have a whole bunch of sections added into your notebook there might come a time where you want to reorder them or rearrange them and again that’s very simple to do if you want to move a section all you need to do is grab that particular section so let’s say the courses section click your mouse drag and you’ll see as i drag back and forth across the section tabs i’m getting that little black arrow and that’s indicating to me where that section is going to be dropped when i let go of my mouse so i want this to be the first tab in this particular notebook so i’m going to let go of my mouse and it moves that tab across another way that i can move section tabs is to utilize that right click menu also so for example if i take this meetings tab and right click my mouse within that right click menu you’ll see that we have a move or copy option so if i select that i can now choose where i want to move this particular tab to and what it’s showing here are all of these sections that are currently in my notebook and all i need to do is select the one that i want to move this particular section after so i’m going to say i want meetings to move after the travel section so i’m going to select travel and click move and it’s going to move that across similarly if i right click my mouse and just jump back into there i might want to copy a section instead of moving it so if i want to copy this meeting section and i want that copy to be placed after the cost section i’m going to select costs and then click copy at the bottom and it’s going to give me a new tab that’s called meetings 2. i can then right click go in and rename that to something else so we’re going to call this one schedule like so and you’ll see that because i copied it it takes on the same tab color as that particular section now in this case i don’t want these two to be the same color so i’m going to right click section color and i’m going to make this a purple color and of course i’m sure you get the idea now but if you want to delete a particular section you can right click and you have a delete option in here now it’s worth noting and you’ll see this a bit later on when we start talking about pages when you delete a section it’s going to delete all of the pages within that section as well so just bear that in mind before you actually execute this particular task but more about that later so that is the basics of adding new sections and a few tips and tricks there when it comes to managing them in the next lesson i’m going to talk to you about section groups so i’m going to head over there now and i look forward to you joining me hello everyone and welcome back to the course in the previous module i introduced you to the concept of sections and we took a look at some of the things that you can do to add new sections and also manage them so we’re going to kind of follow on from that in this particular module and i’m going to talk to you about section groups and just show you what they are and how you can use them now the first thing i’m going to do in here is i’m actually going to delete one of these sections that i’ve created so i’m going to delete this courses section because what i’m going to do is i’m going to make courses a section group so i’m going to right click and i’m going to say delete and i’m getting a message here saying are you sure you want to move this section to deleted notes so i’m going to say yes now that’s actually an important point to know when you do delete sections or pages or anything from your notebooks they don’t disappear entirely they go into what we call the notebook recycle bin i’m going to talk a little bit more about that later on in the course so just keep that in your memory for a bit later on so now what i’m going to do is i’m going to create a section group and this is really just another way of organizing your notebooks and this is particularly good if you have a lot of information in any one notebook now to create a section group it’s pretty simple all you need to do is right click on any of the tabs and you can see you have an option here for new section group and what that does is it gives me another little heading up here that currently says news section group and you can see the icon next to it has all of these different tabs so that gives you an idea as to what we’re doing here this is a way of grouping different sections together so i’m going to call this section group courses and hit enter what i’m going to do within here is create sections within this section group so if i right click i’m going to say new section and what you’ll notice is something a bit strange it adds it as if it’s just another new section it doesn’t necessarily fall directly underneath where we’ve created the new section group so i’m going to go ahead and create my sections that i want to be part of my section group now this whole project artemis is about the rollout of office 365 across all of my company’s global offices and part of that rollout program is going to be training and we want to retrain everyone on the applications within office 365 or microsoft 365 as it’s now known so i’m going to have a section for each of the courses that are going to be offered so the first section is going to be called word i’m going to create another new section called excel another one called powerpoint we’re going to have one for one drive and i could carry on going now obviously this is just a demo so i’m gonna stop there but you would add as many sections as you needed now once you’ve added in your sections if you want to group them together underneath this courses section group all you need to do is right click so let’s right click on this first section tab i’m going to say move or copy i’m going to select the section group which is courses and then i’m going to say move and you’ll see immediately it jumps me from my main notebook into this kind of sub group so project artemis courses section group and there is my section so if i want to jump back i just click that green arrow so if i take this excel section i’m going to click i’m going to drag over and hover my mouse on top of courses and you’ll see it jumps me across i can let go and it moves that section now unfortunately there is currently no way in one note to make a multiple selection so you can’t select multiple sections and then move them all in one go unfortunately you have to do them all individually so i’m going to do the last two let’s do powerpoint i’m going to drag and drop and then the final one i’m going to right click i’m going to say move or copy select courses and click on move so now i have these essentially sectioned off from the main bulk of my notebook and i have my courses section group just there so if you have a particular section that has lots of different subsections then this is a great way of organizing your notebook so we’re starting to get some kind of structure to our notebook now we’ve got a notebook ready we’ve got all of our sections we’ve got a little section group on the end there now we want to start adding pages and content and that’s exactly what we’re going to do in the next module so i’m going to head over there and i look forward to you joining me hi guys and welcome back to the course this is still deb and we are heading towards the end of section two and over the course of this section we’ve really got to grips with some of the basics of working in onenote and in the last couple of modules i’ve shown you how you can add sections into your notebooks and also section groups it’s now time to start adding pages because there’s a couple of things that you need to be aware of when you’re doing this so as i mentioned within each section you can have different pages and each of those pages will contain content so let’s first walk through the process of adding pages to sections so currently i’m clicked on this offices section now what i want to have here is i want to have maybe an overview of all of the different offices which we’re rolling out microsoft 365 to and then i might want to have a specific page that lists out each office individually with bits of information that are particularly important to that office now if you cast your eyes over to the right hand side of the screen you’ll see that you have this kind of orange bar running down the side and this is where you basically create all of your pages for your sections and onenote will automatically create a page called untitled when you add a new section and that page is currently what i’m clicked on within the offices section now currently it’s called untitled which isn’t particularly meaningful so i’m probably going to want to go in and rename this page so it’s easy for me to identify so my first page in this section is just going to be called overview so i’ve clicked my mouse just above where we have the date and time and i’ve typed in the word overview and you’ll see as soon as i do that over on the right hand side the page is now renamed so i’m going to go through and i’m going to add a few more pages and we do that by clicking on the add page link at the top of that right hand pane so let’s click on add page you’ll see automatically i get another untitled page and i can now type a title for this particular page so this one is going to be called europe i’m going to add another page called north america another page for asia another page for africa and then one final page for australia and as we move through this course i’m going to be adding information onto these pages so adding pages in itself is a very simple and straightforward process but what you might not know is that you can also add sub pages so for example underneath each of these pages which i’ve just created i might want to have sub pages for each of these specific office locations in each of these regions so what i’m going to do is i’m going to add a page and you’ll see it adds it to the bottom i’m going to call this one london i’m going to add another page i’m going to call it paris i’m going to add another page and let’s call this new york and i’m going to add two pages for each of the regions and we’ll do bangkok and we’ll say durban and finally for australia we will have sydney and melbourne so you can see that now i have quite a collection of pages and at the moment they’re not really organized as i want them to be so the first thing i’m going to want to do is i’m going to want to move the pages i’ve just created underneath their relevant locations so for example we’ve got london and that needs to go underneath europe so all i need to do to move a page is click drag and you’ll see i get that line let go and it’s going to move that page i’m going to grab paris and we’re going to do the same thing we’re going to move that up now of course when i’m moving these i can go to the right click menu and move or copy but for me by far the quickest way of doing it is just simply to drag and drop them so i’m going to move new york and chicago underneath north america and for pages you can actually move multiple pages in one go so i want to move shanghai and if i hold down my control key i can also select bangkok and then i can move both of those underneath asia so i’m going to do the same for durban and johannesburg hold down control drag and drop and then finally at the bottom we have australia with sydney and melbourne so these look slightly better but the structure still isn’t quite there because essentially these city pages that i’ve added are subpages of the continent so i want to indicate that these are in fact sub pages and again there’s a couple of different ways that we can do this the first thing i can do is if i click on london if i click my mouse and just drag to the right very slightly you can see i can indent it so this is a sub page so i’m going to indent it once and i could do the same for paris click drag once and that essentially makes london and paris subpages of europe and the structure is now reflecting that now i can do this a slightly different way so let’s select new york hold down control and also select chicago if i right click i can say make subpage and it’s going to move both of those in i’m going to select shanghai bangkok durban johannesburg sydney and melbourne and i’ve done that again simply by holding down the control key as i’m clicking right click make subpage and it’s going to move all of those in in one go so right away i now have a much better structure it’s a lot easier for me to see what’s going on here and as you can imagine you can have sub pages of sub pages as well so if i just show you a quick example if i add another page and let’s call this sync kilda which is a very specific area in melbourne what i might want to do is make the syncilda page a sub page of melbourne so again i can click on it i can drag once twice to make that a sub page of a sub page and you can carry on going making whatever structure it is that you need and of course if we right click we now have that contextual menu come up so everything in here is related to pages as opposed to sections or anything else you can promote the sub page so that’s essentially pulling it back up a level or you can collapse all sub pages for whichever one you’re clicked on so for me that was australia it’s collapsed them all up i can then click that drop down arrow to bring those back again i can right click i can move or copy i can add a new page from here as well and you can also see the keyboard shortcuts in there now i’m actually going to delete this page so let’s select delete to bring me back to how we were so i’ve got a pretty good outline or structure going on on this offices section and of course i can go to each of these sections and start adding in different pages you don’t necessarily have to do that before you add content you can definitely do it as you go but for me on this particular section it works best if i set them up beforehand so that’s how you can very simply add pages to a section and also make subpages and that draws this section to a close in section three this is where the fun begins we’re going to start adding all different types of content into a notebook so you can get a really good feel for the application and what it can do so i’m really looking forward to this section i’m gonna head across there now and i look forward to you joining me hi guys and welcome back to the course now as i mentioned in the introduction at the end of each section i’m going to also throw in a module using onenote for windows 10 because this is something that is available for free and comes automatically installed for anybody who has windows 10 on their pc or laptop so in general what we tend to find is that if somebody doesn’t have a microsoft subscription necessarily they can still utilize onenote but the windows 10 version so in order to cater for those people who are using this version i’m just going to do a module at the end of each section just recapping the main points in that particular section so let’s get started with our first look at onenote for windows 10. so if you do have a windows 10 device you’ll probably find that you already have onenote pre-installed so i’m going to jump down to search and i’m going to type in onenote and you’ll see the first one that comes up is onenote for windows 10. so let’s click to open this app and take a look at the differences so immediately what you’ll notice is that the look and feel is completely different to one note for desktop so first of all let’s take a quick look at the interface now we still have essentially a ribbon structure but our ribbons look slightly different they’re a bit more compact we have a home ribbon that has all of our basic formatting options on it an insert ribbon if we want to do things like insert tables files pictures a draw ribbon for making annotations and inserting shapes a view ribbon for doing things like zooming in and out changing the page color adding raw lines so on and so forth and then finally we have a help ribbon that’s going to allow us to access help on demand if we need it and then all the way over in the right hand corner we have some icons so this first icon here allows me to open a feed so this is basically going to allow me to see a feed of all activity that’s going on in my onenote notebook i then have this little light bulb icon which is basically my search so this is the tell me what you want me to do pain i have a notifications area where i can see exactly what’s going on in my notebooks i have a share button that’s currently grayed out i can choose to enter full screen mode and then i have three dots in the top corner or ellipses that’s going to allow me to access my settings now when it comes to actually viewing my notebooks if you cast your eyes over to the left hand side this first icon just here is the show navigation button so if i click this this is going to open up a pane where i can view all of my notebooks now i haven’t created a new notebook yet so that’s why there’s nothing in there but when i do this is where you’ll find them and this is how you can switch between your notebooks so let’s start out by doing exactly that and there’s a couple of different ways that you can create notebooks in onenote for windows 10. if you take a look in the big empty space in the middle where it says start taking notes it says tap or click here to create a new notebook you can also open one of your existing notebooks from the notebooks list so that’s an important point if i click the drop down where it says notebooks and then click on more notebooks it’s going to allow me to open an existing notebook that i have saved off so if i want to go in and open up project artemis or personal i can do that simply by clicking on that notebook and then opening it now in this case i actually want to create a brand new notebook so i could click somewhere in this center pane select a name for my notebook and then click create notebook alternatively i could right click up where it says notebooks and select new notebook or if i click on notebooks right at the bottom i have a plus symbol that says add notebook so i’m going to call this notebook project sierra i’m going to select an account and click on create notebook so now i have my new notebook and it’s created a new section with a default name and also an untitled page for that section now of course i’m going to want to rename this particular section so i can right click my mouse to pull up the contextual menu and say rename section now i’m going to call this to-do list and click away to set that and then i can name my page so let’s say today’s list what you’ll notice is right at the bottom if you want to start adding more sections and more pages you can so i’m going to click add page tomorrow’s list add page next week’s list so on and so forth and i can do the same with sections so let’s say add section things to remember and then maybe i want to name this page emails so on and so forth so pretty easy to create notebooks sections and pages and of course if you click that drop down this is where you’re going to see a list of your notebooks and if i had more than one i can easily switch between them from up here if i right click on this notebook you can see that i have other options that are similar to the desktop version for example i can change the notebook color to something that’s a bit brighter so let’s say pink and another thing i can do here is if i want to close this notebook and essentially remove it from my list if i right click i have an option to close the notebook from here now when it comes to things like sorting or moving rearranging sections and pages around again the process is very simple it’s just drag and drop so if i want to reorder these pages for example if i want to move tomorrow’s list above today’s list i can click drag just to reorder those the same thing goes for sections so i can click on things to remember and drag it above to-do list just to reorder those items i also have a sort button over here so i can sort these pages in alphabetical order by day created or date modified now you can also create sub pages in this version of onenote so let me add in a couple more pages i’m going to call this one monday let’s add another one and call it tuesday and what i want to do is make monday and tuesday subpages of next week’s list so what i can do here is select both monday and tuesday right click my mouse to pull up the contextual menu and you see all of the different options you have in there related to pages so i can delete my pages i can cut copy and paste i can move them to other sections and i can also make these two selected pages sub pages so let’s click that option you can see that they indent very slightly and next week’s list is now a collapsible and expandable menu item and of course if i want to go in and right click and say move this particular page i can then select where i want to move it to so let’s say things to remember and i can say move it’s going to move that across and now when i click on things to remember i can see that page sitting there so in this case it’s really important where you’re clicked when you right click if i right click on a section i get a contextual menu full of options related to that section whereas if i right click on a page i get a completely different contextual menu that allows me to select options related to managing this particular page now what i’m going to do here is select tuesday right click and say delete page and if at any point when you’re working in onenote for windows 10 you want to get rid of this navigation pane to give yourself a little bit more room if you click on the hide navigation icon it’s going to minimize that down and now you have loads of room from which to type your notes so that is it that is all the information that you need in order to get started working in onenote for windows 10. hello everyone and welcome back to the course we’re down to section three now and in this section we’re going to explore all the different tools that you have available for adding content into your notebook and really this is what a notebook is all about of course once we’ve created our sections and our pages we’re going to start to want to add content to each of those pages and in onenote there are so many different types of content that you can add in so that what you end up with in the end is a really nice functional informative and interesting way of storing notes and throughout most of this section we’re going to be focusing on the insert tab up here because this is where you’ll find all the different types of content you can insert into your notebook now before we get on to some of the more interesting and exciting aspects of onenote we’re going to start out with the basics and that is adding a text note onto a page now that might seem fairly straightforward i have my cursor flashing flush with that left hand margin and as you could probably imagine i can start typing a note and that is very true now when you type a text note in onenote it does work a little bit differently to something like word in word when we have a document open we start typing from the left hand margin and work across the page and unless we use things like tabs or maybe indents we’re pretty much limited to starting our typing from the left hand side of the page now one note works in a slightly different way because what you can see is i can literally click my mouse anywhere on this page my cursor starts flashing and i can start typing so it has much more of a scrapbook like quality so what i’m going to do is i am going to click over towards the left hand margin and i’m going to start to type my first note on the overview page so this is my first note just a little bit of information about the rollout and what you’ll see is that when you type in a text note it kind of puts it in this little placeholder and this is kind of like a movable text box in a way you can see that if i hover over the gray bar that runs across the top i get a crosshair it just means i can pick this note up and i can literally drag and drop it anywhere on the page that i like so it is a lot more flexible than when you’re typing text directly into a word document what you’ll also notice is that on the end here i have these two arrows and that just allows me to resize this placeholder so i can drag it in if i want to make it smaller and drag it out if i want to make it wider and as you would imagine if i right click my mouse on this grey bar i get a contextual menu that has options in it relating specifically to this particular placeholder and the text contained within it now if i want to edit any of this text i just click back in the placeholder and i’m going to add a little bit of a title here i’m going to hit enter and let’s call this rollout dates and of course i can treat this like any other text across all of the microsoft applications and i can apply formatting if we jump up to the home tab this is where you’ll find all of your text formatting options so it might be that i want to change the font style of all of this text now what i can do there is because the text is contained within one placeholder i can just select that placeholder i can jump up and i can change this to something else so i’m going to do my favorite font so go ui hit enter and it’s going to change that and if i want to make this heading stand out a little bit i can maybe make it slightly bigger so let’s make that 12. i might want to make it bold i can change the color i can do all different kinds of things and if you’ve used any of the other microsoft applications you’ll know that this is fairly standard when it comes to font formatting now i’m going to add a little bit more text into here so i’m going to press enter a couple of times now i’m going to add some bulleted text so again up to the home tab into that basic text group and we’re going to utilize our bullets and i can add my bulleted text much like i would in any other application now everything that i’ve typed so far has been contained within this one placeholder you don’t have to carry on typing absolutely everything within the same placeholder you could click somewhere else and start to type in some more text like so and then i’m going to add some more bullet points in like so now one thing you’ll notice here is that as soon as i started typing in a different placeholder it’s switched back to the default font which for me is calibri so if you want to keep things consistent then you’ll probably have to go in and change that font to match the rest of the font in this particular document and i can then pick that up and i can drag it underneath so what i’m trying to say here is don’t think that you’re limited to just always typing in one placeholder you can have multiple going on on the same page another thing you can also incorporate into your text notes is that you can utilize styles and you’ll find those on the home tab in the styles group and this can sometimes make it a little bit easier to achieve a level of consistency when it comes to the headings that you’re using in your notebooks so for example instead of going through and manually formatting the headings like i did with rollout dates i could select the heading and utilize a style instead which has pre-formatting already applied so i could say heading 1 to change that and i know that every time i add a heading 1 it’s going to look exactly the same throughout the entire notebook so don’t forget about those you have headings 1 to 6 and you also have other styles in here for page title quotes anything else that you want to add in now the final thing i’m going to do in my text notes is i’m just going to highlight the dates that this rollout is going to start and end just so it’s super clear to everybody who is looking at this notebook so i’m going to highlight january the 1st 2021 and i’m actually going to apply some highlighting like so now i want to apply the same highlighting to the 31st of july 2021 so i could repeat the same process alternatively i could utilize the format painter so i’m going to highlight january the 1st 2021 i’m going to go up to the home ribbon and select format painter let go and it’s going to apply that highlight for me so format painter is a great tool if you just want to copy formatting from one piece of text to another it can save you a lot of time particularly if you have a lot of manual formatting applied to a specific piece of text or paragraph and we’re going to be utilizing format painter quite a lot as we work our way through the course so for the time being that is the basics of adding in a text note into your notebook page over the next few modules we’re going to move into adding all different types of content in and we’re going to start out by taking clippings from web pages and pulling those into our notebook so i’m going to head over to the next module now and i look forward to seeing you there hello everyone and welcome back to the course we’re down in section 3 where we’re talking about adding content to onenote and in the previous lesson i showed you the very simple task of adding text notes to your onenote pages so we’re going to move up a gear now and we’re going to start to add content from other sources now there are many different ways that you can do this in one note and we are going to explore all of them over the balance of this section but i want to start out by introducing you to a little tool that you can install that’s going to make your life a lot easier in certain respects and that is the send to onenote tool now you won’t find this when you’re actually working in onenote there is no button on any of the ribbons called send to onenote this is a little app that you can install which makes it super easy for you to send things like excel spreadsheets or word documents or even emails directly to a specific page in onenote so i’m going to show you first of all how you can install the app it’s very very simple and then i’m going to show you how to use it so the first thing you’re going to want to do if you don’t have this app installed is just open up your preferred web browser so for me that is microsoft edge and then search for send to onenote app and hit enter and the first link you’re going to get takes you to the microsoft web page and you can see there it is send to onenote we have a little description underneath so it says send to onenote lets you print from any app to a onenote page once it’s in onenote you can access it from any device even if you’re offline so this is also great if you have maybe something like a pdf document and you want to bring that information into your onenote page so it’s viewable to everyone so what you do from here is you can see over on the right hand side is actually a free app which is always good i’m going to click on get and that’s going to ask me to open the microsoft store so it’s jumping me across to the application within the microsoft store and from here i can install it now the first thing you’ll notice is that i actually already have this product installed if you don’t what you’ll see here is an install button where i currently have wishlist so all you need to do is click install it takes a few seconds for that to download and that is pretty much it once you’ve done that you are good to go so let’s take a look at how we would then use it so i’ve jumped across to outlook just to show you an example of how you can utilize send to onenote once you’ve downloaded and installed the app and you might have to restart your applications in order for this to show but for example on the home ribbon in outlook you can see in the move group i now have this little icon here send to onenote and that’s going to allow me to directly send any email message that i have selected to a specific page in my onenote notebook so i can see here that i have an email which is all about team leader assignments for this rollout project and it has a file attachment there as well so this is important information that everybody’s going to need to know so this would be great content for me to add into my notebook so i’m going to click the onenote button and you can see what i get so underneath all notebooks i have project artemis now i’m going to click on the plus to expand that out and you can then see all of my different sections and tabs now if i have a specific page in onenote that i want to send content to i can expand for example the offices section and see all of the pages that i have underneath there so what i might decide to do is select the overview page click on ok and there we go you can see that i now have that email added into my onenote page it’s telling me the subject who it’s from who it’s to the date it was sent and i also have the attachment just here so what i can do is double click on this attachment and it’s going to open it up and the cool thing about this is if any changes are made to this particular spreadsheet those are going to update because you’re essentially you’ve just created a link to the original spreadsheet now it might be that now that i have this email on the overview page i think to myself actually you know what this needs to go on a different page so what i might want to do is create a new section let’s click on plus and i’m going to say important emails and i’m going to call this page team assignments and what i’m going to do is i’m simply going to move that content across to this new page now i can do that by selecting the placeholder and the simplest way of doing this is to do a cut and paste so i can either jump up to my home ribbon and select cut from there or i can utilize the keyboard shortcut of control x i’m going to jump across to important emails and the team assignments page i can do ctrl v to paste or select my paste button just to paste that in so a nice simple way of adding content using that send to onenote tool and just to show you another example of how you can utilize this if i had this information in a word document as opposed to an email i could also send this directly to onenote as well so any content you have in spreadsheets documents powerpoint presentations once you’ve installed this app when you go to the file area and go down to print underneath printer you can select onenote desktop and then when you click on print you’re going to get the same thing you need to select a location in which to print this piece of content to so i’m going to expand offices again i’m going to select overview and click on ok and you can see exactly what it does there it’s going to pull that information in now one of the drawbacks of this which you can see immediately is that it’s brought it in with a load of white space at the bottom so everything else gets pushed down underneath now i have scoured the internet trying to find a way to get around this and there doesn’t appear to be any particular method of cropping out all of that white space so just think about that before you utilize it to send word documents and excel spreadsheets to your notebook but for now that is how you utilize send to onenote in the next lesson i’m going to show you how you can use onenote’s clipping tool so i’m going to head over there now and i look forward to you joining me hello guys and gals and welcome back to the course we’re down in section three where we’ve been taking a look at how we can add different types of content to our onenote notebook and in the previous module we saw how we could download and install the send to onenote app in order to send documents different files pdf content to onenote now we’re going to stay along similar lines and when i say similar lines i just mean that what i’m going to show you next is also an app that you have to install and that is the onenote clipper now onenote clipper is pretty much the same as any other clipping utility that you might find in microsoft applications most of the applications these days contain some kind of screen clipping tool which makes it super easy for you to grab content off of different applications or maybe even web browsers and pull that into whichever application you happen to be working in now the cool thing with onenote is that there is a specific clipper extension that you can add into your browser to make clipping things off the web super easy to pull into a specific page in onenote so what i’m going to do in this module is to show you where you go to install the onenote clipper and then we’ll do a quick demonstration so the first thing you need to do is open up a web browser of your choice and for me i’m using microsoft edge but you could be using chrome firefox safari whatever it is that you choose now depending on what your web browser of choice is will depend what you search for when looking to install the onenote clipper so for me because i have edge i would search for onenote clipper app edge if you’re using chrome you might want to type in onenote clipper app chrome so on and so forth just to make sure that you get the correct download so i’m going to click on search and i’m going to click on this link just here which is going to jump me across to the microsoft store now what you’ll see here is the web clipper app and because i’ve already installed this i only have a remove button if this is the first time that you’re using this then you’ll have an install button just here so you just need to click it run through the process again it just takes a few seconds it’s a very small little app and once you’ve installed it you should then see a button in your web browser in the toolbar running across the top that says clip to onenote and you can see mine just there so once you have it installed let’s take a look at how you can use it so i’ve just jumped across to the microsoft 365 homepage and this is a web page that just gives me some information about microsoft 365 and the different subscription plans so maybe i want to add into my document some information related to the business plans for microsoft 365. so i’m going to scroll down and see if anything takes my fancy and i can see here we have some information relating to the costs of subscriptions so this might be something that i want to add into my rollout plan for when we’re trying to work out our budget so what i can do is i can clip this information and send it directly to a page in onenote and i’m going to do that by clicking on my clip to onenote tool now if this is the first time that you’re using it it’s going to ask you to sign in with a microsoft account now once you’ve signed in you’re going to have a few different options when it comes to clipping and by default it’s going to clip a full page so if i wanted to send everything on this page to onenote that is my default option now in this particular case i don’t want to send the full page i just want to select a region so let’s select region and you’ll see it says drag and release to capture a screenshot the other thing you’ll notice is that the page background has kind of faded out very slightly and my cursor has changed to a crosshair so this means that i can just click and drag over the region that i want to clip and you can see it adds it to this clipboard ready to send to onenote now if i have lots of different things that i want to clip off of a certain web page then i can just select to add another region and then scroll through and find the next piece of information that i like to clip so let’s say for example i want to add in this i’m going to select it and it’s added that to this clipboard as well and i could carry on going collecting different pieces of content now once i’m finished and i want to send these to my page in onenote i then need to select the location so if i click this drop down you’ll see it’s going to show any onenote notebooks that i have and the one that we’re working in is project artemis so i’m going to click to expand and then i can see all of my different sections now with this you can’t select a specific page you can only select a specific section so i’m going to select offices and i’m going to say clip it goes away it clips those regions it tells me it’s been successful and i can either choose to view in one note or i can just pull it up from my taskbar and what you’ll then see is if you look at all of the pages for this particular section right at the bottom i have a new page and when i click on it it’s labeled it microsoft 365 for business and there are my clips and another really useful thing that it does is it gives you a direct link back to the page where these clips came from so if you essentially want to view the source or maybe read more information you have the link there you can simply click on it and it’s going to jump you back to that specific page now of course because you weren’t able to select a page in your notebook to send this to you might want to do some rearranging at this point you might want to copy and paste this information into a different section so i’m going to select this entire placeholder simply by clicking on it and i’m going to do a simple cut from the home ribbon i’m going to go to the overview page i’m going to click my mouse at the bottom and i’m going to say paste and that then pastes that content in i can resize it to make it a bit neater but i essentially have my nicely clipped content with a link back to the original document of course what i would then need to do would be to go in and delete that temporary page so over in my pages list i’m going to select it right click and i’m going to say delete just to get rid of that so very simple and very straightforward to utilize that clipping utility in the next module i’m going to show you how you can add pictures and video to your onenote notebooks so i’m excited i hope you are too please join me in the next module for that hello everyone and welcome back to the course we’re down in section 3 where we’re talking about adding content to our onenote notebooks and in the previous module i showed you how you can utilize the onenote clipper app in order to clip information content from the web and pull it through into onenote so now what i want to do over the course of the next few modules is show you how to add pictures video and different types of content into your notebooks so for this we’re going to need to be on the insert tab and we’re going to focus on this images group just here now the first thing that we have in images is a screen clipping utility now you might be thinking to yourself well why on earth would i need that you’ve just shown me how to use the onenote clipper well the onenote clipper is an installation for your browser so essentially it only really allows you to clip content from the web now the screen clipping utility that you have available within onenote allows you to clip anything that you have open on your pc so maybe you want to clip something from a pdf document or maybe an excel spreadsheet or from a powerpoint presentation pretty much anything that you can open on your pc you can clip using the screen clipping utility within onenote and you can see as i hover over it we get the screen tip that tells us what this is going to do so it’s going to allow us to take a snapshot of parts of your screen and add it to the page it says onenote will hide while you capture web pages documents or anything else and one interesting point to note that we’re going to get onto a little bit later when we cover searching is that onenote can search for text in screen clippings and that’s a really cool little feature if you clip something so maybe a paragraph of text you can make it searchable but more on that specific aspect a bit later on let’s concentrate on utilizing this screen clipping utility now what i’ve done here is i’m still in the offices section but i’m clicked on the london page and i’ve added a text note that gives the address of the london office now what i might also want to do here is maybe add in a map that shows where the office is located so i’ve opened up google maps and i’ve navigated to the address of the office and maybe what i want to do is take a screen clipping of a certain section of this map now because this is in a web browser i definitely could utilize my clip to onenote utility but i’m going to do this a slightly different way i’m going to utilize the screen clipping option now one of the things that you have to be careful of here is that whatever it is that you want to clip needs to be open directly behind onenote because what happens is as soon as you click on screen clipping it minimizes one note and allows you to clip whatever it finds behind it so if you want to clip a section from a word document you need to make sure that that is directly behind onenote so a way that i do this is i want to clip this so i want to have it as the last thing open and then i’m going to open up onenote on top of it so let’s click on screen clipping you’ll see it minimizes down and shows what’s directly behind it my screen has kind of faded away and i have my cursor as a crosshair so i’m going to clip a certain section of this particular map and pull it through to onenote so let’s just drag a big region over here and i can see rope maker street in the middle let go and like magic it pulls it directly into my page what you’ll also see when you take a screen clipping in this way is that you have underneath the date and time that this screen clipping was taken now if you don’t want this screen clipping information you can delete it out an easy way of doing that is as i hover over this text you’ll see i get this little arrow or tab at the side if i click on that it’s going to highlight that text and i can just press the delete key to get rid of it i can of course then click on the image and i can resize it if it’s a little bit too big and as i mentioned at the beginning if i right click on this image i can choose to make the text in the image searchable now i’m not going to do that right now because we’re going to do that a bit later on but just hold that piece of information in your minds until we get to that section let’s do another screen clipping but this time of something that’s not on the web now earlier i showed you how you can send a word document to your page in onenote utilizing the send to onenote tool under file print but if you remember when we do it that way we get a lot of white space in the bottom so what i could do instead is use the screen clipping utility just to clip out that part of the word document so again i need to make sure that i have the word document open directly behind onenote i’m going to jump to screen clipping it minimizes down and i can then just clip this specific area and pull that through so you can see that’s a much neater way i don’t have loads of blank space at the bottom and once again i can resize that as necessary so screen clipping is a tool that i use all the time in onenote just to grab different pieces of content i find it a lot quicker and a lot easier than other options and if i’m adding content where i’m not too concerned about it being updated dynamically then screen clipping is just a great way to get information into a page in the next module we’re going to start adding some life to our pages by adding pictures so please join me for that hi guys and welcome back to the course this is still deb and we are still down in section three where we’re looking at the different methods that you can use to add different types of content into your onenote notebooks and so far we’ve seen how we can add text notes we’ve seen how we can add screen clippings and now i want to show you how you can insert pictures into your pages so once again for this we’re going to be working predominantly on that insert ribbon and we’re sticking within this images group now you’ll see within here we have two options we have pictures and we also have online pictures so if you have a particular image that you want to add into your notebook and you have that image already stored off locally maybe into your my pictures folder then you would use this option just here however if you want to browse online for a picture to use you could do that through the online pictures option and i’m going to show you an example of both of these so let’s start out with pictures that i have already saved off so currently i am clicked on the europe page within the offices section and what i have on this page is just some suggested activities for free time in both of the european office locations so london and paris so if this is a rollout project we’re maybe sending trainers to these different offices around the world and those trainers might have to stay there for a couple of weeks they’re going to have some free time we want to give them some ideas of things they can do whilst they’re there and in order to illustrate that point make it a little bit more interesting we’re going to add some pictures in so you can see here i have free time suggested activities and i’ve applied a heading 1 style to that particular piece of text i then have london underneath and i have a heading 2 style applied to that and what i now want to do is add in a couple of pictures of some of the main sites in london so i’m going to jump up to the insert tab i’m going to jump into pictures and it’s going to open up file explorer so all you need to do now is navigate to whichever folder you have those pictures stored in and there we go i can see a selection of pictures so i’m going to add in tower bridge i’m going to hold down control and also select the london eye and click on insert and it’s going to pull both of those pictures through now one thing to note when you insert multiple images in this way is that they will become part of the same container the same placeholder so maybe if i want this bottom image to be next to this image of the london eye if i click on it when i drag i’m essentially dragging it out of that particular placeholder now you might think to yourself well why is that a problem well if i then wanted to add some more text in if i hit enter a couple of times it’s going to move down one image but this image is going to stay where it is so just be aware of that if you do drag an image out of its original placeholder you may have to reorganize its placement on your particular page alternatively i’m going to control zed a couple of times just to put this back how it was so now what i might want to do here is click next to london press enter a couple of times and then just add some bullet points which has london eye tower bridge and of course again if you don’t like the font you can go in and change the font for any of the text in your notebook now what i’m going to do is i’m going to click somewhere over in this blank space on the page and i’m going to create another placeholder and this one is going to be called paris i’m going to double click and give that a heading 2 format so it matches london i’m going to drag the placeholder out and just reposition that very slightly now when it comes to lining things up because really i want this paris heading in line with this london heading you are a bit limited with options but one thing i will generally do is jump across to the view tab and turn on raw lines so this just gives me some paper lines running across the page and i just find it a little bit easier to line things up when i have these turned on so now i’m going to add some bullet points we’re going to have eiffel tower and sacra ke let’s apply some formatting so it matches the rest of the document and now i’m going to add in my images so up to insert across to pictures it’s going to default to the last folder that i was in i can pick up the image of the eiffel tower hold down control select sac recur click on insert and it’s going to add those images in for me and of course these images can be resized if you need to do that but there we go fairly straightforward to insert pictures that you have stored off locally so now let’s take a look at how we can add in online pictures now this is pretty much exactly the same as jumping into google or a different web browser googling an image saving it off and inserting it but it’s just a little bit quicker as we’re missing out some of those steps what i can do is click on online pictures and it’s going to jump me across to a image gallery browser which is powered by microsoft bing and what i can do is i can utilize images in any of these galleries alternatively if i know what i’m looking for i can just type my search term into that online picture search bar so i’m looking for an image of big ben i’m going to hit enter and there you go so let’s select this one and click on insert and it’s inserted that very nicely into the bottom of this document i’m going to do the same thing but i’m going to add an image for paris this time so let’s jump up to online pictures once more and i’m going to type in notre dame and hit enter this image looks pretty good to me i’m going to select it but one thing i want to point out here is when you are adding online pictures into your documents it’s really important that you check this little setting just here you want to make sure that you’re searching and using only images that have a creative commons license so it basically means you can use that image for not-for-profit reasons so if this is just a one note team notebook that’s going to be shared between me and maybe three of my colleagues then that’s absolutely fine any of these images i can use because i’m filtering for creative commons license now even when you have this filter on if the notebook that you’re adding it into is going to be used for any kind of commercial purpose so if you are going to demonstrate this to a wide audience or if you’re going to create a youtube video something that you’re going to get money from then you need to delve a bit further as to whether you can use this image a lot of people make the mistake when it comes to copyright by thinking that if they have creative commons selected they can use any image that comes up in any type of document and that’s simply not the case and a lot of people have been caught out by this if you’re using it for a non-commercial purpose then yes normally it’s fine but otherwise you might want to review and you’ll see here right at the bottom it says you are responsible for respecting others rights including copyright and then you have a link to learn more here so if you’re not entirely sure what creative commons licenses are then it’s definitely worth having a read up about that before you start to use these images in any commercial projects now just while we’re in here we do also have a filter button which allows us to search for specific types of images so i can search by size i can search by type so if i want to photograph a clip art or if i want something that has a transparent background and this is an option i use fairly frequently sometimes maybe i’m looking for an icon or maybe a logo but i don’t want to have any background even if it’s just a white background i just want images that have transparent backgrounds and you can also do things like search for images by their layout so square white tall and also color or black and white photographs only so don’t forget about those filters that you have within this little area now for this particular image i don’t need to do any of that i’m going to click on insert and it’s going to pull that through and once again i can just go ahead and resize that as necessary i’m going to jump up to the top of this document and just add in another bullet point so we’re going to say big ben and then for paris we’re going to say notre dame like so so pretty simple and straightforward to add pictures into your notebooks if you’ve used microsoft applications for a while this will be like second nature to you we’re going to move on to the next module now where we’re going to talk a little bit about inserting video into your notebooks so i’m looking forward to that i hope to see you over there hello everyone and welcome back to the course in the last lesson i showed you how you can insert pictures both online and locally saved pictures into pages in your onenote notebook but did you know that onenote also has the ability to embed videos right into your pages and adding videos really makes your notebooks come alive and they’re particularly good if you’re creating an interactive notebook to share with others it’s worth noting at this stage that inserting video is a little bit different to inserting pictures when it comes to video you cannot insert a video that you have saved off locally so if you’ve got your own video stored off to file explorer there isn’t an option to browse your local drives to upload that video and add it into your notebook what you can do however is pull in videos from other video sites so online video essentially and if you take a look at that insert ribbon in the media group in the middle you’ll see exactly what i mean we just have one option here which is online video so if you have a video that you’ve uploaded to youtube then you can essentially embed that link into the page now if you’re wondering which sites you can embed video from i would advise you to jump onto the microsoft help page if you search for embedding videos in onenote you’ll get to this page and that goes through and shows you all of the currently supported sites and services and you’ll find in there most of the ones that you’re going to want to use are listed there so we have things like dailymotion vimeo youtube ted talks all of those kinds of things and microsoft do advise that you check back here periodically as they’re consistently adding more and more video sites to this particular list so let’s jump back to onenote and let’s take a look at how we can add an online video now for this i’m going to go across to my courses section group and i’ve got the excel section selected and what i want to do here is add in a tutorial video related to excel pivot table so this might be something that we want to send out to different staff members in offices to back up the in-person training that they’re gonna get when we roll out microsoft 365. now if i was to click on online video what you’ll see is that immediately it asks for the video address and you’ll see underneath it says view supported video which is going to jump you to that help page that i was just showing you so really what you need to do here is jump onto youtube or dailymotion or vimeo grab the url and then come back to this option so that’s what we’re going to do i’ve just jumped into youtube i have the pivot tables in excel open i’m going to copy url control c jump back to onenote and then go to online video control v to paste it in if i click on ok it’s then going to embed that video into my page and what i get here is a clickable link so if i click this it’s going to take me to youtube where i can view the video but i can also view the video from within my onenote page so if i click on play that video is going to start and i can move through the video as i would on youtube or any other video application so super straightforward you just need to make sure you grab the url first and then just paste it in to embed that video that’s it for now i will see you in the next module hello everyone and welcome back to the course we’re down in section three where we’ve been taking a look at adding different types of content into our onenote notebooks and in the previous few modules i’ve shown you how you can add in screen clippings pictures online pictures and also online video now in this and the next couple of modules we’re going to concentrate on adding files into our notebooks and adding files is just another way of gathering together information that’s going to be useful to anybody who has access to this notebook it’s also a great way of saving time so for example instead of retyping information or maybe relying on links to documents that might become unavailable if you go offline you can bring content that you need directly into onenote either as an attachment or as a printout that you can annotate and you’ll find these options on the insert tab in the files group and it’s these three that we’re going to concentrate on over the next couple of modules so let’s start out by taking a look at inserting file printouts now when you insert a printout it basically allows you to select a file that you have stored in onedrive or locally and that could be any kind of file it might be a word document an excel spreadsheet powerpoint pdf anything like that and it’s going to print the contents of that file into wherever you’re clicked so in my case i’m in the schedule section and i’m clicked on the course plan page so let’s click on file print out and you can see it’s going to jump me across to file explorer and i have a word document here called course descriptions that i want to add into this notebook now it’s worth noting that i just have some junk text inside this word document to demonstrate this but hopefully you’ll still get the idea so i’m going to click on insert and you’ll see exactly what that does so it prints the contents into the actual page now it’s worth noting that this is a copy so when i click on this page i get my resize handles at the side but it doesn’t let me directly edit the text from within onenote however if i did want to update this text you’ll see just above i basically have a link back to the original word document so what i can do if i want to update is i can double click to open in word i can go in and make my changes save the document and i’m going to close down word now what you’ll see when i go back to onenote is that it doesn’t automatically update you can’t see that text that i’ve just added onto the beginning of the first paragraph what i do have just above it says the printout below may be out of date right click here to refresh so all i need to do is right click and then in the contextual menu i have a refresh print out option so if i click this it basically reloads that print out and now you can see that my changes have updated so that’s one important point to note when you insert it you’re essentially getting a copy that you can’t edit within the notebook but you can edit the original and then just refresh the printout to update it now if you come across a situation where you have inserted a printout and then maybe you want to copy and paste this first paragraph into another page well you can do that as well if you click on the printout and right click your mouse you’ll see you have an option here for copy text from this page of the printout so i’m going to click to copy and that’s going to copy everything it doesn’t allow me to select a specific paragraph so i’m going to just quickly add a new page and if i right click and paste it’s going to paste all of that text in and i can then jump into the text and this is in fact editable so i can make some changes i can select different paragraphs copy and paste elsewhere so on and so forth so that’s a really useful little option as it essentially makes the text editable and allows you to do other things with it so let’s add another page and move on to the next option which is file attachment so this is more like adding a file attachment like you would in an outlook email or something along those lines if i click file attachment again it’s going to jump me into file explorer and i can select a document to attach so this time i’m going to select the course descriptions pdf click on insert and i get a choice of attaching the file or inserting the printout now if i was to select insert printout that is basically exactly the same as selecting file print out from here so we’ve pretty much just run through how that works so let’s go for attach file instead and as you would expect this looks a lot like an email attachment it just gives you a link to your document and of course you can double click to open that up and because it’s a pdf it has opened in a web browser for me once you’re in here of course you then have lots of different annotation tools if you do want to make changes to it but essentially what you have here is a link to the original document so any changes made in that document will automatically update the next time you open you’re going to see the latest version so that’s all very straightforward now before we carry on so we don’t get too crazy i’m going to rename some of these pages so i’m going to title this one course details and the other page that we created i’m actually just going to delete that one out now the final option we have in here is to insert a spreadsheet and if you click the drop down you have two options you can insert an existing excel spreadsheet or you can create a new excel spreadsheet so let’s go for existing excel spreadsheet first of all again it’s going to jump me into file explorer i can then select an excel spreadsheet click on insert and this time i get three different ways i can insert this file so i can attach the file which means it’s going to show very similar to this pdf it’s going to be a link back to that original document i can insert the spreadsheet or i can choose to just insert a specific chart or table so let’s go for the insert spreadsheet option and there we go so i’m going to move this over like so now this spreadsheet had four different workbooks so i had a chart which you can see there i then had some data and i then had a list of employees and you can see here it’s brought everything in that workbook into my onenote notebook and once again if you don’t want to make any changes if i double click on where it says course plan europe it’s going to open up in excel and let’s just make a simple change let’s make a formatting change here i’m just going to change the color of these bars to a dark red color i’m going to save and close down and this time you’ll see that it has automatically updated with those changes that i’ve made so it works slightly different to inserting a printout even though it looks fairly similar it does link directly back so any changes you make to the original document will automatically update in your onenote notebook now i’m going to scroll all the way down to the bottom here and let’s take a look at this final option which is new excel spreadsheet so what this essentially allows you to do is create a new excel spreadsheet directly from within onenote and you can see here i have an edit button and if i click on edit it basically opens up a temporary excel spreadsheet for me and i can start to add data i’m just going to add a couple of columns click on save close it down and you can see that that data then updates so a great way of creating a spreadsheet kind of on the fly if it doesn’t already exist somewhere on your system so those are all the different ways that you can add files and documents into your onenote notebooks in the next module we’re going to move on to talking about recording and i’m going to show you how you can add audio and video recordings into your notebooks so i’m going to head over there now i look forward to you joining me hello everyone and welcome back to the course we’re still down in section three where we’ve been taking a look at adding different types of content into our onenote pages and what we’re going to take a look at now is how we can record and add to our notebooks audio and video files now it might be at some stage when you’re working in your notebooks that you want to maybe take a quick audio note or record a video and the cool thing about this little feature in onenote is that if you do record a piece of audio or a piece of video and insert it into your page if you type any notes as you’re recording your audio or video the notes will essentially bookmark within the audio or video file so you can easily find the place in the recording where you typed your note so let me show you an example of both so we’re working up on the insert tab and you can see that i’ve just added a new page to the travel section called recording audio and video i’m going to click my mouse somewhere on this page and then in the recording group we’re going to choose record audio now what this does is that as soon as you click on that button it’s automatically recording everything that you say and you can see the audio files sitting there nicely in the onenote notebook underneath we have the time that the audio recording was started and if you take a look up to the ribbons at the top you can see i now have a contextual ribbon that’s called recording and this contains all of the options i might need in order to manage this audio recording so currently because it is recording i have a pause and a stop button and you can see as i hover over those they both have keyboard shortcuts now it might be that you are taking a recording of a meeting or maybe a lecture or something like that and as you’re recording you might also be making notes so let me show you how this works so if i take some notes just here so i’m going to type taking notes for audio recording [Music] and if i was to type something else so i’m just going to type in test test test test i could carry on going but now when i stop this recording so i’m going to press stop on that contextual ribbon i now have a couple of different ways that i can play this audio recording back if i just want to play the whole thing you can see if i hover over this file i get a little play button next to it and i can click play yo now what this does is that as soon as you click on that button it’s automatically record but alternatively what i could do is if i hover my mouse over my notes underneath you’ll see that each line of notes also has a little play button next to it so this is essentially bookmarked in the recording where i was when i was taking this note so what i can do is just click on play so if i take some notes just here and i could do the same for the line underneath recording so it essentially keeps track of what was being said at the point that the note was written now this also works for video as well so if we go back to the insert tab and click on record video this is going to pop open a window hi everybody nice to see you and it’s going to allow you to take a recording in exactly the same way so if i’m again working through this and typing in some notes so i’m going to say typing notes for video recording again that’s bookmarking where i am in my recording when i typed that note so now if i press stop on the contextual ribbon i can choose to either play back the entire recording or just the part where i took the note if i’m again working through this and typing in some notes so i’m going to say typing and it’s as simple as that now you’ll also notice that when these recordings start to play some of these other buttons in the playback group become active so you can do things like rewind for 10 minutes rewind for 10 seconds and also fast forward and then right on the end here we have audio and video settings so this is where you can customize how onenote creates and plays audio and video recordings and this is essentially going to jump you into your onenote options where you can set up things like your default audio recording device and also your video recording settings so this is particularly helpful i find if i’m ever in a training course or there is something that someone is saying that i want to make sure i get correct you can start a quick recording record it all and then you can type your own notes that is it for this module i will see you in the next one hello everyone and welcome back to the course we’re still in section three and in this section we’ve been looking at adding content and it’s now time to look at adding links into our notebooks this is a very simple process again if you’re used to using microsoft applications then you’re not going to find this difficult at all because it’s pretty similar to every other application so occasionally you might need to add links to external websites or even links to other documents into your notebooks so for example i’m currently clicked on the travel tab and i’ve created a page and i’ve called it flights so what i might want to have in here are some links to websites where you can book flights and to do this we’re staying on the insert tab and you’ll see right in the middle we have a group called links and we only have one option in there you can see as i hover over it says create a link to web pages files or other places in your notes and the keyboard shortcut to bring that up quickly is control k so let’s click and see what we get now the first two links that i’m going to add are links to external websites now there’s a couple of different ways that you can approach this the first box you have to fill out here is text to display so i’m going to put in here expedia i now need to add in the link to that particular website and you can see just to the right i can choose to browse the web from here or if i already have the website open i can just jump across and copy and paste the link so i’m just going to go to microsoft edge where i have a few different websites open and the first one here is in fact expedia so all i’m going to do is click in the url bar to highlight that web address control c to copy i’m going to jump back to onenote and ctrl v to paste it into the address field i can then simply click ok and it adds in that link let’s do another one but in a slightly different way i’m going to hit enter i’m going to go back up to link this time i’m going to display a link to sky scanner but i’m going to use the browse the web option so let’s click and this time it opens up the default page in my default web browser which for this is microsoft edge i can then simply navigate to http://www.skyscanner.net i can then copy the link control c jump back to onenote and then paste that address in so it’s pretty much exactly the same just a slightly different way of getting to your web browser and now i’ve managed to add in another link now i’m just going to give these a little bit of a title [Music] recommended sites for booking flights and then i have my two links to my web pages and of course if i hover over i can see the url if i click it’s going to jump me to that particular webpage so all very straightforward and simple let’s look at some other options that we have underneath link now what we can also do is we can choose a file to link to so if i click browse for file just here i can navigate to where i have my file stored and it’s this one just here flights.x click on ok i’m going to have the text to display as suggested flights and click on ok so now essentially i’ve created a link to a document and you’ll see when i click it’s going to open that document up in word now the final option that i have in here is i can link to other sections within my notebook so you can see at the bottom here i can expand the project artemis notebook it’s going to show me all my different sections and i can choose any one of these sections to link through to so i’m going to link to the overview section the text to display is guide for flight dates click on ok and that’s exactly what i get so if i now click it’s going to jump me to that particular section so those are the different kinds of links that you can add into your notebooks and of course if you right click on any of these you get a contextual menu which is going to allow you to jump in and edit that link if you need to make any changes you can also remove the link from here select it or copy it and that is pretty much it it is as simple as that in the next module we’re going to explore how to add equations and symbols into our onenote notebooks so please join me for that hello everyone and welcome back to the course we’re heading towards the end of section three and i just want to start to round out this section by running through a few other things that we haven’t looked at yet which you can insert into your onenote notebooks and what i’m going to go through in this module is inserting equations and symbols now i will say when it comes to equations this isn’t particularly relevant for the notebook that i’m constructing but you may find there are times where you need to insert some kind of mathematical equation into your notebooks and fortunately onenote provides an equation editor to assist you with this so let’s take a look at some of the things that you can do now again i’m still working on the insert tab and if we go all the way across to the last group that’s called symbols you can see we have in there an equation button and this is a two-part button so i can click on the top half or i can click on the lower half so let’s click the lower half first of all and what you’re finding here is a whole host of predefined equations that you can just click and insert into your notebook so for example if we take the top one just here which works out the area of a circle i can click and it’s going to insert that equation into its own little placeholder in my notebook and of course you can format this however you like using your tools on the home ribbon now when i insert this equation another thing that you’ll notice is that i then get the equation contextual ribbon and remember contextual ribbons are ribbons that only appear as and when they’re needed so from here you have lots of different options for manipulating this particular equation you have a large symbols group in the middle so if you need to change any of the symbols or add symbols then you can definitely do that and then in the structures group there’s all these other different types of fractions that you can add in to your equation now remember all of these buttons are for adding to the current equation that you have you’ll see if i was to click away that equations ribbon disappears so just be aware of that you must be clicked in your equation in order to see this ribbon but for example if i was to press space just here go up to structures and click the fractions drop down i could choose this first option just here which is a stacked fraction if i click it it’s going to add that to my equation and of course then i can add numbers to this and customize it to my needs now if i click away from this equation to get rid of that equations ribbon what i could also do is jump back to my insert tab and i could create my own equation from scratch there’s a couple of different ways i can do this if i click the lower half of the equation drop down you’ll see right at the bottom i have an insert new equation button and the keyboard shortcut for that is alt plus equals alternatively in a much quicker way of doing this is to click the top half of the button which then just gives me essentially a blank placeholder and i can construct my own equation from here and you’ll see once again i get my equation ribbon back again and i can go in and choose whatever equation it is that i want to add in and everything within these equations can be modified simply by clicking in the placeholder and replacing the characters or the operators now if you are somebody who is using a touch screen device then you also have a few extra options so once again let’s jump up to insert and i’m going to insert a blank equation so if you have some kind of stylus that you use with your touchscreen device what you can do is handwrite out your equation and then one note will do its best to convert it to text for you so in this first group here the tools group we have a button called ink equation and it says insert mathematical equations using your handwriting so let’s jump into here and we get our insert ink equation box and what i can do is i can now write my equation using my stylus and get one note to convert it for me now what i’m going to do is i’m going to drag this box out to make it a bit bigger and i’m going to use my stylus because i am using a touchscreen device to write out my equation and let’s just use einstein’s most famous equation e equals m c squared so i’m going to do my best to write this out but there we go and you can see just above it’s giving me a preview of what it thinks i’ve written and in this case that looks to be correct now if i need to make a correction when i’m writing this out you can see at the bottom we have some options for manipulating our handwriting so i could choose select and correct and then i can draw around whatever it is that i want to correct i wonder it’s going to provide me a few different options that it thinks i might want to do from this little menu now in this case i don’t want to correct it i’m just going to click on close and i can also erase any of my handwriting as well so if i click on erase once again i can just drag it over whatever it is i want to get rid of and of course if i want to clear the whole lot and just start again then i have a clear button down here now i’m going to go back into right mode and just add that to back in like so and i’m fairly happy with that so i’m going to insert it into my page and there we go we have our little equation so that’s particularly good if you have a very bespoke long equation that you want to add in instead of going through all of these different structures and symbols you can simply open up the ink equation editor write it down and then onenote will do its best to convert it and you can make any corrections that you need to make so equations probably not something you’ll use all that frequently but just know that it’s there and you can use it if you need to finally let’s jump back up to insert and quickly look at symbols now again this is fairly straightforward this will just allow you to insert any symbols into your onenote pages and you can see there i have a selection of a few that i’ve used most recently if i want to see the full list of symbols i can just say more symbols and it’s going to bring up that full list and i’m going to insert one of these symbols now let’s just move that window out the way because i’m going to go to the offices section i’m going to select the london office and you can see here i have the office address so what i’m going to do is just click at the start of office address and just add in a little symbol i’m going to add this little envelope one so i’m going to click insert close i might want to put a little bit of space in there so it just adds a little bit more interest into my onenote page so don’t forget you have a whole host of different symbols that you can use in your pages as well again this is a feature that’s available across all of the other microsoft applications so that’s it for this module very straightforward equations and symbols use them when you need to that’s it for this module i will see you in the next one hi guys welcome back to the course we’re down into the last module of section three and in this section we’ve been seeing how we can add all different types of content into our onenote notebooks so i’m just going to finish up this section by running through the options that you have when it comes to copying and pasting content from other documents into your notebook the first thing i’m going to do here is create a new page so i’m going to jump into my courses group i’m going to click the plus to create a new section and we’re going to rename this one onenote and hit enter and this page is going to be called training script and what i want to do is i want to take the training script what i’m going to say in this particular course from a word document and paste it into this page in onenote and this is fairly straightforward if you’re used to copying and pasting things across different microsoft applications you’re probably not going to have too many worries but let’s run through it because there are a couple of things when it comes to pasting that you need to be aware of so i’m going to jump across to a word document and all you need to do is make your selection so select the text that you want to copy and paste so i’m going to say i want these first few paragraphs and then of course you need to copy it and you can use whatever method you want to use in order to copy this text so that might be control c if you like your keyboard shortcuts alternatively up on the home ribbon you have a copy button or you could right click your mouse and select copy from the little contextual menu so let’s click copy and jump back to onenote so now what i’m going to do is i’m going to paste this text in now you’ll find your paste options on the home tab in this first clipboard group now again this is a dual button so it’s split into a top half and a lower half now if you click the top half of this button it’s exactly the same as doing a control v to paste and what onenote will do is it will use your default paste option in order to paste that text in if you’re wondering what your default paste option is if you click the lower half of the paste button whatever icon you have showing first is going to be your default paste option so for me that is to keep the source formatting so what that means is if i just do control v it’s basically going to retain all formatting from the source document so if i have my font formatted in times new roman in the source document if i was to choose keep source formatting when i paste it’s still going to be in times new roman in onenote now of course i have a few other options in here i could choose to merge formatting so that means whatever my default fonts are in onenote when i paste text in from another document it’s going to take on the formatting that’s set in onenote the third option i have is to keep text only so that’s going to bring across unformatted text and you can do whatever you like with it or i could choose to insert the text as a picture now i’m just going to do that just to show you the difference with this option let’s select picture and what you’ll see is that within the placeholder if i click i now get these handles around the outside so onenote is treating this as a picture which means i can’t just jump into this text and edit it so just bear that in mind if you decide to use that option now i’m going to control z just to undo that and what i’m going to do is i’m going to select keep source formatting paste that in and there we go and you can see with this option i can jump in and i can make any changes i need to this text and what you’ll also see at the bottom is that i have a link back to the original document if i need to refer to it at any stage so that was copying and pasting text from a word document into onenote let’s run through one more example of copying and pasting something from excel into onenote so i’m gonna go back a level and i’m just going to jump to where it says schedule and click somewhere down here now if i go to excel you can see i have an excel worksheet here that has the course plan table on it so what i could do is select this entire table i can click on copy jump back across to onenote and then once again i have my different paste options so this time i’m going to select merge formatting to pull that through and it’s going to take on the default formatting that i have in this onenote notebook if i control z just to undo that and do it once more but this time i’m going to say keep source formatting you can see i get something slightly different because it’s bringing across the formatting from the original source document so the main takeaway from this lesson is just be aware of those different paste options that you have and how they can affect the look and feel of the content that you’re pasting in that’s it for this module that is it for this section in the next section section four we’re going to move into taking a deeper look at formatting our notes so i’m excited grab yourselves a coffee and i will see you over there hello everyone and welcome back to the course it’s time for us to take a look at some of the options that we’ve run through in this section in onenote for windows 10. so we are pretty much picking up from where we left off in the last windows 10 tutorial and if you remember we created a project called project sierra we created some sections and some pages and then i showed you how you can make sub pages and we also took a look at the main options that we have in the onenote for windows 10 interface so let’s move on a little bit now and start taking a look at how we can insert items into our pages now this is fairly straightforward in onenote for windows 10. all of your insert options are found on the insert tab and from here you can insert various different items like tables files printouts pictures and online video as well as things like links and audio meeting details symbols so on and so forth so fairly similar in that way to the desktop version now when it comes to typing notes this works in exactly the same way you just click somewhere in your page [Music] and type your note and you’ll see that the note appears in a very similar placeholder that you can pick up and move around you can also resize it by dragging it out to give yourself a little bit more room and you can pretty much place this wherever you want on your page now when it comes to formatting text that you have within placeholders if you jump back to the home tab this is where you’re going to find all of your formatting options that you have available so i can make this bold i can make it italic i can highlight it i can even do things like copy the formatting using format painter or add things like bullet points and numbered items now i’m gonna do undo a couple of times just to take that back to the plain text because what i want to focus on in this particular lesson is things that you can insert into your notebook so let’s jump back to the insert tab and let’s start out by taking a look at how we can insert a table so i’m going to click the table button and again this is probably fairly similar to what you’re used to i’m going to select how big i want my table and very quickly i’ve managed to insert a nice table into here and i can now start to add in my required data now i’m going to select that placeholder and just delete that out and just show you a couple of other options that you have on this ribbon because most of them are pretty much the same as the desktop version so let’s click on file and i’ll just show an example of inserting a file into your notebook so i’m going to select this word document just here and click on open and i can choose to upload it to one drive and insert a link to it i can insert it as an attachment or as a printout so i’m going to say insert attachment and just like that we have that document sitting there ready to open we can insert pictures in pretty much the same way we can choose to insert a picture that we have saved off we can choose to select one from a camera or from an online source so if i was to select from online it’s going to open up a pane where i can then search for a particular picture so let’s just say london i can then choose the picture that i want and it’s going to insert that very quickly into my notebook now once again i’m going to click on undo to get rid of that now when it comes to something like online video again this is where you’re going to need to know the exact url of the video that you want to insert so you might have to jump onto youtube or vimeo grab the url paste it in here in order to put your video into your notebook now pretty much everything else in this section is exactly the same in the desktop version as in this one when it comes to copying and pasting you can utilize exactly the same keyboard shortcuts so for example if i press ctrl c to copy click down here and ctrl v to paste that’s going to work nicely now if you’re looking for your cut copy and paste options on that home tab you’re going to need to click on the clipboard and then you’ll see a drop down menu with those three available in there so when it comes to inserting items into this particular version of onenote fairly straightforward insert tab there you have your options and for the most part it works pretty much the same as the desktop version that’s it for this module i will see you in the next one hi everyone welcome back to the course this is still deb and we are down into section four where we’re going to be taking a deeper look at formatting notes now formatting is reasonably simple but it’s a very important process because it makes your text more readable it allows you to emphasize certain points and also gives a bit more structure to content that you have on your page and i’ve been utilizing font formatting throughout this course so far but in this particular module i just want to delve into all of the options that you have so that you’re clear and can format your notes effectively so i’m currently clicked on the onenote section in the training script and you can see here currently i have a few paragraphs of completely unformatted text now i can see in here i have some spelling errors that i might want to correct and i’ll do that later but for now i want to give this a bit more structure make it a little bit more interesting by formatting my paragraphs now in onenote you can choose to format everything that you have on your page or you can select specific paragraphs to format so let me show you examples of both now if i click on my text you can see that i have this placeholder around the outside now if i select that placeholder i’m effectively selecting everything contained within the placeholder so any formatting that i apply at this point is going to apply to everything within the placeholder what you’ll also see is that as soon as i clicked on that placeholder i get my mini toolbar just above and the mini toolbar holds lots of different formatting options to make it a bit more convenient when it comes to formatting now currently i’m clicked on the home ribbon where i have all of my formatting options but it might be that i’m clicked on a different ribbon and i want to format some text so instead of having to jump back to home to get to those formatting options the mini toolbar gives me quick access to them wherever i am so the first thing i’m going to do here is i’m going to change my font style so currently i have this set to calibri and if i click the drop down this is going to give me a list of all of the inbuilt fonts within onenote you’ll see at the top i have my most recently used fonts and then i have a list of all of the fonts within one note in alphabetical order which makes them a little bit easier to find now if you know the particular font that you want to use you can scroll through the list and look for it or alternatively you can just start typing the name of that font and it will jump you to the correct place in that list so for me i’m going to use lato light and you can see as i type it it’s found that in the list it’s the last one just here if i click it it’s going to apply that font to everything i have within that placeholder now currently i have a little title here called what to expect from this course and it doesn’t really stand out from the rest of the text so what i could do is just select that line of text as opposed to the entire placeholder jump up to my font drop down and this one i’m going to select lato again but this time i’m going to choose lato black so what i’m doing here and this is quite important is i’m sticking within the same font family i’ve used lato light for my paragraphs and i’m using latte black for my heading and this ensures that my fonts aren’t going to look too different to each other as they’re within the same family it just gives a more consistent overall look and feel there’s something else i might want to do here is i might want to select that heading again and increase the font size so once again from the drop down menu currently i’ve got 11 point font selected but i could choose something that’s a little bit bigger just to make that heading stand out a little bit more now underneath those two options we have some additional ways of styling up our text we can make text bold and you can see the keyboard shortcut there ctrl b italic we can underline we can add a strikethrough to cross something out and then we have a choice of subscript or superscript so for example if you typed the word h2o you could use superscript to make that look correct so let’s just apply some of these options i’m going to take the let’s just take this first sentence in the second paragraph i can make it bold i can make it italic i can underline it i could strike through and if i type in h2o what i could do is select the number two jump up to my superscript and subscript button and make it superscript so that looks a little bit more accurate now i don’t actually want all of this formatting applied so i’m going to delete out the word h2o and what i’m going to do is i’m going to highlight this whole sentence again and if we go up to our basic text group you can see here i have a clear or formatting button keyboard shortcut ctrl shift n and you can see it says it removes all formatting from the selection leaving only the normal unformatted text so when i click this it’s going to remove absolutely everything including the font style that i selected now in this case it’s a little bit quicker for me to use this button and then just go back in and reselect later light to apply that font but in some cases it might be quicker for you just to highlight the sentence and undo all of the formatting that you applied now a couple of other options in this second group that we have here we have a text highlighter and i showed you how to use this before it’s a really nice little option if you want to highlight or make something stand out in your bulk of text so let me take this sentence here where i’m introducing myself and if i go up to highlighter click the drop down i have a choice of different highlight colors so let’s highlight this in a bright green and there we go and once again if i wanted to remove that i can select the text and i can go back into here and choose no color or i could clear the formatting but remember it’s going to clear that font style as well and take it back to your default and then of course if we highlight this first paragraph i can change the font color and i have a selection of theme colors to choose from and then a selection of standard colors now if i’m not finding the color that i want in this palette i could click on more colors i can choose from a standard color selection or i can go to custom and get super granular about the color that i’m choosing so i can move around this color palette and let’s go for a purple i’m going to go for a lighter purple and you can see in the bottom corner it’s showing me what that color is going to look like click on ok and then it’s going to apply that to whatever paragraph i have selected now i’m going to ctrl z just to put that back to black now the final few options that we have in here are the increase and decrease indent so once again if i wanted these first two paragraphs to be slightly indented from the rest of the text i could select them and choose to increase my indent position and it’s going to indent those and if i want to do the opposite again i can select and i can choose to decrease my indent position to move that back again then finally underneath i have some alignment options so currently my text is all aligned to the left now for this i’m actually going to select the entire placeholder and i’m going to say align to center and you can see i get a completely different layout for my text i could also choose to align to the right and that’s sometimes useful if you want to move your text box over to here it gives it a different look and feel now again i’m going to ctrl z just to pull that back to align left and then right at the bottom we have some paragraph spacing options so currently you can see the spacing in between my paragraphs is reasonably small so it might be that i want to increase that to make it a bit more obvious and prominent so if i go down to paragraph spacing options i can choose how much space i want to set before the paragraph and how much space after and i’m going to say i want 20 point spacing afterwards click on ok and you can see i get a much wider gap after each paragraph and the final button that we have in this little basic text formatting group is the delete item button so this is just another way of being able to very quickly select a paragraph so if i hover over the second paragraph you’ll see i get a little arrow at the side i can click it to select the paragraph i can click delete and it’s pretty much the same as pressing the delete key on your keyboard so that is it a very quick run through of all of those font formatting options that you have available in the next module i’m going to show you how you can utilize format painter so please join me for that hello everyone and welcome back to the course we’re down in section 4 where we’re taking a look at formatting and in the previous module i showed you the different options that you have when it comes to formatting paragraphs of text in your notebooks now in this particular module we’re going to follow on from the previous one i’m going to introduce you to the format painter now again this is something that i use towards the beginning of this course but i want to make sure that you understand exactly how to use it because there are a couple of things that aren’t immediately obvious so once again i am working in the training script page and i’ve added a bit more text into this page now if you take a look at the text that i’ve actually added i have some times 10 to 12 and also 2 to four a bit further down and i want to make those stand out from the rest of the text on the page so once again what i can do is i can hover my mouse over the little arrow that appears in the margin and click to select that piece of text now if i want to select another piece of text i can hold down my control key click to select that line as well and i’m going to make both of these bold like so and then underneath i have a list of items that i’m going to cover and then underneath each of these headings i have essentially a list of agenda items so again what i might want to do here is apply some formatting to make them stand out and give this notebook a little bit of structure so the most obvious thing i might want to do with some kind of list would be to either add bullets or numbering and if we jump back up to our basic text options you can see i have a whole host of different symbols that i can use as bullets so i’m going to pick this little tiny black square click to add that in now an alternative option to adding in just symbols as bullets is that you can number items as well so if i go up to the button next to bullets we have a numbering option and this is going to pull up the numbering library and it shows me all the different styles of numbering that i could choose so again it really depends on what your personal preference is or what matches the overall theme of the notebook that you’re working in so for this one i’m actually going to choose these roman numerals click to add those in and when it comes to things like numbering you’ll notice that if i click on one of the numbered items it selects them all so if i wanted to change to a different style of numbering i can just jump back up to numbering and then choose whatever it is that i need to now the final thing i want to show you in this lesson is how to utilize the format painter so what i’m going to do is i’m going to press enter and you’ll see that automatically it’s going to give me my next numbered item now i don’t want to have a numbered item here i want to create a new heading so all i need to do is i can just click on numbering but you’ll see that it’s going to leave my cursor indented so if i want to pull it back so it’s flush with that left-hand margin this is where i would use my decrease indent position and when i click that it pulls it back to where i need it to be so i’m going to add another heading in here we’re going to say 4 to six and i’m going to add in a few more items now a quick way of me formatting this new list the same as the list that i have above is to utilize the format painter and what the format painter does it allows you to select a piece of text that already contains formatting and then essentially transfer it to another piece of text so in this example i want this heading 4 to 6 to look exactly the same as the one just above two to four now in practice this just contains bold formatting so it’s not too much of a hassle for me to just apply bold but if i had multiple pieces of formatting applied so if i select it and maybe if i change the color maybe i’ve gone in and i’ve made it bigger maybe i’ve made it italic i’ve now applied a number of different steps and so to recreate those manually for this particular title is going to be a little bit time consuming a much quicker way of doing it would be just to select the text that contains the formatting you want to copy and in the clipboard group click on the format painter and you can see the keyboard shortcut there is ctrl shift c now i’m going to click the format painter once and you’ll see that my cursor changes to a paintbrush and now all i need to do is paint over and let go and it’s going to copy that formatting across now one thing you’ll also notice is that as soon as i’ve done that my cursor returns to just that standard cursor so what do i need to do if i want to carry on painting this format so we’re going to do the same again but this time i’m going to copy the formatting to multiple items so it’s the same process i’m going to select the text but this time i’m going to double click on the format painter i can then paint over this heading scroll up and paint over this heading and you can see that my cursor is still showing in paint mode so if you click on format painter once you only get to paint once if you have a lot of painting or copying of formatting that you want to do you need to double click on that format painter once you’re done with your formatting you can just click on format painter to turn it off alternatively you can press the escape key on your keyboard and that will take you back to your regular cursor so format painter is a great way of working a little bit more efficiently saving time and also ensuring that your formatting is consistent throughout your notebook that’s it for this module i will see you in the next one hello everyone and welcome back to the course in this section we’re taking a look at everything to do with formatting notes to give our notebook structure and make it easier for the reader to decipher exactly what they’re looking at and in the previous module i showed you how you can utilize bullets and numbering and also use that format painter to copy formatting to other pieces of content i’m just going to start out by finishing that up so if you remember right at the end of the last lesson i added in another list of items and currently these don’t have any bullets or numbering applied to them like the previous two sections and i want everything in here to be consistent i want everything to have bullets supplied as opposed to numbering so once again i’m going to select the text that contains the formatting i want to reuse and i’m going to double click on my format painter and i’m going to paint over the list below and then i’m going to paint over the final list and then i’m going to click on format painter to come back to my regular cursor so now everything’s starting to look a little bit more uniform and this is a really important point when you’re working in any application not just one note making everything look consistent is really important when it comes to the readability of the document that you’re creating and something that can help you with that is styles and you’ll see on the home ribbon in the middle we have a styles drop down and again this is something we took a look at very briefly in one of the earlier modules but let’s just delve into it a little bit deeper so you understand exactly why these can be useful now styles are essentially pre-formatted pieces of text which are available as standard in onenote and you can see from this drop down you get a little preview as to what each of these will look like when you apply them to any piece of content in your notebook and the idea of these is to give your document consistency and also structure and it also makes it a lot easier for you to very quickly apply formatting without having to manually apply it from your basic text formatting options so let’s take a look at how we might use these now at the top here i have the heading what to expect from this course and i just applied manual formatting to this i changed the font style i increased the font size to 14 and i also made it bold so that’s essentially three clicks to get the result that i want what i could have done instead was select this heading go to styles and select heading 1 and that’s going to apply that heading 1 style and all of the formatting to that heading and if whenever i have a heading in my notebook i consistently use heading 1 that’s going to make my document look a lot more tied together and it also saves me a lot of time because it just requires one click now i’m going to go in and i’m going to add a subheading here called agenda i’m going to select it and i’m going to give this a heading 2. i’m then going to select 10 to 12 and i’m going to give this a heading 3. so you can see that each of these headings as i’m applying them are slightly different from the previous one but they still give a cohesive look so let’s apply heading three to this one as well and also heading three down here now of course i could carry on going and it really depends how many subheadings i have in my document but i can utilize all of these throughout to give a consistent feel you’ll also see that i have some other styles available in here which i could also use so if i have a page title i might decide to apply this particular style if i have a citation or maybe a quote and what you’ll see is if i just show you if i select this paragraph maybe this is a quote and i want to emphasize that i could use the quote style and when i click in it you can see the formatting that’s applied for this style so it’s calibri font it’s size 11 it’s italic and if i click the font color drop down you can see the font color that it’s using highlighted in the theme colors palette so i can see all of the individual properties that essentially make up that quote style now i’m going to control z because i don’t need that to be a quote now i’m going to leave you to have a little play around with these see which ones you like which ones you don’t but they are a super quick way of just applying some kind of structure to your document that’s it for this module i will see you in the next one hello everyone and welcome back to the course in this section we’ll be taking a look at some of the options that we have when it comes to formatting our text notes and i want to move on from that a little bit in this module and run through some options that you have when it comes to organizing information on your page and we’re going to start by taking a look at tables now once again we’re going to be working predominantly on the insert ribbon as that is where we will find add tables option in the second group just here now again if you’ve worked in other microsoft applications such as word or maybe excel you may be pretty familiar with the concept of tables now if you are used to using tables in those applications then you might find the option in onenote a little bit limited there’s definitely not as much that you can do with a table in one note compared to something like word but nevertheless it can still be super useful for organizing text making things easier to read and also lining up items on a page so in this module i’m going to show you how you can insert a table and we’re going to run through the formatting options that you do have so i’m clicked on the training script page and what i’m going to do here is i’m going to add in a table which is essentially going to replace these bulleted items so currently the way i have this laid out these bulleted items take up quite a bit of room so i’ve decided that these would look a little bit better if i organize them in a table so i’m going to click after the word agenda and hit my enter key to put me onto a blank line i’m going to jump up to table and at this point i have a couple of different options i can select how many columns and rows i want in my table simply by dragging over the grid alternatively i can click on insert table and manually type in the number of columns and the number of rows now for me i always find it a little bit easier just to drag over the grid so i’m going to create a table that is seven rows by three columns click to insert and what you’ll see is you get this rather small kind of cramped up table now of course this is a little bit small for me to be able to work with effectively so the first thing i want to do here is resize these columns and it’s a simple case of hovering your mouse over the column boundaries until you get that double-sided arrow and just dragging out to the size that you want and of course you can adjust these later if you don’t have it quite right at the outset so let’s make this table a little bit bigger like so now one thing that you’ll notice again is that when i’m clicked inside this table if you cast your eyes up to the ribbons you can see that i now have a contextual ribbon called table and this ribbon contains all of the options that i have in relation to formatting and organizing this table so i have a select group first of all that will allow me to select the entire table i can select specific columns so wherever i’m clicked it’s going to highlight again i can select specific rows or i can just select a specific cell and all of these selection options are really dependent on where you’re clicked within your table now of course when it comes to selecting you can also utilize this little gray arrow in the margin if i want to select the first row i can click the grey arrow to select it and if i hover just above the table you’ll see that i get that black downward facing arrow which is going to allow me to select different columns i can of course drag my mouse so if i want to select a few different rows i can definitely do it that way or maybe if i want to select a few cells within one column i can do it that way as well so a few different options there when it comes to making selections the next group along is deleting so we can delete our entire table we can delete specific columns that we’ve selected or specific rows and then we have an insert group and this is going to allow us to insert additional rows either above or below where it clicked or additional columns to the left or to the right of where we’re clicked we then have a group that contains some formatting options so if i want to hide all the borders of a table i can do that and that will look a little bit more useful when we actually have some content within the table i can also choose shading so if i want to change the background fill of some of the rows or maybe a specific cell or column then i can definitely do that and then i have alignment options and this relates to the text contained within each cell i can choose to align it to the left to the center or to the right now we have a couple of other options on the end here which i’m going to cover at the end of this module let’s just focus on the ones that we’ve just run through so what i’m going to do here is i’m going to start to add some content in and in this first cell i want to have the text 10 to 12. so i’m going to select that text and i’m going to do control x which will cut alternatively you could have used the cut command on the home ribbon or you could right click and select cut from there i’m going to click in this first cell just here and i’m going to press ctrl v to paste that in and you’ll see that it’s pasted with all of its original formatting because i used ctrl v which essentially invokes my default paste option which is to keep the source formatting now underneath here i’m going to type in agenda item we’re going to have description and then i’m going to have time now one thing you might notice is that the font style has gone back to calibri because calibri is my overall default font it’s not picking up the latter light that i changed everything in this notebook to be so probably what i’m going to want to do here is select the entire table and to do that again i can jump up to the table ribbon and in the first group i can click select table and then i’m going to go to home and i’m going to change all of the font to lato light so that now ensures that everything that i’m going to type into this table is going to have the correct font style now another thing i’m going to do here with these column headings is i’m going to select the entire row and i’m going to make them bold and now i’m going to take these bulleted items and i’m going to cut and paste into the table so let’s select the first one ctrl x to cut ctrl v to paste and i’m going to do exactly the same for all of the others like so now you can see because i’ve just done a direct cut and paste it’s brought across those bullets as well now it might be that once you put them in the table you don’t have any need for the bullets so all you need to do to get rid of those is select all of the bulleted text jump up to the home ribbon and just deselect bullets to put those back now when i talk about tables in onenote being slightly less functional than in other applications i mean for things like this so for example this first row where we have the times if i was working in a table in say word what i would probably do here would be to merge all of these cells so we just have essentially one cell running across the top but you’ll notice if we go to the table ribbon we don’t have any merge options so you kind of have to keep it in this format what i’m going to do now is just go in and type in some text into the description fields so there we go i’ve added in a brief description for each of these agenda items and also the time that each item is going to start now it might be that i want to add another column that contains the room that this course is taking place in so what i might want to do here is first of all i’m going to drag this table board in as i don’t need as much space here i’m going to select this last column and i’m going to say insert right to insert another column now you’ll see as soon as i do that onenote is going to resize my table to accommodate the widest item in that column now normally this is fine but if you want to widen then you’re going to have to go in and manually widen these columns again so i’m going to say room and we’ll say room a room b c d and e now some other things i can do in here to liven up my table if i click in this heading row i can jump up to my select group and say select rows and just to make this stand out a bit i’m going to apply some shading so let’s apply some lilac shading to that heading row i’m also going to click where we have the times i’m going to say select cell and for this i’m going to apply bold formatting and then i’m going to select the time column so all of these items just here just by clicking and dragging my mouse and i’m going to make these italic now something else i also could do is hide these table borders so if i jump up to the format group i have a hide borders option which is just going to give me that so essentially it is still in a table and you can resize still by dragging but you’re just not seeing those table boundaries so sometimes that does tend to look a little bit neater and a bit more professional now just for demonstration purposes i’m going to bring those borders back and remember i can highlight two columns of content and maybe i want to center align those two now another option i have up here is the sort option so i can choose to sort the items in my table in ascending order so a to z or descending zed to a and this is really important here it’s got a tick next to header row my table’s a little bit different to most tables that you might create because my first row isn’t actually my heading row really where i have these column headings that essentially is my heading row so for me if i wanted to sort in ascending order and i have header row ticked one note is going to think that the first row is my header row and so when i sort it’s going to look a little bit strange so for me i can’t actually do that if i just want to sort the items so maybe i want to sort these agenda items into alphabetical order i would need to select them go up to sort and say sort selected rows i’m going to sort by column 1 in ascending order click on ok and now you can see that that has worked so just be aware of that header row option now essentially what i want here is this table for each of these different parts of the training course now what i find is the easiest way is just to copy this particular table i want everything to look pretty much the same so i’m going to click in my table up to my table tools select table and then going to go to the home ribbon and say copy or ctrl c if you want and i’m going to place my cursor where i want the new table to be and i can do control v to paste that in so once i’ve done that i have all my formatting everything that i need and all i would have to do is go through and replace the items in the table so once again i can do a control x but this time i’m going to say paste and merge formatting to take on the formatting of the table let’s do a couple more i’m going to select control x i’m going to do paste and merge formatting i’m going to carry on going through repeating this process for the rest of these agenda items so this now looks a lot more interesting and also a lot neater and more organized now that i’m using tables i’m just going to make a few further changes to these tables so i’m going to click in the second table in that second row i’m going to go up to the select group and select the row and i’m going to change the shading to green i’m going to do the same thing for the final table select the row and let’s change the shading to a yellow color and one thing you’ll notice is that with this table at the bottom we don’t have quite as hefty as schedule in the last part of the day and so i have a blank row at the bottom here that needs to be deleted and again this is a simple process you can either click in the margin to select the row alternatively click on the select rows button and then you can utilize your delete options so i’m going to say delete rows just to remove that and then finally at the top here we have an option to convert to an excel spreadsheet so what i could do is i could click in this table i’m going to say select table and click convert to excel spreadsheet and you can see what i get now i’m now working within essentially a mini excel window and if i click on the edit button it’s going to open that up in excel which then of course widens what i can do with this data because i have all of excel’s functionality to hand so it might be at this point that i choose to merge these cells so i’m going to say merge cells like so click on save and when i close the excel spreadsheet back down again you can see that those cells are now merged so it gives the table a bit of a different look and feel and it really depends what you want to do but this is a great way of having a table in onenote but having access to excel functionality so lots of options you have in there for organizing your data with tables that’s it for this module i will see you in the next one hello everyone and welcome back to the course in this module i want to start to introduce you to the concept of tagging in onenote i’m going to start out with the most basic tag that you can add and probably one that you’ll use most often and that is the to-do item tag now the to-do item is great if you want to create like a to-do checklist so for example for this project project artemis there are lots and lots of different tasks that need to occur before this project can go ahead anything from organizing which team members are going to be sent to the different locations to booking the training rooms organizing flights and hotels writing the training content all of those different kinds of things so in its most basic form what you can do in one note is you can add a list of items or to-do items utilize the to-do tag and then check them off once they’re done so let’s take a look at how this works so i’ve created a new section called to-do list and i’ve called this page to do items i’m going to click my mouse right at the top there and on the home ribbon in this tags group you’ll see that i have a to-do tag now what you also might notice is that to do also appears at the top of this tags list and that’s because it’s probably one of the most popular ones you’re going to use now there is a keyboard shortcut to insert this particular tag of control plus one and we haven’t covered tags yet you can see we have a lot of items in this big long list we are going to go through some of these so you understand what they all do and how helpful they can be for the time being we’re just going to concentrate on this first one so let’s click on to do and you’ll see that it enters in a placeholder with a little checkbox and i can then type in my to-do item so assign team members to locations if i hit the enter key you can see i get another to-do box hit enter again i get another one so on and so forth and i could carry on going adding my different to-do items and that’s pretty much all it is it’s a very simple little utility but it just allows you to keep track of the things that you need to do and once they’re done you can just click in the box to tick those off now you can make some very minimal modifications to how these to-do boxes look so if i right-click my mouse you can see i have options to uncheck the box i can also remove the tag entirely i’m going to talk to you about find tags a bit later on but the one i want to go into is customize tags so i’m going to select the to do tag at the top and i’m going to say modify tag so if i wanted to i could change the display name of this particular tag but i can also do things like change the symbol the font color and the highlight color so you have some limited customization options so for example if i click the symbol drop down you can see i can change to any of these symbols now i actually like having a check box but it might be that i want something that looks a little bit different maybe this green star check box and you can see in the preview below what that’s going to look like it might be that i want to change the font color so let’s change that to a dark green color and if i wanted to i could add a highlight now i don’t particularly want that i’m going to say none and one important thing to know is it says underneath customizations do not affect notes you’ve already tacked so if i click on ok and ok again you can see that the check boxes i’ve already added aren’t affected so i’m not getting that updated formatting but if i was to click somewhere else and then select to do from tags i’m going to get that new style but of course if i did have quite a long to-do list and i wanted to change the formatting i could just select the current tags jump up to my tags group and click the newly formatted to-do tag and that’s going to replace all of those now there’s a whole heap of other things that you can do with tags including the to-do tag which i’m going to show you a bit later on because we have a whole module dedicated to exploring all of the tags that you can see in here and using them in a meaningful way but for now that’s how you create a very simple to-do list with checkboxes that’s it for this module i will see you in the next one hi guys and welcome back to the course we’re heading steadily towards the end of section four in this section we’ve been taking a look at formatting tools and how you can organize your information within onenote effectively and no section on formatting would be complete if i didn’t run you through the options you have when it comes to spell checking nothing makes a document or a notebook look unprofessional quite like misspelt words particularly if you’re going to be sharing this notebook with your team colleagues or maybe even a manager you want to make sure that every time you create a page you do run through a spell check now i want to start out just by taking you into the backstage area just so you can see where all of your spelling options are because that’s really going to determine how you spell check your notebook so let’s go up to file and we’re going to go all the way down into our one no options and the section that we are interested in is the proofing section now i would advise you to jump into here and just review the options that you have turned on but the thing i want to draw your attention to is this section at the bottom so underneath here you can see that i have selected to check my spelling as i type and i’ve also got check grammar with spelling as well so what that basically means is that as i’m typing my notes in one note onenote is checking to make sure i’ve spelt words correctly and if i do spell something incorrectly it’s going to indicate that and i have an option to correct it as i go the same thing applies with grammar because i have this option selected as well now some people don’t like their applications checking their spelling as they go they’d rather just wait until the end and then spell check the entire thing and that’s entirely up to you if you do want to turn off that option make sure you select hide spelling and grammar errors now i’m happy with mine set as they are i’m going to click on ok and just show you what i mean so if i was to type a word let’s spell something incorrect i’m going to say microsoft instead of microsoft and you can see automatically onenote has recognized i’ve spelt that wrong and i have a red squiggly underline so if i right click my mouse you can see straight at the top it’s going to give me some suggestions of what i might have been trying to say and in this case it’s picked up that i probably wanted to say microsoft so i can click to make that correction i can choose to ignore or i can choose to add it to a dictionary now the add to dictionary option is really useful particularly for things like names so onenote won’t necessarily recognize your manager’s name and so might think that that’s an error when you type it into the page and if you’re always typing your manager’s name it is a bit annoying to have to go in and ignore the error each time so what you could do is add the word to the dictionary instead so that the next time you type it one note knows that that’s an actual word and it doesn’t highlight it as an error but in this case i’m going to select microsoft and you can see it updates that word so i’m going to double click to delete that out because i don’t need it but hopefully you get the idea so if you want to check your spelling and your grammar as you go just make sure you turn on those two little options now the alternative thing that you can do is you can spell check each of your pages at the end so if i jump up to the review tab you can see i have a spelling group here and the first option is spelling so let’s click that button and you can see it’s telling me straight away the spelling check is complete so essentially i’ve been pretty good here i haven’t got a misspelt word or a grammatical error on this page at all let’s click on ok to get rid of that now let me jump to a page where i know i do have some errors i’m going to go into my courses section group and on the onenote page let’s run our spell check again now this time you can see that i have the spelling pane opened on the right hand side and it’s picked up the word powerpoint and that’s because i’ve used a lowercase p within this word and it should really look like this and you can see that i’ve got some suggestions underneath which i can choose from so i’m going to say i meant powerpoint with a capital just to replace that word it’s then picked up the word won’t so you can see that i’ve missed out an apostrophe now as i’m going through you can also see that the word that i’m currently spell checking is highlighted in the notebook and this is a good opportunity for you to see the different visual indicators applied to different errors so because this is a grammar error as opposed to a spelling error the word has a blue double underline whereas spelling errors have that red squiggly underline so once again the suggestion i have here is correct i’m going to select it to replace it moves on to the next one and i can see here that this is actually a spelling error so this should say i can’t wait to dive into it so once again the suggestion here is correct i’m going to select to change it to weight and then i have another grammatical error once again i’ve missed out an apostrophe so i’m going to accept this suggestion and now my spelling check is complete now it’s worth noting with this spell check that you can only check one page at a time there isn’t any feature that allows you to define the scope of what you’re checking so i can’t say to one note check the entire notebook which would include all sections and all pages i just have to check each page separately so how you want to manage that whether you want to do it as you go or do it right at the end is entirely up to you now let’s do one final spell check i’m clicked on the schedule tab in the course plan group and i can already see here i have the word sharepoint repeated throughout this little table which is a red squiggly underline so it’s telling me that it’s a spelling error so i can jump back up to spelling i can see that once again it’s because i haven’t capitalized that p so i’m going to select the suggestion and replace that for each of these by simply clicking again there’s no way to replace them all in one go unfortunately so that’s it for this module and also for this section we’re going to be moving across into section 5 now where i’m going to show you some more tools available to organize your content so i’m looking forward to it i hope you will join me hi guys and welcome back to the course so now let’s take a look at some of the things that we’ve learned in this section in the windows 10 version of onenote so the first thing i’m going to do here is i am working in project sierra i’m on the to-do list section and i’m currently clicked on the monday page and currently i have a single note in there that says remember to call the bank now what i’m going to do here is i’m going to press enter i’m just going to add a bit of a title and i’m going to call this important things and what i want to do here is apply some formatting to this title and you’ll see as i highlight important things i get that little mini toolbar pop-up that’s going to give me some of those formatting options that i might find useful and if i click on the three dots it’s going to give me access to a lot more options as well it just so happens that the option that i want to use isn’t on this mini toolbar so i’m just going to select important things and go up to the home tab because what i want to do here is i want to apply one of those heading styles to really make this title stand out from the points below so i’m going to go all the way across this ribbon to where we have heading 1 click the drop down and i’m going to give this a heading 2 heading so once again when it comes to applying styles it works exactly the same way as onenote for desktop now what i want to do is i want to add some tags and again we’re working on our home ribbon and if we go over to this little check box item and click the drop down this is where we can find all of our tags now the list in onenote for windows is not as comprehensive as what you’ll find in that desktop app if you remember we have a very long list of tags to choose from but we have a few really important ones so the to-do list checkbox the important tag questions remember for later and also definition and of course if you want to you can jump into here and create your own custom tag so maybe i want to be able to tag contacts so i’m going to call this one contacts i’m going to select an icon now for this i’m going to jump to all icons and let’s see what we’ve got in here i’m going to select this one click on create it’s telling me my tag was created successfully so now if i click that drop down i should be able to find my newly created tag in here and of course right at the bottom i have the option to delete my custom tags which at the moment is only this context one now i don’t want to delete it so let’s just go back because the one that i want to choose is the to do tag and that’s going to give me that all important check box and then when i hit enter i can carry on going through and typing in my checklist items [Music] now if i wanted to create another list down here i’m going to say medium priority it might be that i want this to take on the same formatting as the important things heading so what i could do is i could jump up to the home tab and just apply heading 2 but i could utilize my format painter so i’m going to select important things because that contains the formatting i want to use and then on that home tab in the middle i have a format painter icon so let’s click it once to activate and then all i need to do is paint over my text to apply the same formatting hit enter and i can now enter my medium priority to do items like so and once again i could tag these if i wanted to i’m going to select both items jump up to my tags and this time i’m going to say that these are important now one other thing we took a look at in this section was utilizing spell check now with onenote for windows 10 if you go through all of these ribbon tabs then you won’t find an option on here for checking spelling and that’s because one note is set up to check your spelling as you type so for example if i was to go into here and make a blatant spelling mistake so let’s say i say [Music] like that once i click away then one note is going to highlight that to me by a red squiggly line letting me know that i have a spelling error just there so what i can do is right click go to proofing and it’s going to give me some suggestions i can also choose to ignore or add to the dictionary from here so i’m going to choose the correct spelling which is priority and it fixes that spelling error for me the same thing is going to apply with grammar now if you want to check what you have set up for your spelling settings if you go up to the three dots in the top corner and then choose settings and go to options if you scroll down you’ll see that underneath proofing you want to make sure that you have hide spelling errors toggled off this means that onenote is going to check as you type so if you know that you have a spelling error but onenote isn’t recognizing it it’s probably because you’ve got this setting toggled on so don’t forget to check that so that is it for this section i will see you in the next one if you’re not a subscriber click down below to subscribe so you get notified about similar videos we upload to get four free courses in excel quickbooks microsoft project and photoshop click over there and click over there to see more videos from simon says it

    By Amjad Izhar
    Contact: amjad.izhar@gmail.com
    https://amjadizhar.blog

  • Python Programming Fundamentals

    Python Programming Fundamentals

    This comprehensive resource introduces the Python programming language, covering its fundamental concepts and practical applications. It emphasizes Python’s versatility, highlighting its use in AI, machine learning, web development, and automation. The material guides learners from beginner to advanced levels, explaining installation, syntax, and various programming constructs. It underscores best practices for writing clean and maintainable code, while also exploring complex data types, functions, and loops. The training also covers how to effectively use a code editor to streamline the development process. The course then illustrates complex topics such as working with operators, modules, and data structures.

    Python Fundamentals: A Comprehensive Study Guide

    Quiz (Short Answer)

    1. What is the Python interpreter, and what is its role in executing Python code? The Python interpreter is a program that reads and executes Python code, line by line. It translates the human-readable code into instructions that the computer can understand and perform.
    2. Briefly explain the difference between a code editor and an IDE (Integrated Development Environment). A code editor is a basic text editor with features for writing and editing code, such as syntax highlighting. An IDE is a more comprehensive tool that includes a code editor along with debugging, testing, and auto-completion features.
    3. Why is “linting” important in software development, and how does it benefit the coding process? Linting involves analyzing code for potential errors and stylistic inconsistencies before execution. It helps catch syntax errors and ensures code adheres to style guides, making it cleaner and more maintainable.
    4. What is Pep 8, and why is it important for Python developers to adhere to it? Pep 8 is the style guide for Python code, outlining rules for formatting and styling to ensure consistency across different codebases. Adhering to it promotes readability and collaboration.
    5. Explain the concept of a variable in programming and provide examples of different data types that can be stored in variables. A variable is a named storage location in a computer’s memory used to store data. Data types that can be stored in variables include integers, floats, booleans, and strings.
    6. What is the purpose of the len() function in Python, and what type of argument does it typically take? The len() function returns the length of a sequence, such as a string or a list. It takes the sequence as its argument and returns the number of items in the sequence.
    7. Explain the use of escape characters in Python strings and provide a few common examples. Escape characters are special characters in strings used to represent characters that are difficult or impossible to type directly. Examples include \n (newline), \t (tab), \\ (backslash), \” (double quote), and \’ (single quote).
    8. Describe the purpose and syntax of formatted strings (f-strings) in Python and explain their benefits over traditional string concatenation. Formatted strings (f-strings) allow embedding expressions inside string literals, making string formatting more readable and concise. Using an f-string, you can put variables and expressions inside curly braces {} within the string.
    9. What is the difference between functions that “perform a task” versus those that “calculate and return a value”? Give an example of each. Functions that perform a task carry out actions, often with side effects, but don’t necessarily return a value (e.g., print(), which displays output on the console). Functions that calculate and return a value perform computations and return the result, which can then be used elsewhere in the program (e.g., round(), which returns a rounded number).
    10. Explain the purpose and usage of a for loop and a while loop, highlighting the key differences between them. A for loop is used to iterate over a sequence (e.g., list, string, range), executing a block of code for each element in the sequence. A while loop is used to repeatedly execute a block of code as long as a specified condition is true, making it useful when the number of iterations is not known in advance.

    Essay Questions

    1. Discuss the benefits of using Python for various applications, such as data analysis, AI and machine learning, web development, and automation. Explain how Python’s features contribute to its popularity in these fields.
    2. Explain the significance of code readability and maintainability in software development. Discuss how tools like linters and formatters, along with adherence to style guides like Pep 8, contribute to these aspects of code quality.
    3. Describe the importance of variables and data types in programming. Provide examples of how different data types are used in Python and explain how type conversion functions help ensure data compatibility.
    4. Explain the purpose and usage of control flow statements (if statements, loops) in programming. Describe how these statements enable programs to make decisions and perform repetitive tasks.
    5. Discuss the benefits of using functions in programming. Explain how functions help organize code, promote reusability, and improve the overall structure and maintainability of programs.

    Glossary of Key Terms

    • AI (Artificial Intelligence): The simulation of human intelligence processes by computer systems.
    • Argument: A value passed to a function when it is called.
    • Auto-completion: A feature in IDEs that suggests code completions as you type.
    • Boolean: A data type with two possible values: True or False.
    • Bytecode: Intermediate code produced by a compiler that is then executed by a virtual machine.
    • Cpython: The default and most widely used implementation of the Python programming language, written in C.
    • Data Analysis: The process of inspecting, cleaning, transforming, and modeling data to discover useful information, draw conclusions, and support decision-making.
    • Debugging: The process of finding and fixing errors in code.
    • Expression: A piece of code that produces a value.
    • Float: A data type representing a floating-point number (a number with a decimal point).
    • For Loop: A control flow statement that repeats a block of code for each item in a sequence.
    • Function: A reusable block of code that performs a specific task.
    • IDE (Integrated Development Environment): A software application that provides comprehensive facilities to computer programmers for software development.
    • If Statement: A control flow statement that executes a block of code if a specified condition is true.
    • Integer: A data type representing whole numbers.
    • Iterable: An object that can be looped over, such as a list, string, or range.
    • Library: A collection of pre-written code that provides reusable functions and classes for performing specific tasks.
    • Linting: The process of analyzing code for potential errors and stylistic issues.
    • Machine Learning: A type of artificial intelligence (AI) that provides computer systems with the ability to automatically learn and improve from experience without being explicitly programmed.
    • Module: A separate file containing Python code that can be imported and used in other programs.
    • Parameter: A variable defined in a function definition that receives a value when the function is called.
    • Pep 8: The style guide for Python code, outlining rules for formatting and styling.
    • Syntax: The set of rules that define the structure of a programming language.
    • Syntax Error: An error in code caused by violating the syntax rules of the language.
    • Tuple: An immutable sequence of objects, similar to a list but cannot be modified after creation.
    • Variable: A named storage location in a computer’s memory used to store data.
    • While Loop: A control flow statement that repeats a block of code as long as a specified condition is true.

    Complete Python Mastery: Course Overview

    Okay, here’s a briefing document summarizing the key concepts and ideas from the provided text, focusing on the structure of a Python course and fundamental programming concepts:

    Briefing Document: Complete Python Mastery Course

    I. Overview

    The source material is an excerpt from the “Complete Python Mastery” course introduction, outlining the curriculum and key features of the course. The course promises a comprehensive journey from basic to advanced Python concepts, enabling confident application in areas like AI, machine learning, web development, and automation. It emphasizes a practical, easy-to-follow structure suitable for beginners with no prior programming experience.

    II. Key Themes & Ideas

    • Comprehensive Python Learning: The course covers a wide range of topics, aiming to equip students with the skills to use Python in diverse fields:
    • “In this course you’re going to learn everything about python from Basics to more advanced concepts so by the end of the course you’ll be able to confidently use Python for AI machine learning web development and automation”
    • Beginner-Friendly Approach: The course is explicitly designed for individuals with no prior programming knowledge, with step-by-step explanations.
    • “You don’t need any prior knowledge of python to get started I will explain everything step by step in simple terms so you can build a solid foundation”
    • Python’s Popularity and Versatility: The course highlights Python’s widespread adoption and its suitability for various applications.
    • “Python is the world’s fastest growing and most popular programming language not just amongst software developers but also amongst mathematicians data analysts scientists accountants Network engineers and even kids”
    • Advantages of Python: The reasons for Python’s popularity are outlined:
    • Conciseness and Readability: Python allows solving complex problems with fewer lines of code compared to languages like C or JavaScript.
    • Example code snippets are provided to illustrate this.
    • “With python you can solve complex problems in less time with fewer lines of code than many other languages”
    • Multi-purpose Language: Python can be used in different industries such as data analysis, AI and machine learning, writing automation scripts, building web, mobile, and desktop applications as well as software testing or even hacking.
    • High-level language Python takes care of memory management so you don’t have to worry about it like you do in C++
    • Cross-platform compatibility: Python runs on Windows, Mac, and Linux.
    • Large community and ecosystem: Extensive support and resources are available.
    • Career Opportunities: The course emphasizes the potential for high-paying careers, particularly in AI and machine learning.
    • “if you want a high-paying long lasting career in any of these areas especially Ai and machine learning python is the language to put those opportunities at your fingertips”
    • Cites a statistic regarding the average salary of a Python developer.
    • Python 3 Focus: The course teaches Python 3, the current and future version of the language.
    • “There are two versions of python out there python 2 which is the Legacy version of python and is going to be supported until year 2020 and Python 3 which is python for the future in this course you’re going to Learn Python 3”
    • Course Structure: The course guides learners through installation, basic syntax, and using code editors (specifically VS Code) and IDEs.
    • VS Code and Extensions: The course uses VS Code as the primary code editor and demonstrates how to enhance it with the Python extension for features like linting, debugging, auto-completion, and code formatting.
    • “In this lecture I’m going to show you how to convert vs code to a powerful IDE by using an extension called python with this extension or plug-in we get a number of features such as linting which basically means analyzing our code for potential errors we also get debugging which involves finding and fixing errors we’ll look at this later in the course we also get autoc completion which basically helps us write code faster so we don’t have to type every character”
    • Coding style guidelines (PEP 8): The course emphasizes the use of the style guide to maintain cleaner code and automatically formats the code by using AutoPep8.
    • “in Python Community we have a bunch of documents called python enhancement proposals or peps here on Google if you search for python peps you can see the list of all these PS under python.org sdev peps let’s have a quick look here so here are the peps you can see each pep has a number and a title the one that is very popular amongst python developers is Pep 8 which is a style guide for python code a style guide is basically a document that defines a bunch of rules for formatting and styling our code if you follow these conventions the code that you right will end up being consistent with other people’s code”
    • CPython execution: The course describes that CPython compiles Python into Python Byte code then passes the Byte code to the Python virtual machine to be converted into machine code and executed.

    III. Fundamental Concepts Covered (Excerpt)

    • Variables: Used to store data in computer memory. Examples given include integers, floats, booleans and strings.
    • “we use variables to store data in computer’s memory here are a few examples I’m going to Define a variable called students underline count and setting it to a th000”
    • Data Types: Introduction to primitive data types (integers, floats, booleans, and strings) and type conversion.
    • “primitive types can be numbers booleans and strings”
    • “In Python we have a few built-in functions for type conversion we have int for converting a number to an integer we have float we have bull and stir or string”
    • String Manipulation: Demonstrates string slicing, escaping characters, formatted strings, and built-in string methods (e.g., len(), upper(), lower(), strip(), find(), replace(), in).
    • “using a similar syntax you can slice strings”
    • “I’m going to show you a few useful functions available to work with strings”
    • Arithmetic Operations: Covers basic arithmetic operators (+, -, *, /, %, **) and augmented assignment operators (+=, -=, etc.).
    • “for all these types of numbers we have the standard arithmetic operations that we have in math let me show you so we have addition subtraction multiplication division but we actually have two different types of divisions”
    • User Input: Using the input() function to get input from the user and convert it to the correct type.
    • “we use the input function to get input from the user as an argument we pass a string this will be a label that will be displayed in the terminal you’ll see that in a second so let’s add X colon now this function returns a string”
    • Comparison Operators: Used to compare values to form a boolean expression.
    • “we use comparison operators to compare values here are a few examples so 10 is greater than three we get true so what we have here is a Boolean expression because when this expression is evaluated we’ll get a Boolean value that is true or false”
    • Conditional Statements: Demonstrate if, elif, and else statements for decision-making, along with the use of logical operators (and, or, not).
    • “in almost every program there are times you need to make decisions and that’s when you use use an if statement here’s an example let’s say we have a variable called temperature we set it to 35 now if temperature is greater than 30 perhaps we want to display a message to the user”
    • Loops: Explain for and while loops for repetition, including the range() function, break statement, and for…else construct.
    • “there are times that we may want to repeat a task a number of times for example let’s say we send a message to a user if that message cannot be delivered perhaps we want to retry three times now for Simplicity let’s imagine this print statement is equivalent to sending a message in a real world program to send a message to a user we have to write five to 10 lines of code now if you want to retry three times we don’t want to repeat all that code that is ugly that’s when we use a loop we use Loops to create repetition”
    • Functions: Defining custom functions, passing parameters (arguments), returning values, optional parameters, and variable number of arguments using *args.
    • “so far you have learned how to use some of the built-in functions in Python such as print round and so on in this section you’re going to learn how to write your own functions now you might ask but why do we even need to write our own functions well when you build a real program that program is going to consist hundreds or thousands of lines of code you shouldn’t write all that code in one file like we have done so far you should break that code into a smaller more maintainable and potentially more reusable chunks you refer to these chunks as functions”

    IV. Target Audience

    The target audience is individuals with no prior Python or programming experience seeking a comprehensive and practical understanding of Python.

    V. Overall Impression

    The “Complete Python Mastery” course appears to be a well-structured and beginner-friendly resource for learning Python, emphasizing practical application and best practices.

    Python Programming: Frequently Asked Questions

    Frequently Asked Questions About Python Programming

    1. Why should I learn Python, especially if I’m new to programming?

    Python is an excellent choice for beginners due to its clean, simple syntax, making it highly readable and easier to learn than many other languages. It’s versatile, suitable for various applications like data analysis, AI, machine learning, web development, and automation. Its large and active community provides ample support and resources, and Python’s high-level nature simplifies tasks like memory management, allowing you to focus on problem-solving. Big companies like Google and Spotify use it, meaning high-paying job opportunities are abundant.

    2. What are the key advantages of Python over other programming languages?

    Python stands out for several reasons. Its code is concise, enabling you to solve complex problems with fewer lines compared to languages like C or Java. It’s a multi-purpose language suitable for data analysis, AI, machine learning, scripting, web development, and more. Python is also cross-platform, running seamlessly on Windows, Mac, and Linux. It has a massive community that provides great support, with vast libraries and tools available for almost any task. Its high-level nature abstracts away complexities like memory management.

    3. How do I get started with Python on my computer?

    First, download the latest version of Python from python.org. When installing on Windows, be sure to check the box that says “Add Python to PATH.” This step is critical to avoid headaches later. To verify installation, open your terminal (or command prompt on Windows) and type python –version (or python3 –version on Mac) to confirm that Python is correctly installed.

    4. What tools do I need to write and run Python code effectively?

    You have two primary options: code editors or Integrated Development Environments (IDEs). Code editors like VS Code, Atom, and Sublime are lightweight and excellent for general coding. IDEs like PyCharm offer advanced features such as auto-completion, debugging, and testing tools. VS Code can be transformed into a powerful IDE by installing the Python extension from Microsoft.

    5. How can I use VS Code effectively for Python development?

    Install the official Python extension from Microsoft in VS Code. This extension provides features like linting (code analysis for errors), debugging, auto-completion, code formatting, unit testing support, and code snippets. Enable “format on save” in VS Code’s settings for automatic code formatting according to PEP 8 style guidelines. Also, learn to use the command palette (Shift+Command+P or Shift+Ctrl+P) for accessing various commands related to the Python extension, including linting options.

    6. What are variables in Python, and what types of data can they store?

    Variables are used to store data in a computer’s memory, acting as labels for memory locations. Python has built-in primitive data types:

    • Integers: Whole numbers (e.g., 1000)
    • Floats: Numbers with decimal points (e.g., 4.99)
    • Booleans: True or False values used for decision-making
    • Strings: Text surrounded by quotes (e.g., “Python Programming”)

    7. What are functions in Python and how are they created?

    Functions are reusable blocks of code designed to perform specific tasks. They are created using the def keyword, followed by the function name, parentheses for parameters (inputs), and a colon. The code within the function is indented. Functions can either perform a task (e.g., printing something to the console) or calculate and return a value.

    Example:

    def greet(first_name, last_name):

    “””Greets a person by their full name.”””

    return f”Hi {first_name} {last_name}”

    message = greet(“Mosh”, “Hamedani”)

    print(message)

    8. How do loops work in Python, and what are the differences between for and while loops?

    Loops allow you to repeat a block of code multiple times.

    • for loops: Iterate over iterable objects like ranges, strings, or lists.
    • for number in range(5):
    • print(number) # Prints numbers 0 to 4
    • while loops: Repeat a block of code as long as a specified condition remains true.

    number = 100

    while number > 0:

    print(number)

    number //= 2 # Integer division by 2

    `break` statements can be used to exit a loop prematurely.

    Python Programming: A Concise Introduction

    Python is a popular programming language used for various purposes, including AI, machine learning, web development, and automation. Here are some of its basic concepts:

    • Clean and Simple Syntax: Python allows complex problems to be solved with fewer lines of code compared to other languages like C or JavaScript.
    • Multi-purpose Language: Python can be used for data analysis, AI, machine learning, automation, web, mobile, and desktop applications, software testing, and even hacking.
    • High-Level Language: Python handles memory management automatically.
    • Cross-Platform: Python applications can run on Windows, Mac, and Linux.
    • Large Community and Ecosystem: Python has a broad support network and many libraries, frameworks, and tools.

    Setting up Python

    1. Installation: Download the latest version of Python from python.org. On Windows, ensure you check the “Add Python to PATH” box during installation.
    2. Verification: Open a terminal and type python –version (or python3 –version on Mac) to verify the installation.

    Basic Concepts

    • Interpreter: Python code is executed by an interpreter, which can run code directly from an interactive shell or from a file.
    • Expressions: Expressions are pieces of code that produce a value (e.g., 2 + 2).
    • Syntax: Python has a specific grammar, and syntax errors occur when the code doesn’t follow this grammar.

    Code Editors and IDEs

    • Code Editors: VS Code, Atom, and Sublime are popular code editors.
    • IDEs: PyCharm is a popular Integrated Development Environment that offers features like auto-completion, debugging, and testing.
    • VS Code with Python Extension: VS Code can be converted into an IDE by installing the Python extension from Microsoft. This extension provides features like linting, debugging, auto-completion, code formatting, unit testing, and code snippets.

    Writing and Running Python Code

    1. Create a File: Create a new file with a .py extension (e.g., app.py).
    2. Write Code: Use the print() function to display text on the screen.
    3. Run Code: Open the integrated terminal in VS Code (using Ctrl +) and type python app.py (or python3 app.py on Mac/Linux).
    4. VS Code Extension: The Python extension adds a play button to run code directly.

    Code Formatting

    • Linting: Linting analyzes code for potential errors. The Python extension in VS Code uses a linter called Pylint by default.
    • PEP 8: This is a style guide for Python code that promotes consistency.
    • Auto-formatting: Tools like AutoPep8 can automatically format code according to PEP 8. VS Code can be configured to format files on save by enabling the editor.formatOnSave setting.

    Python Implementations

    • CPython: The default implementation of Python, written in C.
    • Jython: Implemented in Java, allowing the use of Java code in Python programs.
    • IronPython: Written in C#, useful for integrating C# code with Python.
    • Execution: CPython first compiles Python code into Python byte code, which is then executed by the Python Virtual Machine. Jython compiles Python code into Java byte code, which is executed by the Java Virtual Machine (JVM).

    Variables and Data Types

    • Variables: Used to store data in the computer’s memory. A variable is like a label for a memory location.
    • Naming Conventions: Use descriptive and meaningful names, lowercase letters, and underscores to separate words.
    • Primitive Types:
    • Integers: Whole numbers (e.g., 1000).
    • Floats: Numbers with a decimal point (e.g., 4.99).
    • Booleans: True or False values (case-sensitive).
    • Strings: Text surrounded by quotes (e.g., “Python Programming”).
    • Strings:
    • Can be defined using single, double, or triple quotes. Triple quotes are used for multi-line strings.
    • len() function: Returns the length of a string.
    • Square brackets: Used to access specific characters in a string. Strings are zero-indexed.
    • Slicing: Extract portions of a string using [start:end] notation.
    • Escape Sequences: Use backslashes to include special characters in strings (e.g., \, \n, \”).
    • Formatted Strings: Prefix a string with f and use curly braces to embed expressions (e.g., f”Result: {2 + 2}”).
    • String Methods: Functions specific to string objects. Accessed using dot notation (e.g., course.upper()). Common methods include upper(), lower(), title(), strip(), find(), and replace().
    • in Operator: Checks for the existence of a character or sequence of characters in a string (returns a Boolean value).
    • Numbers:
    • Types: Integers, floats, and complex numbers. Complex numbers are written in the form a + bj.
    • Arithmetic Operators: +, -, *, / (float division), // (integer division), % (modulus), ** (exponentiation).
    • Augmented Assignment Operators: Shorthand for updating a variable (e.g., x += 3 is equivalent to x = x + 3).
    • Built-in Functions: round() (rounds a number), abs() (returns the absolute value).
    • Math Module: Provides additional mathematical functions. Import the module using import math. Common functions include math.ceil().
    • Input:
    • input() function: Gets input from the user. The input is always returned as a string.
    • Type Conversion: Use int(), float(), bool(), and str() to convert between data types.
    • Truthy and Falsy Values: Values that are not exactly True or False but are interpreted as such. Falsy values include empty strings, zero, and the object None.

    Operators

    • Comparison Operators: Used to compare values. Examples include >, >=, <, <=, == (equality), and != (not equal).
    • Logical Operators: and, or, and not. Used to create complex conditions. These operators are short circuit.
    • Chaining Comparison Operators: A cleaner way to write complex comparisons (e.g., 18 <= age < 65).

    Conditional Statements

    • If Statements: Used to make decisions based on conditions. Terminate the if statement with a colon (:). Use indentation to define the block of code to be executed.
    • Elif Statements: Short for “else if,” used to check multiple conditions.
    • Else Statements: Executed if none of the previous conditions are true.
    • Ternary Operator: A shorthand for simple if-else assignments (e.g., message = “eligible” if age >= 18 else “not eligible”).

    Loops

    • For Loops: Used to iterate over a sequence (e.g., a range of numbers, a string, or a list).
    • Range Function: Generates a sequence of numbers. range(start, end, step).
    • Break Statement: Used to exit a loop early.
    • For-Else Statement: The else block is executed if the loop completes without hitting a break statement.
    • Nested Loops: One loop inside another.
    • Iterable Objects: Objects that can be iterated over (e.g., range objects, strings, lists).
    • While Loops: Used to repeat a block of code as long as a condition is true.
    • Infinite Loops: Loops that run forever. Ensure there is a way to exit the loop (e.g., using a break statement).

    Functions

    • Definition: Use the def keyword to define a function. Follow naming conventions similar to variables.
    • Parameters: Inputs to a function, defined in the parentheses.
    • Arguments: The actual values passed to a function when it is called.
    • Calling a Function: Use the function name followed by parentheses.
    • Return Statement: Used to return a value from a function. If no return statement is used, the function returns None by default.
    • Keyword Arguments: Improve code readability by explicitly specifying the parameter name when calling a function (e.g., increment(2, by=1)).
    • Optional Parameters: Give a parameter a default value to make it optional (e.g., def increment(number, by=1)). Optional parameters must come after required parameters.
    • Variable Number of Arguments: Use an asterisk (*) to collect a variable number of positional arguments into a tuple.

    Python Fundamentals for AI and Machine Learning

    The sources provided focus on the fundamentals of Python programming and do not contain specific information about machine learning. However, they do establish that Python is a language used for AI and machine learning.

    The course aims to equip learners to use Python confidently for AI and machine learning, along with web development and automation. Furthermore, a long-lasting career with high pay is available in AI and machine learning for those who learn Python.

    Beyond what is in the sources, it is important to note that machine learning involves algorithms that enable computers to learn from data without explicit programming. Since the sources do not elaborate, it would be best to independently verify that information.

    Python for Web Development

    The provided source material does not offer specifics on web development. However, it does identify web development as one of the applications for Python. The course outlined in the source aims to equip learners to confidently use Python for web development, along with AI, machine learning, and automation.

    Outside of the provided sources, it is important to note that web development typically involves creating websites and web applications using a combination of front-end and back-end technologies, but since the source does not elaborate, it would be best to independently verify that information.

    Python for Code Automation

    The sources identify code automation as one of the applications of Python. The course is designed to equip learners to confidently use Python for automation, along with AI, machine learning, and web development.

    Outside of the provided sources, it is important to note that code automation involves using programming to automate repetitive tasks. However, since the sources do not elaborate, it would be best to independently verify that information.

    Understanding Python Function Arguments

    Here’s a discussion of function arguments, based on the sources:

    • Parameters vs. Arguments: A parameter is an input defined within a function’s definition, while an argument is the actual value provided for that parameter when the function is called.
    • Required Arguments: By default, all parameters defined in a function are required. If a required argument is missing when the function is called, Python will raise a TypeError.
    • Keyword Arguments: When calling a function, you can specify arguments using the parameter name, which can improve code readability. For example, increment(2, by=1) uses a keyword argument to specify the value for the by parameter.
    • Optional Parameters: To make a parameter optional, provide a default value in the function definition. For example, def increment(number, by=1) makes the by parameter optional with a default value of 1. If the caller omits the argument, the default value is used; otherwise, the provided value is used. All optional parameters must come after the required parameters in the function definition.
    • Variable Number of Arguments: You can define a function to accept a variable number of arguments using an asterisk (*) before the parameter name. This collects all positional arguments into a tuple, which can then be iterated over within the function. For example:
    • def multiply(*numbers):
    • total = 1
    • for number in numbers:
    • total *= number
    • return total
    • result = multiply(2, 3, 4, 5) # result will be 120
    Python Full Course for Beginners [2025]

    By Amjad Izhar
    Contact: amjad.izhar@gmail.com
    https://amjadizhar.blog

  • Python Tutorial with Generative AI

    Python Tutorial with Generative AI

    This Python tutorial PDF covers fundamental programming concepts, including data structures (lists, tuples, dictionaries), file handling (reading, writing, appending), exception handling (try-except-else-finally blocks), object-oriented programming (classes and inheritance), and basic algorithms (sorting, searching). The tutorial also introduces NumPy arrays and data visualization using Matplotlib and Seaborn. Finally, it explores the creation of simple GUI applications with Tkinter and integrates open AI’s GPT API with Flask for chatbot functionality and Langchain for personalized story generation.

    Python Study Guide

    Quiz

    Instructions: Answer each question in 2-3 sentences.

    1. What is a kernel in the context of Jupyter Notebook?
    2. Explain the difference between the single equal to (=) and the double equal to (==) operators in Python.
    3. What are the basic Python tokens?
    4. What are literals in Python, and give an example?
    5. How do you create a multi-line string in Python?
    6. Explain the difference between the append() and pop() list methods.
    7. What is the main difference between a list and a tuple in Python?
    8. How are key-value pairs stored in a Python dictionary?
    9. Describe the use of if, elif, and else statements in Python.
    10. Explain how a for loop works in Python with an example using a list.

    Quiz – Answer Key

    1. A kernel is the executor of Python code in Jupyter Notebook. When you write code and click “run,” the kernel interprets and runs the code, displaying the output.
    2. The single equal to (=) operator is used for assignment, giving a value to a variable, while the double equal to (==) operator is used for comparison, checking if two values are equal.
    3. The basic Python tokens are keywords (reserved words), identifiers (names for variables, functions, or objects), literals (constants), and operators (symbols for operations).
    4. Literals are constant values in Python that do not change, such as numbers, strings, or boolean values. For example, 10, “hello”, and True are literals.
    5. You create a multi-line string in Python by enclosing the string within triple quotes, which can be either single quotes (”’) or double quotes (“””).
    6. The append() method adds an element to the end of a list, while the pop() method removes and returns the last element of a list, modifying the original list.
    7. Both lists and tuples are ordered collections of elements, but lists are mutable, meaning their contents can be changed after creation, while tuples are immutable and their contents cannot be modified.
    8. In a Python dictionary, key-value pairs are stored using curly braces {} with a colon separating each key from its value, like {“key”: “value”}.
    9. The if statement starts a conditional block based on a condition; elif introduces more conditional blocks to check if the previous if or elif conditions were false; and else executes if none of the preceding if or elif conditions were true.
    10. A for loop iterates over each item in a sequence, such as a list, executing a block of code for each item. For example, for fruit in fruits: print(fruit) would print each element in the fruits list.

    Essay Questions

    1. Compare and contrast lists, tuples, and dictionaries in Python, highlighting their mutability, ordering, and use cases. Provide code examples to illustrate each data structure.
    2. Discuss the different types of operators in Python, providing examples of how each is used. Focus on arithmetic, relational, and logical operators, and how they are utilized in decision-making statements.
    3. Explain the significance of file handling in Python, describing the different modes for opening files (read, write, append). Describe how to read, write, and modify text files, and also discuss how to handle potential errors using try-except blocks.
    4. Describe the concept of looping in Python using both for and while loops. Provide examples that demonstrate how these loops can be used to process lists, and illustrate the utility of nested loops, and include an example showing how to apply a loop to dictionaries.
    5. Discuss the core concepts of the following Python libraries: NumPy, Pandas, Matplotlib, and Seaborn. Explain their primary purposes, how they are used to manipulate, analyze, and visualize data, and offer practical examples of the kind of work they can be used to accomplish.

    Glossary

    Alias: A shorter name given to a library or module when importing it, e.g., import numpy as np uses “np” as an alias for the NumPy library.

    Append (list method): A method used to add an element to the end of a list.

    Arithmetic Operators: Symbols used to perform mathematical calculations such as addition (+), subtraction (-), multiplication (*), and division (/).

    Axis (NumPy): A dimension in a multi-dimensional array used to specify operations like summing along rows or columns, where axis 0 is for columns, and axis 1 is for rows.

    Boolean: A data type that has one of two possible values, true or false.

    Box Plot (Seaborn): A type of plot used to visualize the distribution of a dataset through quartiles.

    CBOR (Seaborn): A Python library used to create statistical graphics. It extends Matplotlib and offers a high-level interface for drawing attractive informative plots.

    Column Stack (NumPy): A function used to combine multiple arrays together column-wise.

    Data Frame (Pandas): A two-dimensional, labeled data structure in Pandas with rows and columns, similar to a spreadsheet or a SQL table.

    Dictionary: A Python data structure that stores key-value pairs enclosed in curly braces {}.

    Distribution Plot (Seaborn): A plot that shows the distribution of a single variable using a histogram and a density curve (KDE).

    Else (conditional statement): A block of code that executes only if the previous if or elif conditions are false.

    Elif (conditional statement): An intermediate conditional block that checks if the previous if condition is false before checking if the elif statement is true.

    Exception Handling: The process of anticipating errors and preventing them from crashing a program using try-except blocks.

    File Handling: The process of interacting with files, including opening, reading from, writing to, and closing them.

    Flask: A lightweight Python web framework used for building web applications.

    For Loop: A control flow statement used to iterate over a sequence (like a list, tuple, or string), executing a code block for each item.

    Grid (Matplotlib): A method used to add grid lines to a graph.

    Horizontal Stack (NumPy): A function used to stack arrays side by side horizontally.

    Identifier: A name used to identify a variable, function, class, or other objects in Python.

    If (conditional statement): A control flow statement used to execute a block of code only if a specified condition is true.

    Immutable: An object that cannot be changed after it is created, like a tuple.

    Join Plot (Seaborn): A type of plot that displays the relationship between two variables along with their marginal distributions.

    Jupyter Notebook: An interactive web-based environment for writing and running code, often used for data analysis.

    Kernel (Jupyter): The process that runs your code in a Jupyter Notebook.

    Keyword: A reserved word in Python with a predefined meaning that cannot be used as an identifier.

    Line Plot (Matplotlib/Seaborn): A type of plot that displays information as a series of data points connected by straight line segments.

    List: A mutable, ordered collection of elements in Python, enclosed in square brackets [].

    Literals: Constant values in Python, such as numbers, strings, boolean values.

    Logical Operators: Symbols used for logical comparisons, such as and, or, and not.

    Looping Statements: Control flow statements that execute a block of code repeatedly until a condition is met, including for and while loops.

    Matplotlib: A widely used Python library for creating static, interactive, and animated visualizations.

    Mean (NumPy/Pandas): A function that calculates the average of a set of values.

    Median (NumPy/Pandas): A function that calculates the middle value in a sorted dataset.

    Mode (file handling): Specifies how a file should be opened, such as read (‘r’), write (‘w’), or append (‘a’).

    Multi-dimensional Array (NumPy): An array with more than one dimension, also known as a matrix.

    Mutable: An object that can be changed after it is created, like a list or dictionary.

    Numpy: A core library for numeric and scientific computing in Python, providing support for multi-dimensional arrays and mathematical operations.

    Operators: Symbols used for performing operations, such as arithmetic, relational, or logical operations.

    Pandas: A Python library that provides powerful and easy-to-use data structures and data analysis tools, notably DataFrames and Series.

    Pop (list method): A method used to remove the last element from a list.

    PyCharm: An Integrated Development Environment (IDE) used for coding in Python.

    Relational Operators: Symbols used to compare the relationship between two operands, such as less than (<), greater than (>), equal to (==), or not equal to (!=).

    Replace (string method): A method used to find a specified substring within a string and replaces it with another substring.

    Scatter Plot (Matplotlib): A type of plot that displays the relationship between two numerical values by using points on a cartesian plane.

    Seaborn: A Python visualization library built on top of Matplotlib that provides a higher-level interface for statistical graphics.

    Series (Pandas): A one-dimensional labeled array in Pandas.

    Shape (NumPy): The dimensions of a numpy array.

    Split (string method): A method used to divide a string into a list of substrings based on a split criterion.

    Stacking (NumPy): Combining multiple arrays, either vertically (one array on top of another), horizontally (side by side), or column-wise.

    Standard Deviation (NumPy): Measures the amount of variation or dispersion of data in a dataset.

    Streamlit: An open-source Python library that makes it easy to create custom web apps for machine learning and data science.

    String: A sequence of characters enclosed within single, double, or triple quotes.

    Subplot (Matplotlib): A method to create multiple plots within a single figure.

    Tokens (Python): The smallest meaningful component of a Python program, such as keywords, identifiers, literals, and operators.

    Triple Quotes: Used in Python to create multi-line strings, enclosed in either single or double quotes.

    Tuple: An immutable, ordered collection of elements enclosed in parentheses ().

    Type Casting: Explicitly converting data from one type to another like changing a string into a number.

    Vertical Stack (NumPy): A function used to stack arrays one on top of the other.

    While Loop: A control flow statement used to repeatedly execute a block of code as long as a condition is true.

    Python Tutorial Deep Dive

    Okay, here’s a detailed briefing document summarizing the main themes and important ideas from the provided Python tutorial excerpts.

    Briefing Document: Python Tutorial Review

    Document: Excerpts from “749-Python Tutorial with Gen AI for 2024 Python for Beginners Python full course 02.pdf”

    Date: October 25, 2024

    Overview:

    This document summarizes key concepts and functionalities of the Python programming language, as presented in the provided tutorial excerpts. The tutorial covers a range of fundamental topics, from basic syntax and data types to more advanced concepts such as control flow, file handling, and data manipulation with libraries like NumPy, Pandas, Matplotlib and Seaborn. This document will review the major topics covered, including code snippets and quotes to support the summarization.

    Key Themes & Concepts:

    1. Basic Python Setup & First Program
    • Jupyter Notebook: The tutorial uses Jupyter Notebook as the development environment. The document shows how to:
    • Save files as HTML or Latex documents
    • Rename notebooks.
    • Add and delete cells
    • Run cells.
    • The “kernel” as the program executor is introduced as well.
    • print() function: The tutorial begins with a basic “Hello World” style program, printing “This is Sparta” to the console using the print() function.
    • “to print something out on the console we would have to use the print command”
    1. Fundamental Data Types & Operators
    • Variables: Shows how to create and assign values to variables (e.g., num1 = 10, num2 = 20).
    • Arithmetic Operators: The tutorial goes through basic arithmetic operations:
    • Addition (+): “if you want to add two numbers you have to use the plus symbol between those two operant”
    • Subtraction (-)
    • Multiplication (*)
    • Division (/)
    • Relational Operators: The tutorial introduces relational operators for comparing values:
    • Less than (<)
    • Greater than (>)
    • Equal to (==): “this is the double equal to operator…helps us to understand if these two values if the operant on the left hand side and the operant on the right hand side are equal to each other or not”
    • Not equal to (!=)
    • Logical Operators: The tutorial explains logical operators such as:
    • and: Returns True if both operands are true.
    • or: Returns True if at least one of the operands is true.
    • Tokens: The tutorial defines Python tokens as the smallest meaningful components in a program.
    • Includes keywords, identifiers, literals, and operators.
    • Keywords: Reserved words that cannot be used for any other purpose (e.g., if, def, while).
    • “python keywords as it is stated are special reserved words…you can’t use these special reserved words for any other purpose”
    • Identifiers: Names given to variables, functions, or objects. There are specific rules for identifiers, like:
    • Can not have special characters except underscores
    • Are case sensitive
    • Can not start with a digit
    • Literals: Constants or the values stored in variables.
    • “literals are just the constants in python…whatever values you are storing inside a variable that is called as a literal”
    1. Strings in Python
    • String Declaration: Strings are sequences of characters enclosed in single, double, or triple quotes.
    • “strings are basically sequence of characters which are enclosed within single quotes double quotes or triple quotes”
    • String Methods: Common string manipulation methods covered include:
    • len(): Returns the length of a string.
    • lower(): Converts a string to lowercase.
    • upper(): Converts a string to uppercase.
    • replace(): Replaces a substring with another.
    • count(): Counts the number of occurrences of a substring.
    • find(): Returns the starting index of a substring.
    • split(): Splits a string into a list of substrings based on a delimiter.
    1. Data Structures: Lists, Tuples and Dictionaries
    • Lists: Ordered, mutable collections of elements enclosed in square brackets []. Lists can be modified after creation.
    • Access elements by index (starting from 0).
    • Extract slices (subsets of the list)
    • Modify elements, add elements using append(), and remove elements using pop()
    • Tuples: Ordered, immutable collections of elements enclosed in parentheses (). Tuples cannot be modified after creation.
    • Access elements by index.
    • Extract slices (subsets of the tuple)
    • Min and Max functions can be used for numerical tuples.
    • Dictionaries: Unordered collections of key-value pairs enclosed in curly braces {}. Dictionaries are mutable.
    • “dictionary is an unordered collection of key value pairs enclosed within curly braces and a dictionary again is mutable”
    • Access values by key.
    • Extract keys using keys() and values using values().
    • Add or modify key-value pairs.
    • Remove elements using pop().
    • Can merge dictionaries using update()
    1. Control Flow: Decision Making (if/else) & Looping
    • if/else/elif statements: Used for conditional execution of code blocks based on given conditions. Examples with comparisons, tuples, lists, and dictionaries are presented.
    • “decision making statements would help us to make a decision on the basis of a condition”
    • “with the help of this [if/elif/else] we can compare multiple variables together or we can have multiple conditions together”
    • for Loops: Used to iterate over a sequence (like a list). The examples include nested for loops.
    • “for loop… would help me to pick a color…inner for loop…would help me to choose an item”
    • while Loops: Used to repeatedly execute a code block as long as a condition remains true. Examples include printing numbers and multiplication tables, and manipulating list elements.
    • “while again would help us to repeat a particular task and this task is repeated on the basis of a condition”
    1. File Handling
    • File Modes: Explains the different modes for opening files:
    • r: Read mode.
    • w: Write mode (creates a new file or overwrites an existing one).
    • a: Append mode (adds to the end of a file).
    • File Operations: Shows how to:
    • Open a file using the open() function.
    • Read the contents using read(), readline() and readlines() function.
    • Write to a file using the write() function.
    • Append to a file.
    • Close a file using the close() function.
    • Length of File Content Using Len()”the length one is used for calculating that basically how many characters you are happen here”
    1. Exception Handling
    • try, except, else, finally: Explain the use of these blocks for handling errors and executing code in all cases.
    • “whenever you are having no error into your program so your try block actually gets executed and when you are having any error in your program so your accept statement gets executed”
    • “whenever you do not have any exception into your program after the execution of the try block you want one more statement to get printed…in that case we simply use out this else clause”
    • “finally is a keyword that would execute either you are having an exception in your program or you are not having an exception in your program”
    1. Implementation of Stack using List, Deque and Queue module
    • Stack using list: Stacks can be implemented using lists. The tutorial demonstrated the use of append() to add elements and pop() to remove elements, and explained last in first out (LIFO) behavior.
    • Stack using Deque: Double-ended queue data structure allows faster append and pop operations.
    • Stack using Queue module: Shows the use of put() to add elements and get() to remove elements, and explained last in first out (LIFO) behavior.
    1. Data Analysis and Visualization
    • NumPy:NumPy arrays can be created using np.array().
    • Multi-dimensional arrays can be created.
    • The shape attribute can be used to determine the dimensions and to reshape arrays.
    • Vertical, horizontal, and column stacking methods (vstack(), hstack(), column_stack()).
    • Summation can be performed using np.sum(), both with default behavior and with an axis attribute for column-wise or row-wise summation.
    • Scalar addition, multiplication, subtraction, and division on NumPy arrays.
    • Mathematical functions on arrays such as mean, median, and standard deviation (np.mean(), np.median(), np.std()).
    • Pandas * Series can be created using pd.Series().
    • DataFrames can be created by reading CSV files using pd.read_csv().
    • The shape attribute shows the dimension of a DataFrames. *The describe() method provides descriptive statistics of numeric columns.
    • Access rows and columns using .iloc and .loc indexers, and through column names.
    • Remove columns using drop().
    • Mathematical functions on DataFrames such as mean, median, min and max(mean(), median(), min(), max()).
    • MatplotlibLine plots are created using plt.plot() and customized with attributes such as color, line style and line width.
    • Titles, axis labels and grids are added using methods like plt.title(), plt.xlabel(), plt.ylabel() and plt.grid().
    • Multiple plots and subplots are created.
    • Scatter plots are created using plt.scatter() and markers, colors and sizes can be set.
    • Seabornlineplot() can be used to create line plots between columns of a DataFrames.
    • displot() creates distribution plots.
    • jointplot() can be used to visualize the relationship between two variables using scatter and histograms.
    • boxplot() creates box plots to visualize the distribution of numerical data across categories.
    1. Development Environment Setup
    • Command Prompt Used to install python libraries via pip install
    • Library Installation Libraries like NumPy, Flask and Streamlet are installed through the pip command. The commands, and the way the console behaves when a package is new, vs when a package already exists are demonstrated.
    1. GUI Development
    • Tkinter: The Tkinter module, a standard GUI toolkit for Python, is discussed.
    • Window Creation: How to create a basic window, and the use of the window attribute, background color (bg) and border width (bd).
    • ListBox Creation: Creation of a ListBox with tk.ListBox
    • Item insertion and removal Adding of items in a list using insert() function and looping, and removal using delete().

    Conclusion:

    The tutorial excerpts provide a comprehensive overview of Python’s fundamental concepts and key libraries. It introduces Python’s basic syntax, various data structures, control flow mechanisms, and fundamental libraries for file handling, data analysis and visualization and GUI creation. The tutorial utilizes a hands-on, example-driven approach, making it ideal for beginners learning Python. The inclusion of code snippets and explanations helps to solidify understanding. It is a good foundation for continued learning of more advanced Python topics.

    Essential Python Programming Concepts

    FAQ

    1. What is a kernel in the context of Python programming, particularly when using a Jupyter notebook?

    A kernel is essentially the executor of your Python code in a Jupyter Notebook environment. When you write a piece of code and want to run it, the kernel is what actually processes and executes that code. You can think of it as the engine that brings your Python code to life, producing results that you can see in the notebook.

    2. How are basic arithmetic operations performed in Python?

    Python uses standard symbols for arithmetic operations. Addition is done with the + symbol, subtraction with -, multiplication with *, and division with /. These operators are placed between two operands, and the interpreter will carry out the specified calculation. For example, num1 + num2 will add the values stored in the variables num1 and num2.

    3. What are relational operators and how are they used in Python?

    Relational operators in Python are used to compare the values of two operands. They help determine if one value is less than, greater than, equal to, or not equal to another. The less than operator is <, greater than is >, equal to is ==, and not equal to is !=. These operators return a boolean value (True or False) based on the comparison result.

    4. What are Python tokens, and what are some of the basic types?

    Python tokens are the smallest meaningful components of a Python program. When combined, they form the executable code. The basic types of tokens include: keywords (reserved words with specific meanings like if, def, while), identifiers (names given to variables, functions, or objects), literals (constant values like numbers or strings), and operators (symbols used for calculations or comparisons).

    5. How can strings be defined and manipulated in Python?

    Strings in Python are sequences of characters enclosed in single quotes, double quotes, or triple quotes (for multi-line strings). Python provides various methods for string manipulation. lower() and upper() convert strings to lowercase or uppercase respectively. len() finds the length of a string. replace() replaces parts of a string. count() counts the occurrences of a substring. find() locates the starting index of a substring, and split() divides a string into substrings based on a delimiter.

    6. What are lists in Python, and how do they differ from tuples?

    Lists in Python are ordered collections of elements, enclosed in square brackets ([]). They are mutable, meaning their elements can be changed after the list is created. Lists support various operations, including adding elements (append()), removing elements (pop()), accessing elements by index, and modifying existing elements. Tuples, on the other hand, are similar to lists but are immutable and are enclosed in round parentheses ().

    7. What are dictionaries in Python, and how are they used?

    Dictionaries in Python are unordered collections of key-value pairs, enclosed in curly braces ({}). Each key in a dictionary must be unique and immutable (e.g., strings, numbers, tuples), and it maps to a corresponding value. Dictionaries are mutable and allow for adding, modifying, and removing key-value pairs. They can be accessed using the key, and various methods exist for extracting keys (keys()) and values (values()).

    8. How are decision-making (if-else) and looping (for, while) statements implemented in Python?

    Decision-making in Python is implemented using if, elif (else if), and else statements, which enable conditional execution of code based on whether a specific condition is true or false. Looping statements allow for the repetition of a task. The for loop is used to iterate over a sequence of items (such as a list or string) a certain number of times, while the while loop is used to repeat a task as long as a specific condition remains true. Both types of loops allow for controlled repetition of code.

    Python Lists: A Comprehensive Guide

    Python lists are ordered collections of elements enclosed within square brackets [1, 2]. Unlike tuples, which are immutable, lists are mutable, meaning their values can be changed after creation [1]. Lists can store elements of different types [3].

    Here’s a breakdown of key concepts and operations related to lists:

    • Creating a List: Lists are created using square brackets and can contain various data types [1, 3]:
    • L1 = [1, ‘e’, True]
    • L2 = [1, ‘a’, 2, ‘B’, 3, ‘C’]
    • Accessing Elements: Elements in a list are accessed using their index, starting from 0 [2]:
    • L1 will extract the first element (1) [2].
    • L1[4] will extract the second element (‘e’) [2].
    • L2[-1] will extract the last element (‘C’) [5].
    • Slicing can be used to extract a series of elements [2]: L2[2:5] will extract elements from index 2 up to (but not including) index 5, resulting in [2, ‘B’, 3] [2, 5].
    • Modifying Lists:
    • Changing values: Existing values in a list can be changed by assigning a new value to a specific index [5]:
    • L2 = 100 # Changes the value at index 0 from 1 to 100
    • Appending elements: New elements can be added to the end of a list using the append() method [5]:
    • L1.append(‘Sparta’) # Adds ‘Sparta’ to the end of L1
    • Popping elements: The pop() method removes and returns the last element of a list [5]:
    • L1.pop() # Removes the last element of L1
    • Other List Operations:
    • Reversing: The order of elements in a list can be reversed using the reverse() method [6]:
    • L1.reverse()
    • Inserting: Elements can be inserted at a specific index using the insert() method, which takes the index and the value as parameters [7]:
    • L1.insert(1, ‘Sparta’) # Inserts ‘Sparta’ at index 1, shifting other elements
    • Sorting: Elements can be sorted in alphabetical order using the sort() method [7, 8]:
    • L3 = [‘mango’, ‘apple’, ‘guava’, ‘lii’]
    • L3.sort() # Sorts L3 alphabetically: [‘apple’, ‘guava’, ‘lii’, ‘mango’]
    • Concatenation: Two lists can be combined using the + operator [9]:
    • L1 = [4, 10, 11]
    • L2 = [‘a’, ‘b’, ‘c’]
    • L1 + L2 # Results in [1, 2, 3, ‘a’, ‘b’, ‘c’]
    • Repeating: A list can be repeated by multiplying it by a scalar number [9]:
    • L1 * 3 # Repeats the elements of L1 three times
    • Checking Data Type: To confirm the data type of a variable, the type() method can be used [2]:
    • type(L1) # Returns that L1 is a list.

    Lists are a fundamental data structure in Python, widely used for storing and manipulating collections of items [1, 3].

    Python List Indexing

    List indexing in Python is a way to access individual elements or a range of elements within a list using their position or index [1, 2]. Indexing starts from zero for the first element, and negative indices can be used to access elements from the end of the list [2].

    Here’s a detailed look at list indexing:

    • Basic Indexing:
    • Elements are accessed using their index within square brackets [] [1, 2].
    • The first element is at index 0, the second at index 1, and so on [2].
    • For a list L1 = [1, ‘e’, True], L1 would return 1, L1[3] would return ‘e’, and L1[4] would return True [2].
    • Negative Indexing:
    • Negative indices allow access to elements from the end of the list, with -1 being the last element, -2 the second-to-last, and so on [2].
    • For a list L2 = [1, ‘a’, 2, ‘B’, 3, ‘C’], L2[-1] would return ‘C’, L2[-2] would return 3, and so on [2].
    • Slicing:
    • Slicing is used to extract a range or series of elements from a list [2].
    • The syntax for slicing is list[start:end], where start is the index of the first element to include, and end is the index of the first element not to include [2].
    • For example, L2[2:5] would return [2, ‘B’, 3], which includes elements at indices 2, 3, and 4, but not 5 [2].
    • If the start index is omitted, slicing begins from the start of the list, and if the end index is omitted, it goes up to the end of the list. For example, L2[:3] will return the first three elements, and L2[3:] will return the elements from the 4th element to the end.
    • You can use negative indices for slicing as well. For example, if you want to extract elements starting from the third element from the end of the list to the end, you can use the slice L2[-3:] [5].
    • Index Out of Range:
    • Attempting to access an index that is outside the valid range of the list will result in an IndexError. For example if L1 has 3 elements, attempting to access L1[6] would raise an error because there is no element at index 3.
    • Modifying elements with indexing:
    • Indexing is not just for accessing elements; you can also modify the value of an element at a given index. For example, with L2 = 100, the first element of L2 is updated to the value 100 [7].

    Understanding list indexing is crucial for effectively manipulating and accessing data within lists in Python.

    Modifying Python Lists

    Python lists are mutable, meaning they can be modified after creation. Here’s how lists can be modified, based on the sources:

    • Changing values: Existing values in a list can be changed by assigning a new value to a specific index [1]. For example, if L2 = [1, ‘a’, 2, ‘B’, 3, ‘C’], then L2 = 100 would change the value at index 0 from 1 to 100 [1].
    • Appending elements: New elements can be added to the end of a list using the append() method [1]:
    • L1 = [1, ‘e’, True]
    • L1.append(‘Sparta’) # Adds ‘Sparta’ to the end of L1
    • Popping elements: The pop() method removes and returns the last element of a list [1, 2]. For example:
    • L1 = [1, ‘e’, True, ‘Sparta’]
    • L1.pop() # Removes ‘Sparta’ from L1, and L1 becomes [1, ‘e’, True]
    • Inserting elements: New elements can be inserted at a specific index using the insert() method [3]. The method takes the index where the new element should be inserted, and the value of the new element as parameters. For example:
    • L1 = [1, ‘a’, 2, ‘B’, 3, ‘C’]
    • L1.insert(1, ‘Sparta’) # Inserts ‘Sparta’ at index 1, shifting other elements
    • # L1 is now [1, ‘Sparta’, ‘a’, 2, ‘B’, 3, ‘C’]
    • Reversing elements: The order of elements in a list can be reversed using the reverse() method [2]:
    • L1 = [1, ‘a’, 2, ‘B’, 3, ‘C’]
    • L1.reverse() # L1 is now [‘C’, 3, ‘B’, 2, ‘a’, 1]
    • Sorting elements: Elements in a list can be sorted using the sort() method [3]. By default, the sort method will sort alphabetically:
    • L3 = [‘mango’, ‘apple’, ‘guava’, ‘lii’]
    • L3.sort() # Sorts L3 alphabetically: [‘apple’, ‘guava’, ‘lii’, ‘mango’]

    These operations allow for flexible manipulation of list data by adding, removing, and reordering list items.

    Python File Handling

    File handling in Python involves working with text files, allowing for operations such as opening, reading, writing, appending, and altering text [1-4]. It is also referred to as IO (input/output) functions [2].

    Here are the key aspects of file handling:

    • Opening Files:The open() function is used to open a text file [5].
    • The open() function takes the filename as an argument, and the mode in which the file is to be opened [6, 7].
    • The file must be in the same folder as the Python file [5].
    • Modes include:
    • Read mode (“r”): Opens a file for reading [7]. This is used when you want to read the text already stored in the text file [8].
    • Write mode (“w”): Opens a file for writing [7]. This is used when you want to add or overwrite text in the file [8].
    • Append mode (“a”): Opens a file for appending [9, 10]. This is used when you want to add text to the end of a file without overwriting the existing content [9, 10].
    • Reading Files:The read() function is used to read the entire content of a file [7, 11].
    • The readline() function reads a file line by line [12, 13]. It can be used to print the text in a file line by line [14, 15]. Each subsequent call to readline() will read the next line in the file [15, 16].
    • Writing to Files:The write() function is used to write text to a file [17].
    • When using the write() function, you must specify the text to be written within the function’s parentheses [17].
    • Appending to Files:The append mode (“a”) allows you to add text to the end of a file without overwriting the existing content [9, 10].
    • The write() function is also used for appending text [18].
    • To add text on a new line when appending, use the \n operator at the beginning of the text to be added [9, 10, 18].
    • Closing Files:It’s important to close a file after it has been opened, using the close() method [17, 19].
    • Closing files is a good practice [19].
    • Counting Characters:The len() function is used to count the total number of characters in a file [10, 20, 21].
    • You must read the file content into a variable, and apply the len() function to this variable [20].

    Important Notes:

    • Online IDEs may not support file handling, as they may not support both .py and .txt files simultaneously [2, 3].
    • Offline IDEs, like PyCharm, VS Code, and Jupyter Notebooks, are recommended for file handling [3].
    • When working with text files, you do not need to use comments, hash signs, or quotation marks, since these are plain text files [22].

    File handling is essential for working with data stored in external files. It involves a few key steps, with different methods for reading, writing, and modifying files.

    Generative AI: A Comprehensive Overview

    Generative AI (GenAI) is a rapidly evolving field of artificial intelligence focused on creating new content, transforming existing content, or generating content based on provided inputs [1, 2]. It differs from traditional AI by using input instructions to produce outputs in various formats, including text, audio, video, and images [1, 3].

    Here are some key concepts in GenAI, based on the sources:

    • Core Function: GenAI employs neural networks to analyze data patterns and generate new content based on those patterns [2]. It is a mimicry of biological neurons, based on how the brain functions [2].
    • Evolution of Computers: Computers initially served as calculating machines but have evolved to incorporate human-like intelligence and creativity [1]. AI is the mimicking of human intelligence, and GenAI combines AI with creativity [1].
    • Discriminative vs. Generative AI:Discriminative AI acts as a judge, classifying data into categories. For example, when given a data set of images of cats and dogs, discriminative AI will classify the images into categories of cats and dogs [2].
    • Generative AI acts as an artist by creating new content. For example, when given a data set of images of cats and dogs, generative AI will create new images of a new species of dogs or cats [2].
    • Generative Models: GenAI works through the use of generative models that are pre-trained on data and fine-tuned to perform specific tasks, such as text summarization, image generation, or code creation [4].
    • Types of Generative AI: There are different types of GenAI models, including:
    • Generative Adversarial Networks (GANs): Two models work together, one to generate content and the other to judge it [4].
    • Variational Autoencoders: These AIs learn to recreate and generate new, similar data [4].
    • Transformers: These AIs produce sequences using context [4].
    • Diffusion Models: These models refine noisy data until it becomes realistic [4].
    • Applications of Generative AI:Content Creation: Generating text, code, and other media [4, 5].
    • Customer Support and Engagement: Improving interactions and service [4].
    • Data Analysis: Assisting in data visualization and analysis [4, 5].
    • Code Generation: Helping to create code [5].
    • Research and Information Retrieval: Helping researchers extract information from various sources [4, 5].
    • Machine Translation: Translating text and audio into other languages [5].
    • Sentiment Analysis: Analyzing text to determine if it contains positive, negative or neutral sentiment [5].
    • Other Domains: Including healthcare and transportation [5].

    GenAI is impactful across many fields because it can work with various forms of inputs to generate new and original content, unlike traditional AI which is dependent on the input format. It is also constantly evolving, making it close to magic [3].

    Python Tutorial with Gen AI for 2025 | Python for Beginners | Python full course

    By Amjad Izhar
    Contact: amjad.izhar@gmail.com
    https://amjadizhar.blog

  • Pakistan’s Nuclear Program: A Critical Analysis by Pervez Hoodbhoy

    Pakistan’s Nuclear Program: A Critical Analysis by Pervez Hoodbhoy

    This podcast episode features an interview discussing Abdul Qadeer Khan’s role in Pakistan’s nuclear program. The interviewee details Khan’s acquisition of centrifuge technology, his collaboration with Pakistani officials, and the subsequent establishment of a global network to procure materials. The conversation also explores the geopolitical implications of Pakistan’s nuclear capabilities, the controversies surrounding Khan’s actions, and the interviewee’s personal opposition to nuclear weapons. The interviewee also shares personal anecdotes and correspondence with Khan. Finally, the discussion touches upon the lasting legacy and impact of Khan’s work on Pakistan’s national identity and international relations.

    Pakistan’s Nuclear Program: A Study Guide

    Quiz

    Instructions: Answer the following questions in 2-3 sentences each.

    1. What was A.Q. Khan’s academic background, and why is it significant to understanding his role in Pakistan’s nuclear program?
    2. What was the primary method used by Pakistan to enrich uranium for its nuclear weapons, and how did A.Q. Khan acquire the technology for it?
    3. What role did China play in helping Pakistan develop its nuclear weapons program, and what did they specifically provide?
    4. What was the Khan network, and how did it operate?
    5. Why did A.Q. Khan’s actions lead to scrutiny and house arrest, and what was his official explanation for those actions?
    6. What is the significance of the 1971 separation of East Pakistan in the context of the nuclear program, according to the source?
    7. How was the uranium enrichment program connected to the Uranium Enrichment Corporation in the Netherlands?
    8. What was Project 706 and what was the system of secrecy employed?
    9. What was A.Q. Khan’s relationship to the Pakistani Atomic Energy Commission (PAEC)?
    10. What were the circumstances surrounding the end of US pressure on Pakistan’s nuclear weapons program?

    Quiz Answer Key

    1. A.Q. Khan had a PhD in metallurgy, not nuclear physics or nuclear science. This is significant because his expertise was in high-tensile strength steels, crucial for centrifuge technology, not the theoretical science of nuclear fission.
    2. Pakistan used centrifuge technology to enrich uranium. A.Q. Khan allegedly stole the designs and supplier lists for this technology from the Uranium Enrichment Corporation in the Netherlands, where he worked.
    3. China provided Pakistan with the actual design for a nuclear bomb. They also supplied crucial technology, including uranium hexafluoride gas production and various electronic components.
    4. The Khan network was a global network of underground operatives that procured necessary parts for Pakistan’s nuclear program, circumventing international regulations. It was also a commercial operation that sold nuclear technology to other nations.
    5. A.Q. Khan was implicated in selling nuclear technology to various countries, leading to international pressure on Pakistan. He was then placed under house arrest after a televised apology, in which he admitted to his involvement in the nuclear proliferation.
    6. According to the source, the 1971 separation of East Pakistan (now Bangladesh) fueled a desire for revenge, with some in Pakistan wanting to use nuclear weapons to attack India. This event is cited as a major reason why Pakistan prioritized development of its nuclear program.
    7. The Uranium Enrichment Corporation in the Netherlands was where A.Q. Khan worked, and allegedly stole designs. The secrets included the plans and specifications for centrifuge technology which he translated with his wife.
    8. Project 706 was a code name for the highly secretive nuclear development program. It was kept tightly controlled and compartmentalized in order to prevent information from being leaked.
    9. The Pakistani Atomic Energy Commission insists that all the crucial work in making Pakistan’s bomb was carried out under its supervision. A.Q. Khan and his KRL were only responsible for uranium enrichment, whereas PAEC handled other key components.
    10. The US significantly reduced pressure on Pakistan due to the Soviet invasion of Afghanistan in 1979, when Pakistan’s role in the fight against the Soviets was prioritized over its nuclear program. After the Soviet defeat, and prior to 9/11, there were renewed pressures and sanctions. After 9/11, renewed focus on the war on terror brought Pakistan back as an ally.

    Essay Questions

    Instructions: Answer the following essay questions thoroughly, referencing specific examples from the provided text.

    1. Analyze the role of A.Q. Khan in Pakistan’s nuclear program. Was he a hero or a villain? Justify your perspective.
    2. Compare and contrast the perspectives of the Pakistani government (through the Atomic Energy Commission) and A.Q. Khan’s KRL regarding their contributions to the nuclear program. How did these competing claims impact the public perception of A.Q. Khan?
    3. Discuss the international politics surrounding Pakistan’s development of nuclear weapons. What actions by other nations influenced Pakistan’s actions, and how did the global geopolitical climate shape its decisions?
    4. How did the various nationalisms that emerged in the latter half of the 20th Century influence nuclear proliferation?
    5. Evaluate the argument that nuclear weapons ensure peace. How does this argument hold up in the context of the material presented, and what are the alternative perspectives on nuclear deterrence?

    Glossary of Key Terms

    • Centrifuge: A device that uses centrifugal force to separate substances, particularly used in this context for uranium enrichment.
    • Metallurgy: The science and technology of metals, including their properties, processing, and uses. A.Q. Khan’s area of expertise was in high tensile strength steels for use in centrifuge construction.
    • Uranium Enrichment: The process of increasing the concentration of uranium-235, which is needed for nuclear weapons and reactors.
    • Nuclear Deterrent: A military strategy in which nuclear weapons are used to prevent attack from others by creating a credible threat of a retaliatory strike.
    • KRL: Khan Research Laboratories, the organization founded by A.Q. Khan, responsible for nuclear research and development.
    • PAEC: Pakistan Atomic Energy Commission, the governmental organization also involved in nuclear development.
    • Khan Network: A global network established by A.Q. Khan used to procure parts and technology for Pakistan’s nuclear program, as well as for commercial proliferation to other nations.
    • ECL: Exit Control List, a list of individuals in Pakistan who are restricted from leaving the country.
    • Nuclear Nationalism: The belief that a nation’s nuclear weapons capability is a symbol of national strength and pride.
    • Project 706: The codename for Pakistan’s secret nuclear weapons development program.
    • IAEA: The International Atomic Energy Agency, a part of the UN which seeks to promote the peaceful use of atomic energy while preventing the proliferation of atomic weapons.
    • Uranium Hexafluoride: A compound of uranium which is a gas at elevated temperatures, used in the uranium enrichment process.
    • Marang Steels: Special, high tensile strength steels used in high speed centrifuge construction.

    A.Q. Khan and Pakistan’s Nuclear Program

    Okay, here is a detailed briefing document based on the provided text, focusing on the main themes, important ideas, and key facts, with relevant quotes:

    Briefing Document: Analysis of “How Does It Work” Podcast on A.Q. Khan

    Introduction:

    This document summarizes a podcast episode focusing on the life, career, and legacy of Abdul Qadeer Khan (A.Q. Khan), the Pakistani metallurgist often considered the “father” of Pakistan’s nuclear program. The podcast explores his technical background, the acquisition of nuclear technology by Pakistan, the establishment of the Khan network, and the controversies surrounding his actions, including his involvement in nuclear proliferation.

    Key Themes:

    • A.Q. Khan’s Background and Expertise: The podcast emphasizes that A.Q. Khan was not a nuclear physicist but a metallurgist. His PhD was in “high tensile strength steels” crucial for centrifuge technology. “His PhD was in metallurgy, which he did in Germany, his professor ‘s name was Ralph Brab… his specialty was high tensile strength steels.” This corrects a “very common misconception” about his area of expertise.
    • The Acquisition of Nuclear Technology: Khan’s role in obtaining centrifuge designs and supplier lists from his time at the Uranium Enrichment Corporation in the Netherlands is central. “It is alleged that he had stolen some things from the place where he was working in Netherlands.” The podcast highlights the importance of this information, noting “the centrifuge technology is a very difficult technology,” and emphasizes that “all this important information was brought by AQ Khan with him.” This act is presented as both necessary for Pakistan’s program and controversial due to the nature of classified information.
    • Pakistan’s Nuclear Program: The podcast describes a complex situation: Pakistan sought a nuclear deterrent in response to the 1971 separation of East Pakistan (Bangladesh) and India’s nuclear ambitions. “We Pakistanis will eat grass, even go hungry, but we will have our own nuclear bomb because what happened to us in 71 happened to us so much.” It clarifies that Pakistan’s program relied on both indigenous efforts and external help and acquisitions.
    • The Role of China: The podcast underscores China’s significant assistance to Pakistan. “The actual design used by Pakistan was of a Chinese bomb…China also gave us a lot more like yare yam hexa fluoride which is a gas.” This involved not only bomb designs, but also crucial components and technology for uranium enrichment. This aid is attributed to China’s strategic calculations aimed at containing India.
    • The Khan Network: This international network is portrayed as essential for acquiring components needed for the nuclear program. “a big network had to be spread all over the world, in America, Canada, Europe as well as South Africa”. This network is described as involving underground operatives to procure “electronic parts, it could be inverter, relay” etc. It later became a conduit for proliferation, selling nuclear technology to countries like Iran, Libya, and North Korea.
    • A.Q. Khan’s Proliferation Activities: The podcast discusses A.Q. Khan’s role in selling nuclear technology. “When the bomb was made…then other countries who wanted to make bombs started looking towards Pakistan.” This includes the sale of centrifuge designs and components. This led to his eventual downfall and house arrest.
    • Internal Pakistani Dynamics: The podcast emphasizes a tension between A.Q. Khan and the Pakistan Atomic Energy Commission (PEC). “The people from Atomic Energy Commission will not agree with you on this matter. They say that the work done in 90 is ours.” It also discusses the involvement of the Pakistani military in the network. “The army in it, without the knowledge of the army nothing could move from the cut or from other PEC head quarters.”
    • The US Perspective: The US was aware of Pakistan’s nuclear program, yet its actions were influenced by geopolitical considerations during the Cold War. “Ronald Reagan, who was the President of the US at that time, said let it go, let it go. It is more important for us to defeat the Soviet Union.” This led to a period of tacit acceptance, followed by a crackdown post-9/11 when concerns about proliferation and terror became paramount.
    • A.Q. Khan’s Legacy: The podcast examines A.Q. Khan’s complex legacy as a national hero in Pakistan versus the image of a nuclear proliferator in the West. “I think that he promoted himself as much as he could So even today many people attribute the atom bomb to AQ Khan.” The speaker believes that his legacy is being “blurred” by history and the actions of others.
    • Opposition to Nuclear Weapons: The host, a nuclear physicist, is presented as a longstanding opponent of nuclear weapons, influenced by scientists who helped create the first bomb. “I will always be and till my death I will be against the bomb, whether the bomb is of Pakistan, India, America or Israel.” He makes the case that the bomb does not provide true security to Pakistan since threats to the state are “internal”.

    Most Important Ideas and Facts:

    • Technical Expertise: A.Q. Khan’s specialization in metallurgy, not nuclear physics, is crucial to understand his contributions to the Pakistani program which required specialized steel for centrifuge rotors.
    • Stolen Documents: A.Q. Khan’s acquisition of centrifuge designs from the Netherlands is framed as a critical step in Pakistan’s nuclear program, even though it was based on stolen classified information.
    • Chinese Assistance: China was the most important external actor in assisting Pakistan’s nuclear project.
    • Proliferation Network: The Khan network was a complex, international system involved in both acquiring components and later selling them, earning “millions of dollars, maybe they earned hundreds of millions of dollars.”
    • Internal Divisions: There was a tension between A.Q. Khan and the Pakistani Atomic Energy Commission, with both vying for credit for the country’s nuclear development. The army also played a major, perhaps controlling role, in the network.
    • American Geopolitical Calculations: The US was aware of Pakistan’s nuclear program but initially prioritized containing the Soviet Union over preventing proliferation.
    • A.Q. Khan’s Apology and House Arrest: Following the revelation of his proliferation activities, A.Q. Khan was forced to apologize publicly and was placed under house arrest.
    • A.Q. Khan’s Regrets: The podcast host had personal communications with A.Q. Khan, indicating his regret over the state of education and his disillusionment with the Pakistani military establishment. “if I had known that I would have to hand over these people to these people, I probably would not have made it, because he is a loose man.”
    • Nuclear Nationalism: The program introduces the concept of nuclear nationalism and uses the speaker’s personal history to contrast the idea that nuclear arms contribute to national security and prosperity.

    Quotes:

    • “Americans knew that we were making a bomb…”
    • “we had to take revenge for the father of Pakistan’s atomic bomb we will kill India with the bomb”
    • “the rotor in the centrifuge rotates like that of a washing machine but the rotor rotates very fast, so the steels in it are of a very special kind. These are called Marang steels.”
    • “The biggest challenge in making the first atom bomb was to understand its theory, so it had to be invented at that time because that theory did not exist.”
    • “The actual design used by Pakistan was of a Chinese bomb, the one which The first Chinese test was conducted in Lap Nor, China.”
    • “A.Q. Khan kept many centrifuges made in Malaysia, their parts and completed centrifuges were also kept inside that ship.”
    • “Pakistan army judges a country”
    • “he apologized in English… secondly this had to be shown to the world, it had to be shown to the whites…”
    • “This is a prosperous nation, they are in danger from within.”

    Conclusion:

    The podcast provides a nuanced view of A.Q. Khan and the Pakistani nuclear program. It highlights the complex interplay of technical expertise, geopolitical maneuvering, international networks, and national ambitions. A.Q. Khan’s legacy remains controversial, representing both national pride and the dangers of nuclear proliferation. The podcast also introduces an alternative view that nuclear weapons do not provide true security. This briefing document provides a starting point for further analysis and discussion of this important topic.

    Pakistan’s Nuclear Program: A.Q. Khan and the Khan Network

    FAQ: Pakistan’s Nuclear Program and A.Q. Khan

    1. What was A.Q. Khan’s educational background and how did it relate to his role in Pakistan’s nuclear program? A.Q. Khan held a PhD in metallurgy, specializing in high tensile strength steels, not nuclear physics as is often mistakenly believed. His expertise in metallurgy proved vital in developing centrifuges for uranium enrichment, specifically relating to the materials used in the rotors that rotate at high speeds. He gained access to classified documents through his work at a Uranium Enrichment company, which he later used to help Pakistan in developing its nuclear program.
    2. How did A.Q. Khan acquire the initial designs and technology necessary for Pakistan’s nuclear program? A.Q. Khan worked for a Uranium Enrichment Corporation in the Netherlands and Belgium. He allegedly stole classified documents, including designs of centrifuges, and also the suppliers lists needed for key parts to build centrifuges. He then used these documents, alongside the help of his wife, to help him with translations. This information was instrumental in initiating Pakistan’s uranium enrichment program.
    3. What was the role of China in Pakistan’s nuclear weapons program? China provided Pakistan with the design for its nuclear bomb, specifically the design of the bomb that China first tested at Lop Nor, China. They also provided technology for processing uranium and other electronics and technologies. This close relationship made Pakistan’s nuclear program possible. China helped Pakistan acquire key technologies and materials necessary for its nuclear weapons development.
    4. What was the “Khan Network” and what was its purpose? The “Khan Network” was a global network established to procure materials and technologies for Pakistan’s nuclear program. This network had operatives worldwide whose jobs were to acquire specific components needed for centrifuge technology (like electronic parts, inverters, relays), because these items were not manufactured in Pakistan. It was later used by A.Q. Khan for personal profit. He began selling nuclear technology and materials to other countries like Libya, North Korea, and Iran.
    5. Why did Pakistan pursue nuclear weapons, and what was the primary motivation at the time? Pakistan’s primary motivation for developing nuclear weapons was to establish a nuclear deterrent against India, driven by historical events such as the 1971 separation of East Pakistan, and subsequent wars between the two countries, particularly the 1971 war, and India’s 1974 nuclear test. The aim was also to counter what was seen as a threat from India’s growing military capability and nuclear program. There was a desire to take “revenge” for the events of 1971.
    6. How did the international community, particularly the US, react to Pakistan’s nuclear program, and how did geopolitical events impact these reactions? Initially, the US was concerned about Pakistan’s nuclear program, but this concern was overshadowed by the Soviet invasion of Afghanistan in 1979. The US needed Pakistan’s help in countering the Soviet Union, so they turned a blind eye to Pakistan’s nuclear ambitions, and even provided them with substantial financial aid. This allowed Pakistan to continue developing its nuclear program with minimal external interference. After the Soviet defeat in Afghanistan, the US renewed its concerns, and placed sanctions on Pakistan, however after the 9/11 attacks, there was a new focus in the US on a war on terror and Pakistan once again became a US ally, and pressure surrounding their nuclear program subsided again.
    7. What happened to A.Q. Khan after his role in the nuclear program, and what were the accusations against him? After the exposure of the Khan Network, A.Q. Khan was placed under house arrest by the Pakistani government. He was accused of selling nuclear technology to other countries, which he admitted in a televised confession. Some sources suggest that A.Q. Khan was punished as a scapegoat, because the Pakistani military was also complicit in the proliferation of technology. It is also suggested by some that he also sold nuclear technology to India, however this is unconfirmed.
    8. What is the legacy of A.Q. Khan, and how do Pakistanis generally view his role in the nuclear program? A.Q. Khan is a controversial figure. While some view him as a national hero for developing Pakistan’s nuclear deterrent, others view him as a proliferator who sold sensitive nuclear technology to dangerous actors. Some Pakistanis continue to view him as a national hero, while others view his actions and motivations with more skepticism and criticism.

    A.Q. Khan and the Making of Pakistan’s Bomb

    Okay, here’s the timeline and cast of characters based on the provided text:

    Timeline of Main Events:

    • Pre-1971: Abdul Qadeer (AQ) Khan is born in Bhopal.
    • 1971: East Pakistan separates from West Pakistan, becoming Bangladesh. This deeply upsets AQ Khan, fueling a desire for revenge.
    • Early 1970s: AQ Khan is working in the Netherlands at UranCo (Uranium Enrichment Company). He is tasked with translating centrifuge designs from English/German to Dutch. His wife assists him.
    • Mid-1970s:AQ Khan allegedly steals classified documents from UranCo related to centrifuge technology. He claims his boss permitted him to take the designs home for translation.
    • A case is filed against him, but he escapes punishment by being in Pakistan at the time.
    • AQ Khan procures a supplier list, along with other critical information related to centrifuge components
    • He contacts the Pakistan Embassy and then reaches out to Zulfiqar Ali Bhutto, then Prime Minister of Pakistan, due to his belief Pakistan needed a nuclear deterrent.
    • AQ Khan travels to Pakistan and immediately goes to the Prime Minister’s House, then the President’s House (Awan-e-Sadr).
    • 1974: India conducts a nuclear test in Pokhran.
    • Mid-Late 1970s:Pakistan attempts to acquire a reprocessing plant from France to produce plutonium, but this is blocked by pressure from the US.
    • AQ Khan begins work on uranium enrichment in Pakistan, focusing on centrifuge technology. KUTA (Khan Research Laboratories, later KRL) is established, and becomes an active research facility after the arrival of AQ Khan.
    • China provides Pakistan with the design for their first nuclear bomb which was tested in Lop Nor. They also provide other forms of technological assistance, including Yare Yam hexafluoride which is a gas created from mined and processed uranium.
    • Late 1970s: The US is aware that Pakistan is working on a nuclear weapon program, but downplays it in public reports to maintain relations due to the Soviet Union’s invasion of Afghanistan.
    • 1980s: Pakistan uses the network it created for the nuclear weapons program to purchase goods from around the globe with Pakistani government money, and the Pakistani military’s knowledge.
    • 1990s: AQ Khan begins selling nuclear technology and materials to other countries through a global network. The army was also involved in the network, taking their share of profits.
    • Around 1996, Munir Ahmad Khan shares that he was shown proof of Pakistan’s bomb development by US senators during his time as chairman of the Atomic Energy Commission.
    • 1996: AQ Khan gets the speaker of the podcast, Parvez Hoodbhoy, placed on the ECL (Exit Control List) due to Hoodbhoy challenging a land grab AQ Khan was part of.
    • Later 90s: AQ Khan’s popularity rises in Pakistan, and he is considered a hero to many.
    • 1998: India conducts further nuclear tests. Pakistan responds with its own nuclear tests, which were carried out in Chaghi, Balochistan. It was a point of contention whether AQ Khan would be allowed to travel to the test site.
    • 2001: After 9/11, there is renewed pressure on Pakistan over its nuclear program, however focus shifts to counter terrorism and America’s war in Afghanistan.
    • 2003:A ship carrying centrifuge equipment en route to Libya is intercepted by the US. This exposes AQ Khan’s proliferation network.
    • Under pressure from the US, President Musharraf forces AQ Khan to publicly confess to his role in nuclear proliferation on PTV.
    • Post-2003: AQ Khan is placed under house arrest for the remainder of his life.
    • Later Years: AQ Khan sends several letters to Parvez Hoodbhoy, expressing regret over his role in the nuclear program, and disillusionment with the Pakistani military. He also becomes concerned over the educational conditions in the country. The podcast host was placed on the Exit Control List in 1996, by AQ Khan, because of his involvement in a land grab dispute.

    Cast of Characters:

    • Abdul Qadeer (AQ) Khan: A Pakistani metallurgist, considered the “father” of Pakistan’s nuclear program. He worked at UranCo in the Netherlands before starting Pakistan’s uranium enrichment program. He is celebrated as a hero by some, while others view him as a nuclear proliferator. He is believed to have been disillusioned by his role as Pakistan’s bomb maker later in life, and felt he had not been honored adequately by the government. He also expressed regret over the state of the country’s educational system.
    • Zulfiqar Ali Bhutto: Prime Minister of Pakistan who was contacted by AQ Khan for the development of nuclear weapons as a deterrent, specifically against India.
    • Ghulam Ishaq Khan: Met with A.Q Khan when he first arrived in Pakistan with the stolen designs of centrifuges.
    • Munir Ahmad Khan: Former chairman of the Pakistan Atomic Energy Commission.
    • Riazuddin: Pakistani professor of physics who was tasked with locating information about nuclear technology in the Library of Congress and other American libraries.
    • Ralph Brab: AQ Khan’s professor in Germany, whose specialization was high tensile strength steels.
    • Ayub Khan: Pakistani president who was involved in the discussions about acquiring a nuclear reactor, and subsequent reprocessing plant from France.
    • Professor Abdul Salam: Pakistani scientist who negotiated with France regarding the nuclear reactor acquisition for Pakistan.
    • General Aslam Beg: Pakistani general who advocated for a unified nuclear block comprised of Afghanistan, Iran, and Pakistan.
    • Parvez Hoodbhoy: Pakistani nuclear physicist and the host of the podcast, who opposed nuclear weapons. He had a complicated relationship with AQ Khan, marked by letters they exchanged in later years. Hoodbhoy and his friend also challenged AQ Khan in court.
    • Benazir Bhutto: Pakistani prime minister who had allegedly planned to transfer a portion of Quaid-e-Azam University’s land to MNS.
    • Abdul Hameed Nayyar: Friend of Parvez Hoodbhoy, also challenged AQ Khan in court.
    • General Shoaib Ahmed: General who made a video against Parvez Hoodbhoy, accusing him of being responsible for AQ Khan’s death.
    • Ronald Reagan: US President who did not sanction Pakistan for the nuclear weapons program due to the Soviet invasion of Afghanistan.
    • General Pervez Musharraf: President of Pakistan who forced AQ Khan to confess to nuclear proliferation.
    • David Albright: An American expert on nuclear weapons proliferation who was cited for comparing AQ Khan to Bin Laden.
    • Katherine Collins & Douglas France: Authors of the book “Fallout”, who alleged that the CIA deliberately did not stop AQ Khan’s activities in the 70s in order to gather information.
    • Young Ban (likely a misspelling of Young-Bong): South Korean scientist who assisted North Korea in its nuclear program.
    • Muammar Gaddafi: Libyan leader who sought to develop nuclear weapons and acquired materials through the AQ Khan network.
    • Philip Morrison, Victor Weiss, Cuff, Bernard Feld: Scientists and physicists who worked on the Manhattan Project, and went on to be advocates against nuclear weapons following their use on Hiroshima.
    • Jawaharlal Nehru: Early Indian Prime Minister who was initially against India’s nuclear program, but later changed his mind following the 1962 Sino-Indian War.

    Let me know if you have any other questions.

    A.Q. Khan and Pakistan’s Nuclear Program

    A.Q. Khan was a metallurgist, not a nuclear physicist, who played a significant role in Pakistan’s nuclear program [1]. He obtained his Ph.D. in metallurgy in Germany, specializing in high-tensile strength steels used in centrifuges [1, 2].

    Here’s a breakdown of his role and activities:

    • Acquisition of Nuclear Technology:
    • Khan worked at the Uranium Enrichment Company in the Netherlands [2].
    • He allegedly stole classified documents, including centrifuge designs, from his workplace [2, 3].
    • His wife helped him translate the documents [2, 3].
    • He took these secret documents to Pakistan and shared them with Bhutto [1, 3].
    • The technology he brought was the uranium enrichment method, which was an alternative to plutonium extraction [4].
    • Establishing Pakistan’s Nuclear Program:Khan contacted the Pakistan embassy, and this led to his meeting with Bhutto [3].
    • He was instrumental in setting up the Kahuta Research Laboratories (KRL), which became the center of Pakistan’s uranium enrichment program [4].
    • He brought a list of suppliers, including where to buy ball bearings and inverters, which are essential for centrifuge technology [3].
    • Khan’s work was essential, as Pakistan did not have the capacity to manufacture the necessary components [5, 6].
    • He utilized a global network to acquire parts for the program [6].
    • Controversies and Accusations:
    • Khan was accused of stealing nuclear secrets from his former employer [2].
    • He was accused of selling nuclear technology to other countries including North Korea, Libya and Iran [6, 7].
    • There were allegations of Khan selling nuclear secrets to Israel, America, and India, but this may not be true [1, 8].
    • He was involved in a network that sold nuclear technology and components for personal gain [7].
    • There is a claim that the Khan network was also sold to India, but this is not confirmed [7, 8].
    • Relationship with the Pakistani Government and Military:
    • The army was involved in Khan’s network, and they also took a cut of the profits from selling nuclear information [7].
    • General Musharraf forced Khan to confess his wrongdoings on television [9].
    • Khan was put under house arrest after his confession [10].
    • Legacy:
    • Khan was seen as a hero by many Pakistanis for his role in developing the country’s nuclear bomb [1, 11].
    • Despite his popularity, his role in the bomb’s creation was minimal [9].
    • There are differing views on his legacy; some view him as a national hero, while others see him as a “nuclear jihadist” [1, 12].
    • He also expressed regret for making the bomb [13].
    • Other PointsPakistan’s nuclear program was also supported by China, which provided designs and technology [5, 14].
    • The actual design of Pakistan’s bomb was similar to a Chinese bomb [5].
    • The program also involved the Pakistan Atomic Energy Commission (PAEC), which worked on other aspects of the bomb such as its fabrication and testing [14].
    • The US was aware of Pakistan’s nuclear program but did not intervene due to the Soviet-Afghan war [8, 15].
    • After the 9/11 attacks, pressure was put on Musharraf regarding Khan’s activities because of the fear he may sell nuclear material to terrorists [11].

    Pakistan’s Nuclear Program: From A.Q. Khan to Global Impact

    Pakistan’s development of the atomic bomb was a complex undertaking involving multiple factors, including technological acquisition, political motivations, and international relations [1-4].

    • Motivations:A key motivation for Pakistan’s nuclear program was to seek revenge for the separation of East Pakistan in 1971 [2, 5, 6].
    • The program was also fueled by the desire to match India’s nuclear capabilities, especially after India’s 1974 nuclear test [1, 5, 6].
    • The sentiment was, “we will eat grass, even go hungry, but we will have our own nuclear bomb” [5].
    • Key Figures:A.Q. Khan, a metallurgist, was pivotal in acquiring the technology and establishing the program [1]. He was not a nuclear scientist, but had a PhD in metallurgy [1, 2].
    • Zulfiqar Ali Bhutto was the Prime Minister of Pakistan who supported the nuclear program and reached out to Khan [7].
    • Munir Ahmad Khan, the chairman of the Atomic Energy Commission was also involved in the program [5].
    • Riazuddin, a physics professor at Quaid-e-Azam University, was sent to the Library of Congress in the US to find nuclear know-how [3].
    • Technological Aspects:Pakistan pursued the uranium enrichment method, as opposed to plutonium extraction [4].
    • A.Q. Khan obtained centrifuge designs from his work at the Uranium Enrichment Company in the Netherlands [2, 7]. He allegedly stole these designs [2, 7].
    • He also brought a list of suppliers for necessary components [7].
    • China provided significant assistance, including the design of the bomb and technology for converting mined uranium into gas [3, 8]. The actual design of Pakistan’s bomb was similar to China’s first nuclear test [3].
    • Pakistan used a global network to acquire the necessary parts [9].
    • Secrecy and Development:The program was conducted with a high level of secrecy [6].
    • The Kahuta Research Laboratories (KRL) became the center of Pakistan’s uranium enrichment program [4].
    • The Pakistan Atomic Energy Commission (PAEC) was responsible for the fabrication of the bomb, its testing, and other aspects [9].
    • The bomb was tested in Balochistan [10].
    • International Reactions and ChallengesThe US was aware of Pakistan’s program, but did not intervene due to the Soviet-Afghan war [5, 11, 12].
    • The US put pressure on France not to sell a reprocessing plant to Pakistan [4].
    • After the 9/11 attacks, pressure was put on Musharraf regarding Khan’s activities because of the fear he may sell nuclear material to terrorists [13].
    • Controversies:A.Q. Khan was accused of selling nuclear technology to other countries like North Korea, Libya, and Iran [9, 14]. There was a network through which this was accomplished [8].
    • There were also allegations that he sold nuclear secrets to Israel, America, and India, though this is not confirmed [1, 11, 14].
    • The Pakistani army was also involved in this network and took a cut of the profits [14].
    • Post-DevelopmentAfter Pakistan tested its bomb in 1998, other countries started looking towards Pakistan for nuclear technology [9].
    • Khan was forced to confess his wrongdoing on television and was put under house arrest [10, 13].
    • There was a view that the bomb was meant to empower the Muslim community and countries. For example, General Aslam Beg said that Afghanistan, Iran and Pakistan should become united countries and nuclear powers [15].
    • Legacy:A.Q. Khan was viewed as a hero by many in Pakistan but some consider him a “nuclear jihadist” [1, 16].
    • Khan himself expressed some regret over making the bomb, especially because he felt that he was not sufficiently honored by the Pakistani state [15, 17].
    • There is a view that Khan’s role in the bomb’s creation was minimal [10].
    • The nuclear program was not a guarantee of peace, as seen by conflicts such as Kargil and the ongoing tensions with India [18].
    • There is an ongoing debate as to whether or not the bomb has led to prosperity or stability in Pakistan [19].

    Nuclear Proliferation: Causes, Methods, and Consequences

    Nuclear proliferation, the spread of nuclear weapons, technology, and materials to countries that do not already possess them, is a significant concern that is discussed throughout the sources.

    Here’s a breakdown of nuclear proliferation as it relates to the provided sources:

    • Motivations for Proliferation:
    • Revenge and Security: Pakistan’s nuclear program was partly motivated by a desire to retaliate for the loss of East Pakistan in 1971, and to match India’s nuclear capabilities [1-4]. The sentiment was, “we will eat grass, even go hungry, but we will have our own nuclear bomb” [3].
    • Regional Power: Some countries sought nuclear weapons to enhance their regional power and influence [5]. For example, General Aslam Beg suggested that Afghanistan, Iran, and Pakistan should unite and become nuclear powers to counter the West [5].
    • Deterrence: Some nations seek nuclear weapons as a deterrent against potential aggressors. However, the sources question whether a nuclear bomb is a guarantee of peace, with conflicts such as Kargil and ongoing tensions between India and Pakistan as an example [6, 7].
    • Methods of Proliferation:
    • Stealing Technology: A.Q. Khan allegedly stole centrifuge designs from his workplace in the Netherlands, which were crucial for Pakistan’s uranium enrichment program [2, 8].
    • Global Networks: A.Q. Khan established a global network to acquire the necessary parts for Pakistan’s nuclear program [8-10]. This network was also used to sell nuclear technology to other countries [11].
    • State Support: Some countries, like China, provided significant assistance to other nations’ nuclear programs. China gave Pakistan the design of the bomb and technology for converting mined uranium into gas [9, 12].
    • Purchasing Technology: Countries like Libya attempted to purchase complete nuclear technology and components through intermediaries. [11, 12].
    • Exploiting Existing Technology: India extracted plutonium from a nuclear reactor provided by Canada, which they then used for their first nuclear test [13].
    • Examples of Proliferation:
    • Pakistan: Developed nuclear weapons using a combination of stolen technology, a global procurement network and support from China. [2, 8, 9, 12, 13].
    • India: Developed nuclear weapons through plutonium extraction and later tested a bomb [4, 13].
    • North Korea: Was interested in centrifuges and also had a plutonium-based nuclear program [10]. They were successful in making bombs [11].
    • Iran: Received outdated centrifuges from the Khan network but improved them [5]. They are now considered a potential nuclear power [6].
    • Libya: Tried to purchase nuclear technology from the Khan network, but their efforts were thwarted [11].
    • South Africa: Was mentioned as a possible location for a Khan network base, though no evidence of this was found [9, 10].
    • Allegations of Proliferation to other countries: There were claims that the Khan network sold nuclear secrets to Israel, America, and India, but these remain unconfirmed [1, 11].
    • Role of Key Individuals:
    • A.Q. Khan: Played a central role in the proliferation of nuclear technology through his network that sold nuclear technology to countries like Libya, North Korea and Iran [11].
    • Riazuddin: A physics professor who was sent to the US to find nuclear know-how for Pakistan [12].
    • Munir Ahmad Khan: The chairman of the Atomic Energy Commission was also involved in the program [3].
    • Consequences and Concerns:
    • Increased Instability: The spread of nuclear weapons can heighten tensions and increase the risk of conflict in already volatile regions [6, 7].
    • Arms Race: Proliferation can lead to regional arms races as countries seek to match the capabilities of their neighbors [1].
    • Risk of Use: There is concern that the more countries that possess nuclear weapons, the higher the risk they may be used in conflict [6, 7].
    • Terrorism: There is concern that nuclear material may fall into the hands of terrorists [14].
    • The ineffectiveness of deterrence: The sources present the view that nuclear weapons are not a guarantee of peace, citing conflicts like Kargil and tensions between India and Pakistan [6, 7].
    • International Response:
    • Sanctions and Pressure: The US and other countries have used sanctions and diplomatic pressure to try to prevent nuclear proliferation [15].
    • Monitoring and Intelligence: Agencies such as the CIA monitor the activities of countries that are trying to acquire nuclear weapons [15, 16].
    • Interception of Shipments: The US intercepted a ship carrying nuclear materials destined for Libya, exposing the Khan network’s activities [11, 12].
    • Debate Over Nuclear Weapons:
    • The sources present differing views on the value and legacy of nuclear weapons, especially their role in peace and stability. One view is that the bomb is a necessity to ensure national security. Another view, expressed by a nuclear physicist, is that nuclear weapons do not ensure peace and that a nation’s greatest threats are often internal [6, 17].

    In summary, the sources highlight that nuclear proliferation is driven by complex political, security and technological factors. The case of Pakistan shows how a combination of stolen technology, international networks and state support can lead to the development of nuclear weapons. The sources also indicate that the consequences of proliferation are far reaching and include increased regional instability, the potential for armed conflict and the risk of nuclear materials falling into the wrong hands.

    Nuclear Nationalism in Pakistan

    Nuclear nationalism, the belief that a nation’s identity, security, and prestige are tied to its possession of nuclear weapons, is a theme that is explored in the sources. Here’s a breakdown of how nuclear nationalism is portrayed:

    • National Pride and Identity: The development of nuclear weapons was seen as a matter of national pride for Pakistan [1]. The sources indicate that after the separation of East Pakistan in 1971, there was a strong desire for revenge, and the nuclear bomb was seen as a way to achieve this. This sentiment is captured in the phrase, “we will eat grass, even go hungry, but we will have our own nuclear bomb” [2, 3].
    • Hero Worship: A.Q. Khan was celebrated as a national hero in Pakistan, with his image appearing on posters and trucks [4, 5]. This hero worship highlights the extent to which nuclear weapons were seen as a symbol of national achievement. He was considered by some to be the “father of Pakistan’s atomic bomb” [1]. However, this was not the view of everyone [6].
    • Equating Nuclear Weapons with Security: There is a strong belief that nuclear weapons are essential for a nation’s security, acting as a deterrent against potential aggressors [7]. The idea was that the bomb would give Pakistan “so much protection” [8]. This view was linked to the idea that Pakistan needed to match India’s nuclear capabilities [1]. However, this idea is challenged in the sources, with the argument that Pakistan’s greatest threats are internal [7].
    • Regional Power and Influence: Nuclear weapons were also seen as a means to enhance regional power and influence. For example, General Aslam Beg’s view that Afghanistan, Iran, and Pakistan should unite and become nuclear powers indicates that nuclear weapons were seen as tools for regional dominance [9, 10]. This was seen as a way to counter the West [10].
    • The Link Between Nuclear Weapons and National Status: There was a desire to be recognized on the world stage as a nuclear power. This is illustrated by A.Q. Khan’s disappointment at not being given the same status as Abdul Kalam of India (the “missile man” who became President), highlighting that a nuclear weapons program can be seen as an indicator of national greatness [9]. The fact that A.Q. Khan’s apology was delivered in English, for the benefit of a Western audience, speaks to how important it was for Pakistan to be seen as a nuclear power [11].
    • Internal Opposition: Despite the prevailing view of nuclear weapons as a source of national pride, there were voices of opposition [5, 11]. The sources present the view of a nuclear physicist who was against nuclear weapons on principle, believing that they do not ensure peace and that a nation’s greatest threats are often internal [5, 7, 11]. This position directly challenges the notion that nuclear weapons are essential for a country’s security.
    • Questioning the Benefits of Nuclear Weapons: The idea that nuclear weapons are a guarantee of national security or prosperity is questioned [7]. The sources point out that many prosperous nations do not have nuclear weapons and that nuclear deterrence has not prevented conflicts [7, 8]. This suggests that the view of nuclear weapons as a source of national security may be based on a myth rather than a reality [8].
    • Blurred Legacy: The long-term legacy of nuclear nationalism is uncertain. It is suggested that historical narratives can be blurred over time, and the precise role of individuals, such as A.Q. Khan, may become distorted [10]. The sources suggest that, over time, the national narrative around nuclear weapons and the individuals who develop them is likely to change [5, 10].

    In summary, nuclear nationalism is a complex concept that links a nation’s identity and pride to its nuclear capabilities. While some see nuclear weapons as a source of national security, pride, and regional power, others view them as a threat to global peace and stability. The case of Pakistan, as discussed in the sources, highlights these competing viewpoints, revealing that nuclear nationalism is not a universally accepted ideal.

    Nuclear Proliferation and Regional Instability

    Regional tensions are significantly heightened by nuclear proliferation and nuclear nationalism, as discussed in the sources. The pursuit and possession of nuclear weapons by some nations have led to increased instability, arms races, and the potential for conflict in several regions [1-4].

    Here’s a breakdown of regional tensions as presented in the sources:

    • India and Pakistan:
    • Historical Conflict: The primary driver for Pakistan’s nuclear program was the desire to match India’s nuclear capabilities [3, 5]. This was partly motivated by the separation of East Pakistan in 1971, which led to a desire for revenge [1, 2]. The sentiment was that Pakistanis would “eat grass, even go hungry, but we will have our own nuclear bomb” [2].
    • Arms Race: India’s nuclear program, which began in the 1960s, spurred Pakistan to develop its own nuclear weapons [3]. This has created a continuous arms race between the two countries [5].
    • Kargil Conflict: Despite possessing nuclear weapons, Pakistan engaged in the Kargil conflict with India [6]. This highlights that nuclear deterrence is not a guarantee of peace, and tensions between the two countries remain high [4, 6].
    • Internal Threats: The sources suggest that Pakistan’s biggest threats are internal and that the nuclear bomb has not protected the country from internal conflict and instability [4].
    • China and India:
    • Rivalry: China’s support of Pakistan’s nuclear program was partly motivated by its rivalry with India [7, 8].
    • Border War: The 1962 war between China and India was a catalyst for India’s nuclear program [3].
    • Iran and the West:
    • Nuclear Ambitions: Iran’s pursuit of nuclear technology has led to concerns from the West, who fear that Iran may develop a nuclear weapon [4, 5].
    • Potential for Conflict: The sources also discuss the possibility of conflict between Iran and other nuclear powers [4, 6].
    • North and South Korea:
    • High Tensions: The tensions between North and South Korea are highlighted, and the possibility of these tensions escalating due to nuclear proliferation is raised [6].
    • North Korea’s Nuclear Program: North Korea’s successful development of nuclear weapons has created additional regional instability [6, 9, 10].
    • The Middle East:
    • Libya’s Nuclear Ambitions: Libya’s attempt to acquire nuclear technology through the Khan network further demonstrates the potential for regional instability [8, 11].
    • General Aslam Beg’s Plan: General Aslam Beg’s view that Afghanistan, Iran and Pakistan should unite as nuclear powers to counter the West reveals the regional aspirations of some in the area [12].
    • Other Regional Concerns:
    • Fear of Nuclear Weapons falling into the wrong hands: The fear of nuclear weapons falling into the hands of terrorist groups is also a source of regional tension [4, 13].
    • The Role of Nuclear Nationalism:
    • Fueling Tensions: Nuclear nationalism, the belief that a nation’s identity and security are tied to its possession of nuclear weapons, fuels regional tensions, as countries seek to enhance their regional power and influence [14].
    • Ineffectiveness of Nuclear Deterrence:
    • Conflicts Despite Deterrence: The sources point out that nuclear deterrence has not prevented conflicts [4, 6]. The Russia-Ukraine conflict, and the Israel-Palestine conflict are cited as examples, along with the Kargil conflict between India and Pakistan [4, 6].

    In summary, the sources demonstrate that nuclear proliferation and nuclear nationalism have significantly increased regional tensions. The pursuit of nuclear weapons by various nations has led to arms races, historical rivalries, and the potential for conflict. Despite the idea that nuclear weapons act as a deterrent, conflicts and tensions remain, suggesting that nuclear weapons do not guarantee peace or stability.

    By Amjad Izhar
    Contact: amjad.izhar@gmail.com
    https://amjadizhar.blog

  • Visual FoxPro 7 Commands

    Visual FoxPro 7 Commands

    Supported Visual FoxPro SET Commands

    Unsupported Visual FoxPro Commands and Functions

    Symbols
    & Command

    Performs macro substitution.

    & VarName[.cExpression]

    Parameters

    & VarName Specifies the name of the variable or array element to reference in the macro substitution. Do not include the M. prefix that distinguishes variables from fields. Such inclusion causes a syntax error. The macro should not exceed the maximum statement length permitted in Visual FoxPro.

    A variable cannot reference itself recursively in macro substitution. For example, the following generates an error message:

    STORE '&gcX' TO gcX
    ? &gcX

    Macro substitution statements that appear in DO WHILE, FOR, and SCAN are evaluated only at the start of the loop and are not reevaluated on subsequent iterations. Any changes to the variable or array element that occur within the loop are not recognized. .cExpression The optional period (.) delimiter and .cExpression are used to append additional characters to a macro. cExpression appended to the macro with .cExpression can also be a macro. If cExpression is a property name, include an extra period (cExpression..PropertyName).

    Remarks

    Macro substitution treats the contents of a variable or array element as a character string literal. When an ampersand (&) precedes a character-type variable or array element, the contents of the variable or element replace the macro reference. You can use macro substitution in any command or function that accepts a character string literal.

    Tip   Whenever possible, use a name expression instead of macro substitution. A name expression operates like macro substitution. However, a name expression is limited to passing character strings as names. Use a name expression for significantly faster processing if a command or function accepts a name (a file name, window name, menu name, and so on). For additional information on name expressions, see Overview of the Language.

    While the following commands are acceptable:

    STORE 'customer' TO gcTableName
    STORE 'company'  TO gcTagName
    USE &gcTableName ORDER &gcTagName

    use a name expression instead:

    USE (gcTableName) ORDER (gcTagName)

    Macro substitution is useful for substituting a keyword in a command. In the following example, the TALK setting is saved to a variable so the setting can be restored later in the program. The original TALK setting is restored with macro substitution.

    Example

    STORE SET('TALK') TO gcSaveTalk
    SET TALK OFF
    *
    *  Additional program code
    *
    SET TALK &gcSaveTalk  && Restore original TALK setting

    && Command

    Indicates the beginning of a nonexecuting inline comment in a program file.

    && [Comments]

    Parameters

    Comments Indicates that inline comments follow. For example:

    STORE (20*12) TO gnPayments  && 20 years of monthly payments

    Inserting inline comments to denote the end of the IF … ENDIF, DO, and FOR … ENDFOR structured programming commands greatly improves the readability of programs.

    Remarks

    Place a semicolon (;) at the end of each comment line that continues to a following line. You cannot place && and a comment after the semicolon used to continue a command line to an additional line.

    Example

    NOTE  Initialize the page number;
       variable.
    STORE 1 to gnPageNum
    * Set up the loop
    DO WHILE gnPageNum <= 25  && loop 25 times
       gnPageNum = gnPageNum + 1
    ENDDO  && DO WHILE gnPageNum <= 25
    • * Command

    Indicates the beginning of a nonexecuting comment line in a program file.

    * [Comments]

    Parameters

    Comments Specifies the comment in the comment line. For example:

    *   This is a comment

    Remarks

    Place a semicolon (;) at the end of each comment line that continues to a following line.

    Example

    * Initialize the page number;
       variable.
    STORE 1 to gnPageNum
    * Set up the loop
    DO WHILE gnPageNum <= 25  && loop 25 times
       gnPageNum = gnPageNum + 1
    ENDDO  && DO WHILE gnPageNum <= 25

    ? | ?? Command

    ??? Command

    @ … BOX Command

    @ … CLASS Command

    @ … CLEAR Command

    @ … EDIT – Edit Boxes Command

    @ … FILL Command

    @ … GET – Check Boxes Command

    @ … GET – Combo Boxes Command

    @ … GET – Command Buttons Command

    @ … GET – List Boxes Command

    @ … GET – Option Buttons Command

    @ … GET – Spinners Command

    @ … GET – Text Boxes Command

    @ … GET – Transparent Buttons Command

    @ … MENU Command

    @ … PROMPT Command

    @ … SAY – Pictures & OLE Objects Command

    @ … SAY Command

    @ … SCROLL Command

    @ … TO Command

    \ | \ Command

    A
    ACCEPT Command

    ACTIVATE MENU Command

    ACTIVATE POPUP Command

    ACTIVATE SCREEN Command

    ACTIVATE WINDOW Command

    ADD CLASS Command

    ADD TABLE Command

    ALTER TABLE – SQL Command

    APPEND Command

    APPEND FROM ARRAY Command

    APPEND FROM Command

    APPEND GENERAL Command

    APPEND MEMO Command

    APPEND PROCEDURES Command

    ASSERT Command

    ASSIST Command

    AVERAGE Command

    B
    BEGIN TRANSACTION Command

    BLANK Command

    BROWSE Command

    BUILD APP Command

    BUILD DLL Command

    BUILD EXE Command

    BUILD MTDLL Command

    BUILD PROJECT Command

    C
    CALCULATE Command

    CALL Command

    CANCEL Command

    CD | CHDIR Command

    CHANGE Command

    CLEAR Commands

    CLOSE Commands

    CLOSE MEMO Command

    COMPILE Command

    COMPILE DATABASE Command

    COMPILE FORM Command

    CONTINUE Command

    COPY FILE Command

    COPY INDEXES Command

    COPY MEMO Command

    COPY PROCEDURES Command

    COPY STRUCTURE Command

    COPY STRUCTURE EXTENDED Command

    COPY TAG Command

    COPY TO ARRAY Command

    COPY TO Command

    COUNT Command

    CREATE CLASS Command

    CREATE CLASSLIB Command

    CREATE COLOR SET Command

    CREATE Command

    CREATE CONNECTION Command

    CREATE CURSOR – SQL Command

    CREATE DATABASE Command

    CREATE FORM Command

    CREATE FROM Command

    CREATE LABEL Command

    CREATE MENU Command

    CREATE PROJECT Command

    CREATE QUERY Command

    CREATE REPORT – Quick Report Command

    CREATE REPORT Command

    CREATE SCREEN – Quick Screen Command

    CREATE SCREEN Command

    CREATE SQL VIEW Command

    CREATE TABLE – SQL Command

    CREATE TRIGGER Command

    CREATE VIEW Command

    D
    DEACTIVATE MENU Command

    DEACTIVATE POPUP Command

    DEACTIVATE WINDOW Command

    DEBUG Command

    DEBUGOUT Command

    DECLARE – DLL Command

    DECLARE Command

    DEFINE BAR Command

    DEFINE BOX Command

    DEFINE CLASS Command

    DEFINE MENU Command

    DEFINE PAD Command

    DEFINE POPUP Command

    DEFINE WINDOW Command

    DELETE – SQL Command

    DELETE Command

    DELETE CONNECTION Command

    DELETE DATABASE Command

    DELETE FILE Command

    DELETE TAG Command

    DELETE TRIGGER Command

    DELETE VIEW Command

    DIMENSION Command

    DIR or DIRECTORY Command

    DISPLAY Command

    DISPLAY CONNECTIONS Command

    DISPLAY DATABASE Command

    DISPLAY DLLS Command

    DISPLAY FILES Command

    DISPLAY MEMORY Command

    DISPLAY OBJECTS Command

    DISPLAY PROCEDURES Command

    DISPLAY STATUS Command

    DISPLAY STRUCTURE Command

    DISPLAY TABLES Command

    DISPLAY VIEWS Command

    DO CASE … ENDCASE Command

    DO Command

    DO FORM Command

    DO WHILE … ENDDO Command

    DOEVENTS Command

    DROP TABLE Command

    DROP VIEW Command

    E
    EDIT Command

    EJECT Command

    EJECT PAGE Command

    END TRANSACTION Command

    ERASE Command

    ERROR Command

    EXIT Command

    EXPORT Command

    EXTERNAL Command

    F
    FIND Command

    FLUSH Command

    FOR EACH … ENDFOR Command

    FOR … ENDFOR Command

    FREE TABLE Command

    FUNCTION Command

    G
    GATHER Command

    GETEXPR Command

    GO | GOTO Command

    H
    HELP Command

    HIDE MENU Command

    HIDE POPUP Command

    HIDE WINDOW Command

    I
    IF … ENDIF Command

    IMPORT Command

    INDEX Command

    INPUT Command

    INSERT – SQL Command

    INSERT Command

    J
    JOIN Command

    K
    KEYBOARD Command

    L
    LABEL Command

    LIST Commands

    LIST CONNECTIONS Command

    LIST DATABASE Command

    LIST DLLS Command

    LIST OBJECTS Command

    LIST PROCEDURES Command

    LIST TABLES Command

    LIST VIEWS Command

    LOAD Command

    LOCAL Command

    LOCATE Command

    LOOP Command

    LPARAMETERS Command

    M
    MD | MKDIR Command

    MENU Command

    MENU TO Command

    MODIFY CLASS Command

    MODIFY COMMAND Command

    MODIFY CONNECTION Command

    MODIFY DATABASE Command

    MODIFY FILE Command

    MODIFY FORM Command

    MODIFY GENERAL Command

    MODIFY LABEL Command

    MODIFY MEMO Command

    MODIFY MENU Command

    MODIFY PROCEDURE Command

    MODIFY PROJECT Command

    MODIFY QUERY Command

    MODIFY REPORT Command

    MODIFY SCREEN Command

    MODIFY STRUCTURE Command

    MODIFY VIEW Command

    MODIFY WINDOW Command

    MOUSE Command

    MOVE POPUP Command

    MOVE WINDOW Command

    N
    NOTE Command

    O
    ON BAR Command

    ON ERROR Command

    ON ESCAPE Command

    ON EXIT BAR Command

    ON EXIT MENU Command

    ON EXIT PAD Command

    ON EXIT POPUP Command

    ON KEY = Command

    ON KEY Command

    ON KEY LABEL Command

    ON PAD Command

    ON PAGE Command

    ON READERROR Command

    ON SELECTION BAR Command

    ON SELECTION MENU Command

    ON SELECTION PAD Command

    ON SELECTION POPUP Command

    ON SHUTDOWN Command

    OPEN DATABASE Command

    P
    PACK Command

    PACK DATABASE Command

    PARAMETERS Command

    PLAY MACRO Command

    POP KEY Command

    POP MENU Command

    POP POPUP Command

    PRINTJOB … ENDPRINTJOB Command

    PRIVATE Command

    PROCEDURE Command

    PUBLIC Command

    PUSH KEY Command

    PUSH MENU Command

    PUSH POPUP Command

    Q
    QUIT Command

    R
    RD | RMDIR Command

    READ Command

    READ EVENTS Command

    READ MENU Command

    RECALL Command

    REGIONAL Command

    REINDEX Command

    RELEASE BAR Command

    RELEASE CLASSLIB Command

    RELEASE Command

    RELEASE LIBRARY Command

    RELEASE MENUS Command

    RELEASE PAD Command

    RELEASE POPUPS Command

    RELEASE PROCEDURE Command

    RELEASE WINDOWS Command

    REMOVE CLASS Command

    REMOVE TABLE Command

    RENAME CLASS Command

    RENAME Command

    RENAME CONNECTION Command

    RENAME TABLE Command

    RENAME VIEW Command

    REPLACE Command

    REPLACE FROM ARRAY Command

    REPORT Command

    RESTORE FROM Command

    RESTORE MACROS Command

    RESTORE SCREEN Command

    RESTORE WINDOW Command

    RESUME Command

    RETRY Command

    RETURN Command

    ROLLBACK Command

    RUN | Command

    S
    SAVE MACROS Command

    SAVE SCREEN Command

    SAVE TO Command

    SAVE WINDOWS Command

    SCAN … ENDSCAN Command

    SCATTER Command

    SCROLL Command

    SEEK Command

    SELECT – SQL Command

    SELECT Command

    SET ALTERNATE Command

    SET ANSI Command

    SET ASSERTS Command

    SET AUTOSAVE Command

    SET BELL Command

    SET BLOCKSIZE Command

    SET BORDER Command

    SET BROWSEIME Command

    SET BRSTATUS Command

    SET CARRY Command

    SET CENTURY Command

    SET CLASSLIB Command

    SET CLEAR Command

    SET CLOCK Command

    SET COLLATE Command

    SET COLOR OF Command

    SET COLOR OF SCHEME Command

    SET COLOR SET Command

    SET COLOR TO Command

    SET Command

    SET COMPATIBLE Command

    SET CONFIRM Command

    SET CONSOLE Command

    SET COVERAGE Command

    SET CPCOMPILE Command

    SET CPDIALOG Command

    SET CURRENCY Command

    SET CURSOR Command

    SET DATABASE Command

    SET DATASESSION Command

    SET DATE Command

    SET DEBUG Command

    SET DEBUGOUT Command

    SET DECIMALS Command

    SET DEFAULT Command

    SET DELETED Command

    SET DELIMITERS Command

    SET DEVELOPMENT Command

    SET DEVICE Command

    SET DISPLAY Command

    SET DOHISTORY Command

    SET ECHO Command

    SET ESCAPE Command

    SET EVENTLIST Command

    SET EVENTTRACKING Command

    SET EXACT Command

    SET EXCLUSIVE Command

    SET FDOW Command

    SET FIELDS Command

    SET FILTER Command

    SET FIXED Command

    SET FORMAT Command

    SET FULLPATH Command

    SET FUNCTION Command

    SET FWEEK Command

    SET HEADINGS Command

    SET HELP Command

    SET HELPFILTER Command

    SET HOURS Command

    SET INDEX Command

    SET INTENSITY Command

    SET KEY Command

    SET KEYCOMP Command

    SET LIBRARY Command

    SET LOCK Command

    SET LOGERRORS Command

    SET MACKEY Command

    SET MARGIN Command

    SET MARK OF Command

    SET MARK TO Command

    SET MEMOWIDTH Command

    SET MESSAGE Command

    SET MULTILOCKS Command

    SET NEAR Command

    SET NOCPTRANS Command

    SET NOTIFY Command

    SET NULL Command

    SET NULLDISPLAY Command

    SET ODOMETER Command

    SET OLEOBJECT Command

    SET OPTIMIZE Command

    SET ORDER Command

    SET PALETTE Command

    SET PATH Command

    SET PDSETUP Command

    SET POINT Command

    SET PRINTER Command

    SET PROCEDURE Command

    SET READBORDER Command

    SET REFRESH Command

    SET RELATION Command

    SET RELATION OFF Command

    SET REPROCESS Command

    SET RESOURCE Command

    SET SAFETY Command

    SET SECONDS Command

    SET SEPARATOR Command

    SET SKIP Command

    SET SKIP OF Command

    SET SPACE Command

    SET STATUS BAR Command

    SET STATUS Command

    SET STEP Command

    SET STRICTDATE Command

    SET SYSFORMATS Command

    SET SYSMENU Command

    SET TALK Command

    SET TEXTMERGE Command

    SET TEXTMERGE DELIMITERS Command

    SET TOPIC Command

    SET TOPIC ID Command

    SET TRBETWEEN Command

    SET TYPEAHEAD Command

    SET UDFPARMS Command

    SET UNIQUE Command

    SET VIEW Command

    SET VOLUME Command

    SET WINDOW OF MEMO Command

    SHOW GET Command

    SHOW GETS Command

    SHOW MENU Command

    SHOW OBJECT Command

    SHOW POPUP Command

    SHOW WINDOW Command

    SIZE POPUP Command

    SIZE WINDOW Command

    SKIP Command

    SORT Command

    STORE Command

    SUM Command

    SUSPEND Command

    SYS(2001) – SET … Command Status

    T
    TEXT … ENDTEXT Command

    TOTAL Command

    TYPE Command

    U
    UNLOCK Command

    UPDATE – SQL Command

    UPDATE Command

    USE Command

    V
    VALIDATE DATABASE Command

    W
    WAIT Command

    WITH … ENDWITH Command

    X
    Y
    Z
    ZAP Command

    ZOOM WINDOW Command

  • Al Riyadh Newspaper: February 27, 2025 Saudi Arabia: Developments, Politics, Culture, and Economy

    Al Riyadh Newspaper: February 27, 2025 Saudi Arabia: Developments, Politics, Culture, and Economy

    These articles from various news sources cover a wide range of topics. One major focus is Saudi Arabia, including the opening of the first phase of the Sports Track project in Riyadh, approval for distributing copies of the Quran internationally, and an overview of investments in agriculture and food security. Reports detail various sectors, from technology and media to the petroleum and petrochemical industries. Additional subjects include a lunar sighting for Ramadan, soccer tournaments, preparations for Umrah season, and even allegations of torture against doctors in Gaza. Many of the articles celebrate Saudi Arabia and achievements by its government.

    Riyadh Review Study Guide

    I. Quiz

    Answer the following questions in 2-3 sentences each:

    1. What is the “Sports Boulevard” project, and what is its primary goal?
    2. According to the text, what are the main aims of Saudi Arabia’s Vision 2030 plan?
    3. What was the main topic of discussion during a meeting by the King Fahd National Library, according to a segment of the source document?
    4. What is the main argument of the article titled “Rational Emotions”?
    5. What is the essence of the article titled, “Memory of the Foundation of the State… A pioneering step in documenting the national history and promoting the Saudi identity”?
    6. What is the central goal of the Saudi Cup, according to the source?
    7. What is the “Ramadan Basket” initiative, and what is its purpose?
    8. What was the reason for the delay in the start of the Al-Nasr and Al-Wahda soccer game, according to the source?
    9. According to the document, how was Saudi Arabia’s national football team, Al-Akhdar Al-Shabab, successful?
    10. What is the opinion of doctor Khalid Al-Khadari about King Salman’s interest in culture and heritage?

    II. Quiz Answer Key

    1. The “Sports Boulevard” is a project in Riyadh aimed at transforming the city into one of the world’s most livable cities. It focuses on creating a healthy lifestyle and a positive, attractive environment for residents and visitors through various sports and recreational activities.
    2. Saudi Arabia’s Vision 2030 plan is intended to promote economic diversification by reducing reliance on oil and promoting growth in other areas including tourism, technology and manufacturing. It also aims to develop infrastructure, achieve sustainable development, and promote national identity.
    3. The main topic of discussion in the King Fahd National Library was the science of history and its language. In the discussion, attendees determined the importance of a historian’s awareness of the language of the era they are studying.
    4. The main argument of “Rational Emotions” is that true rationality involves balancing emotions and critical thinking. It argues for acknowledging and managing emotions in a healthy way, which requires awareness, effort, and consistent practice.
    5. The essence of the article is that commemorating the founding of Saudi Arabia represents a crucial step in documenting national history and strengthening Saudi identity. It emphasizes that the day signifies the start of unity and harmony in the country.
    6. According to the source, the Saudi Cup is the world’s richest horse race. This race is viewed as an important event for promoting Arabian horses in Saudi culture and tradition.
    7. The “Ramadan Basket” initiative involves gathering basic food items and providing full food baskets for needy families during the month of Ramadan. It reflects the spirit of brotherhood and provides aid during an economically demanding time.
    8. The Al-Nasr and Al-Wahda soccer game was delayed because Al-Nasr’s bus was delayed due to mechanical issues. The match was therefore pushed back to a later time that evening.
    9. The Saudi national team, Al-Akhdar Al-Shabab, successfully made it to the continental finals by defeating South Korea. The team’s goalkeeper, Hamed Al-Sanqiti, won MVP.
    10. Doctor Khalid Al-Khadari thinks that King Salman places great importance on culture and heritage and believes that the King is among the top leaders who prioritize that. He thinks the King understands the significance of cultural identity in building nations and strengthening national belonging.

    III. Essay Questions

    Consider the following questions and formulate well-organized essays in response. Be sure to utilize specific examples and details from the source texts to support your arguments.

    1. Analyze the role of cultural initiatives and projects, such as the “Sports Boulevard” and the “Saudi Cup,” in Saudi Arabia’s Vision 2030. How do these initiatives contribute to the broader goals of the vision, such as economic diversification, improved quality of life, and promotion of national identity?
    2. Discuss the challenges and opportunities facing the Saudi media landscape as reflected in the “International Media Forum” event. How are digital transformation, artificial intelligence, and the need for creative content reshaping the industry, and what strategies are being employed to adapt and thrive in this environment?
    3. Examine the concept of “rational emotions” as presented in the provided text. How does it relate to decision-making, personal well-being, and social relationships, and what strategies can individuals use to develop emotional intelligence and achieve a balance between reason and emotion?
    4. Compare and contrast the historical narratives presented in the articles about the founding of Saudi Arabia and the Al Saud dynasty with aspects of the present day. To what extent do historical legacies inform contemporary Saudi identity, culture, and governance?
    5. Assess Saudi Arabia’s investment in agriculture and food security as described in the articles. How are these investments aimed at bolstering the kingdom’s role in the global market, ensuring sustainable food supplies, and addressing future challenges in the food sector?

    IV. Glossary of Key Terms

    • Vision 2030 (روؤية 2030): A strategic framework and reform plan launched by Saudi Arabia to diversify its economy, develop public services, and enhance its global standing.
    • Sports Boulevard (المسار الرياضي): A project in Riyadh aimed at creating a world-class sports and recreational destination, promoting a healthy lifestyle, and improving the quality of life for residents.
    • GPCA (جيبكا): The Gulf Petrochemicals and Chemicals Association, a regional organization representing the petrochemical and chemical industry in the Arabian Gulf.
    • Salic (سالك): An agricultural investment company focused on contributing to global food security through strategic investments in various agricultural sectors.
    • NEOM (نيوم): A planned smart city in Saudi Arabia that will rely entirely on renewable energy and aim to be a hub for innovation, technology, and sustainable living.
    • Edelman Trust Barometer (مقياس إيدلمان للثقة): An annual survey that measures public trust in institutions such as governments, businesses, NGOs, and media across various countries.
    • Diriyah (الدرعية): A town in Saudi Arabia that was the original home of the Saudi royal family and served as the capital of the first Saudi state.
    • The Saudi Cup (كأس السعودية): An annual horse race held in Riyadh, considered the world’s richest horse race, and a significant event for promoting Arabian horses in Saudi culture.
    • Al-Akhdar Al-Shabab (الأخضر الشاب): The Saudi youth national football team, a term used to refer to the team’s performance in youth-level competitions.
    • Ramadan Basket (سلة رمضان): An initiative to provide food baskets for needy families during the month of Ramadan, containing essential food items and supplies.
    • rational emotions (المشاعر العقلانية): The ability to acknowledge and manage emotions in a healthy and constructive way.
    • King Fahd National Library (مكتبة الملك فهد الوطنية): A cultural institution that houses numerous texts.

    Al Riyadh Newspaper: Saudi Arabia, February 2025

    Okay, here is a briefing document summarizing the main themes and ideas from the provided sources.

    Briefing Document

    Subject: Analysis of Articles from “Al Riyadh” Newspaper (February 27, 2025)

    Overview:

    This document summarizes key themes and specific articles from an issue of the Saudi Arabian newspaper “Al Riyadh.” The articles cover a diverse range of topics including Saudi Arabia’s Vision 2030 initiatives, regional politics, economic developments, cultural events, and social issues. The overall tone emphasizes national pride, progress, and the Kingdom’s growing role on the world stage.

    Key Themes and Ideas:

    • Saudi Vision 2030 and National Transformation: A major recurring theme is Saudi Arabia’s ambitious “Vision 2030” and the various projects and initiatives aimed at diversifying the economy, improving quality of life, and enhancing the Kingdom’s global standing.
    • The Sports Boulevard Project: The opening of the first phase of the “Sports Boulevard” project in Riyadh is highlighted as a key achievement. This project is designed to promote a healthy lifestyle, enhance the city’s appeal, and contribute to making Riyadh one of the world’s most livable cities. As the article mentions, the project aims to create “a positive and attractive environment for the residents and visitors of the city of Riyadh,” and will act as an “environmental artery” for the city. This is directly linked to the goals of Vision 2030. The Sports Boulevard is open to the public starting February 27, 2025 and features a website: http://www.SportsBoulevard.sa.
    • Economic Diversification and Investment: The articles emphasize efforts to move away from reliance on oil, with investments in sectors like tourism, technology, and entertainment. The Public Investment Fund’s (PIF) acquisition of a significant stake in the agricultural company “Olam” is cited as an example of this strategy, aiming to “enhance the Kingdom’s position on the global arena.”
    • Improved Image and Global Trust: Reforms are said to be enhancing Saudi Arabia’s image and attracting foreign investment. The Edelman Trust Barometer 2025 is cited, noting that Saudi Arabia has the highest level of public trust in government globally (87%), reflecting the success of Vision 2030 programs. It also mentions a high percentage of citizens feeling optimistic about the future: “69% of citizens believe that the next generation will enjoy a better life, which is a much higher percentage than in most other countries.”
    • Cultural Preservation and Promotion: Several articles focus on preserving and celebrating Saudi heritage and culture.
    • Naming of Public Squares: There is focus on naming public squares in honor of imams and kings is described as “a pioneering step in documenting national history and strengthening Saudi identity.”
    • “Year of Traditional Handicrafts” Initiative: The Ministry of Culture’s “Year of Traditional Handicrafts 2025” initiative is highlighted, with events showcasing Saudi craftsmanship both domestically and internationally. This aligns with the goal of promoting Saudi culture and supporting local artisans.
    • The Role of Horses: The importance of Arabian horses in Saudi culture and history is emphasized.
    • Regional and International Relations: The newspaper covers Saudi Arabia’s diplomatic activities and its role in regional issues.
    • Saudi-Azerbaijan Relations: The King and Crown Prince received written messages from the President of Azerbaijan, discussing bilateral relations.
    • Gaza Conflict: The newspaper reports on a ceasefire agreement between Hamas and Israel, including prisoner exchanges and negotiations for a second phase of the agreement.
    • Economic Development: The newspaper covers investments into domestic infrastructure, including plans for urban expansion.
    • Social Issues and Values: Some articles touch on social issues such as consumerism and the importance of charitable giving during Ramadan.
    • Combating Food Waste: An article discusses a national initiative to reduce food loss and waste, promoting responsible consumption and highlighting the economic and ethical implications of food waste.

    Specific Articles and Key Points:

    • “Opening of the First Phase of the Sports Boulevard Project”:Details the opening of the first phase of the Sports Boulevard project in Riyadh.
    • Highlights the project’s goals of promoting a healthy lifestyle, enhancing the city’s appeal, and contributing to making Riyadh one of the world’s most livable cities.
    • “King Approves Distribution of 1.2 Million Copies of the Quran in 45 Countries”:Announces the King’s approval for distributing copies of the Quran in various countries, reflecting Saudi Arabia’s role in promoting Islamic values.
    • “The Grand Mufti Receives a Report on the National Cohesion Initiative from ‘Ifta’ Jazan’”:Reports on the Grand Mufti receiving a report on a national initiative promoting social cohesion and unity.
    • “Kingdom Seizes Opportunities To Invest in Agriculture and Food Sector Globally”:Reports on the acquisition of a major stake in “Olam” by the Public Investment Fund. It also mentions the aim of enhancing the Kingdom’s food security and its role in the global grain market.
    • It highlights SALIC’s (Saudi Agricultural and Livestock Investment Company) investments in Ukraine, Australia and Canada. SALIC plans to invest in 16 strategical commodities.
    • “GEPCA Welcomes the Cabinet’s Decision to Host its Headquarters in Riyadh”:Reports on the Gulf Petrochemicals and Chemicals Association (GIPCA) welcoming the Saudi Cabinet’s decision to host its headquarters in Riyadh.
    • Highlights Saudi Arabia’s dominant role in the region’s petrochemical industry.
    • “Local Competitions Delayed Because of Club’s Late Arrival”:Reports on a domestic football (soccer) match being delayed because of the club’s (Al Nassr) delayed arrival to the stadium.
    • “Al Akhdar Al Shabab (Green Youth) Crosses Korea to the Continental Finale”:
    • Reports on Saudi Arabia’s Youth Soccer team winning an important match.
    • “Patna: Every Game is The Final”:Reports on a soccer player discussing the current season.

    Overall Tone:

    The tone of the articles is generally positive and optimistic, highlighting Saudi Arabia’s progress, development, and growing influence. There is a strong emphasis on national identity, cultural pride, and the Kingdom’s commitment to Vision 2030.

    This briefing provides a comprehensive overview of the key themes and articles found in the provided “Al Riyadh” newspaper excerpts.

    Saudi Arabia: Vision 2030 and Cultural Transformation

    ### What is the “Sports Boulevard” project in Riyadh?

    The “Sports Boulevard” project is a major initiative in Riyadh, Saudi Arabia, designed to transform the city into one of the most livable in the world. It involves creating a vast green space and recreational area that stretches across the city, promoting a healthy lifestyle, enhancing community engagement, and attracting both residents and visitors. It will connect the Eastern and Western parts of Riyadh and include spaces for various sports. The first phase includes five destinations including Wadi Hanifa.

    ### What are the key goals of the Saudi government’s economic reforms, as mentioned in the source?

    The Saudi government’s economic reforms, under Vision 2030, aim to diversify the economy away from oil dependency, promote private sector growth, attract foreign investment, and create new job opportunities for citizens. Key sectors targeted for development include tourism, technology, entertainment, and manufacturing.

    ### What is the significance of establishing the “Al-Masar” (The Path) sports foundation?

    The establishment of the “Al-Masar” sports foundation and the opening of its initial phases signifies a commitment to improving the quality of life for Riyadh residents and visitors. This initiative is in line with the goals of Saudi Vision 2030, which focuses on creating a vibrant society with a healthy lifestyle and a positive environment.

    ### What is the purpose of creating new squares named after historical figures?

    Creating new squares named after historical figures serves multiple purposes, including commemorating the nation’s history, reinforcing national identity, and creating attractive public spaces. These squares are designed to become landmarks that reflect the Kingdom’s heritage and offer interactive experiences for visitors.

    ### What is the role of Salic in strengthening Saudi Arabia’s food security?

    SALIC plays a crucial role in strengthening Saudi Arabia’s food security by investing in agricultural and food production companies globally. The acquisition of a significant stake in “Olam Agri” is a strategic move to diversify sources of grain supply and cover a substantial portion of the Kingdom’s needs, thereby ensuring long-term food security.

    ### What does the relocation of GPCA headquarters to Riyadh signify?

    The relocation of the Gulf Petrochemicals and Chemicals Association (GPCA) headquarters to Riyadh underscores Saudi Arabia’s growing influence and leadership in the petrochemicals sector in the region. It also highlights the Kingdom’s commitment to supporting innovation, sustainability, and the development of a thriving petrochemical industry.

    ### How is Saudi Arabia promoting its cultural heritage to the world?

    Saudi Arabia promotes its cultural heritage through initiatives like cultural weeks organized in countries like Qatar and Greece. These events showcase the Kingdom’s traditions, handicrafts, and historical connections, such as the relationship between humans and camels, to a global audience. The country is also showcasing their modern art in other nations, strengthening international relations and fostering collaboration.

    ### What is “rational emotion” and how is it applicable to the current day?

    “Rational emotion” refers to the balance between emotion and reason in decision-making and managing feelings. It involves recognizing emotions, understanding their causes, and responding in a constructive way rather than being impulsive or suppressive. It means to avoid the extremes of both the extreme of indifference and unchecked passion and impulsiveness. In everyday life, it’s applicable to dealing with challenges, strong emotions like anger or grief, and making informed decisions. It’s also the ability to be aware of your emotions and thoughts and to act on them without judging them. This helps us to look at the probable consequences in our decisions while remaining rational.

    Saudi Arabia: Vision 2030 and Ongoing Development

    Saudi Arabia is undergoing considerable development and change. Here’s a summary of Saudi Arabia, based on the provided sources:

    • Vision 2030: Saudi Arabia is working to achieve the goals of its Vision 2030, which includes becoming one of the best cities in the world to live in by improving the environment and promoting healthy lifestyles.
    • Al المسار الرياضي Project: There is an effort to translate this vision into reality. The first phase of the المسار الرياضي project has been completed and includes the opening of five destinations.
    • Economic diversification: There’s a focus on strengthening the economy, including the petrochemical sector, and promoting the Kingdom’s leading position. This involves enabling the contribution to a competitive and sustainable petrochemical industry, supporting economic growth.
    • Cultural and national identity:
    • There’s an emphasis on preserving the Kingdom’s history and culture.
    • “فن المملكة” Art Exhibition: Which reflects the richness of the cultural identity of the Kingdom. The exhibition explores the role of art, especially contemporary art, in building the community and memory.
    • The importance of culture: The importance of culture in strengthening national identity is stressed by King Salman.
    • Week of Saudi Culture: The “الأ�سابيع الثقافية الدولية” (“International Cultural Weeks”) initiative is a channel for strengthening cultural relations with other countries by showcasing Saudi culture and promoting cultural exchange and cooperation.
    • Founding Day: It is a national occasion that affirms the establishment and stability of the institution.
    • Philanthropy: Supporting charitable work is a prominent feature of Saudi society, reflecting values of compassion and solidarity.
    • Developments in Al Madinah Al Munawwarah: Al Madinah Al Munawwarah is planning to launch tenders for projects in 1446 AH, including construction, operation, and maintenance of facilities such as a sand washing plant and recreational complexes.
    • The Two Holy Mosques: Great efforts are being made to facilitate pilgrims’ performance of rituals with ease.
    • Media landscape: The Saudi media landscape is evolving, and the Saudi Media Forum is playing a role in shaping the future of media in the region.

    Food Security in Saudi Arabia: An Overview

    Here’s what the sources say about food security in Saudi Arabia:

    • National Security: Ensuring food security is considered vital to protecting the state’s interests and national security.
    • Government Initiatives: The Saudi government is aware of the importance of food security and has taken steps to address it. This includes transforming the General Grain Corporation into the General Authority for Food Security, which is responsible for regulating, developing, and promoting food security.
    • Extravagance and waste: There’s an increasing concern regarding excessive consumption of goods, especially food items, and this is considered an issue, especially during Ramadan. Factors contributing to food waste include weak purchasing habits and a lack of awareness of saving.
    • Investment: There is investment in the agricultural and food sectors.

    Al Hilal Football Club: History, Players, and Season Highlights

    Here’s what the sources say about the Al Hilal Saudi football club:

    • Al Hilal’s level in the current season is related to the coach’s tactics.
    • A former Al Hilal defender, Badah Al-Qahtani, shared memories of starting his sports career in Al Riyadh. He began playing at Tareq Bin Ziad School and then joined a team in the Al- مضجع neighborhood. He joined Al Hilal in 1387H as a central defender, playing for the second-division team.
    • Al Hilal has produced many stars throughout its seven-decade history.
    • In the 1397H season, Al Hilal’s defense, which included Abdulrahman Basheer (Al-Goul) and Badah Al-Qahtani, was outstanding. The team reached the King’s Cup final that season but lost to Al-Ahli.
    • After defeating Al-Kholod with five goals in a recent match, Al Hilal (“Al-Zaeem”) resumed training to prepare for a match against Al-Ahli.
    • The players took commemorative photos with the FIFA World Cup during the tour with the clubs.

    Saudi Arabia’s Vision 2030: Goals, Components, and Progress

    Vision 2030 is a transformative plan for Saudi Arabia’s future. Here’s what the sources say about it:

    • Overall Goals:
    • Vision 2030 aims to make Saudi Arabia one of the best cities in the world to live in. This involves improving the environment and promoting healthy lifestyles.
    • It includes achieving sustainable development.
    • The plan is intended to diversify the Saudi economy and reduce reliance on oil.
    • Key Components:
    • Quality of Life: Aims to build a society where individuals enjoy a good quality of life with a healthy lifestyle in an attractive environment.
    • Economic Development:
    • Focuses on enabling the contribution to a competitive and sustainable petrochemical industry and supporting economic growth.
    • Diversifying the economy by developing sectors like tourism, technology, and transformative industries.
    • A goal is to increase the participation of women in the workforce.
    • Cultural and National Identity:
    • Vision 2030 seeks to promote national identity.
    • The plan recognizes the importance of culture in strengthening national identity.
    • Tourism and Investment: Vision 2030 focuses on attracting foreign investment by streamlining procedures and providing incentives.
    • Progress and Achievements:
    • Project completion: 87% of Vision 2030’s initiatives and programs have been completed or are on track.
    • Milestone achievement: 81% of the vision’s performance indicators have met or exceeded their goals for 2024-2025.
    • Foreign direct investment: The Kingdom attracted 96 billion riyals in foreign direct investment in 2023, exceeding its annual target.
    • Projects that align with Vision 2030:
    • المسار الرياضي: The المسار الرياضي project’s first phase has been completed. This project helps to improve the environment, promote a healthy lifestyle, and make the city more attractive for residents and visitors.
    • Real estate developments: Encouraging real estate and commercial investments in areas surrounding these locations such as cafes, restaurants and local markets.
    • The “فن المملكة” (Art of the Kingdom) exhibition: Which reflects the richness of the cultural identity of the Kingdom.
    • The Founding Day: Which aims to enhance national identity.
    • NEOM: NEOM is one of the initiatives to attract investment.

    Ramadan: Crescent Moon Sighting and Observance

    Here’s what the sources say about Ramadan and the sighting of the Hilal (crescent moon):

    • Determining the Start of Ramadan:
    • The sighting of the new crescent moon (Hilal) is essential in determining the beginning of Ramadan.
    • The Supreme Court makes the final decision on the start of Ramadan based on the received evidence.
    • Astronomical Calculations and Sighting:
    • Astronomical calculations are used to predict the birth of the new moon.
    • جمعية آفاق لعلوم الفلك (Association of Horizons for Astronomy): This association provides calculations regarding the visibility of the new crescent.
    • صفيان (Al-Safian): He stated that the new crescent would be born on Friday, شعبان 29, 1446 AH.
    • د. خالد الزعاق (Dr. Khaled Al-Zaaq): He is an expert in crescent sighting, and the Supreme Court relies on his observations. Though primarily an observer, not an astronomer, he offers precise analyses on the possibility of seeing the crescent, considering optimal conditions.
    • عمر كحيل (Omar Kuhail): He prepared and reviewed the material related to the astronomical calculations.
    • Technological Advancements:
    • The use of advanced technologies is increasing in crescent sighting.
    • Modern observatories equipped with specialized telescopes and high-precision electronic guidance are used to determine the location of the crescent.
    • Ramadan as a significant time:
    • Muslims focus on the Quran during Ramadan.
    • Ramadan is described as a blessed month.
    • General Authority for the Care of the Affairs of the Grand Mosque and the Prophet’s Mosque: The authority prepares and organizes the Grand Mosque for Ramadan.

    By Amjad Izhar
    Contact: amjad.izhar@gmail.com
    https://amjadizhar.blog

  • Her Silent Cries: An Unputdownable Gripping Kidnapping Mystery Thriller by SHAYNE HOUSE

    Her Silent Cries: An Unputdownable Gripping Kidnapping Mystery Thriller by SHAYNE HOUSE

    This text presents excerpts from “Her Silent Cries: An Unputdownable Gripping Kidnapping Mystery Thriller” by Detective David Fox Myster. The narrative follows detectives Collins and Fox as they investigate the disappearance of Ursula Bates, a teacher with a complicated personal life and sister to someone that has been accused of black mail. Their investigation takes them to various locations and involves a number of people with possible connections to the crime, including high school students and the Governor of Pitmedden. The detectives uncover clues and secrets, exploring themes of kidnapping, blackmail, political influence, and the supernatural. The investigation leads them down different paths, looking at a variety of different people and locations, trying to discover the whereabouts of Ursula and if her disappearance is merely a runaway or a sinister plot.

    Her Silent Cries: A Study Guide

    Character List

    • Ursula Bates: A teacher who disappeared.
    • Detective David Fox: A detective investigating Ursula’s disappearance.
    • Collins: A detective working with Fox.
    • PomTom: A wealthy and potentially shady individual.
    • Richard Brenguahm: The nephew of Lord Brenguahm and a suspect in the investigation.
    • Alexander Jackson: The Governor of Pitmedden.
    • Flora Jackson: The Governor’s daughter.
    • Rebecca: A high school student interviewed by Collins.
    • Mrs. Nelson: A history teacher at the high school.
    • Hilda: Rebecca’s friend.
    • Sofia: Another student interviewed by Collins, a friend of Rebecca’s.
    • Nick: A student interviewed by Collins, dating Rebecca.
    • Timmy: Collins’ partner at the precinct.

    Plot Summary

    The novel centers around the disappearance of Ursula Bates, a teacher. Detectives David Fox and Collins investigate, uncovering a web of potential suspects and motives, including connections to wealthy and influential figures in the town of Pitmedden, such as PomTom and Richard Brenguahm. The investigation also leads them to a high school, where they interview students and teachers, revealing secrets and potential leads. The detectives encounter various obstacles, including uncooperative witnesses, misleading information, and their own personal struggles, as they try to piece together the truth behind Ursula’s disappearance. The investigation also focuses on potential connections to blackmailing, and the detectives explore leads involving the Governor of Pitmedden and illicit activities. The investigation ultimately leads to the discovery of Ursula and confrontation with the people involved in the abduction.

    Key Themes

    • Deception: Characters often hide their true intentions and identities, making it difficult for the detectives to uncover the truth.
    • Power and Influence: The wealthy and powerful figures in Pitmedden exert their influence, potentially obstructing the investigation and protecting their own interests.
    • Obsession: Obsession and revenge seem to be the main motifs for people committing crime.
    • Blackmail: The potential blackmail of Alex Jackson might play into the abduction.
    • Social Class: The story explores the divisions between social classes and how wealth impacts the investigation.
    • Trust and Betrayal: The detectives must navigate a complex web of relationships, where trust is easily broken, and betrayal lurks around every corner.

    Quiz

    1. What is Ursula Bates’ profession, and why is she the center of the investigation?
    2. Describe the working relationship between Detectives Fox and Collins.
    3. Who is PomTom, and what is his potential connection to the case?
    4. How is Richard Brenguahm connected to the investigation?
    5. What is the significance of the high school in the investigation?
    6. What is the red fabric and how is it connected to the crime?
    7. What role does Alexander Jackson, the Governor of Pitmedden, play in the story?
    8. Describe the significance of the town of Pitmedden as the setting of the novel.
    9. What are some of the personal struggles that Detectives Fox and Collins face during the investigation?
    10. Briefly describe the relationship between Rebecca and Nick.

    Quiz – Answer Key

    1. Ursula Bates is a teacher who has disappeared, triggering the investigation. The detectives hope to learn why she was abducted and to track down the perpetrator.
    2. Fox is a more experienced detective who is training Collins. They have a somewhat adversarial relationship, but they are effective in combining their skills.
    3. PomTom is a wealthy individual who has the means to carry out a crime. The detectives investigate him because he is shady and might have been romantically interested in Ursula.
    4. Richard Brenguahm is the nephew of a powerful man and is tied to the case because of his history with Ursula. He appears to have threatened her and is viewed as a possible suspect.
    5. The high school is important because Ursula was a teacher there, and the students might have been able to provide insight into her whereabouts. Additionally, Rebecca saw a ghost at the high school, and this might relate to the crime somehow.
    6. Ursula’s neighbor has red fabric that could be related to the case.
    7. Alexander Jackson is the governor, but he may have been involved in blackmailing. Because of this, the detectives investigate to see if this has anything to do with the crime.
    8. Pitmedden is an old town with a sense of aristocracy. It is a place where the powerful look down on everyone else.
    9. Fox and Collins don’t like one another very much, but they are willing to work together to see the job done. Fox has seen some things that he’d rather not have seen.
    10. Rebecca and Nick are teenagers dating in high school. The breakup and ghost story might relate back to the abduction.

    Essay Questions

    1. Analyze the role of social class in the novel and how it affects the investigation.
    2. Discuss the significance of the setting, Pitmedden, in creating atmosphere and influencing the events of the story.
    3. Compare and contrast the characters of Detectives Fox and Collins, examining their strengths, weaknesses, and working relationship.
    4. Explore the theme of deception in “Her Silent Cries,” providing specific examples of how characters mislead or hide the truth.
    5. Discuss the role of the supernatural elements in the novel, such as the ghost sightings, and how they contribute to the overall mystery.

    Glossary of Key Terms

    • Blackmailing: The act of extorting money or favors by threatening to reveal damaging information.
    • State Car: A car owned by the state and assigned to a government official.
    • Detective: A law enforcement officer whose primary job is to investigate crimes.
    • Precinct: A police station or headquarters for a specific geographic area.
    • Surveillance: The close observation of a person or group, especially one under suspicion.
    • Motive: A reason for doing something, especially a hidden or unacknowledged one.
    • Evidence: The available body of facts or information indicating whether a belief or proposition is true or valid.
    • Suspect: A person thought to be guilty of a crime or offense.
    • Alibi: Evidence that a suspect was elsewhere when a crime was committed.
    • Witness: A person who sees an event, typically a crime or accident, take place.

    Her Silent Cries: Kidnapping in Pittmedden

    Okay, here is a briefing document summarizing the key themes and ideas from the provided excerpts of “Her Silent Cries: An Unputdownable Gripping Kidnapping Mystery Thriller (Detective David Fox Myster…)”.

    Briefing Document: “Her Silent Cries: An Unputdownable Gripping Kidnapping Mystery Thriller”

    Overall Themes:

    • Kidnapping Investigation: The central plot revolves around the kidnapping of Ursula Bates, a school teacher. Detectives David Fox and Collins are leading the investigation.
    • Web of Suspects: The investigation quickly reveals a complex network of potential suspects with intertwined relationships, including ex-boyfriends, ex-husbands, students, teachers, and influential figures within the town of Pittmedden and Jacobsville.
    • Blackmail and Secrets: Blackmail appears to be a recurring motif, suggesting hidden secrets and motivations among the characters. The author, “PomTom” might be involved.
    • Corruption and Power: The investigation uncovers potential corruption linked to powerful individuals, including the Governor of Pittmedden and members of prominent families like the Jacksons and the Bremguahms.
    • Supernatural Elements: There are subtle hints of possible supernatural elements, involving ghosts, rumors of hauntings, and references to ancient legends.
    • Small-Town Dynamics: The narrative explores the complexities of relationships and rivalries within small towns, where secrets are difficult to keep.

    Key Individuals and Facts:

    • Ursula Bates: The victim of the kidnapping. A teacher who recently transferred from another school. She was divorced.
    • “Missing Person. Age 34. School. Teacher. Name: Ursula Bates. Divorced twice. She was transferred to Jacobsville High School but never reported. They found her car near the crossing of T123.”
    • Detective David Fox: One of the lead investigators. He is portrayed as experienced but somewhat unorthodox.
    • “Detective David Fox was a tall, bronzed, well-built, muscular man, serving the police investigation unit for over ten years.”
    • Detective Collins: Fox’s partner. He is depicted as more by-the-book and intellectual.
    • Working with Fox on a case meant “sleep deprivation, food deprivation and, basically, deprivation of all sorts.”
    • PomTom: A local author who writes erotic or controversial material. He is a person of interest in the investigation. Described as possibly a rapper
    • “Fox made a face, ‘and his name is PomTom? Oh, God! it sounds like a pet or worse-a Youtuber.’ ‘Can you stop being a boomer today? He is a rapper.’ Collins checked his mobile. ‘Let me check if he is awake now.”
    • Timothy Palmer (Lord Palmer of Pentegrave): Known as the rapper “PomTom.” He’s a person of interest in the investigation
    • “Timothy Palmer…known as PomTom, the rapper.”
    • Richard Bremguahm: Appears to be a potential suspect. He knows Ursula and is connected to the powerful Bremguahm family. Also is the nephew of Lord Bremguahm, the art teacher
    • “Richard Bremguahm is rich enough to buy a publishing house. He doesn’t need to blackmail a writer.”
    • Alexander Jackson: The Governor of Pittmedden. Potentially connected to some of the illegal activities surrounding the case.
    • “Alexander Jackson was the only son of the previous governor of the city.”
    • Rebecca: The Governor’s daughter
    • Pitmedden: An island, and one of the biggest and most exotic tourist spots of the country.

    Plot Points and Unresolved Questions:

    • The Red Fabric: A piece of red fabric was found connected to Ursula’s disappearance, but it could not be linked to the victim’s house
    • “None of the Ursula’s friends or colleagues could recognize the red fabric. An official search of her house also didn’t give any clue to the origin of the mysterious red fabric. As per Collins, they could not even prove that the red fabric had any connection to the case.”
    • The Car and the Crossing of T123: Ursula’s car was found near a specific crossing point which the detectives are investigating
    • “‘Wait, where is T123 where the car was found?’”
    • Connection to Jacobsville High School: Ursula was slated to teach at Jacobsville High School before her disappearance. The detectives suspect she met the kidnapper on her way to school.
    • “Double chances of getting caught. It proves my theory that she is kidnapped. She met the kidnapper on her way to school.”
    • Motel: A motel is only forty miles away from where they started. The reception immediately recognized a picture of Ursula Bates.
    • “The motel was only forty miles away from where they started. The man at the reception immediately recognized a picture of Ursula Bates.”
    • What was the motive for the kidnapping? Possible motives include romantic obsession, revenge, blackmail, and money. There is also a suggestion that Ursula’s writing may have put her in danger.
    • “It can be a part of the story. Kidnap of a teacher who falls in love with her kidnapper.”
    • The State Car: A state car is somehow connected, and the detectives need to trace the access of these vehicles.
    • “Our best bet is to trace the access of state cars by anyone at school.”
    • “Why would the want to show that she is kidnapped?”

    Quotes Highlighting Key Ideas:

    • “It is a part of the story. She is an author. Maybe she wants to try some new story like My Charismatic Kidnapper.” (Collins, suggesting a possible motive)
    • “You are an idiot. You see it her entire life as the life of an erotic writer because you want to have some spice in the case. A teacher’s kidnap will bore you. I see is as a kidnap of a teacher because she is kidnapped as a teacher. It will be foolish to ignore her teaching life.” (Fox to Collins, highlighting the contrast in their investigative approaches)
    • “There are many small things about him which can be explained separately. But when you put them together, it gives you a strong vibe of unfamiliarity. Do you know the biggest thing I have found about him? Make a guess. It is nothing. Absolutely nothing. No one knows him for a long time. He has got people who know him just for one sport or one hobby. No one knows him completely. No buddies, no girlfriends, no friends with benefits. It is like he is sprouted out of earth suddenly.” (Collins, describing Richard Bremguahm as suspicious)

    Next Steps:

    • Investigate the connection between Ursula and Jacobsville High School further.
    • Examine the role of PomTom and the blackmail allegations.
    • Research the Bremguahm and Jackson families for potential corruption or illicit activities.
    • Explore the rumors of hauntings and supernatural occurrences in Pittmedden.
    • Trace the movements of state cars and identify potential connections to the kidnapping.
    • Determine what information Richard Bremguahm is withholding.

    This briefing document provides a summary of the complex plot and characters in “Her Silent Cries.” It highlights the key themes, individuals, and plot points that require further investigation to solve the mystery of Ursula Bates’s disappearance.

    Detective David Fox: Ursula Bates Kidnapping Investigation

    Detective David Fox Mysteries FAQ

    • What is the central mystery or crime being investigated in this narrative?

    The core mystery revolves around the kidnapping of Ursula Bates, a teacher who had recently transferred schools. Detective David Fox and his partner Collins are investigating the case, facing various leads, suspects, and strange connections.

    • Who are the main detectives involved in the investigation, and what are some of their characteristics?

    The primary detectives are David Fox and Collins. Detective David Fox is depicted as someone who works on cases involving sleep deprivation and appears to be thorough in his work, checking security cameras, schools, and teachers. He also has a sharp and sometimes cynical wit. Collins appears to be the more level-headed of the two.

    • Who are some of the key people they interview during the investigation, and what connections do these people have to the victim or the case?

    Key people interviewed include PamTom (who is asked about a diamond guitar and a state flag on a vehicle), school teachers and students (some for possible connections on highways, toll plazas and state entry points), and the ex-husbands of a woman suspected of writing erotica. Richard Brenguoahm is also a key player.

    • What is the significance of the red fabric mentioned in the investigation?

    A piece of red fabric is found at Ursula’s home and also in a car being investigated. The detectives are trying to understand if this fabric has any connection to the kidnapping, as none of Ursula’s friends or colleagues could identify it.

    • What is the significance of Pitmedden and Jacobsville in the story?

    Pitmedden is an island community where much of the story takes place, including the Governor’s House and surrounding areas. Ursula was moving from Jacobsville. This move is a focal point of the investigation.

    • What is the dynamic between Fox and Collins like?

    Fox and Collins have a complex dynamic, marked by contrasting personalities and approaches to the investigation. Fox is intense and sometimes unorthodox, while Collins appears more grounded and methodical. Their dialogue often involves banter and philosophical discussions about crime and human nature.

    • What are some of the more unusual or supernatural elements mentioned in the story?

    The story hints at paranormal aspects, with mentions of ghosts, hauntings, and a general sense of unease surrounding certain locations, such as the castle and the Governor’s House. Also, one witness states, “Ever since she began seeing ghosts here. First at the castle, then she hallucinated again on Christmas party.”

    • What are some of the possible motives or theories being considered for Ursula’s kidnapping?

    The motives being considered range from a simple runaway situation, to a sexually motivated crime, or a situation that was part of a story or plan by Ursula herself. Blackmail has also been thrown around as a motive for the crimes.

    The Kidnapping of Ursula Bates

    The mystery revolves around a kidnapping.

    Key points about the kidnapping mystery:

    • Ursula Bates is worried as the story starts. She had not reached her destination of Jacobsville.
    • Ursula was a teacher who had recently transferred to Jacobsville High School.
    • The first clue Home Office has to the crime is the access of state cars by anyone at school.
    • Collins and Fox are working the case, and consider whether the kidnapping is a result of a sexually motivated crime.
    • Collins thinks it is a kidnapping which someone wants to look like a runaway.
    • Fox and Collins trace the route to Jacobsville.
    • Detectives Fox and Collins are looking for a person who knows Ursula and has access to a $350. Guy or girl doesn’t matter.
    • Richard Brenguahn is an interesting case study.
    • They are also investigating the angle that Ursula was getting blackmailed by PomTom.
    • The governor is completely linked to the abduction of Ursula Bates.

    Detective Fox and the Ursula Bates Kidnapping

    Detective Fox is a key figure in the kidnapping mystery of Ursula Bates. Here’s a breakdown of information about him from the sources:

    • General characteristics: Detective David Fox is described as tall, bronzed, and well-built. He is part of the police investigation unit and has earned the respect of his superiors through his work.
    • Working style: Fox is portrayed as dedicated and disciplined in his approach to law enforcement.
    • Skills and observations:Fox puts his team to screen school teachers and students for any connections with government officials and state entry points.
    • He is hopeful that a Mercedes-Benz can be easily recognized on camera footage.
    • Fox is good at gleaning information from suspects during interviews.
    • He is observant, noticing details like red fabric.
    • Theories and hunches:Fox considers whether the case is a serial killer or a personal vendetta.
    • He suspects someone wants to make the kidnapping look like a runaway.
    • He also considers the angle that Ursula was being blackmailed by PomTom.
    • Relationship with Collins: Fox works closely with Collins on the case. Their interactions reveal Fox’s personality and working style.
    • Connection to the Governor: The governor is completely linked to the abduction of Ursula Bates.
    • Last Seen Fox was last seen working with the team to make sure they are stumbling in the team.

    Ursula Bates Kidnapping: Character Profile and Investigation Details

    Ursula Bates is central to the plot as the victim in the kidnapping mystery. Here’s what the sources reveal about her:

    • Initial Situation: Ursula is worried at the start of the story because she has not arrived in Jacobsville and realizes she must have taken a wrong turn.
    • Background: She is a teacher who recently transferred from her local school to another school in Jacobsville. She found the new school through a mutual friend, and good feedback motivated her to accept the offer.
    • Description: In the story, Fox is shown a picture of Ursula, who is described as a young blonde woman.
    • Personal Information: Ursula’s missing person age is 34. Her school is teacher. Her marital status is divorced twice.
    • Possible Motives for Kidnapping:
    • Collins and Fox consider whether the kidnapping is a result of a sexually motivated crime.
    • Collins thinks it is a kidnapping which someone wants to look like a runaway.
    • They are also investigating the angle that Ursula was getting blackmailed by PomTom.
    • Vehicle: She was found near the crossing of T123.
    • Connection to the Governor: The governor is completely linked to the abduction of Ursula Bates.
    • Richard’s Feelings: Richard claims he didn’t want to breakup with Ursula, but she was insistent on living on the state. After a while, she realized this would not happen, so she broke up. He tried to get her back, and, in that attempt, he threatened her once.
    • Last Seen: Someone saw her accompanying a guy in a Mercedes.

    Ursula Bates Kidnapping: Governor’s Involvement

    The governor appears to be a key figure in the Ursula Bates kidnapping mystery.

    Here’s what the sources indicate about the governor’s involvement:

    • Link to Abduction: The governor is “completely linked to the abduction of Ursula Bates”.
    • Possible Motives: Ursula’s abduction may have been motivated by the governor’s connection to her.
    • Possible Connection: Rebecca’s mother was also attending the party. The new Mrs. Governor apparently didn’t mind the presence of ex-Mrs. She was a young college graduate who looked hardly a day older than Rebecca.
    • Residence: The Governor of Pitmedden lives at the castle.

    Ursula Bates Kidnapping: Police Investigation

    In the Ursula Bates kidnapping mystery, the police officers involved are key to solving the case.

    • Detective David Fox: He is described as tall, bronzed, and well-built and has earned the respect of his superiors. He is portrayed as dedicated and disciplined in his approach to law enforcement. Fox puts his team to screen school teachers and students for any connections with government officials and state entry points. He is observant, noticing details. Fox considers whether the case is a serial killer or a personal vendetta. He suspects someone wants to make the kidnapping look like a runaway. He also considers the angle that Ursula was being blackmailed by PomTom. The governor is completely linked to the abduction of Ursula Bates.
    • Collins: He works closely with Fox on the case. Collins thinks the kidnapping is someone who wants to look like a runaway. Collins and Fox consider whether the kidnapping is a result of a sexually motivated crime. Collins checked his mobile, there were still no signals.
    • Other Police Officers: The story mentions other police officers who may have been involved in the investigation.

    David Fox: Detective with a Taste for Green Living

    Imagine a metropolitan city with all its nuances, add some love of aesthetical interiors and green living. This is the world of David Fox.  He may be a hardcore detective with no sympathy for shrewd criminals, but he also had a sensitive side with a taste of natural living, cozy interiors and warm friendships.  His relation with Collins Hemsworth may look like of a standard hero and his loyal sidekick, but it is not true. If David Fox is an investigative machinery in himself, then Collins gives that machinery a sense of humor and a subtle recklessness. He is the much-needed spontaneity needed in the carefully crafted world of Fox. He is the sunlight that sneaks through the plush curtains covering the windows.  Let there be light!  Voila!

    By Amjad Izhar
    Contact: amjad.izhar@gmail.com
    https://amjadizhar.blog