If you are trying to install a package,
you don't need to.
Repl has every possible package you can think of already installed.
Just do pip install tkinter
or anything even github repos.
If you are trying to install a package,
you don't need to.
Repl has every possible package you can think of already installed.
Just do pip install tkinter
or anything even github repos.
@FluidGaming
What IDE you using?
If you are not using repl u can read the comments below.
Else Rely to this message with the Error Message
@HarshVardhan19
can we report this guy, he just literally used me as an advertising space.
You only have 0 upvotes you have no rights to just steal my viewers through my posts comments.
IF you are looking to webscrap,
I personally suggest using Selenium or BeutifulSoup4.
I recommend this video
Nested means inside something else.
So Child is nested inside of a parent.
@CodeLongAndPros lmao
You look like you are doing a big Project.
Can I join your repl?
I'm proficient in Python and would love to help!!
db.clear()
@ramazansavaran
Overall I think that using OOP is an Overkill so I decided to Simplify it.
Here it is:
Emailinput = self.browser.find_element_by_xpath("//*[@id='loginForm']/div/div[1]/div/label/input")
Passwordinput = self.browser.find_element_by_xpath("//*[@id='loginForm']/div/div[2]/div/label/input")
Emailinput.send.keys(email)
Passwordinput.send_keys(password)
Passwordinput.send_keys(Keys.RETURN)
Do look at Line 29: Passwordinput.send_keys(Keys.ENTER)
For Selenium, Enter is Return, so I helped you changed that.
After Looking through it, that was the only problem i could find
@HimanshuShekha4
Your website did not use Javascript which is why You probably decide to move to Python Since you don't know Js
To do this, you need to either comment out the main code or if you want to run that file with the main code just leave it.
At the start of main.py, add this to import the seconde py file.from <filename> import <filename>
Note: filename should not include .py
For Example, my file name is authorize.py
I would do:from authorize import authorize
Next is running it. To run it you can call it like a function.
So in my case, that would be...authorize()
Do note that you can change how you call it,aka alias,by adding an extra line while importing it.from authorize import authorize as auth
As you can see, I used the as
keyword to make an alternative of running that file.
Now, it would be auth()
.
Hope I have helped you :)
@HarshVardhan19
if you didn't see the comments below, I already discussed that withe the other replers
@FishballNooodle
This can be dangerous if you let them add any role they want.
They could even add the moderator role upon them self :o
Ok its possible, just go to the role settings and make those roles you don't want them to get unmentionable.
Then you can do this code:
@client.command
async def add_role(ctx,role:discord.Role,*,reason=None):
await ctx.member.add_roles(role,reason=reason)
await ctx.send(f'{role.name} given to {ctx.author.mention}')
Upvote this if it worked
@polarbear2015mw
so you want them to do something like...
|add_role (role name)
Wht kind of forehand knowledge DO I need
@Wuru
U think im trying to beat you isit.
lol, we specialise in different things
@aceprogramer Did you install it in your computer using the pip method?
Importing the files by
import discord
from discord.ext import commands
is somthing diffrent
Thanks for the Upvotes Everyone!!!
Please comment here if you managed to complete the tutorial.
@Kritini2030
All my repls are python3 lmao
It works perfectly fine for me.
You should be using python 3 not 2
Try removing the spaces between the function naem and the brackets tho.
Assuming this is written in C++
Consider the following:
string itemName;
cout << "Give a name to the item: ";
cin >> x;
cout << "Item Name is: " << x;
@SixBeeps
I was putting it in simpler terms for him.
Also you do not need to run a pip command to install it.
By doing import it will do everyting it needs by itslef.
Only in Repl
@abdulazizbakker
You shouldn't use the code to import modules because it is not reliable
Try using the packages menu at the left side to search for the modules they need (can be found in scikit-learn\.binder\requirements.txt
)
@abdulazizbakker
Sure!!!
Also you can mark my comment as answer
@TortillaCook
Great!!!
You can mark my comment as the answer.
Obviously its in Beta lol
You did the indexing wrong.
It should be db[question][0]
for line 33
Upvote this comment if you think i should make a Series on handling Excel files with Python