show data like a display in python Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Calling an external command in PythonWhat are metaclasses in Python?Is there a way to run Python on Android?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?How to get the current time in PythonHow can I make a time delay in Python?Does Python have a string 'contains' substring method?
How many time has Arya actually used Needle?
Karn the great creator - 'card from outside the game' in sealed
Time evolution of a Gaussian wave packet, why convert to k-space?
How to write capital alpha?
How were pictures turned from film to a big picture in a picture frame before digital scanning?
Most bit efficient text communication method?
How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?
Putting class ranking in CV, but against dept guidelines
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Tannaka duality for semisimple groups
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
Why are vacuum tubes still used in amateur radios?
How long can equipment go unused before powering up runs the risk of damage?
Is there hard evidence that the grant peer review system performs significantly better than random?
What makes a man succeed?
Drawing spherical mirrors
If the probability of a dog barking one or more times in a given hour is 84%, then what is the probability of a dog barking in 30 minutes?
What does this say in Elvish?
Random body shuffle every night—can we still function?
One-one communication
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
What to do with repeated rejections for phd position
Amount of permutations on an NxNxN Rubik's Cube
A term for a woman complaining about things/begging in a cute/childish way
show data like a display in python
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!Calling an external command in PythonWhat are metaclasses in Python?Is there a way to run Python on Android?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?How to get the current time in PythonHow can I make a time delay in Python?Does Python have a string 'contains' substring method?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
i have a litle program to read data from an arduino attached to an accelerometer. I'm getting the data, process them and finally i'm printing all data in a row in the IPTerminal. I need to see the data as a display in several separated windows and just the last number of each column. Like a display of a device.
I'm getting ths:
16012| 15764| 384| 172| 52| -136| -376| -424| 12| -30| -195| -232
16052| 15776| 380| 136| 40| -240| -394| -428| 4| -33| -179| -246
16096| 15736| 396| 136| 68| -168| -381| -428| 16| -28| -185| -243
16048| 15760| 380| 208| 40| -184| -380| -421| 11| -38| -187| -242
16016| 15748| 372| 156| 20| -152| -383| -424| 8| -26| -181| -247
15988| 15764| 376| 140| 52| -164| -388| -429| 16| -35| -197| -230
16064| 15740| 452| 188| 68| -140| -385| -423| 9| -36| -186| -231
16060| 15780| 384| 188| 64| -192| -377| -429| 11| -36| -186| -235
16056| 15776| 364| 156| 68| -116| -394| -434| 19| -24| -185| -232
16056| 15764| 352| 172| 28| -200| -378| -419| 7| -27| -189| -231
16048| 15724| 372| 112| 40| -172| -388| -434| 10| -36| -181| -243
16060| 15760| 340| 136| 52| -164| -379| -428| -2| -30| -197| -243
i can't even show the data without a nl
I'm looking for several little windows like this:
Thanks.
python spyder
add a comment |
i have a litle program to read data from an arduino attached to an accelerometer. I'm getting the data, process them and finally i'm printing all data in a row in the IPTerminal. I need to see the data as a display in several separated windows and just the last number of each column. Like a display of a device.
I'm getting ths:
16012| 15764| 384| 172| 52| -136| -376| -424| 12| -30| -195| -232
16052| 15776| 380| 136| 40| -240| -394| -428| 4| -33| -179| -246
16096| 15736| 396| 136| 68| -168| -381| -428| 16| -28| -185| -243
16048| 15760| 380| 208| 40| -184| -380| -421| 11| -38| -187| -242
16016| 15748| 372| 156| 20| -152| -383| -424| 8| -26| -181| -247
15988| 15764| 376| 140| 52| -164| -388| -429| 16| -35| -197| -230
16064| 15740| 452| 188| 68| -140| -385| -423| 9| -36| -186| -231
16060| 15780| 384| 188| 64| -192| -377| -429| 11| -36| -186| -235
16056| 15776| 364| 156| 68| -116| -394| -434| 19| -24| -185| -232
16056| 15764| 352| 172| 28| -200| -378| -419| 7| -27| -189| -231
16048| 15724| 372| 112| 40| -172| -388| -434| 10| -36| -181| -243
16060| 15760| 340| 136| 52| -164| -379| -428| -2| -30| -197| -243
i can't even show the data without a nl
I'm looking for several little windows like this:
Thanks.
python spyder
It's not at all clear to me what you're asking. Do you have a physical LED panel hooked up to your Ardiuino you want to render content to? If not, what kind of interface are you trying to render onto? Is it hardware physically attached to the Arduino, or are you trying to build a display interface that sits on the other end of a serial line (in which case the fact that there's an Arduino involved anywhere becomes superfluous to the question)? Or is it a web interface that presents your data you're trying to build? So many unanswered questions...
– Charles Duffy
Mar 8 at 22:16
1
So this is a Spyder question? You want to create displays in windows managed by that environment? If so have you written any display code in that environment, and just have a specific issue, or are you asking someone to write all the display logic for you? - This isn't a site for free programming. You need to ask something more specific if you aren't just asking to have something written for you.
– Steve
Mar 8 at 22:16
No i have not a LED panel, i want a window to display my data as if it were a panel. I have to proces the data that is why im using python (spider).
– Rafael Garza
Mar 8 at 23:43
No i'm looking for an advise like "use this_magic_function(data) and it will pop a window displaying your data"
– Rafael Garza
Mar 8 at 23:46
add a comment |
i have a litle program to read data from an arduino attached to an accelerometer. I'm getting the data, process them and finally i'm printing all data in a row in the IPTerminal. I need to see the data as a display in several separated windows and just the last number of each column. Like a display of a device.
I'm getting ths:
16012| 15764| 384| 172| 52| -136| -376| -424| 12| -30| -195| -232
16052| 15776| 380| 136| 40| -240| -394| -428| 4| -33| -179| -246
16096| 15736| 396| 136| 68| -168| -381| -428| 16| -28| -185| -243
16048| 15760| 380| 208| 40| -184| -380| -421| 11| -38| -187| -242
16016| 15748| 372| 156| 20| -152| -383| -424| 8| -26| -181| -247
15988| 15764| 376| 140| 52| -164| -388| -429| 16| -35| -197| -230
16064| 15740| 452| 188| 68| -140| -385| -423| 9| -36| -186| -231
16060| 15780| 384| 188| 64| -192| -377| -429| 11| -36| -186| -235
16056| 15776| 364| 156| 68| -116| -394| -434| 19| -24| -185| -232
16056| 15764| 352| 172| 28| -200| -378| -419| 7| -27| -189| -231
16048| 15724| 372| 112| 40| -172| -388| -434| 10| -36| -181| -243
16060| 15760| 340| 136| 52| -164| -379| -428| -2| -30| -197| -243
i can't even show the data without a nl
I'm looking for several little windows like this:
Thanks.
python spyder
i have a litle program to read data from an arduino attached to an accelerometer. I'm getting the data, process them and finally i'm printing all data in a row in the IPTerminal. I need to see the data as a display in several separated windows and just the last number of each column. Like a display of a device.
I'm getting ths:
16012| 15764| 384| 172| 52| -136| -376| -424| 12| -30| -195| -232
16052| 15776| 380| 136| 40| -240| -394| -428| 4| -33| -179| -246
16096| 15736| 396| 136| 68| -168| -381| -428| 16| -28| -185| -243
16048| 15760| 380| 208| 40| -184| -380| -421| 11| -38| -187| -242
16016| 15748| 372| 156| 20| -152| -383| -424| 8| -26| -181| -247
15988| 15764| 376| 140| 52| -164| -388| -429| 16| -35| -197| -230
16064| 15740| 452| 188| 68| -140| -385| -423| 9| -36| -186| -231
16060| 15780| 384| 188| 64| -192| -377| -429| 11| -36| -186| -235
16056| 15776| 364| 156| 68| -116| -394| -434| 19| -24| -185| -232
16056| 15764| 352| 172| 28| -200| -378| -419| 7| -27| -189| -231
16048| 15724| 372| 112| 40| -172| -388| -434| 10| -36| -181| -243
16060| 15760| 340| 136| 52| -164| -379| -428| -2| -30| -197| -243
i can't even show the data without a nl
I'm looking for several little windows like this:
Thanks.
python spyder
python spyder
edited Mar 8 at 22:15
Charles Duffy
182k28206261
182k28206261
asked Mar 8 at 22:12
Rafael GarzaRafael Garza
32
32
It's not at all clear to me what you're asking. Do you have a physical LED panel hooked up to your Ardiuino you want to render content to? If not, what kind of interface are you trying to render onto? Is it hardware physically attached to the Arduino, or are you trying to build a display interface that sits on the other end of a serial line (in which case the fact that there's an Arduino involved anywhere becomes superfluous to the question)? Or is it a web interface that presents your data you're trying to build? So many unanswered questions...
– Charles Duffy
Mar 8 at 22:16
1
So this is a Spyder question? You want to create displays in windows managed by that environment? If so have you written any display code in that environment, and just have a specific issue, or are you asking someone to write all the display logic for you? - This isn't a site for free programming. You need to ask something more specific if you aren't just asking to have something written for you.
– Steve
Mar 8 at 22:16
No i have not a LED panel, i want a window to display my data as if it were a panel. I have to proces the data that is why im using python (spider).
– Rafael Garza
Mar 8 at 23:43
No i'm looking for an advise like "use this_magic_function(data) and it will pop a window displaying your data"
– Rafael Garza
Mar 8 at 23:46
add a comment |
It's not at all clear to me what you're asking. Do you have a physical LED panel hooked up to your Ardiuino you want to render content to? If not, what kind of interface are you trying to render onto? Is it hardware physically attached to the Arduino, or are you trying to build a display interface that sits on the other end of a serial line (in which case the fact that there's an Arduino involved anywhere becomes superfluous to the question)? Or is it a web interface that presents your data you're trying to build? So many unanswered questions...
– Charles Duffy
Mar 8 at 22:16
1
So this is a Spyder question? You want to create displays in windows managed by that environment? If so have you written any display code in that environment, and just have a specific issue, or are you asking someone to write all the display logic for you? - This isn't a site for free programming. You need to ask something more specific if you aren't just asking to have something written for you.
– Steve
Mar 8 at 22:16
No i have not a LED panel, i want a window to display my data as if it were a panel. I have to proces the data that is why im using python (spider).
– Rafael Garza
Mar 8 at 23:43
No i'm looking for an advise like "use this_magic_function(data) and it will pop a window displaying your data"
– Rafael Garza
Mar 8 at 23:46
It's not at all clear to me what you're asking. Do you have a physical LED panel hooked up to your Ardiuino you want to render content to? If not, what kind of interface are you trying to render onto? Is it hardware physically attached to the Arduino, or are you trying to build a display interface that sits on the other end of a serial line (in which case the fact that there's an Arduino involved anywhere becomes superfluous to the question)? Or is it a web interface that presents your data you're trying to build? So many unanswered questions...
– Charles Duffy
Mar 8 at 22:16
It's not at all clear to me what you're asking. Do you have a physical LED panel hooked up to your Ardiuino you want to render content to? If not, what kind of interface are you trying to render onto? Is it hardware physically attached to the Arduino, or are you trying to build a display interface that sits on the other end of a serial line (in which case the fact that there's an Arduino involved anywhere becomes superfluous to the question)? Or is it a web interface that presents your data you're trying to build? So many unanswered questions...
– Charles Duffy
Mar 8 at 22:16
1
1
So this is a Spyder question? You want to create displays in windows managed by that environment? If so have you written any display code in that environment, and just have a specific issue, or are you asking someone to write all the display logic for you? - This isn't a site for free programming. You need to ask something more specific if you aren't just asking to have something written for you.
– Steve
Mar 8 at 22:16
So this is a Spyder question? You want to create displays in windows managed by that environment? If so have you written any display code in that environment, and just have a specific issue, or are you asking someone to write all the display logic for you? - This isn't a site for free programming. You need to ask something more specific if you aren't just asking to have something written for you.
– Steve
Mar 8 at 22:16
No i have not a LED panel, i want a window to display my data as if it were a panel. I have to proces the data that is why im using python (spider).
– Rafael Garza
Mar 8 at 23:43
No i have not a LED panel, i want a window to display my data as if it were a panel. I have to proces the data that is why im using python (spider).
– Rafael Garza
Mar 8 at 23:43
No i'm looking for an advise like "use this_magic_function(data) and it will pop a window displaying your data"
– Rafael Garza
Mar 8 at 23:46
No i'm looking for an advise like "use this_magic_function(data) and it will pop a window displaying your data"
– Rafael Garza
Mar 8 at 23:46
add a comment |
1 Answer
1
active
oldest
votes
One possible solution is to use the carriage return r
, which resets the cursor in the terminal to the start of the current line. For example.
import sys
import time
# Print first line
print('this will disappear', end='')
sys.stdout.flush()
time.sleep(1)
# Replace it
print('rand be replaced by this', end='')
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55071719%2fshow-data-like-a-display-in-python%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
One possible solution is to use the carriage return r
, which resets the cursor in the terminal to the start of the current line. For example.
import sys
import time
# Print first line
print('this will disappear', end='')
sys.stdout.flush()
time.sleep(1)
# Replace it
print('rand be replaced by this', end='')
add a comment |
One possible solution is to use the carriage return r
, which resets the cursor in the terminal to the start of the current line. For example.
import sys
import time
# Print first line
print('this will disappear', end='')
sys.stdout.flush()
time.sleep(1)
# Replace it
print('rand be replaced by this', end='')
add a comment |
One possible solution is to use the carriage return r
, which resets the cursor in the terminal to the start of the current line. For example.
import sys
import time
# Print first line
print('this will disappear', end='')
sys.stdout.flush()
time.sleep(1)
# Replace it
print('rand be replaced by this', end='')
One possible solution is to use the carriage return r
, which resets the cursor in the terminal to the start of the current line. For example.
import sys
import time
# Print first line
print('this will disappear', end='')
sys.stdout.flush()
time.sleep(1)
# Replace it
print('rand be replaced by this', end='')
answered Mar 9 at 0:06
robinsaxrobinsax
85919
85919
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55071719%2fshow-data-like-a-display-in-python%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It's not at all clear to me what you're asking. Do you have a physical LED panel hooked up to your Ardiuino you want to render content to? If not, what kind of interface are you trying to render onto? Is it hardware physically attached to the Arduino, or are you trying to build a display interface that sits on the other end of a serial line (in which case the fact that there's an Arduino involved anywhere becomes superfluous to the question)? Or is it a web interface that presents your data you're trying to build? So many unanswered questions...
– Charles Duffy
Mar 8 at 22:16
1
So this is a Spyder question? You want to create displays in windows managed by that environment? If so have you written any display code in that environment, and just have a specific issue, or are you asking someone to write all the display logic for you? - This isn't a site for free programming. You need to ask something more specific if you aren't just asking to have something written for you.
– Steve
Mar 8 at 22:16
No i have not a LED panel, i want a window to display my data as if it were a panel. I have to proces the data that is why im using python (spider).
– Rafael Garza
Mar 8 at 23:43
No i'm looking for an advise like "use this_magic_function(data) and it will pop a window displaying your data"
– Rafael Garza
Mar 8 at 23:46