Message from Python discussions
December 2018
— Internet is plenty of people with the same question
Https://www.google.es/search?q=python+difference+between+import+and+from&rlz=1C1GCEA_enGB778GB778&oq=python+diference+between+impor&aqs=chrome.1.69i57j0l3.12103j0j7&sourceid=chrome&ie=UTF-8
— Guys, did someone create tg bots with control panel? What is better for the panel Flask?
— The difference is one you already know. When you do FROM a IMPORT b you import only b. There is no involvement of a after that.
You dont have to do a.b.func().
Whereas if you do import a or import a.b.func()
You have to call it by the name a.b.func() every time.(unless of course you use AS command.)
In general if you only want specific parts of a big package, you should use from and if you need a bigger package you should use import x as smthing
— Is anyone there knows php?
— !offtopic
— HELP, HELP !!!
Hello, pythonists!
Above is a screen(tkinter text widget) in which I insert some text. The text come from an sqlite3 database associated to the program. Each row(line) consists of more than 15 columns, made up of a number(id), fullname, address, email, etc. My challenge is that I want the column that follows the fullname column to start at the index right after the longest name, no matter in which row the name is.
Is there any option of function I can use to do this, I need your help, pease.
— pythonrules
— VM
— See str.ljust
and str.rjust
— Sorry i didnt get your point
— Can i pm you ???