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,792
» Forum posts: 175,875

Full Statistics

Online Users
There are currently 36 online users.
» 1 Member(s) | 31 Guest(s)
Bing, Google, Apple, lovedeep

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

 
  AttributeError: 'Register' object has no attribute 'bit_7'
Posted by: colt - Dec-12-2019, 09:31 PM - Forum: General Coding Help - Replies (1)

Hello. I have this simple class [code]class Register (object):
def init (self):
self.bit_0 = False
self.bit_1 = False
self.bit_2 = True
..... More

Print this item

  Pydoc documentation doesnt work
Posted by: Cosmosso - Dec-12-2019, 09:06 PM - Forum: General Coding Help - Replies (5)

I keep trying to make a html documentation file with pydoc .

I run my code in Python IDLE Shell and then use this:

[python]import <your module name>..... More

Print this item

  Data Cleanup Help Needed
Posted by: Sonali - Dec-12-2019, 08:05 PM - Forum: Data Science - Replies (1)

Hello,

I am pulling CRM entity in our datalake using APIs. Most columns from this particular entity are bringing in the correct information but the c..... More

Print this item

  Create sensor data for a IoT project
Posted by: georgelza - Dec-12-2019, 07:31 PM - Forum: General Coding Help - Replies (9)

Hi all,

Trying to do a little personal IoT project, well 2...

One simulating a Factory with multiple sensors of various types and 2nd a race car..... More

Print this item

  Help with a script (Python)
Posted by: Kometrix - Dec-12-2019, 06:56 PM - Forum: General Coding Help - Replies (3)

Hello dear forum,

we have a web radio and the following rules apply:
- There are two folders from which the script (playlist.py) pulls the songs. ..... More

Print this item

  Paying $5000, DemonBot
Posted by: DemonBot - Dec-12-2019, 06:37 PM - Forum: Jobs - Replies (1)

Demon Bot

A “Sneaker Bot” that can Successfully add and checkout item(s) from specified site(s).


Company Mission:
To be most successful Sneak..... More

Print this item

  I want to log specific data to csv file
Posted by: akshay3210 - Dec-12-2019, 06:24 PM - Forum: General Coding Help - No Replies

Hi,
I'm very new to python. Kindly Help me with this problem.
I have the script which logs for GetAllVars to csv file . But I need to log the data f..... More

Print this item

  yet another code that works on 2 but not in 3
Posted by: rick666 - Dec-12-2019, 05:04 PM - Forum: General Coding Help - Replies (1)

Hi all
sorry for bothering with a similar problem but this time the trick Gribouillis gave me does not
work. The code below sends the input to a p..... More

Print this item

  Handling multiple keyboard entries in Pygame
Posted by: mrcrease - Dec-12-2019, 04:17 PM - Forum: Game Development - Replies (2)

I have some python code that uses a pygame window to establish which key is being pressed. When a key is pressed, the code heads off and does things b..... More

Print this item

  Error in importing package in pycharm
Posted by: fullstop - Dec-12-2019, 04:03 PM - Forum: General Coding Help - No Replies

I have a directory structure as below.
Pro_test_main/Pro_test
I would like to run Pro_test as a module. In my Pro_test folder I have two things, one ..... More

Print this item

  Projectile crashing
Posted by: BlueClaw - Dec-12-2019, 03:40 PM - Forum: Game Development - Replies (2)

After testing in an external loop, everything worked. However, in my level function, it does not work. Can someone please help me?
[python]import os..... More

Print this item

  Keeps looping even after correct answer
Posted by: mcesmcsc - Dec-12-2019, 02:52 PM - Forum: General Coding Help - Replies (2)

I cant get this to stop looping even after correct answer. Any help would be greatly appreciated.
[python]# Administrator accounts list
adminList = ..... More

Print this item

  Web Text Scraper with GUI-V.2
Posted by: pBr_oska - Dec-12-2019, 12:53 PM - Forum: Code sharing - No Replies

[b]

[Image: img.png]
[size=medium][align=center]Link to main project re..... More

Print this item

  clear screen with pycharm
Posted by: boris602 - Dec-12-2019, 12:28 PM - Forum: General Coding Help - No Replies

Hi ,I have found in the internet a code to clear a screen:

def clear_screen():
    os.system('cls' if os.name == 'nt' else 'clear')
..... More

Print this item

  Please help: problem installing/importing langdetect module in Jupyter Notebook
Posted by: ledgreve - Dec-12-2019, 11:51 AM - Forum: General Coding Help - Replies (3)

Hello, I would like to start by letting you know that I am a layperson. I only started working with Python a few weeks ago, so I am new to this. I wou..... More

Print this item

  Coding Work Flow
Posted by: Davy_Jones_XIV - Dec-12-2019, 09:08 AM - Forum: News and Discussions - Replies (4)

Ahoy mates!

Curiosity question.

What is a good resource or method to design a coding project from scratch?

I have been a part of a few exerc..... More

Print this item

  POS receipt print cannot make paper cut using python
Posted by: AP_Development - Dec-12-2019, 08:16 AM - Forum: General Coding Help - Replies (1)

Problem

We are working on a bigger project where we need to make a POS receipt print. We are able to make a print through the browser but the probl..... More

Print this item

  Cannot get selenium to scrap past the first two pages
Posted by: newbie_programmer - Dec-12-2019, 06:17 AM - Forum: Web Scraping & Web Development - No Replies

