#π How to run a code than runs on selenium
255 messages Β· Page 1 of 1 (latest)
@calm scarab
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
i got 2 questions:
- why selenium, why not requests+bs4
- the only thing i know this could be used for conflicts with rule 5 are u sure thats not the case?
!rule 5
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
its to run a specific code
also why does rule 5 gets involed here
scrapers
ok whats the goal?
wait
to run the code i need
will need to have the Selenium library installed and download the Chrome WebDriver executable (chromedriver)
if thats help
and python
Download python from python.org i recommend 3.11.x bc the newest is not always supported make sure to select download pip and add to PATH and than do pip install selenium in console
ill send u what i downloaded wait
Than see a tutorial on how to install cromedriver or ask someone else
Its ok if selenium downloads
i downloaded selenium
ok
about this
i extracted
the zip
is that good or no
What zip?
ok no there was no zips sry
U are supposed to get an installer.exe or are u on linux
i downloaded something that downloads the pytrhon
like a installer
it should say first at top modify then ,repair and then unistall right
Yes thats where u have to check pip and add to PATH but u seem to have those bc pip worked
how do it?
Dont have to get the 3.11.x if u already have a version
Only get a new version if the old one doesn't work
what should i do now
Just cancel ig
unistall the installer?
Don't have to do that but u can
i unistalled the 3.12.3 bootscrap pip
What does it say if u write pip in the console and hit enter
'pip' is not recognized as an internal command
or external, an executable program or batch file.
it also said that when i installed pytghon
python
Oh than start the installer
In modify mode i think it would help if u can list the modes
what do i do
Start the installer.exe
i redownload it?
If u deleted it yes
Should be the one
Customise
Add to PATH
i select than then customize?
and look where u can check to add pip
Yes
it selected all for me
That may be in the customize part
Than its ok than just enter enter through
No need just continue to installation
also its 64 bits python
Thats ok ur computer isn't 32bit right?
Idk use the 64 and if that ain't working than download the 32 bit
The os doesn't define the cpu
so what do i do
Did the installation finish?
yes
Than start a cmd
on the cmd prompt bar
And type pip install selenium
Ok this is as far as i could help
I have to go to sleep and i dont know selenium so i cant help with that part even if i wanted to
Bye
What's the issue
i want to run a code
What's the error?
there is no error
i need to have Selenium library installed and download the Chrome WebDriver executable (chromedriver).
and python
currently i have python installed and selenium
So what 'is working'?
so now what
What happens when you run your code?
the downloading selenium
i never ran it
wdym
ur confusing
Try running your code.
What is the thing?
you should take this course https://missing.csail.mit.edu/
You're speaking in riddles, my friend.
moreover, go over the python basics
Yeah
i want to download the applications that will help me
have a cmd bar
and run my code
What happens when you run your code?
The command prompt
You installed Python in this thread.
the code needs Selenium library installed and download the Chrome WebDriver executable (chromedriver).
yes
i did
If you have chrome selenium will find it and you shouldn't need to download another driver separately
what should i do
At least firefox works like this, I don't use Chrome on selenium
learn the basics.
Do you know how to run a .py file?
no
stop harrasing
im getting help
this is why i created this
Start here: https://python.swaroopch.com/first_steps.html
im gonna suicide
Don't joke like that.
giving you the resources for you to learn is harrasing? cool, good luck.
nobody is helping me
I gave you a link that'll explain how to run your code. It's only one page. Very short.
i dont want to read 10000 lines
we don't want to spoonfeed 10000 lines step by step and you not put in any effort either.
where do i acces the python prompt?
"Open the terminal in your operating system (as discussed previously in the Installation chapter) and then open the Python prompt by typing python3 and pressing [enter] key."
whats the defenition of terminal
See the previous chapter
i dont understand it
What part?
everything
im french
i dont understand english
just tell me what to do in simple words
you'll do everything to make me read
I don't voice chat, if that's what you're asking
im asking u to make messages using that info but in smaller versions
That hardly seems fair.
but it makes me learn faster
its like me reading that page but faster
If reading isn't your thing, try https://youtu.be/XKHEtdqhLK8?feature=shared
the video is paused.
whats he trying to do
pausing videos make a black screen?
get spoonfed.
i can see that
look i understand yall doing a excellent job trying to make me learn but im dumb
We're unsure? Since they don't know how to run Python code.
that chatgpt for you
we don't do that here.
Paste your code please. I'll see if it works.
!rule chatgpt
it might be able to speak french idk
why
fair
just let me do it my way
So I can see if it works.
why would u need it to work
i just need python prompt code
i wont be coming after u saying the code wont work
wht?!
I pasted it.
what?!
At this point, you're either trolling or want to be spoonfed. Neither of which we appreciate
how hard is this
very
i find this absurd
we 2
he literally said he wants to be spoonfed.
we find it absurd you want to be spoonfed and put in 0 effort as well.
#community-meta message
perfect candidate.
i only want to know how to download applications then clicking on the correct stuff
What does that have to do with Python?
look
Do you not want to learn Python?
the code needs
Selenium library installed and download the Chrome WebDriver executable (chromedriver)
and also python ig
Is this your code?
i have the code ready
thats scrapper prob
WHAT IS SCAPPER
Or something from somewhere else? Please share the link.
what language you speak?
i dont understand why you need the link of the site
We're not going in circles again. If you want to learn Python, read that chapter and let us know when you have the Python prompt open.
i dont want to do that
idk why u want me to do that
just tell me where do i access the Python prompt to run my fully ready code
Thank you for participating in this waste of time. You refuse our attempts to help. I don't think there's anything else we can do here.
double click on code
See chapter 1 and 2 of the link I sent.
ur making me cry
hes trolling
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.
π How to run a code than runs on selenium