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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,654
» Latest member: JoshEdgar
» Forum threads: 37,398
» Forum posts: 169,949

Full Statistics

Online Users
There are currently 372 online users.
» 0 Member(s) | 364 Guest(s)
Google, Facebook, Bing, Baidu, AOL, Applebot, Yandex

Latest Threads
How To Make A PyQt5 Progr...
Forum: GUI
Last Post: menator01
4 hours ago
» Replies: 1
» Views: 84
ModulNotFoundError matplo...
Forum: General Coding Help
Last Post: deanhystad
5 hours ago
» Replies: 1
» Views: 61
Problem Converting Tradin...
Forum: General Coding Help
Last Post: kralxs
11 hours ago
» Replies: 0
» Views: 84
New on python. Needs help...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:47 PM
» Replies: 1
» Views: 95
Can provide python tutori...
Forum: Jobs
Last Post: carellapansullon
Yesterday, 05:00 PM
» Replies: 1
» Views: 191
Win or Loss Prediction
Forum: General Coding Help
Last Post: ksasi2k3
Yesterday, 01:46 PM
» Replies: 4
» Views: 188
Good way to ignore case w...
Forum: General Coding Help
Last Post: menator01
Yesterday, 12:39 PM
» Replies: 1
» Views: 117
how to edited Tkinter Top...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:16 AM
» Replies: 7
» Views: 193
using mutable in function...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 10:10 AM
» Replies: 1
» Views: 137
Cucumber installation
Forum: General Coding Help
Last Post: SandraYokum
Yesterday, 07:52 AM
» Replies: 2
» Views: 129

 
  Can't import pandas
Posted by: j_cooper9 - Aug-02-2020, 04:57 AM - Forum: General Coding Help - Replies (1)

I'm trying to import pandas (after installing it through many different methods) and I'm seeing this error,

C:\\Users\\jcooper>python

