Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Open URL via proxy
Post: RE: Open URL via proxy

please disregard and delete the topic.
perseus142 Web Scraping & Web Development 2 6,763 Jun-17-2020, 11:02 AM
    Thread: Open URL via proxy
Post: Open URL via proxy

Hello team, I am newbie and I am looking for help. I would like to access a webpage and retrieve data - sound easy, right ? However I have to use proxy. Here I am stuck :( I have already tried some g...
perseus142 Web Scraping & Web Development 2 6,763 Jun-02-2020, 04:52 PM
    Thread: urllib.request.urlopen and proxy
Post: urllib.request.urlopen and proxy

Hello guys, I am learning python. Now I am at stage to use urllib.request.urlopen. The code from py4e: import urllib.request, urllib.parse, urllib.error fhand = urllib.request.urlopen('http://data.p...
perseus142 Networking 0 1,946 May-29-2020, 08:46 AM
    Thread: int() problem when extracting part of decimal
Post: RE: int() problem when extracting part of decimal

(Mar-23-2020, 05:51 PM)buran Wrote: >>> 11.20-11 0.1999999999999993please, read https://docs.python.org/3/tutorial/floatingpoint.html https://en.wikipedia.org/wiki/Floating-point_arithmeti...
perseus142 General Coding Help 4 2,483 Mar-23-2020, 06:24 PM
    Thread: int() problem when extracting part of decimal
Post: RE: int() problem when extracting part of decimal

thank you. Actually I have been using http://www.codeskulptor.org/ which runs python 2.x and in that way it gives you 20.0
perseus142 General Coding Help 4 2,483 Mar-23-2020, 05:56 PM
    Thread: int() problem when extracting part of decimal
Post: int() problem when extracting part of decimal

Hello guys, could anyone explain this please ? def convert(val): dollars = int(val) #it returns 11 Ok cents = 100*(val - dollars) #it prints 20.0 Ok #to get whole numbe...
perseus142 General Coding Help 4 2,483 Mar-23-2020, 05:44 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020