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,933
» Latest member: bennyanderson482
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

Online Users
There are currently 44 online users.
» 0 Member(s) | 38 Guest(s)
Bing, AOL, Google, Internet Archive, AOL, Mojeek

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Gribouillis
6 hours ago
» Replies: 2
» Views: 310
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,343
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,746
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 721
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 969
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,032
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,069
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 642
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,621
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,846

 
  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
  C++ program embedding Pyt... 6 hours ago Alexandros Gribouillis General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576130
  Tutorial Requ... 497649
  Web Scraping ... 440075
  Newbie with P... 383869
  New Users Int... 366394
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bennyanderson482 Yesterday
AstoundzSEO Yesterday
tobey12 Yesterday
alexguemez 09-17
Shadab 09-17

User Panel Messages

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