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,644
» Latest member: sammycraig
» Forum threads: 38,642
» Forum posts: 175,096

Full Statistics

Online Users
There are currently 534 online users.
» 0 Member(s) | 528 Guest(s)
Bing, Baidu, Google, Yandex

Latest Threads
New Users Introduce Yours...
Forum: Bar
Last Post: nilsfreya300
6 hours ago
» Replies: 452
» Views: 343,659
textbox compare command n...
Forum: GUI
Last Post: deanhystad
7 hours ago
» Replies: 1
» Views: 76
How to retain Annotation ...
Forum: Code Review
Last Post: holeioonline
Yesterday, 08:43 AM
» Replies: 2
» Views: 898
Trading Bot written in Py...
Forum: News and Discussions
Last Post: LoriBrown
Yesterday, 07:08 AM
» Replies: 4
» Views: 95,163
replace or remove text fr...
Forum: General Coding Help
Last Post: Curbie
Jun-29-2025, 06:53 PM
» Replies: 13
» Views: 504
locating a pushbutton py ...
Forum: GUI
Last Post: deanhystad
Jun-29-2025, 06:47 PM
» Replies: 2
» Views: 127
Difference and meaning in...
Forum: General Coding Help
Last Post: Gribouillis
Jun-29-2025, 03:41 PM
» Replies: 4
» Views: 157
While loop is terminating...
Forum: Homework
Last Post: Gribouillis
Jun-29-2025, 06:19 AM
» Replies: 1
» Views: 129
How to put my game loop i...
Forum: Game Development
Last Post: Thatedge
Jun-28-2025, 08:36 AM
» Replies: 10
» Views: 3,144
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: Thatedge
Jun-28-2025, 08:35 AM
» Replies: 2
» Views: 1,907

 
  PIL or pillow? newbie question.
Posted by: tony1812 - Sep-04-2017, 01:28 PM - Forum: General Coding Help - Replies (2)

One thing confused the heck of me are the libraries in Linux. According to this tutorial, https://www.sitepoint.com/manipulating-i...-the-pytho..... More

Print this item

  How do I loop through a list and delete numerical elements that are 1 lower/higher?
Posted by: neko - Sep-04-2017, 01:16 PM - Forum: General Coding Help - Replies (4)

I'm trying to go through a list and delete elements that have numerical values that are one value greater/lower than the value that I'm looking at.

..... More

Print this item

  Please help me
Posted by: hekimbaba - Sep-04-2017, 12:33 PM - Forum: Web Scraping & Web Development - Replies (18)

Hi I am a doctor.I want to prepare quiz with this script (added to comment)

But I don't have python knowledge. Can you tell me how to parse TPC.qui..... More

Print this item

  Fast Quote button doesn't work
Posted by: syogun - Sep-04-2017, 11:47 AM - Forum: Board - Replies (2)

Hi, I read the Help Documents and try three different Quote Buttons. The only problem is the Fast Quote button doesn't work while other two Quote Butt..... More

Print this item

  make sys.path.append auto detect
Posted by: dwiga - Sep-04-2017, 07:45 AM - Forum: Homework - Replies (2)

Hi,
I facing a problem coding in jython.
but, what I want to ask is about python.
I have to write this code on every file I've create

[python]
..... More

Print this item

  executing a file saved in memory
Posted by: Skaperen - Sep-04-2017, 04:23 AM - Forum: General Coding Help - No Replies

i would like to make a script that reads in a python source file, then later (the file is no longer on this host's filesystem(s)) run that file.

it..... More

Print this item

  SQLite issue with Mac Book
Posted by: DareDrop - Sep-04-2017, 01:13 AM - Forum: General Coding Help - No Replies

I'm trying to set up a SQLite database for DHT22 sensor readings. I seem to be able to create the DB and set up the DB table OK. The issue is that whe..... More

Print this item

  How to pass args to myprog.exe
Posted by: Fran_3 - Sep-04-2017, 12:54 AM - Forum: General Coding Help - Replies (3)

I've Googled this but it's been a long day and maybe some kind soul will share some simple example code so I can get out of this chair for today :-)
..... More

Print this item

  Decorator toy code throws syntax errors
Posted by: kevinxhi - Sep-03-2017, 11:10 PM - Forum: General Coding Help - Replies (3)

I am a newbie trying to learn programming. Here is my decorator toy code. It throws syntax error when I call the argument function.

