Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    rwarren
    @rwarren
    I will if no other way. Just would rather have it relative to the project.
    Cody Scott
    @Siecje
    A run configuration is for a project.
    rwarren
    @rwarren
    I meant the path.
    Wrestling with other problems right now (venv packages not showing up when debugging), so I've got other issues.
    Cody Scott
    @Siecje
    If you want to use the checkbox for Add source roots to PYTHONPATH, you need to mark the dirs as sources root.
    In the left tree view, right click Mark Directory as -> Sources Root.
    rwarren
    @rwarren
    @Siecje that was the magic! Thanks... works now.
    Cody Scott
    @Siecje
    How annoying is the two clicks to get to the debug console?
    And having to import pprint
    rwarren
    @rwarren
    Going to need to commit some time to pycharm to learn the quirks. I end up getting frustrated and reverting to old tools. To much pycharm sweetness to not put the effort in.
    I haven't hit that yet, but that will annoy the crap out of me. No default pprint like in Wing? ugh.
    Cody Scott
    @Siecje
    Like what? Live style checking is good and alt+enter to add imports is good.
    rwarren
    @rwarren
    lvie style checking
    introspection that isn't buggy as hell
    Cody Scott
    @Siecje
    I miss not being able to see which class you are inside. And not being able to quickly select a class in a file.
    rwarren
    @rwarren
    I was kind of hoping that would be a feature I haven't found yet because that is definitely very handy
    Cody Scott
    @Siecje
    I wouldn't think it would be that useful since you have your own style.
    rwarren
    @rwarren
    easy to tune it. There are only minor differences.
    quick class selection should be ok with the "Structure" pane on the left, no? Doesn't show you where you currently are from what I can tell (which sucks), but jumping around is easy enough.
    Cody Scott
    @Siecje
    Also Back is the action I wanted to return to where the cursor was. which I mapped to Alt+Left Arrow.
    rwarren
    @rwarren
    the "show inherited" toggle is particularly nice, although I do prefer the multi-dropdown approach to a tree view
    Cody Scott
    @Siecje
    Thanks I didn't notice Structure.
    rwarren
    @rwarren
    Note the "show inherited" toggle at the top. Pretty handy.
    I'm sure I found a "back" equivalent in PyCharm as well... just can't remember offhand.
    @Siecje Sweet - the "autsocroll from source" toggle can also be set to show you where you currently are. Very nice.
    Cody Scott
    @Siecje
    If you go Settings -> KeyMap. Search for Back and it is Navigate -> Back. Default binding is Ctrl+Alt+Left.
    rwarren
    @rwarren
    Yeah, that's it.
    Cody Scott
    @Siecje
    Autoscroll from source is good. I wouldn't know it would do that from the name. There is also autoscroll to source.
    Cody Scott
    @Siecje
    Hmm there is a Scroll to source in the project tree explorer, that's handy. I wish that was automatic.
    The other gotcha is when you run a single test it uses the Template configuration for that test.
    And I wish it was easier to get to the test definition from the test tree list.
    rwarren
    @rwarren
    @Siecje Regarding the need to import pprint in the PyCharm debugger... my debug console is ipython which pprints by default. I did nothing to do this (aside from having it installed in my venv) so my guess is it is preferred over the stock repl.
    Hating the debugger, though. Way too UI-busy and soooooooo sloooooooooooowwwwwwwww...
    Alex Pilon
    @pilona
    @rwarren: Y U NO PDB? :-p
    rwarren
    @rwarren
    Wing's debugger kills it. Weird.
    @pilona My masochism has limits. :)
    Alex Pilon
    @pilona
    I know.
    Which features do you use most in the debugger?
    rwarren
    @rwarren
    Just the basics. Step in, step over, step out, breakpoints, conditional breakpoints, watches, moving the program counter, etc. Also hugely important is the live debug console when paused.
    Alex Pilon
    @pilona
    So much less the whole var view, the space wasted by tabs and frames, etc.?
    rwarren
    @rwarren
    I just meant basic debugging. All the PyCharm stuff is noise to me (my poor "UI-busy" comment).
    It is insane how slow it is. Can't figure out why. Running theory is the java back-end is re-compiling to Jython at every step. :)
    With an online compiler. So slow.
    I'm sure much of my dislike of the PyCharm debugger is unfamiliarity (requisite xkcd), but the slowness is inexcusable.
    Cody Scott
    @Siecje
    I wonder why it is so slow...
    Alex Pilon
    @pilona
    Linux 5.4 is out. Still waiting to see the trickle of features in the merge window. Anybody else follow closely?
    Nothing to git pull yet.
    akshitupneja
    @akshitupneja

    Hello Everyone,

    I am looking to switch my career from a QA to a Python Developer. I am currently referring to online training and planning to get PCAP certification by mid of March. However, I have very little experience in development and hence, looking for guidance on how to initiate my career in Python here in Ottawa.
    Thank you :)

    Ian Ward
    @wardi
    @akshitupneja welcome!
    akshitupneja
    @akshitupneja
    Thank you Ian :)