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,964
» Latest member: Edzed4431
» Forum threads: 38,730
» Forum posts: 175,547

Full Statistics

Online Users
There are currently 40 online users.
» 0 Member(s) | 30 Guest(s)
Bing, Applebot, Google, AOL, Twitter, AOL

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 4
» Views: 109
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:58 PM
» Replies: 1
» Views: 491
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,031
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,590
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 490
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 955
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 972
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,243
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,853
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,892

 
  python homework
Posted by: MajaW - Dec-11-2018, 03:26 PM - Forum: Homework - Replies (3)

Hi. I've been trying to finish my homework, but I don't know how to do the last part. I was given a data file called 'BP20dataset.csv' which contains ..... More

Print this item

  How to change the resolution of an image and save multiple plots.
Posted by: pianistseb - Dec-11-2018, 03:26 PM - Forum: Data Science - Replies (1)

This code solves a differential equation by the method of 4nd Runge-Kutta. It works fine, but I want to save the diagram for each loop with high resol..... More

Print this item

  import file into dictionary
Posted by: gehrenfeld - Dec-11-2018, 02:42 PM - Forum: General Coding Help - Replies (2)

I have a file with the following. It is delimited with tabs

[quote]
132 2018/07/28 01:41 0 141
133 2018/07/28 01:56 0 133
134 2018/07/28 02:11 0..... More

Print this item

  function method problems
Posted by: drchar - Dec-11-2018, 10:51 AM - Forum: General Coding Help - Replies (2)

Hi all! Just a quick one as I'm new to Python and have square eyes after attempting to solve a simple issue after working with a java proj. of mine. J..... More

Print this item

  float multiplication - unexpected output
Posted by: inesk - Dec-11-2018, 10:41 AM - Forum: General Coding Help - Replies (3)

Hello,

I have a unexpected output on a simple multiplication:

0.55*50000
Output:
27500.000000000004
While if I run an e..... More

Print this item

  range object
Posted by: nikosxatz - Dec-11-2018, 10:28 AM - Forum: General Coding Help - Replies (3)

1. Is range object a collection (container) or just a sequence?
2. Is range object a generator?
Thanks

Print this item

  Frequency Filter for wav file plotting in python
Posted by: manukanu - Dec-11-2018, 09:58 AM - Forum: Data Science - No Replies

I'm currently learning to plot in python. Here is a working frequency plotter for a wav file. Now i want to make a filter, which cuts out the frequenc..... More

Print this item

  Python Algorithms Weekly - Q61 - Find the skyline of a group of buildings
Posted by: thedruid_18 - Dec-11-2018, 08:35 AM - Forum: Tutorial Requests and Submissions - No Replies

Description of the divide and conquer algorithm used to find the skyline of a group of buildings followed by Python code

..... More

Print this item

  Error when running .py file but not when entering exact same code in CLI
Posted by: Broadsworde - Dec-11-2018, 06:11 AM - Forum: Web Scraping & Web Development - Replies (3)

Code:
[python]
#!/usr/bin/python3

import requests
from bs4 import BeautifulSoup
url = "https://pythonprogramming.net/parsememcparseface/"
resp..... More

Print this item

  pygame
Posted by: ashkea26 - Dec-11-2018, 05:07 AM - Forum: Game Development - No Replies

Guys, any chance you know how to implement a maze game on pygame? I've already built some sort of maze by using the recursive backtracker algorithm bu..... More

Print this item

  reading text file and writing to an output file precedded by line numbers
Posted by: kannan - Dec-11-2018, 04:03 AM - Forum: Homework - Replies (7)

In Python, Write a program that reads a file containing a text (input.txt). Read each line and send it to the output file (output.txt), preceded by li..... More

Print this item

  Could not build the ssl module while installing python3.7 from tar ball
Posted by: badfish - Dec-11-2018, 03:19 AM - Forum: General Coding Help - Replies (1)

I can see my libssl is installed here: /usr/lib/x86_64-linux-gnu/libssl.so

However I am still getting this error after running ./configure; make

My ..... More

Print this item

  which is better for many (el)ifs in a loop?
Posted by: Skaperen - Dec-11-2018, 01:32 AM - Forum: General Coding Help - Replies (8)

i have many ifs or elifs in the body of a loop. which is better for such a situation?

style A:[python] while or for some loop:
if condi..... More

Print this item

  RuntimeError: This event loop is already running
Posted by: newbie2019 - Dec-10-2018, 11:25 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

I have just installed Anaconda 5.3.1 on Windows 10 selecting Python 3.7 version, I use Spyder (python 3.6) and I want to run the mod..... More

Print this item

  Step through process
Posted by: tjnichols - Dec-10-2018, 11:16 PM - Forum: General Coding Help - Replies (4)

Does anyone know of software that would allow me to see what is going on with my code line by line so I can see where it hangs up? What's actually wor..... More

Print this item

  RuntimeError: dictionary changed size during iteration
Posted by: Skaperen - Dec-10-2018, 10:03 PM - Forum: General Coding Help - Replies (1)

i am getting RuntimeError: dictionary changed size during iteration during an iteration of a dictionary to which i am adding new entrie..... More

Print this item

  Python 3.5 tk fullscreen
Posted by: nuska012 - Dec-10-2018, 09:21 PM - Forum: GUI - Replies (2)

Hi fellow pythons,
I am new here and have a small problem

I have created a program but want to run it on a different resolution scre..... More

Print this item

  PyInstaller-3.4
Posted by: jorgemm244 - Dec-10-2018, 08:32 PM - Forum: General Coding Help - Replies (2)

