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,252
» Latest member: Jessicaadams
» Forum threads: 38,781
» Forum posts: 175,827

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 39 Guest(s)
Google, Bing

Latest Threads
re.split issue
Forum: General Coding Help
Last Post: paul18fr
5 minutes ago
» Replies: 2
» Views: 24
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
2 hours ago
» Replies: 6
» Views: 323
New to python and coding
Forum: Homework
Last Post: lary_p
6 hours ago
» Replies: 5
» Views: 145
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 94
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 228
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 355
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 138
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,636
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 234
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 226

 
  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

  python machine learning model, macro precision score?
Posted by: metalray - Sep-02-2017, 12:00 PM - Forum: Homework - Replies (5)

Dear Python Pro's,
I am looking at python and machine learning.
One of the exercises is the following:

Using the fitted model m what is the mac..... More

Print this item

  Trying to find an approximate match in a Column
Posted by: ankur2207 - Sep-02-2017, 09:46 AM - Forum: General Coding Help - Replies (4)

my question here
Hi everyone,

I've just started learning Python so no idea about 'how to find an approximate match of a value in Integer type of c..... More

Print this item

  Please help: Index out of range error
Posted by: Danni - Sep-02-2017, 09:24 AM - Forum: General Coding Help - Replies (1)

I receive the Index out of range error for c variable with the following code:

import bumpy as np
x = np.random.normal(mu=0.03,std=0.05,T = 10)
..... More

Print this item

  Youtube Watched History Analyzer
Posted by: Aerosmite - Sep-02-2017, 08:49 AM - Forum: Code sharing - Replies (4)

Hey again! I often watch Youtube, so I made an easy script to collect interesting data from my watched history, thought it was a bit scared **shocked*..... More

Print this item

  IndexError: list index out of range
Posted by: rajeev1729 - Sep-02-2017, 07:00 AM - Forum: General Coding Help - Replies (2)

please help me. i am unable to understand IndexError.

[python]def binarySearch (arr,first,last,element):
mid = first+last//2
print("Value..... More

Print this item

  Change the text in the button object
Posted by: chris0147 - Sep-02-2017, 12:59 AM - Forum: General Coding Help - Replies (1)

I'm working on my code as I'm checking on the getTime1 to see if the strings is valid. If the strings is valid, I want to change the strings for the..... More

Print this item

  Maximum Elements in List
Posted by: ankit_1148 - Sep-01-2017, 11:01 PM - Forum: General Coding Help - Replies (1)

I have a doubt - How to find the maximum no. of elements that can be placed in one list.
Also, how can I extend this size limitation.

Thanks

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  re.split issue 5 minutes ago paul18fr paul18fr General Codin...
  Backward compatibility qu... 2 hours ago yutaozhou noisefloor News and Disc...
  New to python and coding 6 hours ago lary_p lary_p Homework
  why is the image not show... Yesterday, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
Most views
  The best Prog... 578910
  Tutorial Requ... 510123
  Web Scraping ... 441937
  Newbie with P... 385952
  New Users Int... 376708
Most reputation
buran 581
snippsat 510
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+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Jessicaadams Today
ftk456 Yesterday
sarbogast Yesterday
bmurray Yesterday
kai_cow2710 Yesterday

User Panel Messages

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