Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,938
» Latest member: jamessnorman2
» Forum threads: 38,721
» Forum posts: 175,507

Full Statistics

Online Users
There are currently 52 online users.
» 0 Member(s) | 44 Guest(s)
Bing, Google, AOL, AOL, Facebook

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,211
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 670
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,571
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,004
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,512
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,349
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,548
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,501
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,653
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,215

 
  dividing large numbers
Posted by: charlemayn - Feb-07-2018, 12:56 AM - Forum: General Coding Help - Replies (7)

import decimal
d = decimal.Decimal
bignum = d(789723589032748930274982037498230742890347283904728390472389047230984)
a = bignum/(bignum-1) #should..... More

Print this item

  function with radius as a parameter that returns area of a circle
Posted by: taydeal20 - Feb-06-2018, 11:34 PM - Forum: Homework - Replies (4)

Instructions: Write a function named circle_area that accepts the radius of a circle as a parameter (as a number) and returns the area of a circle wit..... More

Print this item

  Selenium chromedriver and click action
Posted by: Gilles95 - Feb-06-2018, 10:07 PM - Forum: Web Scraping & Web Development - Replies (4)

Hello,

I am new to this and I am trying to click on a button with selenium and chromedriver, the button element is as below:

<button class="pagi..... More

Print this item

  I can't multiply within my code
Posted by: TypicalBrummie - Feb-06-2018, 07:50 PM - Forum: Homework - Replies (1)

We were given a task at school which means we have to code a program that calculates the highest possible wage for a worker at a toy company. This pro..... More

Print this item

  Unable to get my code to output
Posted by: fadi - Feb-06-2018, 07:49 PM - Forum: General Coding Help - Replies (3)

Hello

I need help figuring out why the code is not outputting anything (I dont get any error) .
Any suggestions

[python]import math
import random
..... More

Print this item

  Time event
Posted by: xxl1087 - Feb-06-2018, 07:33 PM - Forum: General Coding Help - Replies (5)

I looked everywhere and it look like Chinese for me..
I can't figure how to get a simple time event as following:
if time is between x and y
this h..... More

Print this item

  search file extention in sub directories
Posted by: mr_byte31 - Feb-06-2018, 07:06 PM - Forum: General Coding Help - Replies (1)

Hi All,

I am making a script to find a file with certain extension.
here is my code
[python]
import glob
searchCriteria = myDir + r'\**\*.csv'..... More

Print this item

  Global Variable issue
Posted by: AnOrdinaryFolk - Feb-06-2018, 07:06 PM - Forum: Homework - Replies (1)

Here i have a fairly simple code where i tried to create a function that checks if the password entered by the user is valid.
[python]def val():
..... More

Print this item

  Multiple python versions on MacOS
Posted by: boring_accountant - Feb-06-2018, 06:26 PM - Forum: Data Science - Replies (4)

Hello,

I am running both Python 2.7.10 and Python 3.5 on MacOS 10.12.6. This was previously not an issue as I mainly used the python 2.7 installati..... More

Print this item

  How to define two functions run simultaneously within a function?
Posted by: Alberto - Feb-06-2018, 05:35 PM - Forum: General Coding Help - Replies (4)

Dear Python Users,

I have the code below. The problem is that two functions are interdependent and should be run simultaneously (line - 8 and 11). Ho..... More

Print this item

  PyPI - Error when assigning roles
Posted by: marmadukeandbob - Feb-06-2018, 05:26 PM - Forum: General Coding Help - No Replies

I want to assign a role to another PyPI account for my module. When I click on the 'roles' link, a popup comes up in chrome asking for my username and..... More

Print this item

  tkinter how to use whitespace with grid
Posted by: kiyoshi7 - Feb-06-2018, 05:04 PM - Forum: GUI - Replies (9)

Hi, I'm trying to write a gui application using tkinter and matplotlib. I am having trouble with the layout. I'm leaving all the buttons in one frame ..... More

Print this item

  SQL varbinary data type retrieval in python
Posted by: ashtona - Feb-06-2018, 04:49 PM - Forum: General Coding Help - Replies (1)

I'm working on python scripts to store and retrieve some videos and images from an SQL database, I stored a jpg file on the server as a varbinary type..... More

Print this item

  Highlighting in IDLE
Posted by: Stumpy_L - Feb-06-2018, 04:32 PM - Forum: General Coding Help - Replies (9)

I'm new to Python and have just started using it but I have seen in tutorials where certain lines and key words within the code are highlighted with d..... More

Print this item

  An Error in Requests Module
Posted by: pratheep - Feb-06-2018, 04:19 PM - Forum: Web Scraping & Web Development - Replies (3)

I am getting an error in requests module while I try to run the program...

THIS IS MY INPUT
[python]import requests
from bs4 import BeautifulSoup..... More

Print this item

  Update records in table
Posted by: liee - Feb-06-2018, 03:52 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,
I tried to fund a solution to this problem : I havte tables and would increment counter (reservedplaces) in my application:
Here is the code.
..... More

Print this item

  scientific numbers
Posted by: metalray - Feb-06-2018, 03:17 PM - Forum: Homework - Replies (1)

Dear Python Experts,
I got an array (called tpr) that has scientific numbers like 0.00000000e+00 9.37207123e-04 2.99906279e-03 3.28022493e-03
Is the..... More

Print this item

  ln2 value is _math.c (cpython)