I am trying to develop a web scrapper that scrapes leader board information and the code below is what I have so far. Everything works and no error me..... More

Print this item

  I couldn't understand the output of the below code
Posted by: ravich129 - Dec-12-2019, 06:14 AM - Forum: General Coding Help - Replies (1)

user = 'Admin'
logedin = 'False'

if logedin:
    print('welcome')
else:
    print('pl login')
the output is welcome

I de..... More

Print this item

  I need to get only string datatype and report in excel file.
Posted by: akshay3210 - Dec-12-2019, 05:51 AM - Forum: General Coding Help - Replies (3)

Hello,
I have a python script which uses a source text file as an input.

The text file contains the data of string, numeric, boolean and action da..... More

Print this item

  d = [0] + [-1e9] * 4000
Posted by: SakshiSingh - Dec-12-2019, 04:21 AM - Forum: General Coding Help - Replies (3)

Problem: Cut Ribbon
Polycarpus has a ribbon, its length is n. He wants to cut the ribbon in a way that fulfils the following two conditions:

After th..... More

Print this item

  How to predict with date as input for DecisionTreeRegressor
Posted by: sandeep_ganga - Dec-12-2019, 03:29 AM - Forum: Data Science - No Replies

Hi Forum,

How to predict with date as input for DecisionTreeRegressor model?

source: student_mark_result_dec_hist.csv

name day subject perce..... More

Print this item

  Removing items from list
Posted by: slackerman73 - Dec-12-2019, 03:19 AM - Forum: Homework - Replies (8)

I'm trying to remove an item from the passwords list.

I keep getting Traceback (most recent call last):
passwords.remove(websitetodelete) #..... More

Print this item

  Dynamically Copy and paste column
Posted by: Patriot17 - Dec-11-2019, 11:02 PM - Forum: General Coding Help - Replies (3)

Hello all,
I am new to the forum and python I am seeking some assistance as I have searched and am not able to find the answer I need. What I am doi..... More

Print this item

  help for escape sequences
Posted by: NewPi - Dec-11-2019, 10:51 PM - Forum: General Coding Help - Replies (1)

Hello,

I'm new in programming and python.
So I have a question for escape sequences.

If you want to print a backslash, you have to use an escap..... More

Print this item

  Pass Tuple as a Slice
Posted by: nagymusic - Dec-11-2019, 10:47 PM - Forum: General Coding Help - Replies (2)

I'd like to pass a tuple (2, 3) as a parameter value into a function (via array variable below), so that it replaces the slice value 2:3 in the third ..... More

Print this item

  Function
Posted by: gray1306 - Dec-11-2019, 08:20 PM - Forum: General Coding Help - Replies (3)

Hello, could someone let me know where am I going wrong with the below code please?
The programs is supposed to ask the user for a number input to ma..... More

Print this item

  How to create correct scatter plot for PCA?
Posted by: LK91 - Dec-11-2019, 07:53 PM - Forum: Data Science - No Replies

[img]https://www.bing.com/images/search?view=detailV2&insightstoken=bcid_RC1MdIex7LYAjXGBI8gogj9E6aU6.....08*ccid_LUx0h7Hs&form=WPTOVS&idpp=wptovs&iss..... More

Print this item

  why is this dictionary giving a Keyerror?
Posted by: philipbergwerf - Dec-11-2019, 07:46 PM - Forum: General Coding Help - Replies (1)

Hello I have a question, I don't understand why the following code gives a Keyerror because google says "What a Python KeyError Usually Means. A Pytho..... More

Print this item

  Numpy saving and loading introduces zeros in the middle of every element
Posted by: DreamingInsanity - Dec-11-2019, 07:21 PM - Forum: Data Science - No Replies

I am do a simple numpy saving and loading test with this code:
[python]a = np.array([[[10,10,10], [10, 10, 10]], [[10,10,10], [10,10,10]]])
print(a)..... More

Print this item

  Problem with simple 3D Vektor calculation
Posted by: Pythocodras - Dec-11-2019, 07:18 PM - Forum: General Coding Help - No Replies

Hello!

I am trying to do a simple vector calculation. But somehow it is not correct an I can not find the error.
Basically I have a vector with a ..... More

Print this item

  Nvidia or (25% better for the price) Radeon GPU for Python Data Science
Posted by: gheek - Dec-11-2019, 05:19 PM - Forum: Data Science - No Replies

Hi,

I am fairly new to python and loving it. I use Numba to speed up code but would like to invest in a GPU that's better than my 3GB GTX 780.

..... More

Print this item

  Chat bot
Posted by: akanowhere - Dec-11-2019, 12:37 PM - Forum: General Coding Help - Replies (16)

I need a help with this code:
[python]
from time import sleep
from selenium.webdriver.common.by import By
from selenium import webdriver
from sel..... More

Print this item

  easy way to paginate --help text output?
Posted by: Skaperen - Dec-11-2019, 12:18 PM - Forum: News and Discussions - Replies (1)

i'm going around adding help text to many of my scripts with support added for --help. in some cases, it will output too much text. ..... More

Print this item

  Not equal a dictionary key value
Posted by: bazcurtis - Dec-11-2019, 11:56 AM - Forum: General Coding Help - Replies (2)

I have the follow code that works fine

[python] if 'bad' == computer_dictionary['threats']:
get_threats(computers_url, computer_dictio..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  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...
  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... 579270
  Tutorial Requ... 512134
  Web Scraping ... 442190
  Newbie with P... 386301
  New Users Int... 379672
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