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,281
» Latest member: drakhsin
» Forum threads: 38,792
» Forum posts: 175,870

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 28 Guest(s)
Apple, Bing, Google, Facebook Dev

Latest Threads
data fetching for indian ...
Forum: General Coding Help
Last Post: drakhsin
5 hours ago
» Replies: 0
» Views: 28
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Yesterday, 08:30 PM
» Replies: 0
» Views: 37
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:15 AM
» Replies: 4
» Views: 1,467
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 122
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 48
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,039
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,291
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 339
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 176
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 241

 
  How to rebuild this code?
Posted by: MRT97 - Apr-20-2020, 04:48 AM - Forum: Web Scraping & Web Development - Replies (1)

hi all, i'm trying to build a website traffic bot for my website. this is based from another another one youtube views bot. now i want to rebuild it...... More

Print this item

  Please tell me what i did wrong
Posted by: gabejohnsonny21 - Apr-20-2020, 04:09 AM - Forum: Homework - Replies (3)

[python]

sample_list = [8, 2, 3, 0, 7]
print("Sample list: %s " % sample_list)

def sum_list(lists):
for x in lists:
total = total..... More

Print this item

  How to retreive the grid location of an Entry widget
Posted by: kenwatts275 - Apr-20-2020, 03:12 AM - Forum: GUI - Replies (7)

Hello everyone,
I am trying to get the grid position of an Entry widget on focus out.
The code below always seems to return row 4 column 1 no matter..... More

Print this item

  Checking Hyperthreding status on python
Posted by: Fletcher - Apr-19-2020, 11:40 PM - Forum: General Coding Help - No Replies

HI all,

I'm new here Just joined so first off all, nice to meet you all!
My name is Ben.

I started Python coding about 2 weeks ago using Code academ..... More

Print this item

  what happened here
Posted by: Ricardo14 - Apr-19-2020, 11:38 PM - Forum: General Coding Help - Replies (2)

Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license()" for m..... More

Print this item

  error bars with dataframe and pandas
Posted by: Hucky - Apr-19-2020, 10:18 PM - Forum: Data Science - Replies (4)

Hello everyone,

hope someone can give me an advice.

I have 3 dataframes with different values, each with time (x-values) and y values.
I calcul..... More

Print this item

  else condition not called when if condition is false
Posted by: Sandz1286 - Apr-19-2020, 07:47 PM - Forum: General Coding Help - Replies (10)

i was creating a simple guessing game where in the guess is matched to the original string and completes the word.
Encountering 2 errors.
1. When ..... More

Print this item

  History file variable
Posted by: keyfear - Apr-19-2020, 07:11 PM - Forum: News and Discussions - Replies (4)

I have a lot of environment variables listed in Python man page, but it lacks variable for history file path. I'd like to use something like PYTHONHIS..... More

Print this item

  Print returns empty but no errors
Posted by: tester_V - Apr-19-2020, 06:26 PM - Forum: General Coding Help - Replies (5)

I'mproccesing a text file, searching for lines and printing those to an OutPut file.
Code has 4 'IF' blocks,
If I call "print" after "IF block" 3 i..... More

Print this item

  Help! Formatting and Writing to a File
Posted by: bwdu - Apr-19-2020, 06:18 PM - Forum: General Coding Help - Replies (2)

Hi, everyone! This is my code below;

[python]file = open("filtereddata.txt","w")

b = [list(range(x,x+10)) for x in range(0, 100, 10)]

#headin..... More

Print this item

  ValueError: Found array with 0 samples
Posted by: marcellam - Apr-19-2020, 06:12 PM - Forum: Data Science - Replies (1)

Hey guys! First of all, let me say that I am completely new into this. I am trying to do my capstone and I've been trying to study python but things ..... More

