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,272
» Latest member: DataScientist071
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

Online Users
There are currently 32 online users.
» 2 Member(s) | 27 Guest(s)
Bing, Google, AOL, buran, anime

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 170
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 158
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 127
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 173
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 350
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 69
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 116
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 364
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 208
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 322

 
  Function not working as intended I think?
Posted by: TimeForged - Mar-10-2018, 06:47 PM - Forum: Homework - Replies (2)

I'm having some trouble with the last part I need to finish for my code, this darn function lol. disp_order is suppose to show like what you've ordere..... More

Print this item

  New to Python, don't know what is wrong with my code
Posted by: Turbotanten - Mar-10-2018, 06:06 PM - Forum: Data Science - No Replies

Hi, I'm new to Python so please be gentle

I don't know seriously what is wrong with my code

Here's my code

[python]
import numpy as np

de..... More

Print this item

  Help with free online book
Posted by: Ummusabbar - Mar-10-2018, 05:46 PM - Forum: General Coding Help - Replies (4)

Hello all, pls I need some help with names or link to a good python free online book that deals with NLP.

Print this item

  confusion on print function
Posted by: volcano - Mar-10-2018, 04:27 PM - Forum: General Coding Help - Replies (3)

print("Hello");
prints "Hello"

but

print("Hello",3);
prints ('Hello',3)

what happens when we use two arguments l..... More

Print this item

  Standalone interpreter?
Posted by: stf92 - Mar-10-2018, 04:17 PM - Forum: General Coding Help - Replies (2)

