r/learnpython 1d ago

New to RAG — trying to implement RAG for my AI interview system?

0 Upvotes

Hey everyone, I'm building an AI voice interview app and I'm fairly new to RAG. I'm stuck on the architecture and having a bit of a mid-project crisis 😭.

My current flow is:

Before interview:
Step1 : 
Resume + JobDescription
   ↓
Chunk resume/JobDescription
   ↓
Generate embeddings
   ↓
Store chunks + embeddings in pgvector

Step2 : 
LLM call is done using complete Resume + JD (and not the chunks)
   ↓
Initial ranked topic plan is created by this LLM call 

Step3 : 
Before each question:
Current topic
   ↓
RAG query in our vector DB 
   ↓
Retrieve relevant resume/JD chunks
   ↓
LLM call to generate a question from these chunks

The part I'm confused about:

At the beginning, I'm already sending the complete resume + complete JD to the LLM.

Why can't I simply do:

Resume + JD
   ↓
ONE LLM CALL
   ↓
10 interview questions

and then use those during the interview this would reduce the latency too!

Why would I need RAG again to retrieve chunks before generating each question? But I'm struggling to understand how RAG can be used to add value to the project

I have to add this project to my reume and need to have confidence in my design, I would highly appreciate someone helping me figure out the architecture!


r/learnpython 2d ago

do i need to know undergrad level maths to start hands on machine learning with pytorch?

7 Upvotes

is highschool maths enough?or i could simultaneously learn maths behind while reading book?


r/learnpython 2d ago

Practice Problems Math in Python

3 Upvotes

Hi,

I am currently trying to learn the relevant Python parts as a chemistry student. I think I know the basic parts (varibals/lists etc.) and I am searching for some practice problems where I can try some calculations, functions and plots with mathplotlib. Do you guys have a set of task where I can train/learn with?

Thank you very much for your help!

Limic


r/learnpython 1d ago

Has anyone built a Python script for automated account registration? Looking for advice for proxy integration.

1 Upvotes

I'm currently working on a Python project to automate user registration on a Facebook using Playwright / Selenium / requests. For those who have built something similar, I’d love to learn from your experience regarding how did I handle proxy rotation in this


r/learnpython 1d ago

Python Project Feedback (MemoryPal)

1 Upvotes

Hi all, I'm a high school student working on a small project of mine. It's a study app I wrote in Python, using some meta-learning concepts my dad taught me when I was younger. I used his initial ideas as inspiration to develop this further, and I hope to have the application out soon. I thought it would be a good idea to get some feedback from others beforehand, though. Any feedback on quality of life, ease of use, and general impressions would be greatly appreciated. I'm attaching a link to a GitHub repository that redirects users to a directory with the latest updates to the app. I would really appreciate any feedback on it. Thanks!!

Link to the repo - https://github.com/TKSMG/MemoryPal


r/learnpython 2d ago

Seeking help with building logic while learning Python programming

25 Upvotes

I'm a DevOps engineer with 2 years of experience, and I come from a commerce educational background.

I've tried learning Python several times in the past, mainly when I was switching jobs and preparing for interviews. However, I ended up joining companies where Python wasn't really required or where nobody was particularly concerned about my Python skills.

Currently, I use AI to generate scripts for many of my daily DevOps tasks. My biggest concern is that I'm not able to build the logic myself or write the syntax from scratch. I often struggle with knowing when to use what.

The last time I seriously learned Python, I got up to lambda functions. That was about a year ago, and now I've completely forgotten a lot of the basics, including data types and syntax.

I want to properly learn Python because it's one of the most commonly mentioned skills in the DevOps/SRE job descriptions I see, especially for bigger tech companies. I've also lost a few interviews in the past because of my lack of Python knowledge.:

I'd really appreciate advice from people who have been through a similar situation. What worked for you?


r/learnpython 2d ago

I built a Python file search tool — could someone review my project?

1 Upvotes

Hey everyone!

I'm a Python developer/student and I've been working on a small project called Find Everything 2.0.0.

It's a Windows desktop tool for quickly searching through files. I built it mainly as a learning project, but I tried to make it actually useful and polished rather than just another basic Python project.

