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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,286
» Latest member: xdimbah
» Forum threads: 38,794
» Forum posts: 175,877

Full Statistics

Online Users
There are currently 35 online users.
» 2 Member(s) | 28 Guest(s)
Bing, Google, Apple, AOL, lovedeep, deanhystad

Latest Threads
LewisByday
Forum: General Coding Help
Last Post: IsmaelSlalk
49 minutes ago
» Replies: 0
» Views: 3
LhanePulse
Forum: General Coding Help
Last Post: Gichardaxora
4 hours ago
» Replies: 0
» Views: 16
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 119
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 50
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,483
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 143
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 63
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,071
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,300
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 368

 
  Coding problem scraping Goodreads reviews with GoodReadsScraper
Posted by: ledgreve - Jan-06-2020, 08:28 AM - Forum: Web Scraping & Web Development - Replies (3)

Hello,

I came across OmarEinea's GoodReadsScraper on Github (https://github.com/OmarEinea/GoodReadsScraper) and would like to use his scripts to sc..... More

Print this item

  Want to print each iteration of factorial program
Posted by: sbabu - Jan-06-2020, 05:52 AM - Forum: General Coding Help - Replies (10)

[python]def _factorial_sample_(n):
if n == 0 or n == 1:
return 1
else:
result = n * _factorial_sample_(n-1)
print..... More

Print this item

  How to show newly added column to csv
Posted by: johnson54937 - Jan-06-2020, 12:20 AM - Forum: General Coding Help - Replies (3)

I am trying to make a 'inventory' type app...
i have it working like i want it to work, adding name of item and serial number of item, but i am tryin..... More

Print this item

  inserting something into probability density
Posted by: SchroedingersLion - Jan-05-2020, 11:15 PM - Forum: Data Science - Replies (1)

Hi guys,