Hi: I use Windows 10 and have downloaded the Python IDLE from the official site. Is there a way I can use my own editor and give then the text (progr..... More

Print this item

  Help with image maker program
Posted by: SteampunkMaverick12 - Mar-10-2018, 03:35 PM - Forum: General Coding Help - Replies (2)

I need help making a flag image maker. It both allows you to open a picture and make your own on the program. You get a base flag with multiple patter..... More

Print this item

  No success with PyInstaller
Posted by: j.crater - Mar-10-2018, 02:09 PM - Forum: General Coding Help - Replies (2)

Hello, it is my first time using PyInstaller. Please let me know if I am missing relevant information required to help.

I copied a very simple Kivy..... More

Print this item

  Read a file
Posted by: afovio - Mar-10-2018, 01:56 PM - Forum: General Coding Help - Replies (1)

Hello, all. I'm having trouble noticing the explanation of the wiki, the link below show my problem.

..... More

Print this item

  Operator Precedence Direction in Docs
Posted by: blitz4 - Mar-10-2018, 12:41 PM - Forum: News and Discussions - Replies (3)

This seems silly, but I'm extremely new to Python and found it odd that [url=https://python-forum.io/thread-8855.html]..... More

Print this item

  Why is basic Twitter Connectivity So Difficult? Not sure what I'm doing wrong.
Posted by: Oliver - Mar-10-2018, 12:38 PM - Forum: General Coding Help - No Replies

Hi all,

I created a twitter app. I have created the consumer key, consumer secret key, the token and token secret keys.

The app is set up for ma..... More

Print this item

  unusual help compiling python 2 code
Posted by: Bannon - Mar-10-2018, 11:34 AM - Forum: General Coding Help - Replies (3)

Hi,

I have the source code for a small utility program made for an old MMO called Dark Age of Camelot. it was made using python 2.x I had to edit ..... More

Print this item

  name a thread defined from a class
Posted by: ricardons - Mar-10-2018, 11:05 AM - Forum: General Coding Help - Replies (1)

hi

i have a class using a thread as object

how can i give him a name. it will help the debugging in pycharm

temp.py
[python]class WTemp(thre..... More

Print this item

  Updating a filesets contents
Posted by: jehoshua - Mar-10-2018, 11:00 AM - Forum: General Coding Help - Replies (3)

I have a number of files that are to be used for transcription purposes and they all need modifying. The code is nearly working, but it is duplicating..... More

Print this item

  With Notepad how to have lines numbered
Posted by: sylas - Mar-10-2018, 07:06 AM - Forum: General Coding Help - Replies (3)

Hi all. When I deal with many files I use Atom. When I deal with one file I use Notepad, but unfortunately I do not succeed to have numbered lines. If..... More

Print this item

  Class Objects...
Posted by: zowhair - Mar-10-2018, 06:15 AM - Forum: General Coding Help - Replies (2)

But x.f is not the same thing as MyClass.f — it is a method object, not a function object.
What is the difference between method and function here, a..... More

Print this item

  Someone please help a begginer
Posted by: leonr - Mar-10-2018, 05:47 AM - Forum: General Coding Help - Replies (3)

I have just downloaded my IDLE in my Chromebook running LXDE. But the python version is 3.4.3, I know this is an old version, of 2015 I guess, and I d..... More

Print this item

  my stack language - designing it
Posted by: Skaperen - Mar-10-2018, 02:45 AM - Forum: Bar - No Replies

i've started to write up some thoughts about my stack language that i will implement in Python3 and am seeking some input. doing such a thing in Pyth..... More

Print this item

  More List Stuff
Posted by: Zman350x - Mar-10-2018, 02:29 AM - Forum: General Coding Help - Replies (3)

How would I do this?
[python]data = [1,3,6,7,10]
value = 5

Lower = ["""List of Numbers in data list lower than value(5)"""]
Higher = ["""List of..... More

Print this item

  cryptography help
Posted by: jorrdn - Mar-10-2018, 01:09 AM - Forum: General Coding Help - Replies (3)

(encode/decode sections) Hello, I am having troubles actually taking the letter i found in the key or the alpha and making it the new plain for the ma..... More

Print this item

  difference between range in py3 and xrange in py2
Posted by: Skaperen - Mar-10-2018, 01:03 AM - Forum: General Coding Help - Replies (10)

[output]lt1/forums /home/forums 1> py3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "cred..... More

Print this item

  list not working
Posted by: Zman350x - Mar-10-2018, 12:06 AM - Forum: General Coding Help - Replies (2)

[python]
from __future__ import division
import time, math

List = [3,4,6]

MADlist = List
for i in range(len(MADlist)):
..... More

Print this item

  Really confused by Selenium Grid2, please help
Posted by: malone1024 - Mar-09-2018, 11:45 PM - Forum: Web Scraping & Web Development - No Replies

Hello,

I am trying to run a lot (10+) of headless Selenium instances all at once (in parallel). For example, I would like to visit a website and cl..... More

Print this item

  How to print a global dictionary class properly
Posted by: 3dimensions - Mar-09-2018, 08:56 PM - Forum: General Coding Help - Replies (2)

Let's say I have the following class and we know that the code is working properly:

[python]
class Test:
global_dictionary = {}

def __..... More

Print this item

  Add parameter to math.floor() to round to specific decimal point
Posted by: gabrield - Mar-09-2018, 07:20 PM - Forum: General Coding Help - Replies (2)

It would be fantastic if there could be an easier way to round down to a specific decimal point using math.floor(). Then users wouldn't have to code ..... More

Print this item

  sql select data in row number
Posted by: eml - Mar-09-2018, 07:05 PM - Forum: General Coding Help - Replies (4)

Hi,

Is there any way to code sql to select a single row by index number WITHOUT looping through every record.

E.g: if I have a database of 1000..... More

Print this item

  Asyncio within a thread
Posted by: hollymcr - Mar-09-2018, 04:02 PM - Forum: General Coding Help - Replies (2)

I'm new to asyncio and I'm trying to understand how to incorporate it into a thread.

What I need to do is add a web server with websockets into an ..... More

Print this item

  beautiful soup - parsing scraped code in a script
Posted by: lilbigwill99 - Mar-09-2018, 03:10 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi, I'm currently working on a project that needs the price of an item at a certain date. using the bs4 module, I have parsed this code:

[python]
..... More

Print this item

  Looking for an Advice...
Posted by: zowhair - Mar-09-2018, 02:12 PM - Forum: General Coding Help - Replies (1)

Hi friends! I have learned very basics of python, and now I want to make software for windows and a website using python. Please give me a roadmap to ..... More

Print this item

  "³" math cube symbol encoding
Posted by: Ragnar - Mar-09-2018, 02:07 PM - Forum: General Coding Help - Replies (5)

Hello,

I am using the package pyuff to read a unv file.
I have the following error
[quote]UnicodeDecodeError: 'ascii' codec can't decode byte ..... More

Print this item

  serialize/deserialize data from/to json
Posted by: bb8 - Mar-09-2018, 12:35 PM - Forum: General Coding Help - Replies (1)

so i have some classes
[python]
class Record:
def __init__(self, a, b, c):
# a, b, c are strings
self.a = a
self.b = b
..... More

Print this item

  Cannot call main function but I don't know why
Posted by: eml - Mar-09-2018, 11:56 AM - Forum: General Coding Help - Replies (2)

I don't know why I get an error with this
It says main is not defined


[python]while True:
main ()

def main():
MainMenu = input("""Please s..... More

Print this item

  Currency formatting the third element in a 2D list
Posted by: RedSkeleton007 - Mar-09-2018, 10:46 AM - Forum: General Coding Help - Replies (3)

I've defined the third element in each list item as a float, but I want to convert them to currency format:

[python]
#!/usr/bin/env python3
#Sams..... More

Print this item

  Avoid output buffering when redirecting large data (40KB) to another process
Posted by: Ramphic - Mar-09-2018, 10:20 AM - Forum: General Coding Help - Replies (3)

I have following python script, which is multi-threaded and a C# script from which I call python code. The data outputted from python script is not ge..... More

Print this item

  Understanding "while True"
Posted by: RedSkeleton007 - Mar-09-2018, 09:58 AM - Forum: General Coding Help - Replies (2)

The following program works:

[python]
#!/usr/bin/env python3
#MovieList.py

def displayMenu():
print("COMMAND MENU")
print("list - Li..... More

Print this item

  can't understand why 'str' is passed as parameter
Posted by: uddhavpgautam - Mar-09-2018, 04:57 AM - Forum: General Coding Help - Replies (2)

Just want to know why str keyword is passed in isinstance() method?

[python]def to_str(data):
if isinstance(data, str):
return data
eli..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... Yesterday, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579111
  Tutorial Requ... 511312
  Web Scraping ... 442068
  Newbie with P... 386136
  New Users Int... 378472
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+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
DataScientist071 Today
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday
ben9090o Yesterday

User Panel Messages

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