Skip to main content
0 votes
2 answers
118 views

I am currently working on a Python project using the latest version on VSCode on Ubuntu 24.04. When I run my project without using the debugger python3 -B Main.py I don't get any .pyc files created, ...
BusyChild77's user avatar
0 votes
0 answers
53 views

I'm using PyInstaller to package my application into an executable. Due to licensing restrictions, I must dynamically link PySide6, so I’m using the default onedir mode instead of --onefile. My ...
The Y.c's user avatar
  • 105
-1 votes
1 answer
208 views

Ok so i run python -m compileall . However the generated files are in pycache manage.cpython-311.pyc and urls.cpython-311 my issue is when i run python manage.cpython-311.pyc runserver I keep ...
yes's user avatar
  • 7
0 votes
0 answers
81 views

I use decompyle3 or uncompyle6 It decompiles my functions that do not start with "get" but if my function or method starts with "get" it generates an error: def ...
guresse malenga's user avatar
0 votes
0 answers
65 views

My loader receives part of the program from the server as .pyc files (the files themselves are NOT saving in client pc's filesystem, the byte sequence is stored in a variable). I need to create a ...
Gygabrain's user avatar
  • 101
0 votes
1 answer
276 views

For a project which gets deployed to a RO filesystem I want to also deploy pre-compiled .pyc files for all of the Python source. Thanks to the compileall module this already works, but due to whatever ...
frans's user avatar
  • 9,978
0 votes
0 answers
791 views

I have an EXE compiled using cx_Freeze, and the answer here pointed me to decompyle3 after getting the .pyc file: https://reverseengineering.stackexchange.com/questions/26257/how-to-reverse-engineer-...
No Name's user avatar
  • 282
0 votes
0 answers
3k views

Is there a way to return a code written in the form of a marshal to its original form, I have this code written in marshal syntax: from marshal import loads exec(loads(b'c\x00\...
3bd2lra7man's user avatar
1 vote
1 answer
93 views

I want to distribute my python script in pyc format(generated by python -OO -m py_compile run.py) For different python versions, I've created run.cpython-36.pyc, run.cpython-38.pyc... Now, if the ...
konchy's user avatar
  • 893
1 vote
0 answers
157 views

In virtual environment (created with poetry) I'm running a Python script regularly as current user via poetry run ./script.py or .venv/bin/python3 script.py From within this script I need to run ...
frans's user avatar
  • 9,978
2 votes
1 answer
265 views

I'm trying to create a code object (Python 3.11) with modified co_code to another function, but I notice that the CodeType constructor seems to modify the inputted co_code. For example: import types ...
Abhishek G's user avatar
0 votes
1 answer
207 views

I have a project that I have compiled into .pyc files for security, but I want to be able to drop a .py file into my project for debugging purposes as necessary. How can I tell python to use a .py ...
Adam's user avatar
  • 198
1 vote
1 answer
341 views

I'm using PyCharm and I have file foo.py. foo.py has a username and base64 representation of a password inside of it. I'm compiling foo.py so it's no longer readable by human eyes. I'm running a ...
Dan's user avatar
  • 135
0 votes
1 answer
202 views

In Django project, I don't share the views.py to client. like to remove views.py source files from Django, only pyc files there. But when i remove source file, it gives me ImportError, it should refer ...
baliao's user avatar
  • 173
1 vote
0 answers
2k views

a desktop.exe made by pyinstaller. I want to decomplie it. I extracted it with pyinstxtractor.py. and ran desktop.pyc.there are some errors : ModuleNotFoundError: No module named 'xxxx'. I think ...
Apollo's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
14