Main things it currently has:

  • Fast file searching
  • Search inside files
  • Dictionary / text processing features
  • Windows .exe build
  • Automated checks with GitHub Actions

Tech: Python, Windows, GitHub Actions

GitHub: https://github.com/EELDERONN/find-everything.git

I'd really appreciate it if someone could take a look at the repository and give me some honest feedback.

I'm especially interested in:

  • Code quality
  • Project structure
  • UI/UX
  • Performance
  • README/documentation
  • Things that could be improved or done differently

Feel free to be critical — I'm here to learn and improve the project.

Thanks to anyone who takes the time to check it out!

----------------------------------------

Я изучаю Python и сейчас работаю над небольшим проектом Find Everything 2.0.0.

Это Windows-приложение для быстрого поиска файлов и поиска информации внутри них. Изначально я делал его как учебный проект, но постепенно решил довести его до более полноценного и реально полезного приложения.

Что сейчас есть:

  • быстрый поиск файлов;
  • поиск внутри файлов;
  • работа со словарём/текстом;
  • сборка в .exe для Windows;
  • автоматические проверки через GitHub Actions.

Стек: Python, Windows, GitHub Actions.

GitHub: https://github.com/EELDERONN/find-everything.git

Буду очень благодарен, если кто-нибудь посмотрит репозиторий и даст честный фидбек.

Особенно интересует:

  • качество кода;
  • структура проекта;
  • UI/UX;
  • производительность;
  • README и документация;
  • что можно было бы сделать лучше.

Можно критиковать — я как раз хочу понять, что можно улучшить.

Спасибо всем, кто посмотрит!


r/learnpython 2d ago

Learn Python

1 Upvotes

Hey Everyone,

I'm an electronics student but I wanted to start learning python through videos but the problem is that there are a plethora of videos available on YouTube and I cannot decide which one to choose.

If possible can anyone drop some suggestions on which channel to learn from...it would be really helpful

Thanks.


r/learnpython 3d ago

How do you actually turn Python skills into freelance income?

116 Upvotes

Hello everyone, I'm currently trying to get into data science and ML, but I also dont want to just sit around waiting for a job opportunity.

I'd like to start making some money on the side through remote/online work, even if its a small amount at first. I also want to get some real experience while I'm at it.

The problem is I honestly dont know what kind of work people actually pay for when you're still at the beginner level or where I should even start looking.

A bit of what I can do right now:

  • Python
  • Machine learning
  • Data cleaning
  • EDA
  • Feature engineering
  • Model training and evaluation
  • Scikit-learn, Pandas, NumPy, XGBoost
  • SQL
  • Git/GitHub
  • General programming
  • Pretty comfortable learning new technologies quickly
  • Currently learning backend and FastAPI

I've built a couple of ML projects on my own, but I dont have professional experience yet.

So I'm wondering, how do people actually turn these kinds of skills into freelance income?

Like what kind of small jobs should I be looking for? Python automation? Data cleaning? Web scraping? Data analysis? Helping someone with an ML project? Backend stuff? Something else?

And where do you actually find these jobs? Upwork, Fiverr, Reddit, Discord, LinkedIn, cold emailing, or somewhere else?

If anyone here started freelancing with basically no experience, I'd really like to hear how you got your first client and what you actually did for them.

Also if you're already doing freelance Python/ML/data work and have any advice for someone starting from the bottom, I'm very open to learning. Even if you can point me towards something I should learn or tell me what I'm wasting my time on, that would help a lot.

I'm not expecting to make a lot of money immediately. I'm completely fine starting with small tasks and building up from there. I mainly want to get my foot in the door, make some money on the side and get real experience.

I'm based in South Asia, so remote/online work is pretty much my main option.

Would really appreciate any honest advice from people who have actually done this.

Thanks a lot.


r/learnpython 2d ago

What is the secret sauce for importing a class from another file in the same directory?

2 Upvotes

I'm not even throwing out code that doesn't work here because I've been dredging from sample and trying every conceivable (evidently not) permutation of the items.

All I am trying to do is to import a class from one file into another. What's the secret here? I keep getting variations on "ImportError: cannot import name 'theFormView' from 'formView'"

