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,672
» Latest member: skylarkuk
» Forum threads: 38,646
» Forum posts: 175,054

Full Statistics

Online Users
There are currently 424 online users.
» 0 Member(s) | 417 Guest(s)
Yandex, Baidu, Bing, Google, Mojeek, Apple

Latest Threads
Pylance: "... is not a kn...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 1
» Views: 50
While loop is terminating...
Forum: Homework
Last Post: Plyth
Yesterday, 01:49 AM
» Replies: 2
» Views: 241
PythonPath file
Forum: General Coding Help
Last Post: Pedroski55
Jul-04-2025, 10:56 PM
» Replies: 7
» Views: 19,806
Building a food delivery ...
Forum: Homework
Last Post: nooryasmeen022
Jul-04-2025, 04:12 PM
» Replies: 3
» Views: 7,544
Python Install Mager Help
Forum: News and Discussions
Last Post: snippsat
Jul-04-2025, 09:43 AM
» Replies: 5
» Views: 381
RemoTe server operation w...
Forum: General Coding Help
Last Post: mario17
Jul-04-2025, 07:18 AM
» Replies: 4
» Views: 334
Hide CLI while grabbing i...
Forum: GUI
Last Post: Gribouillis
Jul-03-2025, 08:12 AM
» Replies: 1
» Views: 181
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jul-02-2025, 05:41 PM
» Replies: 4
» Views: 702
textbox compare command n...
Forum: GUI
Last Post: deanhystad
Jul-02-2025, 01:40 PM
» Replies: 1
» Views: 246
Deploy Flask apps on Wind...
Forum: Web Scraping & Web Development
Last Post: DeaD_EyE
Jul-02-2025, 09:23 AM
» Replies: 2
» Views: 5,968

 
  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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Pylance: "... is not a kn... 1 hour ago MvGulik deanhystad General Codin...
  While loop is terminating... Yesterday, 01:49 jumpsworthnow Plyth Homework
  PythonPath file 07-04, 22:56 JohnRLaw Pedroski55 General Codin...
  Building a food delivery ... 07-04, 16:12 ElenaPapagia nooryasmeen022 Homework
  Python Install Mager Help 07-04, 09:43 bowens1983 snippsat News and Disc...
  RemoTe server operation w... 07-04, 07:18 mario17 mario17 General Codin...
  [WxPython] Hide CLI while... 07-03, 08:12 Winfried Gribouillis GUI
  Venv - Python Virtual Env... 07-02, 17:41 DanneA Larz60+ General Codin...
  [Tkinter] textbox compare... 07-02, 13:40 dmac6809 deanhystad GUI
  Deploy Flask apps on Wind... 07-02, 09:23 SpongeB0B DeaD_EyE Web Scraping ...
  How to ask Smart Question... 07-01, 08:10 metulburr Thatedge Board
Most views
  The best Prog... 572437
  Tutorial Requ... 485318
  Web Scraping ... 436968
  Newbie with P... 379824
  Thread remain... 351278
Most reputation
buran 581
snippsat 507
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+ 12071
buran 8173
snippsat 7344
deanhystad 6846
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
skylarkuk Today
OLHOSANTOTM Yesterday
viratsolanki Yesterday
chaless Yesterday
agusputra99 Yesterday

User Panel Messages

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