<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Euricky on Medium]]></title>
        <description><![CDATA[Stories by Euricky on Medium]]></description>
        <link>https://medium.com/@euricky999?source=rss-4222f5240a16------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*krS6bTJJtAebXzQl</url>
            <title>Stories by Euricky on Medium</title>
            <link>https://medium.com/@euricky999?source=rss-4222f5240a16------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 00:26:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@euricky999/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[.py to .exe using both Pyinstaller and a Virtual Environment]]></title>
            <link>https://medium.com/@euricky999/py-to-exe-using-both-pyinstaller-and-a-virtual-environment-0519c4ec23bb?source=rss-4222f5240a16------2</link>
            <guid isPermaLink="false">https://medium.com/p/0519c4ec23bb</guid>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[virtual-environment]]></category>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Euricky]]></dc:creator>
            <pubDate>Wed, 26 Jun 2024 15:51:26 GMT</pubDate>
            <atom:updated>2024-06-26T15:53:00.542Z</atom:updated>
            <content:encoded><![CDATA[<h3>.py to .exe using both Pyinstaller and a Virtual Environment</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*08dGsrqodTTeJV4tqNSWIA.png" /></figure><p>Hi everyone, in this article I’m gonna explain you how to create and activate a virtual environment in <em>python3, </em>install <em>pyinstaller</em> and convert your files from <em>python</em> ones (<strong>.py</strong>) to <em>binary executable</em> ones (<strong>.exe</strong>)<em>. </em>First, make sure you have python3 installed. Note that I’m working on linux debian, but I’ll do the steps for Windows, too.</p><h3>Prepairing the file</h3><p>First, we have to create the “greeting.py”. Open your favorite code editor and copy its code. Don’t worry if you can’t run it, you’ll be able to do it after the installation.</p><pre>name = input(&quot;Insert your name&quot;)<br>print (&quot;Hello, &quot; + name + &quot;. Welcome!&quot;)<br>input(&quot;Press any key to exit&quot;)</pre><p>This code simply asks the user’s name, and shows a greeting. When the program shows the “Press any key to exit”, just press any key to exit 👍</p><h3>Python3 on Linux</h3><h4>ATTENTION: Pyinstaller parses the .py file into the system executable one. In linux, it won’t create a .exe file, only one that can be run by the system.</h4><h4>In Debian/Ubuntu based systems</h4><pre>sudo apt update<br>sudo apt install python3</pre><h4>In Fedora based systems</h4><pre>sudo dnf check-update<br>sudo dnf install python3</pre><h4>In Arch Linux based systems</h4><pre>sudo pacman -Syu<br>sudo pacman -S python</pre><h3>Create the Virtual Environment</h3><p>We are all right. We have succesfully downloaded <em>python3,</em> installed it on our computer. So, let’s start creating the Virtual Environment. <strong>From now on, I will write “VE” instead of “Virtual Environment”.</strong></p><p>To start, open your terminal and type “python3” (on Arch Linux, only type “python”). You should have something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ap3AT0dCQGhLcwpim7jeEg.jpeg" /><figcaption>You should have something similar to this</figcaption></figure><p>Now, type</p><pre>python3 -m venv myenv</pre><p>Please note that if you don’t have the <em>python3-venv</em> module installed, you’d have to install it. Simply run</p><pre>sudo apt install python3-venv # Debian/Ubuntu<br>sudo dnf install python3-venv # Fedora<br>sudo pacman -S python-venv # Arch Linux</pre><p>Done. Now that we have the VE created, we will have to activate it. Type</p><pre>source myenv/bin/activate</pre><p>Our terminal should be more or less like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2xxwdl080uHsFyXq0Kb9-w.jpeg" /><figcaption>Look that instead of myuser@mysystem it is (myenv) myuser@mysystem</figcaption></figure><p>Now, we type “pip install pyinstaller”. <em>pyinstaller</em> is used to transform python files into exe ones. Let’s type it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eqzN2Ar7fJnwdmo7bQY3Jw.jpeg" /><figcaption>Installing <em>pyinstaller</em></figcaption></figure><p>Now, we ought to parse the file, by running this into myenv (shown in the image)</p><pre>pyinstaller --onefile greeting.py</pre><p>We have it! Pyinstaller on our linux-based system and our file converted! To install python3 on Windows, just continue reading</p><h3>Python3 on Windows 10</h3><p>Go to <a href="http://www.python.org/downloads/">python installation homepage</a> and click on “Download for Windows”. Once the installer downloaded, click on it. It will appear a modal dialog, the <em>python setup wizard.</em> Just follow the steps. Python3 should get installed around 5 minutes, but it depends on the speed and requirements of your system.</p><p>Once <em>python3 </em>installed, just click on the search bar, usually located in the bottom-left of your computer. Then, type “python3” and click in the application shown. Open the CMD too. Same steps but instead of “python3”, “cmd”. Don’t worry if the name is not “cmd”. In spanish version of Windows 10, cmd is named “Símbolo del Sistema” or “System Symbol” in english. It is like a terminal, but almost no linux command works there, it has its own command list (if you’re curious, just type “help”. It will list all existing commands). Let’s create the VE, running this in the CMD (not in the python3 app)</p><pre>python3 -m venv myenv</pre><p>Done! We created it! Let’s install pyinstaller, now (in the python terminal)</p><pre>pip install pyinstaller</pre><p>Great! Now, let’s parse it, we just run</p><pre>pyinstaller --onefile greeting.py</pre><p>and our greeting.exe file has been created. Open the “file explorer”, open the folder “myenv” (wherever the folder is) and click on the “dist” folder. There is the greeting.exe file. Double-click on it and it opens, we enter our name and… That’s all! You can parse as many files as you want with this fantastic parser (you don’t have to create folders to organize the files. All the files you create are in the dist/ folder).</p><p>You have it! Thanks for reading this article, hope you have learned something new and see you in the next article!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0519c4ec23bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The tip to avoid SPAM calls]]></title>
            <link>https://medium.com/@euricky999/the-tip-to-avoid-spam-calls-1db776841454?source=rss-4222f5240a16------2</link>
            <guid isPermaLink="false">https://medium.com/p/1db776841454</guid>
            <category><![CDATA[spam]]></category>
            <category><![CDATA[call]]></category>
            <category><![CDATA[ti̇p]]></category>
            <dc:creator><![CDATA[Euricky]]></dc:creator>
            <pubDate>Wed, 15 May 2024 05:41:55 GMT</pubDate>
            <atom:updated>2024-05-15T05:41:55.500Z</atom:updated>
            <content:encoded><![CDATA[<p>All of us recieve and make calls each day. A part of them are SPAM calls. When we recieve SPAM calls, we don’t pick the call, in the first place, because the phone alerts us that it is SPAM. But, sometimes, the phone doesn’t detect if it a call is a SPAM one. So, we pick the call thinking it’d be an enterprise call (when we subscribe to an online platform, usually that enterprise calls us to ask if we’d like to recieve news, or something else). The 99% of times, it isn’t an enterprise call. It is a SPAM number that doesn’t appear in the <em>spam-numbers</em> list. When you mark the phone as SPAM, the number is automatically added into the <em>spam-numbers</em> list. That’s how our phone can “magically” detect which numbers are SPAM and which aren’t.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BasmTK-OVcowNmwp" /><figcaption>Photo by <a href="https://unsplash.com/@lenneek?utm_source=medium&amp;utm_medium=referral">Elena Koycheva</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>So, what’s the tip to avoid SPAM calls?</h3><p>There are two tips to avoid the SPAM calls in our daily lives. Both of them are 100% effective. Let’s see them:</p><ol><li>Pick up the call and be silent for about 10 seconds. The bot or who is calling, will hang down the call, and you’ll never recieve more calls from that enterprise again (I’m not really sure, but the 99% of times happens)</li><li>Pick up the call and let the operator tell you why are them calling you. Then, ask the following question: “Where did you get my data from?”. The operator only will be able to do two things: Wheter to hang up the call (the most probably thing) or tell you where did they got your data from. You can threat the enterprise you’ll call the police and report them. Surely, that’s the perfect option to choose, because they’ll never call you again. I’m sure at the 100%.</li></ol><p>Now that you know how to avoid the SPAM calls. Of course there are other methods that don’t know. Please, tell me them! I’ll be glad to hear new forms and maybe to edit my post. Hope this works!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1db776841454" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>