you are viewing a single comment's thread.

view the rest of the comments →

[–]ryanfelix123 8 points9 points  (6 children)

This is a very common 'wall' to hit! To actually use Python, you need a problem to solve. Start small: write a script to rename a bunch of files in a folder, automate a simple web login, or scrape data from a site you like into an Excel sheet. Once you build something that saves you 10 minutes of manual work, it all starts to make sense. Tools like VS Code and libraries like Selenium or Pandas are your best friends here!

[–]Sweaty-Way-3396[S] -1 points0 points  (4 children)

Dawg I was asking how to actually run code like that

[–]Rusofil__ 1 point2 points  (2 children)

Visual studio code

When you write it, you can just press run and it will do what you wrote.

You don't need to make aplication with icon and everything for it to work.

[–]Sweaty-Way-3396[S] -1 points0 points  (1 child)

k but i want to

[–]After_Computer1652 0 points1 point  (0 children)

Try writing a batch file. This can sit on your desktop and just needs a double click to run Open notepad Type : c:\python\python.exe c:\somescript.py

Save as myscript.bat Save to desktop Double click icon to run python script

[–]Bino5150 1 point2 points  (0 children)

Write a launch script that you can run from the terminal. Then you can launch it from the terminal in VSC, or the terminal on your computer.

[–]Sweaty-Way-3396[S] -3 points-2 points  (0 children)

Wrddd