Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am trying to automate an old GUI tool which requires filling in some data from a CSV and selecting appropriate tree item values based on it. I need to do this in multiple instances of the ...
I have a Python class called FunctionsManager; its __init__() method is the following:class FunctionsManager: def __init__(self, instance_class1, instance_class2, ..., instance_classN): ...
I'm working on a web-based app that uses Django and Angular. This app uses several external APIs to fetch environmental data from different monitoring networks. We then use these data to perform ...
I am a beginner programmer with little experience in building complex applications. Currently I'm making a messenger using Python's FastAPI for the back-end. The main thing that I am trying to achieve ...
I'm currently drafting a Python coding standard for internal enterprise use, primarily targeting business applications that involve heavy data access, reporting, and transactional logic.In this ...
im kind of a newbie so take me easyi face a problem every time i make a projectspecially Client projects, which is Global State i always struggle to do itfor example, here is the structure of one ...
I am developing a python package that needs to be able to read/write from/to multiple formats. E.g. foo format and bar format. I am trying to contain the functions relating to each format in a single ...
I'm looking for a method to map the content of a structured text file to a nested dictionary (dictionary tree). The text file consists of (nested) sections with each section starting with the pattern ...
I am trying to write a backend for use with a completely text based UI for one shot operations (eg. python scriptname arg, executes that argument and exits) and a GUI using the curses library for some ...
I'm having trouble with managing the working directory in Jupyter Notebook. For example, I have a .py script that requires me to change the working directory to its directory to run it properly. I've ...
I have a game server implemented in Python to which clients can connect and play against each other.I'd like to be able to reload configuration from a config file without restarting the server (as ...
Say I am making a pdf editor app with the following structure:├── main.py├── 📂 drawing_functions/├── 📂 util/├── 📂 GUI/└── 📂 document_handling/Each of these folders have a collection of ...
I am working on a refactor on a certain package (I can give details if asked). The package involves a clever lazy evaluation of a sort of nested sequence of arithmetic operations. If the numerical ...
Say I have a Python project that looks like this:project/├── package/│ ├── __init__.py│ ├── module1.py└── main.pyI would like package/ to be self-contained, though it is called from main.py....
In Python when you want a local variable, you just assign to it x = 10.In most modern languages you declare local vars (regardless of type):#"/questions/tagged/python" title="show questions tagged 'python'" aria-label="show questions tagged 'python'" rel="tag" aria-labelledby="tag-python-tooltip-container" data-tag-menu-origin="Unknown" itemprop="keywords">python