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,402
» Latest member: LewisByday
» Forum threads: 38,825
» Forum posts: 176,038

Full Statistics

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

Latest Threads
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
7 hours ago
» Replies: 2
» Views: 181
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
7 hours ago
» Replies: 29
» Views: 15,734
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
7 hours ago
» Replies: 8
» Views: 3,665
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 2
» Views: 181
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:47 AM
» Replies: 2
» Views: 149
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,194
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 225
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,637
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 306
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 269

 
  Reading floats and ints from csv-like file
Posted by: Krookroo - Sep-04-2017, 05:06 PM - Forum: General Coding Help - Replies (15)

Hello :)

I have stored numbers in a file from another program, and I'd like to extract the values in lists to use with another python program I alrea..... More

Print this item

  display .jpg in tiny led with PIL
Posted by: tony1812 - Sep-04-2017, 05:00 PM - Forum: General Coding Help - No Replies

Hello,

I have this simple code that draw a line of text to this SSD1306 tiny led.

[python]
#in python 3
# import libraries
import RPi.GPIO as..... More

Print this item

  college grades checking
Posted by: marfly32 - Sep-04-2017, 04:06 PM - Forum: General Coding Help - Replies (4)

Hello, guys! Firstly, sorry for my raw coding skills. To start with, i've go no idea how to make it happen, i did my newbies research :( , and come up..... More

Print this item

  List creator
Posted by: acmichelman - Sep-04-2017, 03:54 PM - Forum: General Coding Help - Replies (4)

Just a quick question from a beginner. How would I put a list of 30+ names randomly into 3+ different columns until there are no more names.

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  a function to watch files 7 hours ago Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 7 hours ago Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... 7 hours ago Calab JassicaElla60 Data Science
  Check if running from she... Yesterday, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help Yesterday, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
Most views
  The best Prog... 580500
  Tutorial Requ... 520277
  Web Scraping ... 442810
  Newbie with P... 387030
  New Users Int... 386889
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
LewisByday Today
JassicaElla60 Today
bryanptrovz7447 Today
oliviajuior7959 Yesterday
aoliiapetrov4786 Yesterday

User Panel Messages

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