Print this item

  Want to extract 4 tables from webpage - Nubee Stuck :(
Posted by: andrewjmdata1 - Apr-19-2020, 05:42 PM - Forum: Web Scraping & Web Development - No Replies

Hi, I am trying to extract the 4 tables of cases and deaths (new+total) from this page:

https://coronavirus.data.gov.uk/#local-authorities

I hav..... More

Print this item

  Unknown error
Posted by: TheIDarKIKnight - Apr-19-2020, 05:27 PM - Forum: General Coding Help - No Replies

Hi,

Sorry to bother you but I am using a software created by a community of modders with pyhton.
On the first try, everything works fine, but I ha..... More

Print this item

  Exception handling
Posted by: Calli - Apr-19-2020, 03:53 PM - Forum: General Coding Help - Replies (2)

A simple python calculator i wrote
[python]
#!/usr/bin/python

print("Please select your desire operation")
print("1. Addition")
print("2. Subtr..... More

Print this item

  Selenium: accessing a drop-down menus without select tags
Posted by: ClassicalSoul - Apr-19-2020, 03:53 PM - Forum: Web Scraping & Web Development - No Replies

I am trying to use Selenium to access a dropdown menu in this site. The site has no select tags.

[python]
user = os.environ['LATINDUSERNAME']
pw = o..... More


Attached Files

Thumbnail(s)
       
Print this item

  How can I convert specific rows from excel to pandas dataframe?
Posted by: mcva - Apr-19-2020, 03:38 PM - Forum: Homework - Replies (1)

Hello, I have some excel work sheets files that have this type of format (7400 groups of rows separated by two rows: "TEMP 25" and "1 Jan 1, 1989 6 -0..... More

Print this item

  Help with the excercise
Posted by: alani - Apr-19-2020, 02:52 PM - Forum: Homework - Replies (3)

Hi!
I'm having a hard time trying to deal with this exercise. I have to create a program that should ask you 10 times about a product of the equation..... More

Print this item

  np.array question
Posted by: hissonrr - Apr-19-2020, 01:49 PM - Forum: Data Science - Replies (3)

Morning all,

I am a python beginner and was playing around.

I ran into a roadblock when the original np.array was set up to use a 9 varriable ar..... More

Print this item

  Help! Lists
Posted by: bwdu - Apr-19-2020, 11:57 AM - Forum: General Coding Help - Replies (2)

Hi everyone! Here I am trying to fill array a with the numbers in range(100)

[python]
s = list(range(100))
a = stdarray.create2D(10, 10, 0)
stda..... More

Print this item

  Tkinter: multitab window
Posted by: WizardMitMagi - Apr-19-2020, 11:37 AM - Forum: GUI - Replies (3)

Hi, I'm trying to use multitab frame in my script. My plan is to create the pages I need in different .py then use this as main page to start my progr..... More

Print this item

  Python to setup
Posted by: samuelbachorik - Apr-19-2020, 09:51 AM - Forum: General Coding Help - Replies (2)

Hello ! I made my program with PyQt 5 it is little tool that help me in my work and i want to ask you. Is it possible to make from python code setup ?..... More

Print this item

  automatically generates a frame
Posted by: taratata2020 - Apr-19-2020, 09:21 AM - Forum: GUI - No Replies

hi everyone,

on this code which automatically generates a frame with encapsulated labels, I would like to generate a maximum of 4 frames. Until the..... More

Print this item

  Getting a small Python2 prog to run in Python3
Posted by: steve140 - Apr-19-2020, 08:58 AM - Forum: General Coding Help - Replies (4)

Hi All,

I started to learn Python a few years ago, and wrote my only useful program in python2 - which I use all the time.

I want to start learn..... More

Print this item

  Pyinstaller CMD -w problem
Posted by: samuelbachorik - Apr-19-2020, 07:46 AM - Forum: General Coding Help - Replies (3)

Hello dear users, i made simple program with PyQt5 where is option to show list of WiFi. In Pycharm my program works perfectly but when i make exe. fr..... More

Print this item

  Can anyone make sense of this?
Posted by: steve_shambles - Apr-19-2020, 05:17 AM - Forum: General Coding Help - Replies (7)

I am a bit of a fan of the infi-systray module:
https://github.com/Infinidat/infi.systray

I h..... More

Print this item

  Help using BeautifulSoup in Macproxy.py
Posted by: WakelessFoil - Apr-19-2020, 04:41 AM - Forum: Web Scraping & Web Development - No Replies

Hello everyone. I am new here and new to python in general so I apologize if I am not fluent with terms or explanations (still learning). I started ex..... More

Print this item

  Run a timer when a functions starts to see how long the function takes to complete
Posted by: Pedroski55 - Apr-19-2020, 02:51 AM - Forum: General Coding Help - Replies (2)

I made a little Python to remove watermarks from pdfs. It works OK.

After splitting the pdf into jpgs, I look for grey pixels and paint them white...... More

Print this item

  a range of lines in a file
Posted by: Skaperen - Apr-19-2020, 01:24 AM - Forum: News and Discussions - No Replies

would it be reasonably natural to specify a range on lines in a file (in a function or method call, or on the command line of a script) in the same wa..... More

Print this item

  Problems with if / else statement
Posted by: droid206 - Apr-19-2020, 12:44 AM - Forum: General Coding Help - Replies (6)

Below is my example code with what I am having trouble with. I can not figure out how to make it when you input t to make it print what 't' equals eve..... More

Print this item

  TypeError: list indices must be integers or slices, not float
Posted by: hissonrr - Apr-18-2020, 10:42 PM - Forum: General Coding Help - Replies (2)

I'm very very new to python, any idea what I am doing wrong here?

[python]
#Now we label and color our facies
# 1=Mudstone_Org_Si 2=Mudstone_Org..... More

Print this item

  How can import variable beteen classes in same module
Posted by: johnjh - Apr-18-2020, 09:27 PM - Forum: GUI - Replies (1)

I need to import this path variable from first class to another classes, this is my code:

[python]

import openpyxl

class Excell():
..... More

Print this item

  DataFrame
Posted by: jma23 - Apr-18-2020, 09:21 PM - Forum: Data Science - No Replies

Hello,


i want to create the dataframe more elegantly - how can this be done?


[python]df = pd.DataFrame({'itemID' : [],'date' : []})
for n i..... More

Print this item

  Date entry in box format issue
Posted by: PeroPuri - Apr-18-2020, 08:03 PM - Forum: GUI - Replies (6)

Hi everyone,
I've found this code to enter the date and that I'd like to use in tkinter but I'm having several issue:
[python]import tkinter as tk..... More

Print this item

  Creating a restart button for a Pythagorean Theorem Program
Posted by: pav1983 - Apr-18-2020, 07:59 PM - Forum: GUI - Replies (12)

Hi All,

This is my first post on this forum. I'm really excited to be a part of this community. What I'm trying to do here is I'm trying to make a ..... More

Print this item

  Making a duty roster
Posted by: test - Apr-18-2020, 07:57 PM - Forum: General Coding Help - Replies (4)

Hello!
I had started this project thinking it was relatively straight-forward. However, I hit several road-blocks along the way and the program kept ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... 5 hours ago drakhsin drakhsin General Codin...
  Brazil Python Help to aut... Yesterday, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... Yesterday, 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...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
Most views
  The best Prog... 579234
  Tutorial Requ... 512038
  Web Scraping ... 442160
  Newbie with P... 386286
  New Users Int... 379375
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 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
drakhsin Today
MileHigh303 Yesterday
ndx101 Yesterday
OtiliaBecker Yesterday
NAGASOWMYAGUNDU 11-20

User Panel Messages

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