I need to insert a vector X into the multivariate normal distribution (..... More

Print this item

  Pandas copying wrong values
Posted by: vmarg - Jan-05-2020, 10:52 PM - Forum: Data Science - Replies (2)

Can someone explain me this?
Python 3.7
pandas 0.25.3

[python]
import pandas as pd

foo = pd.concat([pd.DataFrame({'foo': [10,20]}), pd.DataFr..... More

Print this item

  Is There a Better Way to Truncate Variables?
Posted by: joew - Jan-05-2020, 10:32 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

Newbie here, and I want to drop the decimal values on a calculated number in my application then multiply it by an integer and end ..... More

Print this item

  Error clicking button with selenium
Posted by: julio2000 - Jan-05-2020, 09:34 PM - Forum: Web Scraping & Web Development - Replies (4)

time.sleep(5)
driver.find_element_by_css_selector('.js-checkout-step-submit').click()
time.sleep(0.4)
This above is just a pie..... More

Print this item

  Python opening a new command window
Posted by: m_lokeshkumar - Jan-05-2020, 08:12 PM - Forum: General Coding Help - Replies (1)

Hi All,

I am facing a weird issue in windows python setup. When i enter python in cmd window, a new interactive shell opens.

When i delete the p..... More

Print this item

  3Dbuzz is shutting down, and it's resources are now free
Posted by: nilamo - Jan-05-2020, 08:03 PM - Forum: Bar - Replies (3)

https://www.3dbuzz.com/

Lots of tutorials on Maya, Houdini, 3ds Max, general programming (c#, c++, and I think I saw f#), general drawing tutorials..... More

Print this item

  Downloading And Saving Zip Files To A Particular Path Folder
Posted by: eddywinch82 - Jan-05-2020, 07:15 PM - Forum: General Coding Help - Replies (2)

Hi there,

How would I alter the following Code, so that when the .Zip Files are downloading, they are saved to a Particular Specified Folder on my Co..... More

Print this item

  LiveStream-TVPlayer[PyQt5]
Posted by: Axel_Erfurt - Jan-05-2020, 06:58 PM - Forum: Code sharing - No Replies

Live Stream TV Player

Play and record (on Linux with streamlink) TV Streams (m3u8)
..... More

Print this item

  Random module, coin flipping
Posted by: gus17 - Jan-05-2020, 06:58 PM - Forum: Homework - Replies (3)

Hey guys,

this exercise is confusing me: The idea here is to create a program, which simulates coin flips by randomly selecting 0 (Tails) or 1 (Hea..... More

Print this item

  Assigning a Variable Help
Posted by: MC2020 - Jan-05-2020, 06:53 PM - Forum: General Coding Help - Replies (5)

Hi - I'm new to Python so this is probably a dumb question

Lets say I have variables months of the year that looks like this
month[temperature,day..... More

Print this item

  How to make an 'uncrackable' executable?
Posted by: JackMack118 - Jan-05-2020, 05:36 PM - Forum: General Coding Help - Replies (9)

Hello everyone, hope all is well.

I have a question regarding exporting an executable of my Python program. I want to pack my script, which is comp..... More

Print this item

  How to make a simple automation process of login using "if condition"
Posted by: soimba - Jan-05-2020, 04:22 PM - Forum: General Coding Help - Replies (3)

Hi all,

I am new here, and I am beginner level on coding, so if I appear ignorant, please bear with me.

So here is the scenario, I play a game..... More

Print this item

  Can i prevent the random generator to generate already used numbers?
Posted by: MauserMan - Jan-05-2020, 04:08 PM - Forum: General Coding Help - Replies (3)

Hi all!

I'm new to Python and played around a bit with the random module a little as a part of my learning process.
I wanted to do i lottery game ..... More

Print this item

  getting trailing zeros with 1 during pandas read
Posted by: fullstop - Jan-05-2020, 03:35 PM - Forum: Data Science - Replies (1)

I am reading a simple csv file with multiple columns.
One of my column have 2 different values, one is 1.444 and other is 1.908
When I am reading th..... More

Print this item

  Return size of binary tree
Posted by: Daniel94 - Jan-05-2020, 12:52 PM - Forum: Homework - Replies (1)

So I am an absolute beginner beginner with python.
I want to write a function that returns the size of a binary tree.
Here's my attempt that don't..... More

Print this item

  Keeps showing prevuios inputs
Posted by: _ShevaKadu - Jan-05-2020, 11:59 AM - Forum: GUI - Replies (5)

python Type Wall
Hello!
[b][i][size=medium]I'm making a Python module to get customised pop-ups.[/..... More

Print this item

  how can i handle "expected a character " type error , when I input no character
Posted by: vivekagrey - Jan-05-2020, 10:40 AM - Forum: General Coding Help - Replies (2)

key = input("enter key")
try:
    key = ord(key)
except ValueError:
    print("wrong key pressed")
[error]
enter key
Tra..... More

Print this item

  CSV gives me blank row on PC, but not a Mac
Posted by: bazcurtis - Jan-05-2020, 10:24 AM - Forum: General Coding Help - Replies (2)

I am using the following code write a CSV file from a List containing Dictionaries

When I run it on my Mac it is fine, but when I run it on a PC I ..... More

Print this item

  list from defined function
Posted by: Coastal - Jan-05-2020, 10:02 AM - Forum: General Coding Help - Replies (3)

Hey I'm trying to learn how to define a function.
As an example I made a "only want even number from a range" function

def even_numbers_only(a, b..... More

Print this item

  compareFriends
Posted by: ben - Jan-05-2020, 09:29 AM - Forum: Homework - Replies (8)

How can I approach with the solution to the below question?

A String array “F1” has got names of Facebook users and their friend association.
For ..... More

Print this item

  How to add audio to Tensorflow Object Detection API?
Posted by: kitkatz - Jan-05-2020, 05:27 AM - Forum: General Coding Help - Replies (1)

I'm trying to add audio output for the Tensorflow object detection API on the raspberry pi. For example, if it detects a person from the camera, I'm t..... More

Print this item

  English Grammar
Posted by: ichabod801 - Jan-05-2020, 04:14 AM - Forum: Code sharing - Replies (3)

One thing I found I needed when text processing was a lot of functions for handling English grammar. Correct plurals was one thing. I might have somet..... More

Print this item

  Django problem with files
Posted by: menator01 - Jan-05-2020, 03:25 AM - Forum: Web Scraping & Web Development - Replies (1)

When working on the test server I am able to delete old user profile images when a new one is uploaded, however when attempting this on a staging serv..... More

Print this item

  How to include Variable in File Path
Posted by: penahuse - Jan-05-2020, 12:43 AM - Forum: General Coding Help - Replies (3)

hi guys!

Im struggling for play a sound with this command.

I need XXX become the current_sound value.

Can you help me? how you can see im ver..... More

Print this item

  get "Birthdate" from File inside a Zipfile
Posted by: lastyle - Jan-05-2020, 12:34 AM - Forum: Data Science - No Replies

I am using the zipfile Module to extract and detect the Birthdate of a file inside a Zip, but as soon as i extract the file to get the Date from the F..... More

Print this item

  How many Python versions do I need?
Posted by: kenatsun - Jan-04-2020, 11:45 PM - Forum: General Coding Help - Replies (3)

I'm about to upgrade a Window machine from Win 7 to Win 10, with a clean install. So I will have to reinstall all my apps, including Python.

Cur..... More

Print this item

  NEED HELP WITH OU QUIZ
Posted by: Tskrets - Jan-04-2020, 10:41 PM - Forum: Homework - Replies (4)

hi guys,

i am stuck on a few questions from my Open Uni Coding for data analysis (python).

[img]https://www.open.edu/openlearn/ocw/mod/quiz/review.p..... More

Print this item

  plotting data without plt.clear()
Posted by: omar_mohsen - Jan-04-2020, 08:30 PM - Forum: General Coding Help - No Replies

I am trying to use a matplotlib module in order to draw data coming from notepad the problem is that I must clear the data every time I parse data in ..... More

Print this item

  Saving links as text
Posted by: hessu - Jan-04-2020, 06:19 PM - Forum: Web Scraping & Web Development - Replies (1)

[python]
from urllib.request import urlopen
from bs4 import BeautifulSoup
import re

pages=set()
def getLinks(pageUrl):
global pages
h..... More

Print this item

  send repeated messages with apscheduler
Posted by: pylab - Jan-04-2020, 05:08 PM - Forum: General Coding Help - Replies (1)

Hey there,

I've been working on my code, a bit, and i want to make it work more efficient.

I want to make a program that sends a random photo from ..... More

Print this item

  Please help me understand how to use global variables
Posted by: joew - Jan-04-2020, 05:01 PM - Forum: General Coding Help - Replies (6)

I'm new to Python as of 1 week ago and I'm trying to write a simple stock market backtester. In my program, I want to change a global variable called ..... More

Print this item

  Can't we add 1 and True to set ?
Posted by: Prakash - Jan-04-2020, 02:29 PM - Forum: General Coding Help - Replies (1)

result=set()
result.add(1)
result.add(True)
result.add('Science')
print(result)
Result returned:
{1, 'P'}

I am adding ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LewisByday 49 minutes ago IsmaelSlalk IsmaelSlalk General Codin...
  LhanePulse 4 hours ago Gichardaxora Gichardaxora General Codin...
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
Most views
  The best Prog... 579259
  Tutorial Requ... 512109
  Web Scraping ... 442186
  Newbie with P... 386295
  New Users Int... 379625
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
xdimbah Today
IsmaelSlalk Today
Stephenchers Today
alexferrina Yesterday
MattCarters 11-22

User Panel Messages

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