Posts by santosmarco_ • 731 points
9 posts
-
0
votes2
answers1261
viewsQ: Python URI Online Judge (1021): what’s wrong with my code?
Enunciation: Read a floating point value to two decimal places. This value represents a monetary value. Next, calculate the smallest number of possible banknotes and coins into which the value can…
-
0
votes1
answer325
viewsQ: Module requests is imported into IDLE, but not into Thonny (the IDE I use)
I installed the module requests by Terminal with sudo pip3 install requests (I am using Mac) and managed to import it through the Interactive shell without problems in IDLE. But when I try to import…
-
7
votes1
answer182
viewsQ: Python: is not turning my regex’s Character class into negative
I’m learning Regexes by the Automate the Boring Stuff w/ Python. In one of the titles of chapter 7, the book teaches about character classes. So far quiet. I have created Character classes for…
-
47
votes8
answers4052
viewsQ: How to generate 200,000 primes as fast as possible in Python?
Heed: I’m not looking for ready-made pieces of code. I just want someone to help me think about in some way to generate these 200,000 primes as efficiently as possible, in Python. I’m working on it…
-
0
votes4
answers7060
viewsQ: I cannot import any Python module
I want to import the module requests from Python to a program I’m doing, but it doesn’t stop giving the following error, so I run the program: ModuleNotFoundError: No module named 'requests' I have…
-
1
votes0
answers151
viewsQ: How to resolve Fat Jar Export: Could not find class-path entry
I’m having serious problems exporting a program made in Eclipse and I’m starting to hate myself for trying to be organized. I imported two third-party libraries (Javamail and iText 5) into my…
-
1
votes0
answers1284
viewsQ: How do I import third-party libraries for an Eclipse project?
I’m trying to use two third-party libraries for a Java project in Eclipse: iText (to generate a PDF) and Javamail (to send this PDF by email), but I’m not able to or import them... I’ve tried…
-
0
votes3
answers103
viewsQ: Why is this piece of code looping endlessly?
All variables are declared and Eclipse is pointing out no error in the entire code. What I need to do: The user can only choose between 1, 2 and 3. Any other input, including text (example: test)…
-
6
votes1
answer5630
viewsQ: How to generate an executable of a program made in Eclipse?
I did a program for the company in which I work entirely on JOptionPane, just so the program would work just by opening real system windows (I thought it would be easier to run officially after the…