Message from Python discussions

December 2018

— I have a problem with the imports i need stuff from main file in port_setup file and the oposite (from port_setup to main).
How to solve this collision?

Message permanent page

— 

Socket = when port + ip connect each other

api = a function which allow you to use libraries in your app like using google sign up system in our own site

— in main.py:

from port_setup import port_sp
(port_sp is a class port_setup is the module (file))
in port_setup.py:
from main import server,main_window,main_output

Though the error:
  File "C:/Users/MDavid/Desktop/meaCli_Gui/main.py", line 6, in <module>
from port_setup import port_sp
  File "C:\Users\MDavid\Desktop\meaCli_Gui\port_setup.py", line 3, in <module>
from main import server,main_window,main_output
  File "C:\Users\MDavid\Desktop\meaCli_Gui\main.py", line 6, in <module>
from port_setup import port_sp
ImportError: cannot import name 'port_sp' from 'port_setup'

Message permanent page

— Are importing port_setup from main and main from port_setup at the same time?

— Plz help me😔

— Im gonna rebump this cos its daytime now. For me its a serious problen. Would you advice using rather a temporary folder?

Message permanent page

— Ok, i got an strange problem
the name of a file is shortened if it has an underscore
https://hastebin.com/jonuyozida.py

Message permanent page

— Google or duckduckgo

— There is not a solution to my problem there

— Either is not here. Its also offtopic.

— Ok

— Yo guys. any django dev from flask here. I was thinking of trying it bcz i can't find jobs for flask T_T

Message permanent page