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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,942
» Latest member: helendamdam
» Forum threads: 38,724
» Forum posts: 175,519

Full Statistics

Online Users
There are currently 71 online users.
» 0 Member(s) | 66 Guest(s)
AOL, Bing, AOL, Google, Mojeek

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
1 hour ago
» Replies: 2
» Views: 356
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
1 hour ago
» Replies: 0
» Views: 26
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
7 hours ago
» Replies: 9
» Views: 505
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,717
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,051
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,409
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,958
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,722
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,794
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,940

 
  Matplotlib not working
Posted by: akash124 - May-06-2018, 12:32 AM - Forum: General Coding Help - Replies (2)

My program is written in python 2.7, and I am not able to use matplotlib. It executes without any errors. But doesn't plot the pie chart

Print this item

  Why A[0] and A[0:1] have different sizes?
Posted by: Antonio - May-05-2018, 10:31 PM - Forum: Data Science - Replies (2)

So I have this:

[python]candidates =
array([[1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0,
0, 1, 0, 1, 0, 0, 0, 1, ..... More

Print this item

  Spyder IDE - make variable explorer to follow the color scheme of the Editor
Posted by: Antonio - May-05-2018, 10:20 PM - Forum: General Coding Help - No Replies

I do not know why but when I change the color scheme of the spyder editor (I have the latest version installed and I do it through preferences -> synt..... More

Print this item

  Unexpected output, TypeError and traceback error
Posted by: fier259 - May-05-2018, 10:09 PM - Forum: General Coding Help - Replies (2)

This is my first python program and forum post so bear with me if I don't this right. I have an if statement asking for instructions or to begin my ga..... More

Print this item

  Need some help
Posted by: Volby - May-05-2018, 05:06 PM - Forum: General Coding Help - Replies (11)

Hey guys, I am very new to Python and messing around with some coding. I am trying to create an Information Program which prints out the information p..... More

Print this item

  Gi module window freezing problem
Posted by: loss - May-05-2018, 04:42 PM - Forum: GUI - No Replies

Hello. I code the interface with the gi module. But I am having problems.

For example, the window is frozen when for loops occur. the window will f..... More

Print this item

  Lists in Dictionaries Assistance
Posted by: wfsteadman - May-05-2018, 03:06 PM - Forum: General Coding Help - Replies (2)

greetings all,
I have a file given to me that is in YAML format

[quote]---
device_list:
location1:
department: [FIN]
description: lo..... More

Print this item

  Something weird happens with my game
Posted by: jdrp - May-05-2018, 11:30 AM - Forum: Game Development - No Replies

I'm trying to make a simple Tic-Tac-Toe game with Pygame and I have a big problem. I've made it so that the SPACE key writes the symbol and the arrow ..... More

Print this item

  Anaconda 5.1 Python can't see PYQT5
Posted by: PJ03029174 - May-05-2018, 10:32 AM - Forum: GUI - Replies (6)

Hi

I'm trying to write my first Python GUI application and have installed Anaconda 5.1 (Mac OSX) which includes PYQT5 and Python 3.6.

I'm also u..... More

Print this item

  Help connecting to Google API
Posted by: csj - May-05-2018, 08:07 AM - Forum: General Coding Help - Replies (2)

I have the following error:


line 57, in <module>
for feed in feedjson['items']:

KeyError: 'items'

My objective is to connect to the Go..... More

Print this item

  Adding a paragraph of text before an exercise
Posted by: oldDog - May-05-2018, 06:43 AM - Forum: General Coding Help - Replies (5)

I have only just started to learn Python and hope someone will be kind enough to help me. I am reading and doing the exercises from the book "Learn Py..... More

Print this item

  Problems Formatting JSON
Posted by: primowalker - May-05-2018, 05:28 AM - Forum: General Coding Help - Replies (1)

I need to generate reports from JSON files that are output from SaltStack jobs. I have no control over the format of the JSON files, they are what the..... More

Print this item

  how to pass a variable from a file to a 2d file
Posted by: sylas - May-05-2018, 12:58 AM - Forum: General Coding Help - Replies (1)

Hi all! My problem is to pass a matrix from a file to a second file. I guess I must write in a 3d file. Maybe a CSV file. Isnt'it ?

Print this item

  How to save jpg from cgi url
Posted by: lanceomni - May-05-2018, 12:11 AM - Forum: General Coding Help - Replies (5)

I have an IP camera that will return a snaphot by accessing the URL ...http://user:pass@10.0.1.107/cgi-bin/snapshot.cgi?channel=0

Ive tried several..... More

Print this item

  AES Decryption too slow
Posted by: Hairy_Ape - May-04-2018, 11:13 PM - Forum: General Coding Help - Replies (10)

Hi everybody

I’m still fairly new to python so please bear with me if I ask any daft questions.

I’m currently working on a crypto challenge to d..... More

Print this item

  APIs, libraries and frameworks
Posted by: mrHolliday - May-04-2018, 09:55 PM - Forum: Homework - Replies (1)

Hello,

I am new to Python and new to programming. I am trying to better understand the following:

1. API
2. Libraries
3. Frameworks

For th..... More

Print this item

  How to avoid reloading modules in python
Posted by: Antonio - May-04-2018, 07:51 PM - Forum: General Coding Help - Replies (5)

I am getting the warning:

Error:
"reloaded modules: chromosome_length"
Chromosome_length is actually a function that I am calling in..... More

Print this item

  Please help me!!!
Posted by: yuganthafdo - May-04-2018, 06:00 PM - Forum: General Coding Help - Replies (3)

I have tried to create a simple password cracker in my own.I am new to programming.Here is the python code.My aim was to make the user to specify a wo..... More

Print this item

  New column based on list
Posted by: Olga - May-04-2018, 04:12 PM - Forum: Game Development - Replies (2)

I have a csv file (VV_AL_3T3_P3.csv) and each of the rows of each csv file correspond to tiff images of plankton. It looks like this:

Particle_ID ..... More

Print this item

  FileBrowser dialog
Posted by: reverendfuzzy - May-04-2018, 03:02 PM - Forum: GUI - Replies (5)

Simple situation: Looking to do a file browser dialog in Python, that is text-based.
System: Ubuntu 17.01, Python 3.6
Simple question: Has anyone ..... More

Print this item

  Connect 4 Game
Posted by: DarksideMoses - May-04-2018, 02:59 PM - Forum: Homework - Replies (11)

Hello I am working on a school assignment for a Connect 4 Game. I have a error when
I hit run on the code below it
says line 76, in checkrow
..... More

Print this item

  I need a help to solve equations system
Posted by: alizo_as - May-04-2018, 02:19 PM - Forum: Data Science - Replies (1)

I have this code bellow

[python]from __future__ import division
import numpy as np
from sympy import *

t, r = symbols('t, r')

A = np.matrix..... More

Print this item

  Save image from Clipboard Linux / save Pixbuf format
Posted by: M_Schneider - May-04-2018, 01:21 PM - Forum: GUI - Replies (1)

Hallo,

I would like to get an image from clipboard in Linux Mint using Python 3.The only possibility I discovered so far
(and I appreciate other..... More

Print this item

  self learning itertools for complex structures
Posted by: enrikS - May-04-2018, 12:24 PM - Forum: Homework - Replies (5)

hello, im a newbie, been digging around to find a solution to a problem for the creation of a complex structure using itertools - permutation combina..... More

Print this item

  loading a 3D array from a bin file
Posted by: Mark3232 - May-04-2018, 10:40 AM - Forum: Data Science - Replies (1)

Hello Python forum

I am trying to load a 3D array from a bin file. However, when I load it is displayed as a long vector instead.

[Python]
da..... More

Print this item

  Nested while loop in pyramid program.
Posted by: raj55 - May-04-2018, 09:21 AM - Forum: General Coding Help - Replies (2)

Hi All,

I am learning python using Python 3.6.1 by online complier.

I have a doubt about the below pyramid program.
---------------------------..... More

Print this item

  Tree-Directory GUI
Posted by: issac_n - May-04-2018, 07:46 AM - Forum: GUI - Replies (2)

whic python GUI can support "Tree-Directory" as below?
go through Tk and seems like cant support it.

Tree-Directory

Print this item

  impossible to print the matrix
Posted by: sylas - May-04-2018, 06:16 AM - Forum: GUI - Replies (3)

Hi all! I should like to print once again the matrix, and then work on the matrix.. Here are file and error message.
[python]#copy_class.py

import..... More

Print this item

  ubuntu packages in pip
Posted by: Skaperen - May-04-2018, 04:15 AM - Forum: News and Discussions - Replies (12)

for a new server running Ubuntu 16.04 LTS i am going through a big list of packages to see what i want to install. if a python package is also in [in..... More

Print this item

  Find how many times a user played an artist and how many times
Posted by: disruptfwd8 - May-04-2018, 12:25 AM - Forum: Homework - Replies (1)

Need help refining this code.

artist_data.txt
1134999 Metallica
6821360 Aerosmith
10113088 Mozart
10151459 Queen

user_artist_data
1000002 1..... More

Print this item

  just a couple questions....
Posted by: medievil - May-03-2018, 11:15 PM - Forum: General Coding Help - Replies (5)

Regarding file input/output...
Small project I am working on will require me to take a bunch of xxxx files, strip out various infos and create small s..... More

Print this item

  capita training UK
Posted by: meems - May-03-2018, 11:12 PM - Forum: Jobs - Replies (1)

been a bedroom coder all my life. Never converted the skills I've got to industry. My CV with 20 years hobby coding just doesn't interest employers. N..... More

Print this item

  display reading sensor data
Posted by: hassan_elahi - May-03-2018, 10:15 PM - Forum: GUI - Replies (5)

I am reading data from sensors by micro controller and sending the data through USB port to computer. I can receive and print the data easily with pyt..... More

Print this item

  Exercise about list of lists
Posted by: Otbredbaron - May-03-2018, 07:43 PM - Forum: General Coding Help - Replies (3)

Hi,

I'd like to know if this is the correct way to approach this kind of problem.
Basically I need to store the sum of every list of L in a new li..... More

Print this item

  Simple Eight-Puzzle not working!
Posted by: BenjaminDJ - May-03-2018, 07:15 PM - Forum: Homework - Replies (2)

Hi there!

I've been told to make a program that randomly shuffles a solved Eight-Puzzle as to create a puzzle that is definitely solvable (ie not r..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 1 hour ago Littlefish Littlefish General Codin...
  Is the interpreter that c... 1 hour ago helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 7 hours ago Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576654
  Tutorial Requ... 498757
  Web Scraping ... 440496
  Newbie with P... 384420
  New Users Int... 367905
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
helendamdam Today
pllrdvalery Yesterday
Littlefish Yesterday
Noya_Yonatan 09-21
Saipython555 09-21

User Panel Messages

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