Python Forum
code getting cut off - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html)
+--- Forum: Board (https://python-forum.io/forum-26.html)
+--- Thread: code getting cut off (/thread-5601.html)



code getting cut off - Larz60+ - Oct-12-2017

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


RE: code getting cut off - metulburr - Oct-12-2017

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


RE: code getting cut off - Larz60+ - Oct-12-2017

Quote:this only removes it when you preview
Which I do a lot. Guess I'll have to get it right the first time.


RE: code getting cut off - snippsat - Oct-13-2017

(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.


RE: code getting cut off - nilamo - Oct-13-2017

(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