def boldtext(fn..... More

Print this item

  Geany configuration help
Posted by: mlytle0 - Sep-03-2017, 10:50 PM - Forum: General Coding Help - Replies (4)

I have just installed matplotlib and I can do the 'import matplotlib' command successfully under python3 in a terminal session. Under Geany, this com..... More

Print this item

  Python - Analyzing for even intergers and multiples
Posted by: jhenehan - Sep-03-2017, 08:00 PM - Forum: Homework - Replies (2)

Hi everyone. I'm having difficulty with an assignment today. Reviewing my textbook, I'm missing any information regarding calculating if an imputed in..... More

Print this item

  little problem with read out and write into a file
Posted by: hello_its_me - Sep-03-2017, 07:18 PM - Forum: General Coding Help - Replies (11)

Hi, I am trying to program an ATM but I got a problem because I want to save and read out the available money but I need to calculate the number that ..... More

Print this item

  So I'm using this bot
Posted by: Walrus_Emperor - Sep-03-2017, 04:39 PM - Forum: General Coding Help - Replies (2)

So, I'm using this bot which makes accounts (Some people might know what it's for), and this is the part of the script that I need to edit.

[python..... More

Print this item

  Some Confusing Program Errors (Newbie stuff)
Posted by: WildPictus - Sep-03-2017, 04:07 PM - Forum: General Coding Help - Replies (1)

Hello All!
So I am busy teaching myself Python and I am going through bits of code with supposed errors.
There is one particular one I am stuck with..... More

Print this item

  How to find the sum of even numbers from entered N numbers?
Posted by: Rajath - Sep-03-2017, 03:42 PM - Forum: General Coding Help - Replies (2)

my question here
n=int(input('Enter the number:'))
if(n<=0):
print('Enter a valid number')
else:
sum=0
count = 0
while(n>0):
for count in rang..... More

Print this item

  Sorting values calculated in python
Posted by: stumunro - Sep-03-2017, 03:36 PM - Forum: General Coding Help - Replies (4)

Hi everyone,

So I have a script that is essentially an equation.

Each variable in the equation is a random number generated within predefined limits..... More

Print this item

  Parsing csv using python
Posted by: Firstname_Lastname - Sep-03-2017, 01:57 PM - Forum: General Coding Help - Replies (4)

I'm trying to parse a csv file using python. The csv file contains 2 columns with order_total and created_datetime.

[inline]24.99 2015-06-01 00:00:..... More

Print this item

  Problem with Spyder IDE: Clear console doesn't actually clear the console
Posted by: GalacticStarfish - Sep-03-2017, 01:51 PM - Forum: News and Discussions - Replies (2)

[size=medium]There seem to be some problems with the Spyder IDE. I would have filed a bug report with them, but they don't seem to have the means to d..... More

Print this item

  TypeError: unsupported operand type(s) for ** or pow()
Posted by: rajeev1729 - Sep-03-2017, 12:28 PM - Forum: General Coding Help - Replies (3)

my question here

[python]import random
'''
Euclid's algorithm for determining the greatest common divisor
Use iteration to make it faster for la..... More

Print this item

  using attachment for trouble in a project
Posted by: sylas - Sep-03-2017, 11:14 AM - Forum: General Coding Help - Replies (10)

my question :To MettulBurr. I think there is an error in the tree. So I join two attacments(screenshots), because the tree is very high. PyCharm tells..... More


Attached Files

Thumbnail(s)
   
Print this item

  RegEx Help
Posted by: mp3909 - Sep-03-2017, 11:11 AM - Forum: General Coding Help - Replies (1)

import re
dummy = re.compile('XXX\WYYY')
mo = dummy.search('the letters XXX\YYY')
mo.group()
Can someone please explain why [py..... More

Print this item

  Am I capable of becoming a programmer?
Posted by: xBlackHeartx - Sep-03-2017, 07:08 AM - Forum: Bar - Replies (5)

I had an easy time with HTML and Visual Basic.

As of now though, I'm starting to have my doubts. I'm struggling to learn Python. And I've been pla..... More

Print this item

  maze pattern
Posted by: angelbest4 - Sep-03-2017, 05:46 AM - Forum: General Coding Help - Replies (1)

Hello I am a newbie to python and using python 3.
I wish to learn patterns and printing e.g stars etc. I want to make maze pattern but i confused to ..... More

Print this item

  Stack dataframe columns into rows
Posted by: klllmmm - Sep-03-2017, 02:26 AM - Forum: Data Science - No Replies

I have a large dataframe loaded from a CSV file.
I want to stack the columns related to each product into rows.

This is a sample of the dataframe,..... More

Print this item

  Username and password
Posted by: Steve2017 - Sep-02-2017, 09:40 PM - Forum: Homework - Replies (13)

HI guys

I need help with my code, I want to create a username and password login python program but I am not getting the right results. so far I go..... More

Print this item

  Question about code sequence
Posted by: tsetsko - Sep-02-2017, 08:24 PM - Forum: General Coding Help - Replies (2)

Hi all,
I am new to code and follow a few tutorial in code academy and other places, and I have a question about the sequence of code.
The code show..... More

Print this item

  Problem with Python 3 socket
Posted by: JChris - Sep-02-2017, 07:15 PM - Forum: Homework - Replies (3)

I need to create a simple server-client interface with Python sockets. This is the code I have:

server.py[python]
sock = socket.socket()
sock.bin..... More

Print this item

  help on exponential smoothing and linear regression
Posted by: hkyeung - Sep-02-2017, 06:33 PM - Forum: Data Science - Replies (1)

Hey dude,

I am just a beginner for Python coding, so please see if you can help me on following homework on exponential smoothing and linear regres..... More

Print this item

  how to clear the console when the programm is running (not manually)
Posted by: hello_its_me - Sep-02-2017, 05:47 PM - Forum: General Coding Help - Replies (5)

HI,

I am used to C# and there is the option "Console.Clear()"to clear the console but I found no way that worked for me. The most used way I found ..... More

Print this item

  Can't edit code after I've pressed enter.
Posted by: xBlackHeartx - Sep-02-2017, 05:34 PM - Forum: General Coding Help - Replies (2)

This is a general problem I've been having trying to learn Python using the documents that come with it. And I should note, I'm only starting to learn..... More

Print this item

  Need Help With API Output
Posted by: computerguyinhere - Sep-02-2017, 04:16 PM - Forum: General Coding Help - Replies (3)

End Goal: Pull users from web site via API and list only certain fields in Python.

The website has an area that we can put additional information a..... More

Print this item

  How to transfer a music file, from "Telechargements" into my project
Posted by: sylas - Sep-02-2017, 01:15 PM - Forum: General Coding Help - Replies (6)

my question here: Hi all! In my project, every time I load a music or an image it drops in my directory "Telechargements". But I should like it drops ..... More

Print this item

  Dictionary named after variable value
Posted by: Alfred - Sep-02-2017, 01:07 PM - Forum: General Coding Help - Replies (1)

I am really new to Python and coding overall. I just have one question, I am trying to create a dictionarie based on a variable. I want to name the di..... More

Print this item

  The free book for the day from
Posted by: wavic - Sep-02-2017, 12:37 PM - Forum: Web Scraping & Web Development - Replies (19)

I am lazy man so it's too much for me to open a browser and check for the today free offer from packtpub.com
Here is a little script to tell me just ..... More

Print this item

  problem with a simple code
Posted by: hello_its_me - Sep-02-2017, 12:13 PM - Forum: General Coding Help - Replies (3)

Hi, I am new to python and I am trying out some things in python and wanted to experiment a bit with while as loop but I keep getting this error

"..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New Users Introduce Yours... 6 hours ago Yoriz nilsfreya300 Bar
  [Tkinter] textbox compare... 7 hours ago dmac6809 deanhystad GUI
  How to retain Annotation ... Yesterday, 08:43 srikrishnan holeioonline Code Review
  Trading Bot written in Py... Yesterday, 07:08 Pizzlew LoriBrown News and Disc...
  replace or remove text fr... 06-29, 18:53 Curbie Curbie General Codin...
  [PyQt] locating a pushbut... 06-29, 18:47 arbiel deanhystad GUI
  Difference and meaning in... 06-29, 15:41 Udbytossen Gribouillis General Codin...
  While loop is terminating... 06-29, 06:19 jumpsworthnow Gribouillis Homework
  How to put my game loop i... 06-28, 08:36 temlotresid6 Thatedge Game Developm...
  2D-Cube-Tic-Tac-Toe 06-28, 08:35 freethrownucleus Thatedge Game Developm...
  Unable to install pygame ... 06-28, 03:54 garthE Plyth Game Developm...
Most views
  The best Prog... 572370
  Tutorial Requ... 485139
  Web Scraping ... 436898
  Newbie with P... 379740
  Thread remain... 351242
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12068
buran 8173
snippsat 7341
deanhystad 6845
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
sammycraig Yesterday
nilsfreya300 Yesterday
Miphyton01 Yesterday
zenithslurtery Yesterday
holeioonline Yesterday

User Panel Messages

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