Technology Innovation - Blog para Programadores Esta é uma ideia que surgiu para divulgar as possíveis soluções que possam facilitar a vida aos programadores
sexta-feira, agosto 16, 2019
How to Run Your Python Scripts
How to Run Your Python Scripts
One of the most important skills you need to build as a Python developer is to be able to run Python scripts and code. This is going to be the only way for you to know if your code works as you planned. It’s even the only way of knowing if your code works at all!
This step-by-step tutorial will guide you through a series of ways to run Python scripts, depending on your environment, platform, needs, and skills as a programmer.
You’ll have the opportunity to learn how to run Python scripts by using:
The operating system command-line or terminal
The Python interactive mode
The IDE or text editor you like best
The file manager of your system, by double-clicking on the icon of your script
This way, you’ll get the knowledge and skills you’ll need to make your development cycle more productive and flexible.
What’s the Python Interpreter?
Python is an excellent programming language that allows you to be productive in a wide variety of fields.
Python is also a piece of software called an interpreter. The interpreter is the program you’ll need to run Python code and scripts. Technically, the interpreter is a layer of software that works between your program and your computer hardware to get your code running.
Depending on the Python implementation you use, the interpreter can be:
A program written in C, like CPython, which is the core implementation of the language
A program written in Java, like Jython
A program written in Python itself, like PyPy
A program implemented in .NET, like IronPython
Whatever form the interpreter takes, the code you write will always be run by this program. Therefore, the first condition to be able to run Python scripts is to have the interpreter correctly installed on your system.
The interpreter is able to run Python code in two different ways:
As a script or module
As a piece of code typed into an interactive session
How to Run Python Code Interactively
A widely used way to run Python code is through an interactive session. To start a Python interactive session, just open a command-line or terminal and then type in python, or python3 depending on your Python installation, and then hit Enter.
Source: https://realpython.com/run-python-scripts/
quinta-feira, julho 18, 2019
Where to get a free linux server to test commands (another solution)
If you look for a free linux server to test commands here is a good solution:
Free Unix Server to test
quarta-feira, dezembro 26, 2018
sábado, outubro 27, 2018
How to get a Linux server to test for free the Linux commands
How to get a Linux server to test for free the Linux commands
In this site http://sdf.org iI have created an account and I recommend it for learning about Linux commands!
You just need to create an account and then install a ssh client software (you can get for example putty here https://www.putty.org/) and use the information they you have received in the registration email.
Its easy :)
In this site http://sdf.org iI have created an account and I recommend it for learning about Linux commands!
You just need to create an account and then install a ssh client software (you can get for example putty here https://www.putty.org/) and use the information they you have received in the registration email.
Its easy :)
Basics Linux courses & videos
Video 1
Video 2
Video 3 in Portuguese from Brasil
Video 4 about filesystem
terça-feira, junho 12, 2018
quinta-feira, novembro 30, 2017
Problem with the Principal and Secondary monitor in Windows 10
If you have any kind of problem with the Principal and Secondary monitor in Windows 10 try this:
- Any time you press Windows + P it will switch between one of the options below.
- If you try to press 1 time and wait , even if you do not see your screen, it will change for the next option
- Repeat this as many times as you need until the option selected became "PC Screen Only" and voila. The Black Screen will disapear.
- Any time you press Windows + P it will switch between one of the options below.
- If you try to press 1 time and wait , even if you do not see your screen, it will change for the next option
- Repeat this as many times as you need until the option selected became "PC Screen Only" and voila. The Black Screen will disapear.
quinta-feira, outubro 19, 2017
Xpath regular expressions
Some examples for xpath regular expressions:
https://www.webperformance.com/load-testing-tools/blog/real-browser-manual/building-a-testcase/how-locate-element-the-page/xpath-locator-examples/
domingo, outubro 08, 2017
How Do I add a favicon to my Web page in XaraWebdesign
How Do I add a favicon to my Web page in XaraWebdesign
https://support.xara.com/index.php?/Knowledgebase/Article/View/564/152/how-do-i-add-a-favicon-to-my-web-page
https://support.xara.com/index.php?/Knowledgebase/Article/View/564/152/how-do-i-add-a-favicon-to-my-web-page
Xara Web Designer - How to put Text on a Curve
Xara Web Designer - How to put Text on a Curve
https://www.youtube.com/watch?v=QnkerFAPdEQ
https://www.youtube.com/watch?v=QnkerFAPdEQ
sábado, outubro 07, 2017
How to add publicity from Google to your webpages
You can learn here:
https://www.google.com/adsense/start/how-it-works/#/
To create a new account here:
https://www.google.com/adsense/start/#/?modal_active=none
To see a video here it is:
<iframe width="560" height="315" src="https://www.youtube.com/embed/KYA1-TF_6FY" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
quarta-feira, outubro 04, 2017
How to get UPNP calls in a Wireshark session
How to get UPNP calls in a Wireshark session
https://www.youtube.com/watch?v=0dg7bjWSx98
https://www.youtube.com/watch?v=0dg7bjWSx98
terça-feira, setembro 19, 2017
How to get Windows Movie Maker for Free comming from Microsoft
I'm just trying right now to download but the link seams nice and ok.
https://www.winmoviemaker.com/
Subscrever:
Mensagens (Atom)