All Questions
13 questions
2
votes
0
answers
74
views
7
votes
1
answer
393
views
Install Python script requirements
Sometimes I download a Python script (from a trusted source), and can't run it because of missing dependencies, which I have to install one by one (no ...
4
votes
1
answer
621
views
A basic Object Orientated REPL Implementation
Here is a very basic object orientated implementation of a read evaluate print loop AKA REPL. I encluded REShell to demonstrate how one could use ...
9
votes
3
answers
1k
views
PS1 for Bash prompt showing last exit status, written mostly in Python
I had most of this functionality accomplished in BASH, but I was having trouble getting the last process's return value (even though I had a minimal working example). Plus, the escape codes made ...
2
votes
1
answer
285
views
Reverse shell allows connection between computers
I've recently made a reverse-shell which allows you remote shell access to other computers.
It's written in Python 2 and it is cross-platform. Basically, it get's user input for a command and sends ...
3
votes
1
answer
336
views
Basic automation of SSH tasks in a restricted environment
I'm trying to implement a simple automation solution in a restricted environment. I have actually implemented something but it took a bit longer than I wanted. I want to improve the solution and I'll ...
8
votes
1
answer
745
views
My Pythonic take on Psexec
I've created a little program that basically does the same thing as psexec. It will connect to a host via computer name, or IP address, run the given command, and log the output into a file (little ...
4
votes
2
answers
2k
views
MS-DOS style OS
This is a very basic text-based operating system I've been working on. I started working with python a few weeks ago and this project only a few days ago, so there are probably better ways I can do ...
7
votes
4
answers
1k
views
PyDOS: Version 2.0
This is a follow up question to PyDOS shell simulation.
You might remember PyDOS from my other post. I have now updated it and it's better than ever! Post any ideas below that could make it better.
<...
12
votes
3
answers
2k
views
PyDOS shell simulation
I have a big project called 'PyDOS', written in Python 3.4, and it's going very well. Post your answers of anything that could make it look cleaner.
...
13
votes
1
answer
11k
views
Clone GitHub repository using Python
I want to backup my GitHub repositories since there is news about blocking GitHub in India. I wrote Python code to automate this and would like for it to be reviewed.
...
5
votes
2
answers
496
views
Team git commit cleaner
I cleaned a big repository for my team with this Python code. My goal was for every developer in my team to check if some bad email are in the commit, and replace the information by the good one. I ...
3
votes
2
answers
1k
views
Group and send all files to filetype folder
I have around ~2M of files in one folder, which I need to manage. So, I want to separate them in groups by their filetypes.
Example:
filenames
...