Yay glad this finally came together! (I helped)
Yay glad this finally came together! (I helped)
If you save the image to a file using
img.save('whatever.png') (with whatever filename you want), then it should pop up below the console, even if it doesn't you can click on it and view it.
I was having the issue of where its saying "CNAME records should have a name set! " but I just used
www for the name and it worked as long as I put www.mydomain.tld in repl instead of just mydomain.tld
EDIT: I would honestly recommend using the free service cloudflare as DNS as it has a bunch of cool features in addition to supporting @ signs in their DNS. All you have to do is uenter the custom nameservers they provide in freenom.
You can probably use
scrapy but selenium wouldn't work. (Maybe in a graphics repl, but that would be hard to set up)
@AgastyaSandhuja maybe they changed it since then but many people including me have gotten that same error when following the tutorial (judging by the other comments mentioning it and the amount of upvotes on my comments). Thanks for trying to help =)
That's not an error as that is the same thing printed in the editor. Pygame does not yet have support for a new tab and repl.run will only show you the console output so that is why you won't see your window. Right now the only option is to work in the editor, but I'm sure the devs are working on it as it is a highly requested feature.
I am a repl.it helper. If this is a good answer, please upvote
They used to have this before the package manager, but they are working on something to cache the packages using the new file system.
I am a repl.it helper. If this is a good answer, please upvote!
You could make a bash repl which runs the command for your code and use the repl.run link for that. If that doesn't work you might have to use polygott but that's pretty advanced.
I'm a repl.it helper. If this is a good answer, please upvote!
You should put this on the Repl.it Feedback board. That's where the admins will see it. Also I think on ask they should have the repl embedded like other posts. Maybe a repl link could be required.
if this post helped you, please consider leaving an upvote!
You need some form of server to send the results to. This can be made in many different coding languages, but you can deploy it on repl.it and have the form tag submit to the server.
If you found this post helpful please leave an upvote!
If there is any way I can improve, please leave a reply!
@alexvillarreal If @SigmaPhi is correct, it is installed but if you have and dependencies you need to install use a polygott repl which is beta language that allows you to install things using a command called
install-pkg which is basically
sudo apt-get install. It is a makefile, not a bash script though.
@SigmaPhi maybe you should put something like this in the tutorial
I am a repl.it helper. If this is a good tip, please upvote.
I would really advise against using freenom's built-in DNS and using a provider such as cloudflare instead. Aside from cloudflare many additional features (many of which are less useful on repl.it but still really good) it allows you to change the DNS root values unlike freenom and allows you to specify an automatic TTL. Just make a clouflare account, put in your freenom domain, log into freenom, and change your nameservers to the ones clouflare provides for you. I fully recommend it to anyone trying this.
Yes. You can use
import sys import tty tty.setraw(sys.stdin) letter = sys.stdin.read(1) # put however many characters you want print(letter)
I am a repl.it helper. If this is a good answer please upvote.
What would you like it so say as the intro? Do we have to write our own?
I don't want to be judged on that
This is cool. Good job.
The reason it is not working is because
== checks if strings are the same instance which will never be true since strings are immutable (you get a new instance each time). You are looking for the
.equals() method which will check if the strings are equal.
if (problem_set.equals(problem_set_y)) problem_set_y();
For more information, see this stack overflow question.
I am a repl.it helper. If this is a good answer, please upvote.
Hi, it sounds like you have already been helped but it might help to ask in the discord server as well as the admins might respond faster there. It is also a great place to hang out!
How is this AI? A quick examination of the code just shows it return the first result found on youtube for the given data. There is nothing AI about this, its just a youtube player. smh
$45 and I'm almost done can get you tomorrow morning
On line 84, you are missing a closing parenthesis. This is what is causing the error. Also I think you want another input statement on line 85. And also
if statements need 2 =, instead of one. Good luck! Ask again if you need more help!
If this helped, please consider upvoting.