This is so fundamental that I'm having trouble getting a single clear answer. Can someone please help me to clear this up?

Thanks.


r/learnpython 2d ago

How do I stop forgetting Python concepts as soon as I move to the next topic?

14 Upvotes

Hello all, I am complete beginner trying to learn python for second time.

I’m giving Python another shot after quitting a while back. My first attempt failed because I fell into the tutorial loop learn a concept, do a tiny exercise, move on, forget the previous topic completely, go back to step one, repeat until burnt out.

I don't want to make that same mistake again . How do you actually learn Python efficiently so the syntax and problem-solving logic actually stick?

Would love to hear your advice, or any resource recommendations that focus on active practice over passive watching and taking notes. Thanks!


r/learnpython 2d ago

looking for a someone with whom i can learn coding

0 Upvotes

well hey i am from india and i was looking for any indian mate with whom i can learn coding am 18 y/o guy there


r/learnpython 2d ago

Tutorials on how to install and implement scapy?

0 Upvotes

I started taking a python for cybersec course but now that I am on the first part of the course, I am having issues proceeding because we are being taught how to use scapy and my program is not recognizing it.

We were given a GitHub link that is supposed to give us access to everything in the course but I still have no idea where to start.

Seems I can’t upload images so please dm if u want details


r/learnpython 2d ago

Brand new to all of this

0 Upvotes

Hi there!
College student here and completely brand new to using Python. I am in a level 1 Python class and I don't think I have it installed correctly on my PC. We have to use Visual Studia with it and when I did a test page, and test page 2, I go to search it in Command Prompt and it says it doesn't exist. Could the path be wrong or is it something else? TIA and if you need any screen shots let me know.


r/learnpython 3d ago

Cna someone please explain me this --> if __name__ == "__main__"

24 Upvotes

My teacher gave us some example and all but I didn't quite got it why we use it and how we use it : I will really appreciate if you can explain it in an easier language


r/learnpython 2d ago

Question.. I need answers

0 Upvotes

How can I automate Phyton so that when I open my laptop it execute commands on my Linux terminal?

I severely need to know how

r/Phyton

r/learnpython

r/programming

r/AskProgramming


r/learnpython 2d ago

Help me make a 30-min "Python for non-coders" talk actually fun, creative ideas wanted (not looking for AI-generated suggestions)

8 Upvotes

I'm giving a 30-minute presentation about Python to a room of 40-50 year olds with zero coding background. The goal isn't to teach syntax, it's to give them a vision of what Python can actually do for them (think: automating boring Excel/repetitive tasks) and get them a little excited about it.

Structure so far:

Intro to programming languages (quick comparison, evolution over time...)

Python basics, but conceptual, not code (functions, classes, loops, libraries, reading a script, terminal)

Python & AI (uses in AI/data, coding with AI tools, prompt engineering)

Installing Python (quick walkthrough)

Useful resources/links

Open slot for something creative/fun to close on

I want real, human ideas here analogies, interactive moments, jokes that land with a non-technical crowd, stories from your own experience presenting to beginners, I'd rather get lived-in advice from people who've actually done this than a pile of AI-generated suggestions....

Thanks in advance!


r/learnpython 2d ago

Best method for a list/array with objects

3 Upvotes

I want to create a grid system with the following criteria:

Should be 2D. Basically, sending list[y][x] should give the lowest level.

The lowest level should be a class object, able to be unique, but would be the same at creation.

For context, I’m making a terminal emulator in Pygame with Curses functionality. My current plan is to have a grid system as a backend where the grids track character changes (including their formatting, hence the class object). It would then get read and rendered in a Pygame window.

If someone can help me with this, has a better idea, or if something similar has already been done, that would be great.


r/learnpython 2d ago

Should I take notes while watching a Python tutorial?

0 Upvotes

I want to learn Python, but I wanted to know if it is better to take notes as you watch a tutorial and code or just code as you watch without taking notes?


r/learnpython 2d ago

File analysis 1.3 mill files

0 Upvotes

I'm dealing with a large batch processing problem and looking for advice on the right architecture.

