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,933
» Latest member: bennyanderson482
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

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

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Gribouillis
4 hours ago
» Replies: 2
» Views: 187
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 05:56 PM
» Replies: 9
» Views: 3,216
Too much space between gr...
Forum: GUI
Last Post: RonR
Yesterday, 11:22 AM
» Replies: 4
» Views: 1,624
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 613
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 872
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,951
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 970
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 548
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,519
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,741

 
  List with Random Numbers
Posted by: AnjyilLee - Oct-14-2017, 01:36 AM - Forum: Homework - Replies (5)

For my homework, I need to make a lottery number generator, a program that generates a 7 digit lottery number, each digit generated on their own and b..... More

Print this item

  zero or one argument
Posted by: Skaperen - Oct-14-2017, 12:55 AM - Forum: General Coding Help - Replies (7)

is there a way for a function to accept zero or one argument without using variable arguments?

Print this item

  Homework Forum
Posted by: ichabod801 - Oct-14-2017, 12:41 AM - Forum: Board - Replies (17)

Lately there have been several posts in the Homework forum where the students are under significant restrictions about how to get the task done. Some ..... More

Print this item

  Problem with adjusting graph label
Posted by: ekansh - Oct-13-2017, 10:32 PM - Forum: Data Science - No Replies

I want to plot the content of csv file using python to the graph which is being plotted has got the values of x-axis go out of the image and also over..... More

Print this item

  Database for a College or School
Posted by: nexusfactor - Oct-13-2017, 10:18 PM - Forum: Bar - Replies (2)

While working on a task today, my brain was occupied by another task that I'm not quite sure how to solve. Either I'm trying to do too many things wit..... More

Print this item

  Have a specific app need but new to Python and Have some questions
Posted by: shelzmike - Oct-13-2017, 09:12 PM - Forum: Web Scraping & Web Development - Replies (2)

Hey all. I am new to Python for the most part. I do have OpenHAB running some home automation at my house that uses a few, somewhat simple, python scr..... More

Print this item

  Xpath queries
Posted by: sairam132033 - Oct-13-2017, 08:34 PM - Forum: General Coding Help - Replies (6)

Hello

I am able to write some python code, including functions. Thanks for the help

I want to write xPath Queries using Python. I need to analyz..... More

Print this item

  XML log file --> CSV
Posted by: olivercfc - Oct-13-2017, 08:23 PM - Forum: General Coding Help - Replies (1)

I'm trying to convert a log file to CSV and am stumped.

This is a representation of the real file. This would be two records and they're always se..... More

Print this item

  Fast Fourier Transform
Posted by: muhsin - Oct-13-2017, 07:38 PM - Forum: Data Science - Replies (1)

hello;
I have an acceleration-time history and I would like to generate single-sided fourier spectrum of it. Is there any packed code for it ? thank ..... More

Print this item

  Beginner
Posted by: willianramos - Oct-13-2017, 07:04 PM - Forum: General Coding Help - Replies (4)

Hi, I would like to know the error of this script.

