1 | Getting Started | Python for Complete Beginners

Поділитися
Вставка
  • Опубліковано 6 жов 2024

КОМЕНТАРІ • 38

  • @ashishnaidu2487
    @ashishnaidu2487 6 місяців тому +1

    Hi Raghav sir, sorry for posting a completely different query in here as I was not sure where to ask this query, I'm trying to build a 'Real Estate' website for my friend who is at starting stage of his business. He has approached to do this task. could you please guide me on how can achieve this task please.
    My queries are as follows:-
    1. What all frond end languages should I know?
    2. What all back end languages should I know?
    3. What all middle-ware languages should I know?
    4. What DB and SQL server can I use?
    5. Or is there a better way to achieve this task with minimum manual work done from our end, like example I have seen many websites offering pre-created templates?
    6. Should I need to purchase a domain or is there a better way where I can get this in market?
    7. Do I need purchase any other software's like DB or SQL server for maintenance?
    8. Is there any other cost involved in this task to place the website on internet and make available for the public?
    Need suggestions and guidance from you please.

    • @RaghavPal
      @RaghavPal  6 місяців тому

      Ashish
      Building a real estate website is an exciting project. Let's address each of your queries step by step:
      1. Front-End Languages:
      - For the front-end (the part of the website that users interact with), you should be familiar with:
      - HTML: The backbone of web pages.
      - CSS: For styling and layout.
      - JavaScript: To add interactivity and dynamic features.
      2. Back-End Languages:
      - The back-end handles server-side logic, databases, and business logic. Common back-end languages include:
      - PHP: Widely used for web development.
      - Python: Known for its simplicity and versatility.
      - Ruby: Used in frameworks like Ruby on Rails.
      - Node.js (JavaScript): Great for real-time applications.
      3. Middleware Languages:
      - Middleware connects the front-end and back-end. You don't necessarily need to learn a specific middleware language. Frameworks like Express.js (for Node.js) or Django (for Python) handle middleware.
      4. Database and SQL Server:
      - Choose a database system to store property data. Common options:
      - MySQL: Open-source and widely used.
      - PostgreSQL: Also open-source, with advanced features.
      - SQLite: Lightweight and suitable for small projects.
      - SQL servers (like MySQL or PostgreSQL) allow you to manage databases efficiently.
      5. Pre-Created Templates:
      - Absolutely! You can save time by using pre-created templates or website builders. Consider platforms like WordPress, Wix, or Squarespace. They offer real estate-specific templates that you can customize.
      6. Domain Purchase:
      - Yes, you'll need to purchase a domain. Choose a relevant and memorable domain name that reflects your friend's real estate business.
      - You can buy domains from registrars like GoDaddy, Namecheap, or Google Domains.
      7. Database Software and Maintenance:
      - You'll need a database management system (DBMS) like MySQL or PostgreSQL. These are free and open-source.
      - Regular maintenance involves backups, security updates, and optimizing queries. Tools like phpMyAdmin or pgAdmin help manage databases.
      8. Costs Involved:
      - Here are potential costs:
      - Domain: Typically around $10 to $20 per year.
      - Hosting: Depends on the hosting provider and plan (shared hosting, VPS, or cloud hosting).
      - Website Builder or CMS: Some are free (like WordPress), while others may have premium features.
      - SSL Certificate: Essential for security (usually included with hosting).
      - Customization and Development: If you hire a developer/designer.
      - Maintenance: Ongoing costs for hosting, domain renewal, and updates.
      Remember, you can start small and gradually enhance your website as your friend's business grows. Consider using website builders or content management systems (like WordPress) to simplify the process.
      all the best..

    • @ashishnaidu2487
      @ashishnaidu2487 6 місяців тому

      @@RaghavPal I don't really how to thank you for giving me such a great guidance and clear suggestions with a detailed information. Thanks a lot infinite times sir. I'm really grateful that I have met you as a student. Stay safe and stay healthy sir. ☺

  • @nikhilkumar1934
    @nikhilkumar1934 Рік тому +1

    Thank you sir, for providing all courses in detailed playlist🙏

  • @shubhra115
    @shubhra115 Рік тому

    Hello, I just came across your channel. love it 🙂 Thank you so much. 🙌 I wish to follow this playlist, could you please tell me the frequency of the videos for Python for Complete Beginners 2023 🙋‍♀

  • @himanshudabhade5876
    @himanshudabhade5876 Рік тому

    Thank you sir for this Python Playlist...it's really very helpful...

    • @RaghavPal
      @RaghavPal  Рік тому

      You are most welcome Himanshu

  • @carolmathias3345
    @carolmathias3345 Рік тому

    thank you so much sir for making python so easy to understand 😀

    • @RaghavPal
      @RaghavPal  Рік тому

      You are most welcome Carol

  • @MdNajmulIslamNajim
    @MdNajmulIslamNajim Рік тому

    Thank You Sir the Video \

  • @ooozzzoo6885
    @ooozzzoo6885 Рік тому

    Hello Ragnav, are you planning to create lessons about Python+Pytest? it is pretty difficult to find :)
    with best regards

    • @RaghavPal
      @RaghavPal  Рік тому

      Yes coming soon

    • @varshaadr
      @varshaadr 11 місяців тому

      thanks, even I wanted python +pytest playlist@@RaghavPal

  • @ndemazizou9866
    @ndemazizou9866 Рік тому

    Thanks

  • @harinathreddy5365
    @harinathreddy5365 10 місяців тому

    Hi Sir, When we are running. It is executing and showing all outputs in the console.
    So, my doubt is that without comment-outing. How we can execute only specific lines of code ?
    Ex: If we have 100 lines and we have to execute only 50 lines.Then, How we can run in that case sir ?

    • @RaghavPal
      @RaghavPal  10 місяців тому

      Harinath
      Executing specific lines of code in Python without commenting out the rest can be achieved using conditional execution or debugging techniques. Here are a couple of approaches:
      1. **Conditional Execution:**
      Utilize conditional statements like `if`, `elif`, or `else` to control the execution flow. Wrap the lines you want to execute within a condition that evaluates to `True`. For example:
      ```python
      if condition:
      # Lines to be executed
      for i in range(50):
      print(i)
      else:
      # Remaining code
      print("Skipping lines 51-100")
      ```
      2. **Debugging with Breakpoints:**
      Employ debuggers like `pdb` or `ipdb` to set breakpoints at specific lines. Breakpoints pause the execution, allowing you to step through the code line by line or skip to specific sections.
      - **Using `pdb`:**
      ```python
      import pdb
      pdb.set_trace() # Set breakpoint at this line
      # Lines to be executed
      for i in range(50):
      print(i)
      ```
      - **Using `ipdb`:**
      ```python
      import ipdb
      ipdb.set_trace() # Set breakpoint at this line
      # Lines to be executed
      for i in range(50):
      print(i)
      ```

  • @captureateyeflick
    @captureateyeflick Рік тому

    Sir, can you please share ruby class also

    • @RaghavPal
      @RaghavPal  Рік тому

      Yes, can find Ruby here - automationstepbystep.com/

  • @oladapotobi1029
    @oladapotobi1029 Рік тому

    Hello sir @Ragnav, i noticed that at this stage when i wanted to open chrome from pycham, it oprns another chrome version and not my updated chrome version. What can be done to resolve this?

    • @RaghavPal
      @RaghavPal  Рік тому

      Oladapo
      There are a few things you can do to resolve this issue:
      1. *Make sure that you have the latest version of Chrome installed.* You can check the version of Chrome that you have installed by opening Chrome and going to **Help** > **About Google Chrome**.
      2. *Make sure that you are using the correct Selenium driver for your version of Chrome.* You can find the correct Selenium driver for your version of Chrome on the Selenium website: selenium.dev/downloads/.
      3. *Set the `chrome_options` parameter in your Selenium script to specify the path to the Chromedriver executable.*
      For example:
      ```
      from selenium import webdriver
      options = webdriver.ChromeOptions()
      options.binary_location = '/path/to/chromedriver'
      driver = webdriver.Chrome(options=options)
      ```
      4. **Use the `webdriver-manager` package to automatically download and install the correct Selenium driver for your version of Chrome.** You can install the `webdriver-manager` package with the following command:
      ```
      pip install webdriver-manager
      ```
      To use the `webdriver-manager` package, you can use the following code:
      ```
      from webdriver_manager.chrome import ChromeDriverManager
      driver = webdriver.Chrome(ChromeDriverManager().install())
      ```
      I hope this helps

  • @NRNov16
    @NRNov16 Рік тому

    Hi Raghav, In the playlist, 3 videos seem to be hidden. Why so?

    • @RaghavPal
      @RaghavPal  Рік тому

      Hi Vipin
      Its available now, Few videos that are in processing may show as hidden, You will get all within a week

    • @NRNov16
      @NRNov16 Рік тому

      @@RaghavPal Thanks for the update Raghav

    • @NRNov16
      @NRNov16 Рік тому

      Can you please give me a small description on how many videos will be there in Python playlist and Selenium playlist as well???

    • @RaghavPal
      @RaghavPal  Рік тому

      about 10 in python
      arnd 6 in selenium python
      Also the existing playlists are still valid. automationstepbystep.com/

  • @arthuring03
    @arthuring03 8 місяців тому

    Hello @Raghav,
    Could you please help me with this error when i try to import the webdriver from selenium. (from selenium import webdriver)
    "Unused import statement less... (⌘F1)
    Inspection info: This inspection detects names that should resolve but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are supported better than instance items."

    • @RaghavPal
      @RaghavPal  8 місяців тому

      Here are the steps to troubleshoot and resolve the issue:
      1. Check for Actual Usage:
      - Examine your code: Ensure you're using the `webdriver` module somewhere within your script after importing it. If not, the import will be flagged as unused.
      - Common usage: Use `webdriver` to initiate a web browser instance:
      ```python
      from selenium import webdriver
      driver = webdriver.Chrome() # Or other browser driver
      ```
      2. Address IDE Warnings:
      - Temporary suppression: If you're confident you'll use the import later, temporarily suppress the warning in your IDE. However, it's generally better to address unused imports.
      - Inspection settings: Review your IDE's inspection settings to adjust the sensitivity of unused import detection.
      3. Verify Installation and Path:
      - Installation: Confirm that Selenium is installed correctly within your environment using `pip list` or `conda list`. If not, install it using `pip install selenium`.
      - Path issues: If Selenium is installed but the import fails, check if the IDE is recognizing the correct path to the package.
      4. Resolve Conflicts:
      - Duplicate imports: Ensure you're not importing `webdriver` from multiple locations, which can cause conflicts.
      - Naming conflicts: If you have a file or variable named `webdriver` in your project, it might conflict with the Selenium module. Rename or restructure to avoid conflicts.
      5. Consider IDE-Specific Issues:
      - Cache clearing: Sometimes, restarting your IDE or clearing its cache can resolve temporary import issues.
      - Plugin conflicts: If you're using Selenium-related plugins, consider disabling them temporarily to see if they're causing conflicts.
      Additional Tips:
      - Linter configuration: If using a linter, ensure its configuration is compatible with Selenium and your project setup.
      - Virtual environments: If using virtual environments, verify that Selenium is installed within the activated environment.

    • @arthuring03
      @arthuring03 8 місяців тому

      @@RaghavPal Thanks. But now I have other issues. Do you have an email where I can continue talking to you please?

    • @RaghavPal
      @RaghavPal  8 місяців тому

      Emails may not be the best way for me...can continue here

    • @arthuring03
      @arthuring03 8 місяців тому

      @@RaghavPalThis is the errors i'm getting now:
      /Users/Arthurnolimit/2nd2024/bin/python /Users/ArthurNolimit/GoogleSearch/FirstAutomationTest.py
      Traceback (most recent call last):
      File "/Users/ArthurNolimit/GoogleSearch/FirstAutomationTest.py", line 1, in
      from selenium import webdriver
      File "/Users/ArthurNolimit/2nd2024/lib/python3.7/site-packages/selenium/webdriver/__init__.py", line 20, in
      from .chrome.webdriver import WebDriver as Chrome # noqa
      File "/Users/ArthurNolimit/2nd2024/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 18, in
      from selenium.webdriver.chromium.webdriver import ChromiumDriver
      File "/Users/ArthurNolimit/2nd2024/lib/python3.7/site-packages/selenium/webdriver/chromium/webdriver.py", line 18, in
      from selenium.webdriver.chromium.remote_connection import ChromiumRemoteConnection
      File "/Users/ArthurNolimit/2nd2024/lib/python3.7/site-packages/selenium/webdriver/chromium/remote_connection.py", line 18, in
      from selenium.webdriver.remote.remote_connection import RemoteConnection
      File "/Users/ArthurNolimit/2nd2024/lib/python3.7/site-packages/selenium/webdriver/remote/remote_connection.py", line 27, in
      import urllib3
      File "/Users/ArthurNolimit/2nd2024/lib/python3.7/site-packages/urllib3/__init__.py", line 42, in
      "urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
      ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.1.0j 20 Nov 2018'. See: github.com/urllib3/urllib3/issues/2168
      Process finished with exit code 1

    • @RaghavPal
      @RaghavPal  8 місяців тому

      will need some details and context. Pls show me the steps you did and when and where exactly is this coming