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,257
» Latest member: Bamboo
» Forum threads: 38,782
» Forum posts: 175,836

Full Statistics

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

Latest Threads
[solved] re.split issue
Forum: General Coding Help
Last Post: DeaD_EyE
49 minutes ago
» Replies: 9
» Views: 159
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
1 hour ago
» Replies: 2
» Views: 85
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 07:58 PM
» Replies: 6
» Views: 187
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 359
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 120
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 246
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 397
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 151
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,645
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 251

 
  Populate MS Word from Excel data
Posted by: mnijs - Oct-15-2017, 07:46 AM - Forum: General Coding Help - Replies (2)

Need to print letters to various recipients whose details I have in an excel spreadsheet. So
Name, Registration number
..... More

Print this item

  need help for dict in function
Posted by: Lizard - Oct-15-2017, 05:59 AM - Forum: General Coding Help - Replies (1)

import random
## create a list initilizae
surverylist=[]

no_of_participant=2
def checkqn(qn,surveydata): [color=#C0392B]# should i do this inste..... More

Print this item

  paramiko/ssh-matic not working from Windows Server 2012 R2 machine having Python34.
Posted by: pythonuser14 - Oct-15-2017, 05:46 AM - Forum: Networking - Replies (1)

Hi,
I downloaded the ssh-matic utility from github and using the paramiko thing for doing ssh.
It works fine from Win 2008 R2 x64 machine having Pyt..... More

Print this item

  Video and audio coding
Posted by: Windy_i - Oct-15-2017, 04:25 AM - Forum: Networking - Replies (1)

I have written programs in Java & C# and am ready to use Python. I would like to write a program to an intercom system in my house that uses both vide..... More

Print this item

  Finding repetition in string
Posted by: student8 - Oct-15-2017, 04:06 AM - Forum: Homework - Replies (4)

I am a python newbie and I am trying to make a function that returns True if a given str is nonrepetitive and False otherwise.

For example,
>>> no..... More

Print this item

  Accumulator/looping problem
Posted by: student8 - Oct-15-2017, 03:28 AM - Forum: Homework - Replies (5)

defining a function that considers every pair of consecutive characters in s. It returns a string with the letters o and p inserted between every pair..... More

Print this item

  Print the file using the associated application on Linux
Posted by: Borisko - Oct-15-2017, 02:45 AM - Forum: General Coding Help - Replies (1)

Based on this post I want to know whether it is possible..... More

Print this item

  Reading string groups of 3.
Posted by: fivestar - Oct-15-2017, 02:26 AM - Forum: Homework - Replies (2)

Im trying to print out groups of three of the string. the code i have so far only prints out every third letter. Example: a d l j... I want it to prin..... More

Print this item

  [Discord.py] Bot sending message automatically
Posted by: Ouindoze - Oct-15-2017, 02:00 AM - Forum: General Coding Help - Replies (6)

So i'm trying to make my bot send messages each 2 minutes and right now i keep getting this error.
I really don't know how to fix it so if anyone kno..... More

Print this item

  import time conflict
Posted by: Skaperen - Oct-15-2017, 01:57 AM - Forum: News and Discussions - Replies (2)

module time has a function named time.  some code does import time and calls that function like [inline]time.time()[/in..... More

Print this item

  Scrape A tags from a website
Posted by: Prince_Bhatia - Oct-14-2017, 10:53 PM - Forum: Web Scraping & Web Development - Replies (1)

hi,

i am trying to scrape https://www.efinancialcareers.com/search...FDRTZDRjUz..... More

Print this item

  List not passing between methods inside a class definition
Posted by: ijosefson - Oct-14-2017, 10:35 PM - Forum: Homework - Replies (5)

I am trying to create a simple class that inputs a list then appends to the list with a function called "add" which is also defined in the same class...... More

Print this item

  Love for Python
Posted by: nexusfactor - Oct-14-2017, 05:55 PM - Forum: Bar - Replies (7)

Did anyone hesitate to get into Python, and when you finally did, you fell in love with it?

I have a background working with Java, and at first I w..... More

Print this item

  search and replace with line in document
Posted by: chickflick91 - Oct-14-2017, 04:20 PM - Forum: General Coding Help - Replies (2)

I am trying to write a code that searches and replaces with a line in the document. i have:

import re
x = open(r'F:\1\xxx.txt')
string = open(r'F..... More

Print this item

  Creating multidictionaries in one
Posted by: somebrick - Oct-14-2017, 02:55 PM - Forum: General Coding Help - Replies (1)

Hey guys! So basically, how would I save a prior of a dictionary before its values are changed. And also I want the format to be like this;

[python..... More

Print this item

  itertools vs purity
Posted by: sparkz_alot - Oct-14-2017, 01:57 PM - Forum: General Coding Help - Replies (6)

I haven't really used itertools so I thought I would try the 'accumulate' attribute against the equivalent math formula. Is it possible that the formu..... More

Print this item

  None problem
Posted by: OmarSinno - Oct-14-2017, 11:42 AM - Forum: General Coding Help - Replies (1)

def printbeam():
    print('+----')

def printtwice():
    for i in range(2):
        printbeam()

print(printtwice())
..... More

Print this item

  GPS mapping gui type
Posted by: MRghost - Oct-14-2017, 11:41 AM - Forum: GUI - Replies (2)

hi everyone, im new to forums and partly no some python

hardware: raspberry pi 3 and neo-m8n
python 3.x

im currently running gps script logs gp..... More

Print this item

  Ethical Rating - Web Crawler Expert Needed
Posted by: Min - Oct-14-2017, 05:19 AM - Forum: Jobs - No Replies

earth&us is based in Auroville, an international township in Southern India which constitut..... More

Print this item

  can python do this job/
Posted by: jhave_21 - Oct-14-2017, 04:31 AM - Forum: General Coding Help - Replies (3)

hello, new in the forum. but also still learning python. recently I found python as a great programming language, I watched some video and was amazed ..... More

Print this item

  Still learning - code efficiency, which of these is better?
Posted by: shelzmike - Oct-14-2017, 04:15 AM - Forum: General Coding Help - Replies (2)

Just started learning Python and was running through a decent tutorial from Google and there is a lab section where they give me a problem and I provi..... More

Print this item

  joining a variable number of lists in a comprehension
Posted by: Skaperen - Oct-14-2017, 03:47 AM - Forum: General Coding Help - Replies (2)

i have a function named matchem that, given a string, finds matching names and returns a list (of strings).  i want to call it for every argume..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] re.split issue 49 minutes ago paul18fr DeaD_EyE General Codin...
  Please guide me to comple... 1 hour ago pbkurd pbkurd General Codin...
  New to python and coding Yesterday, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 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...
Most views
  The best Prog... 578945
  Tutorial Requ... 510346
  Web Scraping ... 441963
  Newbie with P... 385983
  New Users Int... 376939
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Bamboo Today
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday

User Panel Messages

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