Message from Python discussions

December 2018

— Ok guys thanks...
line.split() worked.

— 

Traceback (most recent call last):
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' (C:\Users\MDavid\Desktop\meaCli_Gui\port_setup.py)

— 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

Message permanent page

— 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.