I have around 1.3 million files stored across folders on a network drive.

Current setup (not working well)

Right now I'm using a Copilot agent where:

I upload batches (~20 files at a time)

It reads them against a reference document

Outputs an Excel file with classification codes

The issue is:

Copilot has a small upload limit

Manual batching is completely unscalable at this volume

What I want to achieve

I want a fully automated pipeline that:

Ingests files automatically from the network drive

Extracts text/content from each file type

Matches content against a reference rules document

Assigns a classification/reference code

Outputs structured results (Excel / database)


r/learnpython 3d ago

Getting into python

14 Upvotes

Hi guys and girls!
I am currently new into python.
I am now on the 2nd hour of a 12 hour course that seems to be good.
Can you give me some good tips to learn it?
Maybe some coding games or fun projects🤔

Appreciate it!


r/learnpython 3d ago

Best books, courses, or resources for a beginner looking to bridge Python backend and ML/AI?

16 Upvotes

Hey everyone,

I'm a beginner in programming and currently focusing on Python. My main areas of interest are backend development and machine learning / AI.

I want to build a solid foundation without getting overwhelmed by the endless sea of tutorials. What are your absolute top recommendations (books, video courses, YouTube channels, or project-based resources) for someone starting out in this space?

Specifically looking for:

- Solid Python backend fundamentals (APIs, databases, architectures like FastAPI/Django)

- Beginner-friendly entry points to ML/AI that don't skip the core concepts

Any roadmap advice or "I wish I knew this earlier" tips are also welcome. Thanks!


r/learnpython 3d ago

Why Does an Identity Comparison Using id() Evaluate to False?

9 Upvotes

I'm trying to figure out what is going on here. Could it be that the identity operator is separately checking the integer cache range and determining that the integer value returned by id() is outside the bounds of Python's integer caching, which is why it evaluates to False?

x = 256
y = 256

id(x) is id(y)
False

id(x)
94588034274160
id(y)
94588034274160

r/learnpython 3d ago

Hexagon in arcade not loading example code

2 Upvotes

