Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Question] - Any Possible way to upload a file?

Aperta
#5,933 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
web-dev

Direzione di ricerca

L’issue non fornisce alcun file sorgente, test o punto di ingresso da esaminare e chiede soltanto se sia possibile caricare un file tramite la porta Web di PySimpleGUI. Per prima cosa occorre chiarire il flusso di caricamento richiesto e il comportamento del server; per completare il lavoro sarebbero necessari un ambito di implementazione concordato e un test o una demo riproducibile che dimostri che il file caricato raggiunge il server.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Port - Web Question
Type of Issue (Question)

Operating System Windows 10 64x
PySimpleGUI Port (Web)

Versions

Version information can be obtained by calling sg.main_get_debug_data()
Or you can print each version shown in ()

Python version 3.10.6
PySimpleGUI Version 0.39.0
GUI Version (Remi)

Your Experience In Months or Years (optional)

Years Python programming experience
2 Years

Years Programming experience overall
3 Years

Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
Yes i have used both

Anything else you think would be helpful?


Troubleshooting

These items may solve your problem. Please check those you've done by changing - [ ] to - [X]

  • [X ] Searched main docs for your problem www.PySimpleGUI.org
  • [X ] Looked for Demo Programs that are similar to your goal. It is recommend you use the Demo Browser! Demos.PySimpleGUI.org
  • [ X] If not tkinter - looked for Demo Programs for specific port
  • [ X] For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
  • [X ] Run your program outside of your debugger (from a command line)
  • [ X] Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
  • [ X] Have upgraded to the latest release of PySimpleGUI on PyPI (lastest official version)
  • [X ] Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released
Detailed Description
Code To Duplicate

A short program that isolates and demonstrates the problem (Do not paste your massive program, but instead 10-20 lines that clearly show the problem)

This pre-formatted code block is all set for you to paste in your bit of code:


# Paste your code here

layout = [[sg.Text("1. Set Event.")],[sg.Combo(["DMO Practice/Demo Warning"," ", "TOR Tornado Warning"], enable_events=True, key='selalert')],[sg.Text("2. Set Duration, Date and Time.")],[sg.Combo(["0", "1", "2", "3", "4", "5", "6"], enable_events=True, key="hour")], [sg.Combo(["0", "15", "30", "45"], enable_events=True, key="minute")], [sg.Text("Set Location"), sg.InputText("", enable_events=True, key="fips")], [sg.Text("5. Set Audio")], [sg.Text("Select Optional Pre Alert Audio")]]
window = sg.Window('DASDEC II CONTROL', layout, web_port=8888, web_start_browser=False)

while True:
    event, values = window.read()
    print(event,values)
    print(event)
    print(values)

    if event in (None, 'QUIT'):
        break

    combo = values['selalert'] 
    alerttype = combo


window.close()

Watcha Makin?

Web Control Panel for issuing emergency alerts.

I Am wondering if its possible to upload a file to the server?

If you care to share something about your project, it would be awesome to hear what you're building.

Lingua principale
Python
Stelle
13.8k
Fork
1.8k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PySimpleGUI/PySimpleGUI

Tutte le issue di PySimpleGUI/PySimpleGUI

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.