Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 code getting cut off
#1
I just noticed on a post that I just made, that certain lines are getting cut short:
Example: 'self.filelist = []'
self.filelist =
This is a visit from the past, and was fixed, but it's back
Quote
#2
No this is an issue with the new editor
https://python-forum.io/misc.php?action=help&hid=39
test = []
this only removes it when you preview
Quote
#3
Quote:this only removes it when you preview
Which I do a lot. Guess I'll have to get it right the first time.
Quote
#4
(Oct-12-2017, 11:40 PM)Larz60+ Wrote:
Quote:this only removes it when you preview
Which I do a lot. Guess I'll have to get it right the first time.
Can preview many times just,add [] as the the last step before post.
metulburr likes this post
Quote
#5
(Oct-12-2017, 11:40 PM)Larz60+ Wrote:
Quote:this only removes it when you preview
Which I do a lot. Guess I'll have to get it right the first time. 

It only happens to empty lists.  If you put a space between them, it'll be valid python, and the editor won't eat it when you preview.

ie: [] #vanishes, but [ ] # totally fine
metulburr likes this post
Quote

Top Page

Forum Jump:


Users browsing this thread: 1 Guest(s)