Python Forum
a 'simple' program, hard as .... to understand
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a 'simple' program, hard as .... to understand
#4
thanks, your analysis of the code has helped me understand it. I hadn't realised the code lines up 8 queens on the 1st rank. This makes it a bit easier to understand.

But before I fully go thru it again, at the moment I've got stuck on a problem I thought I'd sorted 2 days ago :
creating break points in pycharm.
Last time i was working with pycharm I could just click on the line number to create what I thought was a breakpoint, I think it was represented by a red or orange ball. It worked at the time.
Today that functionality has vanished. Can't point an click anymore. The pycharm online documents say to create breakpoints with 'ctrl F8' but when I hold this down on a selected line, nothing happens.

edit: ah, just posting about it here has made the difference.
in my previous language I'd click on an empty line and write in 'stop' to get the debugger to stop at that line.
In python its not possible to use an empty line a debugger breakpoint. It nuances like this that I spend alot of time on!
Reply


Messages In This Thread
RE: a 'simple' program, hard as .... to understand - by meems - Dec-04-2016, 10:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  trying to understand a string literal in a basic server program CompleteNewb 4 2,113 Nov-14-2021, 05:33 AM
Last Post: deanhystad
  Suggestions for a simple data analysis program t4keheart 0 1,788 Mar-08-2021, 03:45 PM
Last Post: t4keheart
  logging in simple program Inkanus 1 1,717 Dec-18-2020, 02:36 PM
Last Post: snippsat
  Newbie needs help with a simple program feynarun 3 2,289 Jan-15-2020, 01:17 PM
Last Post: DeaD_EyE
  Python Program to Make a Simple Calculator jack_sparrow007 2 10,180 Oct-19-2018, 08:32 AM
Last Post: volcano63
  Hard time trying to have clean MySQL to CSV program PierreSoulier 2 2,777 Jul-20-2018, 07:52 AM
Last Post: PierreSoulier
  How hard is this? Phillips45 0 2,110 Jun-11-2018, 05:49 PM
Last Post: Phillips45
  help with simple program juanb007 2 2,745 Dec-07-2017, 02:15 PM
Last Post: j.crater

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020