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,413
» Latest member: speakingfever
» Forum threads: 38,827
» Forum posts: 176,055

Full Statistics

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

Latest Threads
Code failing to ask input...
Forum: Homework
Last Post: perfringo
2 hours ago
» Replies: 4
» Views: 405
Possible bug found, pleas...
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 12
» Views: 428
python re.finditer return...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 07:55 PM
» Replies: 1
» Views: 75
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Yesterday, 07:13 AM
» Replies: 6
» Views: 750
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,382
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Jan-02-2026, 12:38 PM
» Replies: 2
» Views: 504
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 16,691
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 529
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:47 AM
» Replies: 2
» Views: 480
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,286

 
  My if and while loop statements aren't working
Posted by: RedSkeleton007 - Oct-15-2017, 08:52 PM - Forum: General Coding Help - Replies (7)

I just get a syntax error with the if statement:
[python]
#adding two integers together when one of them is a sring by default:
x = 15
y = "5"
z ..... More

Print this item

  Help with Python and HTML code
Posted by: karlo_ds - Oct-15-2017, 08:29 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi everyone,

    I'm starting to work with Python and I have a problem ... I need to modify a html code parameter of a web-page; I need to read the..... More

Print this item

  Summing product of tuples inside a dictionary
Posted by: ijosefson - Oct-15-2017, 07:48 PM - Forum: Homework - Replies (7)

I'm having trouble figuring out how to implement this.
I have a dictionary with keyed touples. I would like to multiply the 2 touples and sum for eve..... More

Print this item

  Take one parameter which is an URL to a remote server
Posted by: ciaranacrowley - Oct-15-2017, 07:10 PM - Forum: General Coding Help - Replies (1)

Any ideas if possible to have a phyton program take one parameter which is an URL to a remote server. The program will download this gzipped CSV file..... More

Print this item

  need help with memory optimization
Posted by: jnthn - Oct-15-2017, 07:09 PM - Forum: General Coding Help - Replies (6)

Hello all.

This is my first post, so if this question is not appropriate for this forum please let me know and I will remove it. If it remains, fo..... More

Print this item

  Which approach is better to copy a list?
Posted by: nexusfactor - Oct-15-2017, 05:29 PM - Forum: General Coding Help - Replies (6)

I was reading ..... More

Print this item

  Pycharm shortcuts and operators don't run
Posted by: AzD - Oct-15-2017, 03:48 PM - Forum: General Coding Help - Replies (6)

Hi everyone,

Complete rookie here so please excuse the very simple questions.

1. The operator such as 5+5 or 10/2 gives no ouput. I get error me..... More

Print this item

  Paramter lists when shift+tab doesn't work
Posted by: sobrio1 - Oct-15-2017, 03:41 PM - Forum: General Coding Help - No Replies

Hello,

Say I have a Python function, func(), which I can't get parameters for. The functionality works; that is, I can apply func(start = 5), to ge..... More

Print this item

  how to retrieve datas with Overpass API python wrapper
Posted by: apollo - Oct-15-2017, 02:27 PM - Forum: General Coding Help - No Replies

hello dear community

new to this community,

currently want to dive into Python with some real world projects + connecting to the endpoint of Ov..... More

Print this item

  Python interactive/live programming framework, is it useful for you?
Posted by: sjdv1982 - Oct-15-2017, 01:55 PM - Forum: News and Discussions - No Replies

Hi everyone,

I am a scientist in bioinformatics. I am working on a reactive-programming Python framework, both for my own algorithm development and..... More

Print this item

  seamless: an interactive/live programming framework
Posted by: sjdv1982 - Oct-15-2017, 12:54 PM - Forum: News and Discussions - No Replies

Seamless is a framework to set up computations (and visualizations) that respond to changes in cells. Cells contain the input data as well as the sour..... More

Print this item

  Unit testing
Posted by: mp3909 - Oct-15-2017, 11:21 AM - Forum: General Coding Help - Replies (1)

I have a file called

calc.py 
and
test_calc.py
in my file called
test_calc.py
I have written:

..... More

Print this item

  Dictionaries Values
Posted by: OmarSinno - Oct-15-2017, 09:47 AM - Forum: General Coding Help - Replies (3)

import string
alphabet = string.ascii_letters
d = {}
for i in range(1,53):
    d = dict.fromkeys(alphabet,i)
print(d)
I want to..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Code failing to ask input... 2 hours ago Phoenix_Narukami perfringo Homework
  Possible bug found, pleas... 8 hours ago Hassher Pedroski55 General Codin...
  python re.finditer return... Yesterday, 19:55 arbiel Gribouillis General Codin...
  sorting a lisr of file pa... Yesterday, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  a function to watch files 01-02, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 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...
Most views
  The best Prog... 580645
  Tutorial Requ... 521472
  Web Scraping ... 442877
  New Users Int... 387606
  Newbie with P... 387084
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 8197
snippsat 7398
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
speakingfever Yesterday
Saskia Yesterday
Frankbeamn 01-06
jemmee 01-06
Einhell 01-06

User Panel Messages

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