- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I program with Ruby and Python and stuff
- Interests
- Programming and Hacking
- PC Specs
- PC? Try MAC. :D
19 Posted Topics
So I wrote a cool little python script for terminal commands that I get sick of entering. Most of the script is explained in docstrings and comments. Looking for useful terminal commands or things I missed or could have done better. I'm actually quite proud of it. :) #!/usr/bin/env python … | |
For those of you who have worked with NMMAP before, Im raising an error each time I run my script. I'm using <python3 nmap_scanner.py -H 10.50.60.125 -p 21, 1720> at the command line to execute the script, and im running into the error: Traceback (most recent call last): File "nmap_scanner.py", … | |
I'm working on re-writing a 2 decade old python program, but I'm hitting a 'resource busy' error when executing. Does anybody have any ideas? The program is below, and the output is below that. Thanks! from scapy.all import * import optparse print "\n--Example format is -s (controller IP: 172.0.0.0), -S(spoof … | |
Quick question on stripping, I'm executing a simple program, but whenever I try and run it in Terminal, it strips all wrong. The error it puts out is below. It iterates [+]Trying: admin/admin for the first line, but wont repeat it for the rest of the lines, as well as … | |
I'm looking for fellow programmers that write in python, and maybe have skills in HTML/CSS to bounce some ideas off of, and generally just form a little python programming group. Let me know! :D | |
So, I have a quick question about a small password cracking program that I wrote. The syntax seems to be fine, but when run at the command terminal (I'm on a mac), the program doesn't really DO anything. I'll click "run in terminal" or I'll already have the terminal window … | |
I know a lot of you like to eat while doing it is whatever you do, may it be Software or Hardware. What do you fancy as a snack while working? :D Personally, I like nacho doritos, with a bit of kraft cheese and a banana on top. (dont judge!) | |
So, quick question, (has to be just something I'm missing), if I want to concantate a string and integers in a url, is there a way to do so? I'm sure there is...I mean this IS python! from urllib2 import urlopen width = input("Please enter a width specification here: ") … | |
So I'm writing a personal bank tracker for myself, and I'm having a bit of trouble with a line of code. The ID_Pin method below is equal to 0000, however when i try to create an instance (any instance of the Account class), it returns the "Access Denied" bit that … | |
If humans were able to survive on every planet, but everything remained the same about the planet (ie, the weather, the rocks, spacedust, etc) Which planet would you move to and why? | |
So my program is progressing quite nicely, and I'm semi-proud of myself for getting this far (I'm a newbie), but I had 2 questions. One question is that my program recognizes a .CFG extension...but never finds games with any other extension (.smc, .srm). I type it in EXACTLY as it … | |
Ok so, question about opening an application from python..is there a command that will force an app to open, while at the same time leaving the tkinter GUI open? The app I am trying to open is Snes9x. import os from tkinter import * try: import Tkinter as tk from … | |
Really quick question, if I want to return the data that is returned by snesVar in videoGame as a string on every line, what is the correct code to use? def videoGame(): count = 0 snesVar = [] for data in os.listdir('/SNES/SNES Roms'): if data.endswith('.src') or data.endswith('.srm'): snesVar.append(data) return snesVar … | |
So, I wrote an address book and I'm nearly done, but Im having a little trouble using the picle module to back up the input data to a file for later retrieval. Here is what I have so far: (Im working on a solution while I type this) from tkinter … | |
Hello everyone! I am tring to use Tkinter from terminal (I'm on a mac) and I keep raising AttributeErrors on both Python 2.7 and Python 3. For 2.7 I input: >>> from Tkinter import * >>>win = Tk() >>>f = Frame(win) >>b1 = Button(f, "One") and I raise the AttributeError: … | |
Im writing an address book to use from terminal, how would I return the users contact info from the end-users input from the dictionary I created? |
The End.