Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: My first Python project - Snake game
Post: RE: My first Python project - Snake game

It good, the file structure could be better but really good for your first project but please add a requirements.txt next time to make it easier for other people to use Quote:at first make a virtual ...
Anarab Code Review 3 2,755 Nov-18-2020, 12:08 PM
    Thread: Discord bot - noob stuff, please don't hate
Post: RE: Discord bot - noob stuff, please don't hate

Yeah seems pretty decent at least you didn't share your token, keep going
Anarab Code Review 1 41,535 Nov-18-2020, 11:58 AM
    Thread: Unable to scrape more than one URL with this code
Post: RE: Unable to scrape more than one URL with this c...

What is the error it giving you?
Anarab Web Scraping & Web Development 2 1,986 Nov-18-2020, 11:56 AM
    Thread: Not able to sign into gmail using selenium
Post: RE: Not able to sign into gmail using selenium

Just enable less secure apps on Gmail and use their API, but if you really need to use selenium Google blocks bots from what I've experienced.
Anarab Web Scraping & Web Development 4 5,885 Nov-18-2020, 11:51 AM
    Thread: Flask and select element
Post: RE: Flask and select element

You would need a drop-down on select JavaScript library, there is plenty of them just google it this stack overflow answer might be helpful.
Anarab Web Scraping & Web Development 6 6,027 Nov-18-2020, 11:50 AM
    Thread: DOS tool [HTTP, TCP, UDP, SYN]
Post: DOS tool [HTTP, TCP, UDP, SYN]

import time import socket import random import sys ## USAGE ## # python3 main.py <IP> <Port> <duration in secs> <packets size> <mode (udp, tcp, http, syn)> def floodHTTP...
Anarab Code sharing 0 1,641 Jul-15-2020, 11:14 AM
    Thread: [ MATRIX - COOL - CALCULATOR ] Try it and let me know , how it's work ?
Post: RE: [ MATRIX - COOL - CALCULATOR ] Try it and let ...

You don"t have to comment on everything, it makes the file bigger especially if you are working on a big project only comment on things that would be unclear to someone who DOES program in python cuz ...
Anarab Code sharing 3 2,503 Jun-17-2020, 09:41 PM
    Thread: My very first "thing" what I'm somewhat proud of, after a week udomy class. Register
Post: RE: My very first "thing" what I'm somewhat proud ...

Pretty good for one week keep going just a quick tip tho make your code more readable first off by using a linter as with imports it a better practice to put them all at the top of the file A linted p...
Anarab Code Review 5 3,639 Jun-17-2020, 09:06 PM
    Thread: Bitcoin generator and wallet checker
Post: Bitcoin generator and wallet checker

This is my first ever project I'm pretty new to programming in general only started a couple of months ago, so I would like for anyone that is advance to review my code, The project is a Bitcoin walle...
Anarab Code Review 2 11,553 May-21-2020, 04:32 PM
    Thread: SamBot
Post: RE: SamBot

I would say you need to start formatting your strings as in print("I love", userMovie, "and", random.choice(movieList), "is really good too")You can just write print(f"I love {userMovie}, and {random....
Anarab Code Review 2 2,879 May-21-2020, 04:08 PM
    Thread: Epidemic simulation COVID-19
Post: RE: Epidemic simulation COVID-19

This is really cool good job man props I'll make sure to check it out.
Anarab Code sharing 1 1,966 Apr-03-2020, 05:51 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020