Skip to main content
47 events
when toggle format what by license comment
May 11 at 10:11 comment added Karl Knechtel @rnoodle no, not since Python 3.3 (released in 2012). peps.python.org/pep-0420
Dec 6, 2022 at 14:25 answer added Esteban timeline score: 0
Oct 10, 2022 at 12:40 answer added Наталия Т timeline score: 0
Sep 8, 2022 at 10:44 answer added Greg Holst timeline score: 0
May 15, 2022 at 23:09 comment added Laksitha Ranasingha one more thing to watch out is the name of the production code file. If you have hyphens (-) rather than underscores (_), test class will fail to import them.
May 4, 2022 at 2:47 answer added Thaer Shabo timeline score: 0
S Dec 22, 2021 at 0:04 history bounty ended CommunityBot
S Dec 22, 2021 at 0:04 history notice removed CommunityBot
Dec 14, 2021 at 18:29 comment added Charlie Parker @nanotek I believe I have to wait 2 days before placing a bounty on new questions. I sympathize with you. The answers here didn't work for me. But to answer mine even with a bounty, wouldn't you need to go through lots of answers anyway? If you answer mine I promise to reward you if it works :)
Dec 14, 2021 at 18:24 comment added nanotek @CharlieParker Why is the bounty on this question and not on your new question? Is this question the one you're trying to get answered (The one with an accepted answer with nearly 1000 upvotes) or is it your other one you want answered? Putting it here means I need to go through 25 answers, multiple posts, 8 years of answers, and it's not clear what I'm even trying to answer
S Dec 13, 2021 at 22:05 history bounty started Charlie Parker
S Dec 13, 2021 at 22:05 history notice added Charlie Parker Authoritative reference needed
Dec 13, 2021 at 19:06 comment added Charlie Parker @PuffinGDI why does having the __init__.py matter? I believe I've not put them in the past and when I run code it still is able to find the other folders and packages inside of the main pkg folder.
Dec 13, 2021 at 18:47 comment added Charlie Parker for me it seems that deleting the .idea folder fixed everything. See stackoverflow.com/a/66701106/1601580
Dec 13, 2021 at 18:08 comment added Charlie Parker how does this answer change if my library is installed in editable mode e.g. pip install -e .?
Sep 29, 2021 at 17:13 answer added bomben timeline score: 7
Sep 9, 2021 at 23:55 answer added Javier Díaz timeline score: 0
Mar 19, 2021 at 0:46 answer added Ouss timeline score: 9
Jan 25, 2021 at 22:01 answer added timothepoznanski timeline score: 1
Aug 17, 2020 at 9:24 answer added Tabs timeline score: 2
Jun 27, 2020 at 3:18 answer added user12578371 timeline score: 2
Jun 26, 2020 at 15:56 answer added user2233949 timeline score: 1
Jun 17, 2020 at 8:23 answer added weaming timeline score: 0
Apr 24, 2020 at 8:59 answer added Burhan U Din timeline score: 1
Dec 9, 2019 at 10:19 answer added Waqas Kayani timeline score: 6
Nov 22, 2019 at 18:08 answer added zaid.mohammed timeline score: -1
Sep 18, 2019 at 7:36 answer added Shravan Kumar timeline score: -2
Sep 4, 2019 at 17:34 answer added Gershon Herczeg timeline score: 3
Apr 13, 2019 at 12:03 answer added Dan timeline score: 1
Apr 9, 2019 at 18:01 comment added Vignesh Paramasivam I renamed the class name and continue working on it. When i hit run, there was this error, totally forgot renaming and tried looking for pycharm suggestions during import. Damn, suggestions are case sensitive! - New to python!!
May 16, 2018 at 13:37 answer added Benjamin timeline score: 3
Feb 17, 2018 at 14:38 answer added danday74 timeline score: 3
Dec 4, 2017 at 10:09 answer added yunus timeline score: -1
Apr 16, 2017 at 3:36 answer added AeroHil timeline score: 34
Mar 15, 2017 at 9:31 answer added Ch_y timeline score: 4
Feb 10, 2017 at 16:48 comment added rnoodle Yes in order for python to identify packages: stackoverflow.com/questions/42094723/…
Jan 10, 2017 at 23:23 answer added Ukr timeline score: 82
Dec 12, 2016 at 13:03 answer added mehdi timeline score: 21
Jun 26, 2016 at 8:28 answer added kishs1991 timeline score: 1
May 21, 2016 at 3:38 comment added Jack Chi @PuffinGDI Do src folders need this init.py file?
Mar 11, 2015 at 10:12 answer added Ranjeet timeline score: 2
Jan 20, 2014 at 19:27 vote accept prosseek
Jan 20, 2014 at 18:59 answer added Nafiul Islam timeline score: 1167
Jan 20, 2014 at 17:18 answer added prosseek timeline score: 15
Jan 20, 2014 at 15:44 comment added prosseek @Puffin GDI: No, it does not.
Jan 20, 2014 at 15:33 comment added Puffin GDI Do src folder has __init__.py file?
Jan 20, 2014 at 14:44 history asked prosseek CC BY-SA 3.0