salary = float(input("Enter your salary: "))
if salary > 2000:
gain = (salary + (salary * ..... More

Print this item

  Not Outputting
Posted by: goldtiger6 - Oct-13-2017, 06:42 PM - Forum: Homework - Replies (3)

PYTHON 3!!

I'm working on something for school and I can't figure out why my code is not printing "NO" or "YES" when the input is "2 2 2 5". I've tri..... More

Print this item

  Editting txt file
Posted by: muhsin - Oct-13-2017, 04:41 PM - Forum: General Coding Help - Replies (18)

hello,
I would like to separate the in txt file but there is no space between columns. I did not get how to upload the file. So i am going to put a s..... More

Print this item

  Hex code in a traceback
Posted by: insearchofanswers87 - Oct-13-2017, 03:36 PM - Forum: General Coding Help - Replies (6)

What does the hex code in a Python traceback mean?

For example, the following traceback is from accessing an out of bounds list index:

In [19]: ..... More

Print this item

  3D object modeling on Python
Posted by: samuelan - Oct-13-2017, 03:09 PM - Forum: News and Discussions - Replies (1)

Hello,
I need to start my python project, which is making a 3D object with polygon meshes by photogrammetry (taking pictures of the object in differe..... More

Print this item

  Code Review thread
Posted by: nexusfactor - Oct-13-2017, 02:38 PM - Forum: Board - Replies (2)

Is it possible for this forum to have a code review section? I hate to take away attention from someone seeking help when I've written code and need a..... More

Print this item

  Using openslide
Posted by: shivendra95 - Oct-13-2017, 02:34 PM - Forum: General Coding Help - Replies (5)

Can anyone help me with the package "openslide". I'm trying to import the package and want to output an image with .svs format. I have installed the p..... More

Print this item

  Output to excel
Posted by: Analyst - Oct-13-2017, 02:12 PM - Forum: News and Discussions - Replies (1)

Hi , After performing logistic regression , I want to export the confusion matrix to excel . Can anyone please suggest ?

Print this item

  Opinion on Python Security Books
Posted by: nexusfactor - Oct-13-2017, 02:08 PM - Forum: Bar - Replies (8)

I just missed out on the free e-book about Python penetration testing over on Packt Angry

Anyways, I just wanted to know, the book was printed ..... More

Print this item

  Issues with character conversion
Posted by: rexrf - Oct-13-2017, 02:03 PM - Forum: General Coding Help - No Replies

So I'm trying to learn python and I came up with an idea for a little program that reads a text file, converts all of the characters into pseudo-rando..... More

Print this item

  Trapezoidal integration method in python. Getting wrong results
Posted by: auting82 - Oct-13-2017, 12:40 PM - Forum: General Coding Help - Replies (5)

Hi, I am pretty new to Python so I want to appoligize ahead if my question is a bit silly.
I copied som finished code to test a well known numerical ..... More

Print this item

  How to read a file into a variable
Posted by: hello_its_me - Oct-13-2017, 12:38 PM - Forum: General Coding Help - Replies (2)

hi everyone, I am searching for a solution to read a number or a word into a variable out of a file and the other way round so to write a variable int..... More

Print this item

  Need Help about comboBox and lineEdit
Posted by: DeanONeil - Oct-13-2017, 03:47 AM - Forum: GUI - Replies (1)

Here is my script


from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_Main(object):
def setupUi(self, Main):
Main.setObjectName(..... More

Print this item

  t.fillcolor
Posted by: richard_sell - Oct-13-2017, 03:29 AM - Forum: General Coding Help - Replies (1)

please give a runnable sample of your code with the full error text or a clear description of the problem
I want to use colors in the order they are ..... More

Print this item

  Manual Sort without Sort function
Posted by: dtweaponx - Oct-13-2017, 02:04 AM - Forum: Homework - Replies (26)

Hello, I'm currently taking a python class, I really enjoy it but I'm having a issue with getting my code for a upcoming assignment to work. The teach..... More

Print this item

  Linking with multiple python libraries
Posted by: poijuggler - Oct-13-2017, 01:14 AM - Forum: General Coding Help - Replies (2)

I have a somewhat esoteric question, but hopefully someone with knowledge of the Python internals (CPython in particular) can answer this.

I'm work..... More

Print this item

  Upload file to Box
Posted by: skkuchipudi - Oct-12-2017, 11:43 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm trying to upload a csv file to Box via Mulesoft API, I can upload the file but only the file with last line, I can not upload full file. I ..... More

Print this item

  web scraper using pathlib
Posted by: Larz60+ - Oct-12-2017, 11:41 PM - Forum: Web Scraping & Web Development - Replies (1)

Ok, since DeaD_EyE introduced me to pathlib last night, I've been playing with it to get familiar with
it's capabilities.

I wanted to get a bunch ..... More

Print this item

  Lots of code. Creating modules
Posted by: jwhenson1990 - Oct-12-2017, 10:51 PM - Forum: Homework - Replies (2)

This is where I am trying to import the module. Having issues and have tried multiple things.
import geometry # my custom input module



..... More

Print this item

  code getting cut off
Posted by: Larz60+ - Oct-12-2017, 10:34 PM - Forum: Board - Replies (4)

I just noticed on a post that I just made, that certain lines are getting cut short:
Example: 'self.filelist = []'
[python]
self.filelist =
[/pyth..... More

Print this item

  Author class, with constructor validations
Posted by: nexusfactor - Oct-12-2017, 09:57 PM - Forum: General Coding Help - Replies (3)

[python]class Author:

def __init__(self, id, firstname, lastname):
self._validateid(id, "ID")
self._validate_author(firstname..... More

Print this item

  Hiding an executable?
Posted by: szoszme - Oct-12-2017, 09:12 PM - Forum: Homework - No Replies

Hello guys!

I would like to ask you something, because i cant understand this. I would like to run an .exe file from a python code, and the code on..... More

Print this item

  Peek preview of Firefox's WebRender
Posted by: Larz60+ - Oct-12-2017, 07:00 PM - Forum: News and Discussions - No Replies

Here is a preview of Firefox's new WebRender feature which is coming soon in the Firefox Quantum release:

https://hacks.mozilla.org/2017/10/the-who..... More

Print this item

  Python beginner: Weird Syntax Error
Posted by: mentoly - Oct-12-2017, 06:55 PM - Forum: General Coding Help - Replies (5)

Hello to all.

I need a quick and easy fix for my problem with Python error.

I'm just beginning coding, and I'm a little bit frustrated because i..... More

Print this item

  Get event details from eventful api
Posted by: Jon - Oct-12-2017, 06:54 PM - Forum: General Coding Help - No Replies

Im trying to use the eventful api to get information about music events (concerts) between two dates. For example I want to get the below information ..... More

Print this item

  Quiz using a csv
Posted by: zyn13 - Oct-12-2017, 06:25 PM - Forum: Homework - Replies (2)

I am currently in the process of making a quiz in Python, all the questions are stored in a csv database. I am having difficulty in having multiple an..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 4 hours ago Alexandros Gribouillis General Codin...
  403 Error Yesterday, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Yesterday, 11:22 RonR RonR GUI
  datetime in SQL query. Yesterday, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  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
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576088
  Tutorial Requ... 497598
  Web Scraping ... 440039
  Newbie with P... 383815
  New Users Int... 366352
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 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bennyanderson482 Today
AstoundzSEO Today
tobey12 Today
alexguemez Yesterday
Shadab Yesterday

User Panel Messages

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