Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: argparse
Post: RE: argparse

Ohh, I think I was using python 2, not 3. Thanks, sorry for wasting your time. I do have another question, could I make it where I add a "-" and a letter after the dash, then put the message? For exa...
2skywalkers General Coding Help 4 3,117 May-15-2019, 06:03 PM
    Thread: argparse
Post: argparse

I have been playing with argparse for a a few hours and can't figure out something so simple. import argparse parser = argparse.ArgumentParser() parser.add_argument("tst") args = parser.parse_args(...
2skywalkers General Coding Help 4 3,117 May-15-2019, 05:35 PM
    Thread: How do I know when I know enough python to get a job?
Post: RE: How do I know when I know enough python to get...

I would like to do it with cyber security, work with penetration testing. I know one library is socket, but what else? Thanks for your help.
2skywalkers News and Discussions 5 3,057 Apr-24-2019, 12:51 PM
    Thread: How do I know when I know enough python to get a job?
Post: RE: How do I know when I know enough python to get...

Thanks! Very useful, but what kind of projects should I be able to complete? What type of projects should I make to show employers what I can do?
2skywalkers News and Discussions 5 3,057 Apr-23-2019, 05:07 PM
    Thread: How do I know when I know enough python to get a job?
Post: How do I know when I know enough python to get a j...

What kind of libraries should I know? Im also planning on learning other programming languages, so I want to be really good in python first. Another thing, but similar, what should I be able to do wit...
2skywalkers News and Discussions 5 3,057 Apr-23-2019, 02:46 PM
    Thread: Hangman
Post: RE: Hangman

No, I wanted it to print on the same line. Originally it was: Guess a letter: - - - - So I changed it. To Guess a letter: - - - - But now, when I get a correct guess, it just appends it to the curre...
2skywalkers General Coding Help 3 69,760 Oct-19-2018, 01:44 PM
    Thread: Hangman
Post: Hangman

Im not sure if this should be posted in the games section but the only library its using is random. I got this code online to try to understand it and then write my own but I came across a problem. T...
2skywalkers General Coding Help 3 69,760 Oct-19-2018, 01:27 PM
    Thread: Password Brute Force
Post: RE: Password Brute Force

Thanks, this makes A LOT of sense. I would like some feedback on this code if you don't mind please, thanks. I feel like there is a better way of doing this using a loop or something like that, but im...
2skywalkers General Coding Help 9 5,344 Oct-18-2018, 01:02 PM
    Thread: Password Brute Force
Post: RE: Password Brute Force

import itertools for item in list(itertools.product('abcdefghijklmnopqrstuvwxyz', repeat=1)): print(''.join(item)) if item == 'e': breakI want it to stop printi...
2skywalkers General Coding Help 9 5,344 Oct-17-2018, 07:18 PM
    Thread: Password Brute Force
Post: RE: Password Brute Force

Yes, this is just the first time I've used itertools, I also want to be able to do it for combinations that are 1 char long, then go to two chars long, then 3 and so on, If you don't mind could you ma...
2skywalkers General Coding Help 9 5,344 Oct-17-2018, 04:08 PM
    Thread: Password Brute Force
Post: RE: Password Brute Force

Thanks, but will i have to do that with every single possible combination?
2skywalkers General Coding Help 9 5,344 Oct-17-2018, 04:03 PM
    Thread: Password Brute Force
Post: Password Brute Force

Im trying to make a password Brute Force, it works to an extent but there is a problem. Its goes from 'az' to 'bb' instead of 'ba' Same with 'aaz' to 'abb' instead of 'aba' Im not sure if im doing ...
2skywalkers General Coding Help 9 5,344 Oct-17-2018, 03:52 PM
    Thread: Brute Force Password Guesser
Post: Brute Force Password Guesser

I've look around for answers for it before but Im having trouble finding a good explination. What I want to do is make a guesser that goes a, b, c, ... aa, ab, ac, ad, .. aaa, aaab. And so on. I can d...
2skywalkers General Coding Help 1 3,172 Oct-05-2018, 06:55 PM
    Thread: Python inventory system with dicts.
Post: RE: Python inventory system with dicts.

I tried to figure out this one on my own for a while, but nothing I did worked. On the 'elif inventory' part I want to print out everything in a organized fashion. Like 'Apples: (amount)' and do that ...
2skywalkers General Coding Help 7 5,891 Aug-23-2018, 04:24 PM
    Thread: Python inventory system with dicts.
Post: RE: Python inventory system with dicts.

Ok, i got that part figured out, thanks, but im confused.. again. Apple already has 10, but when I go to add it, if I want to add 2, so it is 12, it sets it equal to 2. I also can't figure out the rem...
2skywalkers General Coding Help 7 5,891 Aug-21-2018, 03:45 PM
    Thread: Python inventory system with dicts.
Post: RE: Python inventory system with dicts.

Ok, it worked, thank you for the help. I also came across a other problem. When I try to remove items, it says: Error:Line 46: TypeError: unsupported operand type(s) for Sub: 'str' and 'str'For exam...
2skywalkers General Coding Help 7 5,891 Aug-21-2018, 03:16 PM
    Thread: Python inventory system with dicts.
Post: Python inventory system with dicts.

My problem involves the 'intro' variable. Adding stuff works just fine, but if I type in 'remove' for the 'intro' var, it goes to the part where i add stuff, instead of removing stuff. inv = {"food"...
2skywalkers General Coding Help 7 5,891 Aug-21-2018, 02:07 PM
    Thread: Python simple store inventory system.
Post: Python simple store inventory system.

What I am trying to do is make a SIMPLE python inventory system but I am having trouble. Just so you know its not done yet. In the "if" statement part I want the user to choose which list to add a ite...
2skywalkers General Coding Help 3 9,807 Aug-19-2018, 04:51 PM
    Thread: Hangman Help.
Post: RE: Hangman Help.

Thanks for the help iceabod801, I have had trouble finding good examples of hangman games that I can understand, if you have any suggestions I would love to know please. And also, how could I make thi...
2skywalkers General Coding Help 4 4,185 Jun-25-2018, 08:36 PM
    Thread: Hangman Help.
Post: Hangman Help.

I have been trying to make hangman but I have not been able to figure it out. I found a video and copied the code down so I could then figure out whats going on and then write my own version, but, the...
2skywalkers General Coding Help 4 4,185 Jun-24-2018, 09:21 PM

User Panel Messages

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