Posted by: matanya_stroh - Feb-06-2018, 02:44 PM - Forum: General Coding Help - Replies (6)

Hi. I'm not so sure where to ask it, so I'm trying here.
m looking at the source code of ..... More

Print this item

  How to make interations untill a certain value of equation is reached?
Posted by: Alberto - Feb-06-2018, 02:11 PM - Forum: Data Science - Replies (3)

I need to construct a loop (simulation) that will iterate a certain number of times and display a value of warrant once the new firm value is close to..... More

Print this item

  Lottery System on my mobile website
Posted by: nooxm123 - Feb-06-2018, 10:03 AM - Forum: General Coding Help - Replies (1)

Hello Everyone, I have a problem in creating a lottery system for my mobile website (link removed). My website is about mobile specifications and pric..... More

Print this item

  for loop and if translate from R in Python
Posted by: Joey21 - Feb-06-2018, 09:53 AM - Forum: Homework - Replies (3)

Hi everyone,

i have a new work in data science.
My problem is that i always code in R and in python i have no good experience

1)
my code in..... More

Print this item

  Django-admin.exe
Posted by: HenryJ - Feb-06-2018, 07:41 AM - Forum: General Coding Help - Replies (1)

Hi guys,

I am using Win10 OS. I installed Django framework using cmd. After installation completed, I got the "Django-admin" in the folder python\Scr..... More

Print this item

  Looking for advice about "registry" implementation
Posted by: voltron - Feb-06-2018, 07:26 AM - Forum: General Coding Help - No Replies

I'm working on a plugin for one program and need to implement sort of "registry". In this registry I want to store objects, created by my plugin and a..... More

Print this item

  dictionary
Posted by: garikhgh0 - Feb-06-2018, 05:43 AM - Forum: General Coding Help - Replies (3)

Hello. I want to figure out if there are anther ways to create such kind of dictionary (user input):

d ={'Jane': [20, 1.7],
'Jack': [15, 1.8]..... More

Print this item

  differences between py2 and py3
Posted by: Skaperen - Feb-06-2018, 05:02 AM - Forum: News and Discussions - Replies (4)

this code, using new division in both Python2 and Python3, shows there are still differences.[python]from __future__ import division,print_function
e..... More

Print this item

  problem with refresh UI in tkinter app
Posted by: Philbot - Feb-06-2018, 02:55 AM - Forum: GUI - Replies (5)

Hi
I am not sure I am approaching this the best way but I require a 2 page UI one that the users can use to select buttons whos names are controlled b..... More

Print this item

  why is this try.....except statement not working?
Posted by: HenryJ - Feb-06-2018, 02:45 AM - Forum: General Coding Help - Replies (3)

Hi all,
I received an exception
[python]UnicodeEncodeError: 'UCS-2' codec can't encode characters in position 34-34: Non-BMP character not supporte..... More

Print this item

  Need help with SQLite data input
Posted by: donmerch - Feb-06-2018, 02:26 AM - Forum: General Coding Help - Replies (4)

My code checks if an account number exists and if so just prints a statement saying so, else if not then it asks for a name and then stores the new ac..... More

Print this item

  Using python requests module and BS4 to login on an Wordpress based website
Posted by: apollo - Feb-06-2018, 12:38 AM - Forum: Web Scraping & Web Development - Replies (1)

dear community,

I'm trying to login to a Wordpress based website using python's request module and beautifulsoup4.
It seems like the code fails to ..... More

Print this item

  I just switched to Debian and already miss Corana :(
Posted by: league55 - Feb-06-2018, 12:30 AM - Forum: Bar - Replies (6)

I was never fooled by the marketing shtick of Microsoft reps calling Cortana "she," because, well, Cortana is a sexless AI and that's that. But I alre..... More

Print this item

  Network scripting
Posted by: bsoth - Feb-05-2018, 10:23 PM - Forum: General Coding Help - Replies (1)

Hi- Im trying to find a way to create a script that can go out to all of my Devices, log in and collect some output to a file that I can dump into exc..... More

Print this item

  ValueError-trying to split a line
Posted by: samu3l - Feb-05-2018, 09:48 PM - Forum: Homework - Replies (7)

Hi,

I'm trying to split a line to use some numbers somwhere else, but i dont understand what is causing this error. I'm still a newbie in python s..... More

Print this item

  geometry primitives
Posted by: Staglaitor - Feb-05-2018, 08:00 PM - Forum: Game Development - Replies (2)

hi
It is necessary for me to find module or something that let me program primitive geometry right on smtartphone
Dots, line, circle, rectangle, etc..... More

Print this item

  Writing a function that accepts two integer parameters (lines and cheers)
Posted by: taydeal20 - Feb-05-2018, 07:44 PM - Forum: Homework - Replies (1)

I have to create a function named "cheerleader" that produces the following output using parameters:

cheerleader(4, 3)
output Go Team Go Team ..... More

Print this item

  question on pandas datareader
Posted by: kit12_31 - Feb-05-2018, 07:35 PM - Forum: Data Science - Replies (3)

Hi guys,

ive started learning python for data analysis purpose.
so ive downloaded activestate (activepython 3.5.3 with a matplotlib/pandas... and ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576455
  Tutorial Requ... 498281
  Web Scraping ... 440353
  Newbie with P... 384233
  New Users Int... 367303
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
jamessnorman2 Today
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19

User Panel Messages

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