Why the command of python is not executed in the terminal - error-handling

Hi Guys im trying to copy the code from the video even though i do everything as mentioned in the video but still error, can you please tell me where i made a mistake?this is how she made it.

Try using your terminal inside of vscode. Right click on the file you want to open and select "Open in integrated Terminal".

Related

React native chrome debugger not showing that console.log and default logs

i recently upgraded from RN 0.61.5 to 0.62.2.
However, chrome debugger won't work from some point on. This means that the debugger and simulator are well connected, but I don't see any of the basic logs that I use console.log, or that first pops up logs.
So, i try some solutions.
first, I reset the project. and run react-native init <my-project>. and copy & paste past source code(Except for system files or node_modules) that src, .gitignore etc
but, this situations keep goes on now.
second, git revert when it worked well before upgrade.
but this is same bad result like above. everything is good. project's Run or Build ยทยทยท.
ONLY NOT WORKING debugger..
what should i do ?
Thank you in advance for your help.
Please look this picture
SELF ANSWER
One of the Babel packages I'm using, the Babel-plugin-transform-remove-console, had eliminated all the logs even in development mode.
If you remove this from the project, it works normally.

Successfully setting up React Native in Visual Studio Code for Mac

I'm having a real difficult time setting up React Native on Visual Studio Code on my mac. I have read multiple tutorials and watched youtube and Lynda videos on how to do it - follow the steps exactly as they are presented, but still it doesn't completely works. It seems like every other terminal command I run gets an error.
I have managed to get it running on my physical iPhone and in the Android emulator. But when I try get it up and running on my iOS simulator using the appropriate terminal command, it won't work. The simulator opens, but then the terminal seems to get stuck loading and the app isn't showing in the simulator. There's no error, but it doesn't run.
Another thing is that I don't seem to find the index.ios and index.android files respectively - just a single App.js file.
I guess what I'm asking for is a good thorough guid on setting it up. Most guides I come across seem to leave out or under-explain certain steps, assuming that you already understand certain concepts. Please post a link if you know any super guides :) Thanks!

IntelliJ IDEA Using External Tools/Macros to Execute "ionic run" Using a Keymap

I'm getting tired of opening and closing the terminal to run small things like ionic run that need to be executed fairly frequently early on in development.
I initially tried a macro, but they don't register double clicking ALT, and opening a new terminal, and eventually closing the terminal. It only registers typing cd mobile, and ionic run. So I found a post on External Tools, but I don't understand how to setup or use them even using the docs. Is there a way to simply:
Open a terminal
Type: cd mobile
Type: ionic run
Close the terminal
that I can keymap?
Or types into the terminal/executes a script file I can drop into a folder and keymap so the terminal doesn't have to open and close.

Add Button On Safari And Execute Shell Command On button Click

I want to run a shell command from Button on Safari Browser. I have successfully added the button on safari browser using Safari Extension Program. Using that button I'm able to open a website in new tab. basically I want to use that button to run a tool on mac.
I have developed an mac application and want to run this application from the button on that safari browser. For that I need to run a shell command from the button.
Please help me I'm new in mac development and safari extension. My first question is: Is it possible to run a application on mac from the button on safari browser ?
If its possible am I join in right direction to execute that application from shell command which is run on button click ?
Is there any other way to do the same ?
Please help me . Thanks in advance.
You can create a server in node.js script and insert the code in it to run the command( to run that tool). Now call this url from button that you have added in safari browser.
Not very sure but may be use full for you.

Flash file as OSX screensaver using xcode

I'm trying to create a screensaver from an SWF file for mac.
Unfortunately I'm not sure how to get started. I've looked on the internet for hints on how to do this but with no success.
Does anyone know how I can get an SWF file as screensaver with xcode, or possibly another option?
Get started by:
1) Get a basic screen saver working from the sample code or tutorial like this:
http://cocoadevcentral.com/articles/000088.php
2) Get your SWF file going in a basic Mac app ( Maybe use a web view?).
3) Merge the two together.