Has anyone else had the problem of installing PyInstaller-3.4 and is it positive?

Malwarebytes
www.malwarebytes.com

-Details of the registry-
..... More

Print this item

  Python for Reports in HTML or PDF Format
Posted by: ImPyBoy17 - Dec-10-2018, 08:26 PM - Forum: General Coding Help - Replies (1)

Hi All,
need to connect to database and fetch output (based on the provided time-frame as input) from multiple sql queries and display them in tabul..... More

Print this item

  socket programming (browser)
Posted by: kunz - Dec-10-2018, 08:11 PM - Forum: Networking - Replies (8)

i would like to make a small application to write a name and then display in reverse order but this should use raw sockets in python making the input ..... More

Print this item

  Creating Application Logic
Posted by: WatcherMagic - Dec-10-2018, 05:24 PM - Forum: GUI - No Replies

I'm trying to make a very simple application involving three different widgets using PyQt and Panda3D. I have the GUIs set up in three different scrip..... More

Print this item

  adding a string and an int
Posted by: ninjarunner2005 - Dec-10-2018, 04:28 PM - Forum: General Coding Help - Replies (3)

I've just started using python and I'm working on a text game. I'm not sure if this is possible but i'm trying to make a variable which is equal to "k..... More

Print this item

  python homework
Posted by: hasithya123 - Dec-10-2018, 04:11 PM - Forum: Homework - Replies (1)

Can someone please help to do my python homework?
i have to write a function on canopy

Write a function flip(L) that, given a "decreasing" list of..... More

Print this item

  finding problems connecting python to sqlite
Posted by: Dennis - Dec-10-2018, 02:10 PM - Forum: General Coding Help - Replies (1)

please i need you to help me on this. i am trying to connect python 3.7 to sqlite.
below is the code
[python]
import sqlite3
from tkinter import *
i..... More

Print this item

  Setting timestep
Posted by: randomme - Dec-10-2018, 12:55 PM - Forum: Data Science - No Replies

Dear all, I have two dataset, both of which contains precipitation rate. However, one of the dataset (ldasin) requires computation in order to ..... More

Print this item

  Sum of numbers from for loop
Posted by: YungNiiko - Dec-10-2018, 12:21 PM - Forum: General Coding Help - Replies (5)

Hello everyone,

I am trying to create a dice roll game where 2 players can roll 2 dice each for 5 rounds and then their points are added up. I am t..... More

Print this item

  Distances between all combinations in datatset
Posted by: amyd - Dec-10-2018, 12:07 PM - Forum: General Coding Help - Replies (6)

I have a data set with a set of unique ids. Each of these ids has eastings and northings and a dummy variable which can take on the values of 1 or 0. ..... More

Print this item

  Runtime error: coercing to Unicode: need string or buffer, NoneType found
Posted by: satheesh_rvs - Dec-10-2018, 11:42 AM - Forum: News and Discussions - Replies (2)

Hello All,

I am using a script from VMWARE Vsphere cli (esxcli ) in a nagios server(centos 7) to get info from Esxi server

when i try to execut..... More

Print this item

  Issue with reading CSV file
Posted by: nnsatpute - Dec-10-2018, 11:38 AM - Forum: General Coding Help - Replies (12)

Hello,

I am creating CSV file in unix with help of sed command.
File is getting created correctly as below:
[output]
Column_1 Nunber(10,1)
Col..... More

Print this item

  Collect real time data
Posted by: jeuvrey - Dec-10-2018, 11:05 AM - Forum: General Coding Help - No Replies

Hello,
I would like to create a very simple animation (a moving dot) guided by data recorded in real time.i achieved the script to collect data (the ..... More

Print this item

  How to generate multiple rectangles with randrange without overlapping?
Posted by: rafaberec - Dec-10-2018, 10:10 AM - Forum: Homework - Replies (1)

I need to code a program that generates 24 rectangles randomly, but I need for this rectangles not to overlap and leave space between them.

Print this item

  Code showing no reults
Posted by: ayaz786amd - Dec-10-2018, 09:57 AM - Forum: General Coding Help - Replies (1)

[python]Fraud = df[df['Class'] == 1]
Valid = df[df['Class'] == 0]

outlier_fraction = len(Fraud)/ float(len(Valid))

print(outlier_fraction)
pri..... More

Print this item

  modify line in file if pattern found in list.
Posted by: kttan - Dec-10-2018, 08:39 AM - Forum: General Coding Help - Replies (1)

OS : window xp/7 | python 3
I'm new in python.

looking for help to modify file from a list from file.

master_f file:
!!!! 16 0 1 15..... More

Print this item

  Where can I get information about internal logic of source code Python?
Posted by: AlekseyPython - Dec-10-2018, 08:03 AM - Forum: News and Discussions - Replies (1)

I downloaded source code of Python, open it in Qt Creator, but not even found project- file (*.pro). How I can quickly start in learning python source..... More

Print this item

  pip not installing any package on windows
Posted by: royhimo855 - Dec-10-2018, 07:58 AM - Forum: General Coding Help - No Replies

Hi,
I have python 2.7 on windows 10 x64, when I try to install any pip package it show this error, any help:
pip install future
Collecting future
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 2 hours ago tester_V noisefloor General Codin...
  My goal to be hired worki... Yesterday, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
Most views
  The best Prog... 577204
  Tutorial Requ... 500226
  Web Scraping ... 440902
  Newbie with P... 384918
  New Users Int... 369205
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+ 12089
buran 8176
snippsat 7368
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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