Python 3.8.5 (..... More

Print this item

  Tkinter color chart
Posted by: menator01 - Aug-02-2020, 04:34 AM - Forum: Code sharing - Replies (2)

[python]
# /usr/bin/env python3

import tkinter as tk

colors = [
'gray', 'green', 'greenyellow', 'honeydew', 'hotpink', 'indianred'..... More

Print this item

  Understanding The Arguments for SMTPlib - sendmail
Posted by: JoeDainton123 - Aug-02-2020, 12:22 AM - Forum: General Coding Help - Replies (3)

Hello all

I am trying to understand how to input the different arguments for SMTPlib - sendmail.

I have the following code:-

From_Address = "..... More

Print this item

  Unable to understand a statement in an existing code
Posted by: ateestructural - Aug-01-2020, 08:52 PM - Forum: General Coding Help - Replies (1)

I have the following code:

[python]import nltk

nltk.download('stopwords')

import nltk.corpus
import re
import string

# turn a doc into c..... More

Print this item

Bug maximum recursion depth exceeded while calling a Python object error in python3
Posted by: Prezess - Aug-01-2020, 08:46 PM - Forum: General Coding Help - Replies (4)

[python]
import time
import random
import string

#Searching vars
tries = 0
found = False

def website():
print("Website: " + str(res) +..... More

Print this item

  Handling Multiple USB ports in Python
Posted by: samalpramod - Aug-01-2020, 07:40 PM - Forum: General Coding Help - No Replies

Hi,
I am new to python and to the forum too. In my python application I have to read from two USB ports and process the data I get from any of the US..... More

Print this item

  tmdbsimple content type? How to work with it?
Posted by: pythonnewbie138 - Aug-01-2020, 07:02 PM - Forum: General Coding Help - Replies (1)

I'm trying to figure out how to access data via the TMDB API using the tmdbsimple wrapper. I've figured out some of the basics but I'm unsure how to r..... More

Print this item

  Help with pie chart in Jupyter notebook
Posted by: Rony28 - Aug-01-2020, 06:03 PM - Forum: General Coding Help - No Replies

Hi All,

I can't find a button where I can upload pictures? There is one where I can put a link, but I don't have a link.

I'll have to try to exp..... More

Print this item

  Beautifulsoup doesn't scrape page (python 2.7)
Posted by: Hikki - Aug-01-2020, 05:51 PM - Forum: Web Scraping & Web Development - No Replies

Hi,

Python newb here so go easy on me, using 2.7 because I am following a video course that involves scraping web pages for data and the instructor i..... More

Print this item

  How to assign input file name as logger name
Posted by: Mekala - Aug-01-2020, 05:27 PM - Forum: General Coding Help - Replies (5)

Hi,
I have below code,
I want to define csvfile (HATY.csv which is input file name) as my logfile name.

[python]logging.basicConfig(level=logging.DEB..... More

Print this item

  object's movement to left leave shadow on the screen
Posted by: Zhaleh - Aug-01-2020, 04:53 PM - Forum: Game Development - Replies (3)

Hello everyone. I've wrote a simple code using pygame and I want my image to move right and left and after collision to wall change direction. The pro..... More

Print this item

  Need help with .replace()
Posted by: jasonikakis - Aug-01-2020, 03:38 PM - Forum: General Coding Help - Replies (2)

Greetings,im really new to python and im trying to create a simple encryption program (basically ill input a text and it'll get converted to numbers, ..... More

Print this item

  'NoneType' object is not subscriptable
Posted by: Justchse - Aug-01-2020, 03:02 PM - Forum: General Coding Help - Replies (4)

I'm writing an API for a Django application that gets inventory from another website. The code was working at first but recently I get the error "None..... More

Print this item

  numpy diagonal
Posted by: davidm - Aug-01-2020, 01:53 PM - Forum: Data Science - Replies (1)

hi, need help with numpy.diagonal.
Using

 grid.diagonal(0)
for a 9 by 9 matrix
I can see the diagonal [0,0} to [8,8}.
How do I se..... More

Print this item

  How to use python to convert pdf to docx
Posted by: impact_code - Aug-01-2020, 01:10 PM - Forum: General Coding Help - Replies (3)

hello guys i want to build a software for changing file formats i dont knnow how to go about it please i need your help suggestion and if there is any..... More

Print this item

  Looking for contributors for a new open source coding education platform
Posted by: alexmojaki - Aug-01-2020, 12:43 PM - Forum: News and Discussions - No Replies

I'm in the process of developing a free open source online platform/course for complete beginners to teach themselves coding in Python. See https://gi..... More

Print this item

  NumPy not available?
Posted by: Mark17 - Aug-01-2020, 10:51 AM - Forum: General Coding Help - Replies (8)

import numpy as np
gives

Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import NumPy as..... More

Print this item

  How to check if window is fullscreen or not
Posted by: delphinis - Aug-01-2020, 10:27 AM - Forum: GUI - Replies (2)

Hi,
trying to play with fullscreen, to save the last configuration of the screen, i whanted to obtain the info if the window is in fullscreen or not...... More

Print this item

  PyQt5 Full Tutorial
Posted by: Knight18 - Aug-01-2020, 10:17 AM - Forum: Tutorial Requests and Submissions - Replies (4)

A Full Tutorial on the latest version (PyQt5) of the popular PyQt GUI library. All the way from setting it up and installing it to using advanced (and..... More

Print this item

  Python classes
Posted by: Python_User - Aug-01-2020, 08:13 AM - Forum: General Coding Help - Replies (15)

Dear python users,

As a python newbie I started two months ago learning a bit of coding. By learning some topics of Python some questions came to m..... More

Print this item

  exec() instead of functions
Posted by: Skaperen - Aug-01-2020, 05:37 AM - Forum: News and Discussions - Replies (5)

if i have some code that i want to collect all of its result values into an object and also run that code again in a different context and sane its di..... More

Print this item

  pip and python verison
Posted by: anne - Aug-01-2020, 01:52 AM - Forum: General Coding Help - Replies (3)

I have small issues with pip and python versions

1. MY OS reports python version 2.7.12
2. My Eclipse lets me select FOUR "interpreter" versions..... More

Print this item

  Converter
Posted by: Souls99 - Aug-01-2020, 12:37 AM - Forum: General Coding Help - Replies (2)

I wanted to make converter from Miles to Km and have estimated driving time in my program . The problem is i cant not print exactly driving time .
if..... More

Print this item

  bluetooth device inquiry
Posted by: anne - Aug-01-2020, 12:24 AM - Forum: General Coding Help - No Replies

Two "inquiry " - scan for nearby bluetooth devices and two different results.

Where is the logical error in the first usage of function
bluetoo..... More

Print this item

  Help with menu.
Posted by: Rav - Jul-31-2020, 10:04 PM - Forum: GUI - No Replies

First of all I would like to say that I am new into python and even programming. There are many things that I have no idea how to do.

I would like ..... More

Print this item

  run different functions each time the same button is pressed?
Posted by: User3000 - Jul-31-2020, 09:57 PM - Forum: General Coding Help - Replies (6)

I am using python inputs library to detect gamepad button presses.

Purpose: I..... More

Print this item

  Detecting power plug
Posted by: Narayan - Jul-31-2020, 09:02 PM - Forum: General Coding Help - Replies (2)

How to find programatically if power cable is plugged in or not?

I have written a python program to check if there is power supply available or not..... More

Print this item

  The CSRF session token is missing.
Posted by: randiaz - Jul-31-2020, 08:45 PM - Forum: Web Scraping & Web Development - No Replies

Hi everyone!

I have the following error message: The CSRF session token is missing.

I have everything completed in the documentation for an Ajax pos..... More

Print this item

  Random Choice Operations
Posted by: Souls99 - Jul-31-2020, 08:18 PM - Forum: General Coding Help - Replies (6)

The problem here is i successfully pick a random number from list but when i want o divide that number to 2 just like last lane of my code python choo..... More

Print this item

Lightbulb Standalone application
Posted by: samuelbachorik - Jul-31-2020, 06:15 PM - Forum: General Coding Help - Replies (8)

Hello dear coders, i was searching way to print in console CPU temperature and i found code i put bellow. The problem is, this code works only when i ..... More

Print this item

  Python project help (Password manger using mysql)
Posted by: lifeofpy - Jul-31-2020, 05:29 PM - Forum: Homework - Replies (2)

I am making a python project using mysql a simple password manager it has 2 files one is the one that creates a database named as setup.py and the oth..... More

Print this item

  Monthly sales, standard deviation
Posted by: Lyle - Jul-31-2020, 04:13 PM - Forum: General Coding Help - Replies (3)

Hi, there. I am back to the knowledge well!

Using pandas I have a dataframe with Date, Item#, Qty and 12 months of data. I want to do a std dev calc ..... More

Print this item

  python project structure
Posted by: anne - Jul-31-2020, 03:10 PM - Forum: General Coding Help - Replies (1)

I am using Eclipse plug-in PyDev.
PyDev lets me create "New project" and I end up with a basic structure - see attached.

( Edited Sorry odt file..... More

Print this item

  Cycle through Numpy range within another range(?)
Posted by: Zero01 - Jul-31-2020, 02:37 PM - Forum: Data Science - No Replies

This script needs refining, not really a coder so what I have produced so far is quite something for me...at present this script outputs a text file w..... More

Print this item

  Regression with pipeline and GridSearch
Posted by: patite - Jul-31-2020, 01:40 PM - Forum: Data Science - No Replies

Hello
I am implementing a pipeline with GridSearch
I'm using the Boston housing dataset
Here is my code
[python]
X, y = load_boston(return_X_y=Tr..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How To Make A PyQt5 Progr... 4 hours ago rcwildabeast menator01 GUI
  ModulNotFoundError matplo... 5 hours ago WicardBohnam deanhystad General Codin...
  Problem Converting Tradin... 11 hours ago kralxs kralxs General Codin...
  New on python. Needs help... Yesterday, 18:47 jeromep deanhystad General Codin...
  Can provide python tutori... Yesterday, 17:00 Zahiba_Siddiqui carellapansullon Jobs
  Win or Loss Prediction Yesterday, 13:46 ksasi2k3 ksasi2k3 General Codin...
  Good way to ignore case w... Yesterday, 12:39 Winfried menator01 General Codin...
  how to edited Tkinter Top... Yesterday, 10:16 kucingkembar deanhystad General Codin...
  using mutable in function... Yesterday, 10:10 akbarza snippsat General Codin...
  Cucumber installation Yesterday, 07:52 SDS SandraYokum General Codin...
  if else statements Yesterday, 07:27 remy DeaD_EyE General Codin...
Most views
  The best Prog... 413203
  Web Scraping ... 304142
  Tutorial Requ... 293521
  Newbie with P... 251620
  Thread remain... 233843
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11871
buran 8090
snippsat 7087
deanhystad 6218
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
JoshEdgar Today
pyry Today
WicardBohnam Yesterday
rcwildabeast Yesterday
tuctboh Yesterday

User Panel Messages

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