I'm using the arcade framework and would like to make a hex map game. The provided tutorial code (on this page https://api.arcade.academy/en/latest/tutorials/hex_map/index.html)does not work for import reasons and I'm wondering:

  1. Is this documentation drift (which I've already seen in other parts of the project) where code has been refactored but the examples didn't get rewritten.

  2. How do you import this part of the library to make the example code work properly

  3. How can I get a manifest of importable components of a library? This could have had it's name changed and I wouldn't know.

Any help would be appreciated.


r/learnpython 2d ago

Making a skillcheck in a basic text game

1 Upvotes

Howdy! So basically, i have this long-ish code of a game, and i thought of making sth like a battle system, where basically you get an input that works as you'd normally expect, except after x seconds it just decides "Yeah, time's out" and returns "timeout." I also need to make it work in both windows and Thonny shell i am using. Any ideas?

(Sorry for no translation, hopefully you can still understand what's going on)

(AND DONT TELL ME THAT IT'S TOO LONG I CROPPED IT ALREADY TO BE AS SHORT As POSSIBLE WHILE STILL CAPTURING THE IMPORTANT STUFF)(It had 780 lines originally)

import os
import time
import threading
import sys


KATALOG_GRY = os.path.dirname(os.path.abspath(__file__))
SAVEFILE = os.path.join(KATALOG_GRY, "NiwimTaGraPrymitywnaSaveFile.txt")

def ResetAllValues():
    global Hp, En, Sila, HeroName, GdzieJestes, Ekwipunek, ZmienneFabularne
    Hp = 10
    En = 10
    Sila = 5
    HeroName = "As"
    GdzieJestes = "nic"
    Ekwipunek = ["nic"]
    ZmienneFabularne = []
    print("[RESET ALL]")

def SaveGame():
    with open(SAVEFILE, "w") as SaveFile:
        SaveFile.write("Hp:" + str(Hp) + "\n")
        SaveFile.write("En:" + str(En) + "\n")
        SaveFile.write("Sila:" + str(Sila) + "\n")
        SaveFile.write("HeroName:" + HeroName + "\n")
        SaveFile.write("GdzieJestes:" + GdzieJestes + "\n")
        SaveFile.write("Ekwipunek:" + ";".join(Ekwipunek) + "\n")
        SaveFile.write("ZmienneFabularne:" + ";".join(ZmienneFabularne) + "\n")
    print("[SAVE]")

try:
    with open(SAVEFILE, "r") as SaveFile:
        SaveFileLinesList = SaveFile.readlines()
except FileNotFoundError:
    print("[SAVE FILE NOT FOUND]")
    ResetAllValues()
    SaveGame()
    SaveFileLinesList = []



for x in SaveFileLinesList:
    if x.split(":")[0] == "Hp":
        Hp = int(x.split(":")[1].strip())
    elif x.split(":")[0] == "En":
        En = int(x.split(":")[1].strip())
    elif x.split(":")[0] == "Sila":
        Sila = int(x.split(":")[1].strip())
    elif x.split(":")[0] == "HeroName":
        HeroName = str(x.split(":")[1].strip())
    elif x.split(":")[0] == "GdzieJestes":
        GdzieJestes = str(x.split(":")[1].strip())
    elif x.split(":")[0] == "Ekwipunek":
        Ekwipunek = list(x.split(":")[1].strip().split(";"))
    elif x.split(":")[0] == "ZmienneFabularne":
        ZmienneFabularne = list(x.split(":")[1].strip().split(";"))

normal_input = input

def GameInput(tekst, poprawne_opcje):
    if not poprawne_opcje:
        raise ValueError("GameInput wymaga podania poprawne_opcje!")
    while True:
        wybor = normal_input(tekst)
        if wybor == "sav":
            SaveGame()
            continue
        elif wybor == "stat":
            print("\n————————————————————————————————————————\n" + "STATYSTYKI:".center(40))
            print("Hp: " + str(Hp))
            print("En: " + str(En))
            print("Siła: " + str(Sila))
            print("Imię: " + HeroName)
            print("————————————————————————————————————————\n")
            continue
        elif wybor == "ekw":
            while True:
                print("\n————————————————————————————————————————\n" + "EKWIPUNEK:".center(40) + "\n")
                x = 0
                while x < len(Ekwipunek):
                    print("[" + str(x + 1) + "]: " + Ekwipunek[x])
                    x += 1
                print("————————————————————————————————————————\n")
                uzycie = normal_input("Użyć czegoś?\nt - tak\nn - nie\n>")
                if uzycie == "n":
                    break
                elif uzycie == "t":
                    przedmiot = normal_input("Czego chcesz użyć?(NUMER ALBO CASE SENSITIVE NAZWA)\n>")
                    if przedmiot.isdigit():
                        numer = int(przedmiot)

                        if 1 <= numer <= len(Ekwipunek):
                            przedmiot = Ekwipunek[numer - 1]
                        else:
                            print("Nieprawidłowy numer przedmiotu.")
                            continue

                    if przedmiot in Ekwipunek:
                        if przedmiot == "nic":
                            print("używasz Niczego...")
                            time.sleep(2)
                            print("...")
                            time.sleep(2)
                            print("No i nic się nie dzieje.")
                            time.sleep(1)
                            print("Czego się spodziewałeś?")
                            time.sleep(1)

                        elif przedmiot == "Kawałek Metalu":
                            print("Ostry, szeroki kawałek metalu.")
                            time.sleep(1)
                            if "Ukłuł Się Kawałkiem Metalu Z Siennika W Celi Początkowej" in ZmienneFabularne:
                                print("Trochę zakrwawiony...")
                                time.sleep(1)

                        elif przedmiot == "Złoty Kluczyk":
                            print("Złoty kluczyk. Mniejszy niż te zamkowe, ale większy niż te najzwyklejsze.")
                            time.sleep(2)
                            print("Pięknie się błyszczy.")
                            time.sleep(2)
                            if "Wydostał Się Z Celi Początkowej" not in ZmienneFabularne:
                                if "Patrzył Czy Złoty Kluczyk Pasuje Do Zamka Drzwi Jego Celi" in ZmienneFabularne:
                                    print("Raczej nie od celi, choć kto wie?")
                                else:
                                    print("Nie pasuje do drzwi celi. Ale co w takim razie otwiera?")
                            else:
                                print("Ciekawe, co otwiera?")
                            time.sleep(1)

                        elif przedmiot == "Prowizoryczny Wytrych":
                            print("Wygięty kawałek metalu.")
                            time.sleep(1)
                            print("Może posłużyć za wytrych.")
                            time.sleep(1)
                            if "Wydostał Się Z Celi Początkowej" not in ZmienneFabularne:
                                print("... Chociaż kto wie.")
                                time.sleep(1)

                        elif przedmiot == "Prowizoryczny Nóż":
                            print("Ostry, w miarę długi kawałek metalu.")
                            time.sleep(1)
                            print("Może służyć za nóż")
                            time.sleep(2)


                        else:
                            print("nie ma dla niego opisu ani działania... z jakiegoś powodu.")
                    else:
                        print("Nie masz takiego przedmiotu.")
                else:
                    print("Nie żartuj sobie, tylko wpisz t albo n.")
            continue
        elif (wybor in poprawne_opcje) or (poprawne_opcje == "all"):
            return wybor
        else:
            print("Nie żartuj sobie, tylko wybierz z:", ", ".join(poprawne_opcje))
input = GameInput






#REEEEEEEEEEEGION PRRRRRRRRRAWDZIWA GRRRRRA!
while True:
    # MENU GŁÓWNE

    mode = input("\n""s - start\n""r - true reset\n""e - exit\n""> ",["s", "r", "e", "f"])
    if mode == "r":
        ResetAllValues()
        SaveGame()
    elif mode == "e":
        break



    elif mode == "f":
        ResetAllValues()
        SaveGame()
        cel = input("FASTTRAVEL - GDZIE?(Nazwa, enter a potem start)\ntestReaction - test reakcji\nlpw-osiłek - loch po wyjściu-osiłek\nlpw-spryciarz - loch po wyjściu - spryciarz\n>", ["testReaction","lpw-osiłek", "lpw-spryciarz"])
        if cel == "lpw-osiłek":
            GdzieJestes = "Loch - Tuż Po Pokonaniu Drzwi"
            ZmienneFabularne.append("Wyważył Drzwi Do Celi Początkowej")
        elif cel == "lpw-spryciarz":
            GdzieJestes = "Loch - Tuż Po Pokonaniu Drzwi"
        elif cel == "testReaction":
            GdzieJestes = "testReaction"




    elif mode == "s":
        if GdzieJestes != "nic":
            print("Witaj ponownie, " + HeroName + ".")

        while True:
            if GdzieJestes == "nic":
                HeroName = input("No to zaczynamy! Ale najpierw: jak się nazywasz?\n>", "all")

                if len(HeroName) > 10:
                    print("Za długie, skracamy. Nazwę cię Andrzej.")
                    HeroName = "Andrzej"
                else:
                    ZgodaNaImie = input("A więc, " + HeroName + "?\nt - tak\nn - nie\n>", ["t", "n"])
                    if ZgodaNaImie == "n":
                        while True:
                            HeroName = input("No więc jak?\n>", "all")
                            if len(HeroName) > 10:
                                print("Za długie, skracamy. Nazwę cię Andrzej.")
                                HeroName = "Andrzej"
                            else:
                                ZgodaNaImie = input("Czyli " + HeroName + ", tak?\nt - tak\nn - nie\n>", ["t", "n"])
                                if ZgodaNaImie == "n":
                                    print("Och, wal się. Jesteś Andrzej.")
                                    HeroName = "Andrzej"
                                    break
                                else:
                                    break
                    else:
                        print("OK!")


                time.sleep(1)
                print("Btw, nie chciało mi się robić odmiany, więc może to brzmieć nieco dziwnie, " + HeroName + ".\n")
                time.sleep(1)
                print("W zasadzie wszystko masz opisane w tekście. Jak masz wybór, możesz wpisać\n - \"sav\" by zapisać\n - \"ekw\" by zobaczyć ekwipunek\n - \"stat\" by zobaczyć dane postaci.\n")
                time.sleep(4)
                print("≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡\n" + "NO TO ZACZYNAMY!".center(40) + "\n≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡\n")
                GdzieJestes = "nic, ale po ustawieniu imienia"

            elif GdzieJestes == "nic, ale po ustawieniu imienia":
                time.sleep(1)
                print(".")
                time.sleep(1)
                print("..")
                time.sleep(1)
                print("...")
                time.sleep(2)
                print("Budzisz się w ciemnym pomieszczeniu.")
                time.sleep(1)
                print("Jest zimno, mokro i ponuro. wygląda to na jakiś loch.")
                time.sleep(1)
                coDalej = input("----------------------------------------\nCo robisz?\nc - czekasz\nu - próbujesz ucieczki\n>", ["c", "u"])
                if coDalej == "c":
                    GdzieJestes = "Loch - Cela Początkowa - Czekaj"
                elif coDalej == "u":
                    GdzieJestes = "Loch - Cela Początkowa - Proba Ucieczki"


            elif GdzieJestes == "Loch - Cela Początkowa - Czekaj":
                print("A więc czekamy...")
                time.sleep(1)
                print("...")
                time.sleep(1)
                print("...")
                time.sleep(1)
                print("Chyba minęło kilka godzin. Cóż, ani żywej duszy.")
                time.sleep(1)
                print("zgłodniałeś od czekania.")
                time.sleep(1)
                print("[-1 do Siły!]\n")
                Sila -= 1
                time.sleep(1)
                GdzieJestes = "Loch - Cela Początkowa - Po Odjeciu Sily Za Czekanie"

            elif GdzieJestes == "Loch - Cela Początkowa - Po Odjeciu Sily Za Czekanie":
                coDalej = input("----------------------------------------\nTrzeba chyba uciec.\nc - poczekajmy jeszcze chwilkę\nu - no to uciekamy!\n>", ["c", "u"])
                if coDalej == "u":
                    GdzieJestes = "Loch - Cela Początkowa - Proba Ucieczki"
                elif coDalej == "c":
                    GdzieJestes = "Loch - Śmierć z głodu w swojej celi"

            elif GdzieJestes == "Loch - Śmierć z głodu w swojej celi":
                print("A więc czekamy jeszcze trochę...")
                time.sleep(2)
                print(".")
                time.sleep(2)
                print("..")
                time.sleep(2)
                print("...")
                time.sleep(2)
                print("....")
                time.sleep(2)
                print(".....")
                time.sleep(2)
                print("......")
                time.sleep(2)
                print("Nie wiesz, ile już czasu minęło. Nic się nie zmienia, wszystko jest wciąż tak samo ciemne i zimne.")
                time.sleep(2)
                print("Jest ci naprawdę zimno i jesteś NAPRAWDĘ głodny. Choć w sumie już dawno przestałeś zwracać na to uwagę.")
                time.sleep(2)
                print("...")
                time.sleep(2)
                print("Tak jak o tym teraz myślisz, to mógł nie być najlepszy pomysł.")
                time.sleep(3)
                print("\n========================================\n" + "ŚMIERĆ".center(40) + "\n========================================\n")
                time.sleep(1)
                ResetAllValues()
                SaveGame()
                time.sleep(1)
                print("Zagłodziłeś się w lochu... z własnej woli. Jak ostatni idiota.\n")
                time.sleep(1)
                input("(WCIŚNIJ ENTER)", "all")
                break

            elif GdzieJestes == "Loch - Cela Początkowa - Proba Ucieczki":
                print("Rozglądasz się...")
                time.sleep(1)
                print("Cela jest mała. Drzwi są wykonane ze stali i chyba bardzo grube.")
                time.sleep(1)
                print("Na ziemi leży siennik. Jest jedno zakratowane okno, za małe, by przecisnąć się przez nie.")
                time.sleep(1)
                coDalej = input('----------------------------------------\nCzemu się chcesz przyjrzeć?\nm - mur\ns - Siennik\nd - Drzwi\no - okno\n>', ["m", "s", "d", "o"])
                if coDalej == "m":
                    GdzieJestes = "Loch - Cela Początkowa - Proba Ucieczki - Przyjrzyj się murom"
                elif coDalej == "s":
                    GdzieJestes = "Loch - Cela Początkowa - Proba Ucieczki - Przyjrzyj się siennikowi"
                elif coDalej == "o":
                    GdzieJestes = "Loch - Cela Początkowa - Proba Ucieczki - wyjrzyj przez okno"
                elif coDalej == "d":
                    GdzieJestes = "Loch - Cela Początkowa - Proba Ucieczki - Przyjrzyj się drzwiom"


            elif GdzieJestes == "Loch - Cela Początkowa - Proba Ucieczki - Przyjrzyj się murom":
                if "Obejrzał Mur W Celi Początkowej" not in ZmienneFabularne:
                    print("Podchodzisz do ściany.")
                    time.sleep(2)
                    print("Jest to stary mur z czegoś, co w dotyku przypomina cegłę.")
                    time.sleep(1)
                    print("Jest miejscami popękana. Szczeliny są dość głębokie.")
                    ZmienneFabularne.append("Obejrzał Mur W Celi Początkowej")
                    time.sleep(1)

                else:
                    print("...No, mur. Niewiele się zmienił.")
                    time.sleep(1)

                    if "Kawałek Metalu" in Ekwipunek:
                        if "Wpadł Na Pomysł By Przerobić Kawałek Metalu Z Celi Początkowej Na Wytrych" in ZmienneFabularne:
                            print("W sumie, jak na to teraz patrzysz, można by użyć szczelin, by złamać metalową płytkę!")
                            time.sleep(1)

                            coDalej = input("Próbujemy?\nt - tak\nn - nie\n>", ["t", "n"])

                            if coDalej == "t":
                                print("A więc...")
                                time.sleep(1)

                                print("Wsadzasz płytkę w jedną z szczelin i upewniasz się, że dobrze się trzyma.")
                                time.sleep(1)

                                print("Właściwie, to leży jak ulał!")
                                time.sleep(1)

                                print("Dociskasz płytkę. Początkowo stawia opór, w końcu jednak pęka na dwie części.")
                                time.sleep(2)

                                print("\nUsunięto z ekwipunku kawałek metalu!")
                                Ekwipunek.remove("Kawałek Metalu")
                                time.sleep(2)

                                print("Jedna część jest znacznie cieńsza od drugiej...")
                                time.sleep(2)

                                print("...")
                                time.sleep(2)

                                print("Ostrożnie, by nie złamać jeszcze raz metalu, wyginasz cieńszy fragment.")
                                time.sleep(1)

                                print("Wygląda jak wytrych. Kiepski, bo kiepski, ale może się nada!")
                                time.sleep(2)

                                print("\nDodano do ekwipunku prowizoryczny wytrych!")
                                Ekwipunek.append("Prowizoryczny Wytrych")
                                time.sleep(1)

                                print("\nA ten drugi kawałek... W sumie, można go użyć kiedyś do przecięcia czegoś!")
                                time.sleep(1)

                                print("\nDodano do ekwipunku prowizoryczny nóż!")
                                Ekwipunek.append("Prowizoryczny Nóż")
                                time.sleep(2)

                            else:
                                print("Racja, może się jeszcze kiedyś przydać w całości.")
                                time.sleep(1)

                coDalej = input('----------------------------------------\n''Co jeszcze zobaczyć?\n''s - siennik\n''d - drzwi\n''o - okno\n''m - mur raz jeszcze\n>',["m", "s", "d", "o"])

                if coDalej == "s":
                    GdzieJestes = "Loch - Cela Początkowa - Proba Ucieczki - Przyjrzyj się siennikowi"

                elif coDalej == "d":
                    GdzieJestes = "Loch - Cela Początkowa - Proba Ucieczki - Przyjrzyj się drzwiom"

                elif coDalej == "o":
                    GdzieJestes = "Loch - Cela Początkowa - Proba Ucieczki - wyjrzyj przez okno"

                elif coDalej == "m":
                    GdzieJestes = "Loch - Cela Początkowa - Proba Ucieczki - Przyjrzyj się murom"
Etc Etc Etc