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,275
» Latest member: eastnoob
» Forum threads: 38,790
» Forum posts: 175,867

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 32 Guest(s)
Bing, Google

Latest Threads
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
1 hour ago
» Replies: 2
» Views: 69
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
8 hours ago
» Replies: 0
» Views: 17
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
10 hours ago
» Replies: 11
» Views: 5,964
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
11 hours ago
» Replies: 2
» Views: 4,279
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:34 PM
» Replies: 3
» Views: 278
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:03 AM
» Replies: 1
» Views: 129
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 199
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,105
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 239
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 164

 
  Importing python data to Textfile or CSV
Posted by: yanDvator - Aug-02-2020, 06:56 AM - Forum: General Coding Help - No Replies

I need help storing an array in a text file that's being plotted using matplotlib.
[python]
t = np.linspace(0, sampling_time * 30, 31)
w = []
for ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [SOLVED] [BeautifulSoup] ... 1 hour ago Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 8 hours ago ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 10 hours ago temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11 hours ago Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... Yesterday, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... Yesterday, 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...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
Most views
  The best Prog... 579176
  Tutorial Requ... 511788
  Web Scraping ... 442131
  Newbie with P... 386202
  New Users Int... 378997
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
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
eastnoob Yesterday
SavingSquirrel199835 11-18
Astrobert 11-18
DataScientist071 11-18
aminrony1999 11-17

User Panel Messages

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