Python Forum
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
Reply
#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
Recommended Tutorials:
Reply
#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.
Reply
#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.
Reply
#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
Reply


Forum Jump:

User Panel Messages

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