« first day (1927 days earlier)      last day (1414 days later) » 

9:35 AM
@lordpotato, Me
 
user12267139
@d4rk4ng31 I have this problem with using relative paths
 
user12267139
0
Q: issue with recognizing relative path in Pycharm

lordpotatoHave the issue with Pycharm that it does not recognize realtive paths for example reading this ini file gives me raise NoSectionError(section) from None configparser.NoSectionError: No section: 'logging' all files containing the right absolute path how I understood the Pycharm docs Co...

 
@lordpotato You need to create a new room
@lordpotato Uh, I have never needed to do anything like that
I simply created a new virtual environment and it worked
 
user12267139
@d4rk4ng31 really dont know whats causing it, I have this issue on my pro and comunity version
 
Also, all these stupid problems are why I switched to spyder a week back. I suggest you switch too. None of those unnecessary formatting errors and lines saying add extra line or add 2 lines after the function
@lordpotato Pro? Don't you have official support then?
 
9:48 AM
@lordpotato You're approaching the problem wrong. Think about it: Will your code only ever be executed by PyCharm? No? Then why are you trying to fix the problem by configuring PyCharm?
 
Did you try running single isolated file?
Ctrl+Shift+F10
 
If you want to access a file that's in the same directory as your program, then write code that finds the location of the program
 
@lordpotato Why are you asking for .configfile when it's in configfile?
 
user12267139
@Aran-Fey can you give me a hint how to do that ?
 
best google it, really
 
user12267139
10:27 AM
` configfilename = os.path.abspath("./rootfolder/configfile/config.ini")` gives me the absolute path why does
 
user12267139
 # configfilename = 'C:\\Users\\tracer\\PycharmProjects\\pathtest\\rootfolder\\configfile\\config.ini'
    config = configparser.ConfigParser()
    config.read(configfilename)
    return config
 
user12267139
find the file but configfilename = os.path.abspath("./rootfolder/configfile/config.ini") dont ?
 
10:55 AM
19 messages moved from Python
 
 
6 hours later…
user11867329
4:33 PM
Ok wso
 
user11867329
The lightning that hit the russian rocket
 
user11867329
was it full (including return stroke)?
 
user11867329
If so, how is it possible the rocket didn't suffer damages.
 
5:11 PM
5 messages moved from Python
 
 
1 hour later…
6:22 PM
@AndrasDeak Oh I shouldnt ping people without good reason? Sorry Karen
 
1 message moved from Python
1 message moved from Python
 

« first day (1927 days earlier)      last day (1414 days later) »