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,308
» Latest member: NeoQuant
» Forum threads: 38,801
» Forum posts: 175,919

Full Statistics

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

Latest Threads
Python compiler
Forum: General Coding Help
Last Post: NeoQuant
5 hours ago
» Replies: 0
» Views: 24
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
5 hours ago
» Replies: 5
» Views: 59
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
7 hours ago
» Replies: 0
» Views: 32
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:37 PM
» Replies: 8
» Views: 235
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,107
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 191
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 714
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,832
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 181
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 154

 
  Problem connecting Zimbra with Python 3.7
Posted by: kobakajoao - Sep-17-2018, 08:41 PM - Forum: General Coding Help - No Replies

Connect to Zimbra IMAP through Python

Hi community,


I have no idea if this is the right place to ask that question.

What i need is create a..... More

Print this item

  Raspberry Pi GUI
Posted by: furwolf13 - Sep-17-2018, 08:29 PM - Forum: GUI - Replies (1)

Hi there! I am new to python but have mild experience with C and Java. The code below is not working for me because of something in the Python. I am t..... More

Print this item

  Rookie Stock Prediction Cross Validation using
Posted by: Graeber - Sep-17-2018, 08:24 PM - Forum: Homework - Replies (3)

Hey all,

I am very new to this but am trying to write a stock prediction tool. I know there are tons of examples but I haven't found too many with..... More

Print this item

  Beginning Payroll code help
Posted by: EmRandall - Sep-17-2018, 07:06 PM - Forum: Homework - Replies (6)

Hello to all!
I am a student currently enrolled in a python class at Utica College. This is my first programming language and I am struggling to unde..... More

Print this item

  Error in requests.post
Posted by: debanilroy - Sep-17-2018, 05:29 PM - Forum: Web Scraping & Web Development - Replies (3)

I am making a project and for that, I am making a python program. The program uses requests.post to get access to some info. However, whenever I run i..... More

Print this item

  Enable error logging to browser for Python's Flask under Apache + mod_wsgi
Posted by: nikos - Sep-17-2018, 05:19 PM - Forum: Web Scraping & Web Development - Replies (1)

what are the exact steps i need to execute in order to enable error logging to browser so i don't check the error_log via console any more?

I'am us..... More

Print this item

  Very basic help - python & Excel
Posted by: ankey - Sep-17-2018, 03:39 PM - Forum: Data Science - Replies (6)

Hi All,

I have an excel file with two columns: table and number.

All I want to do is use Python to load an excel file, loop through each row and wri..... More

Print this item

  pandas best way to add a new row in a already existing dataframe
Posted by: aster - Sep-17-2018, 02:25 PM - Forum: Data Science - No Replies

hello,

i have a dataframe and i would like to add a new row to it.
i am quite confused about which is the best way to do it:
I could manage the row t..... More

Print this item

  Wordpress
Posted by: Faiyaz - Sep-17-2018, 01:21 PM - Forum: General Coding Help - Replies (10)

Hello,

Today i imported an application that i made in Python into Wordpress with create with code. I have only a few problems, i need to make the tex..... More

Print this item

  Paramiko resource shortage error
Posted by: jkey - Sep-17-2018, 01:18 PM - Forum: General Coding Help - No Replies

I have a script that reads from a CSV file to ssh to devices. I am trying to run exec.command to read some info and place in a variable. When i run ..... More

Print this item

  Create Alert if string from list appears on other list
Posted by: javalava - Sep-17-2018, 12:51 PM - Forum: General Coding Help - Replies (1)

So....

Need to create an alert that will check a log file if a string appears from a list of strings.

I have a list of words, I want my python p..... More

Print this item

  how to replace comma with string "and" but with conditons
Posted by: Prince_Bhatia - Sep-17-2018, 10:10 AM - Forum: General Coding Help - Replies (3)

Hi,

I have a text written like this :
apartments, villa, studio apartments, shops

i want to replace last comma with "and"

expected output:
..... More

Print this item

  File Watcher and File modifying chatbot
Posted by: sreevik - Sep-17-2018, 09:37 AM - Forum: General Coding Help - Replies (1)

I have a python code that generates a .txt file whenever one of my Informatica job fails.

I would like to develop a chatbot in python that would po..... More

Print this item

  NameError: name 'idx' is not defined
Posted by: wardancer84 - Sep-17-2018, 09:30 AM - Forum: General Coding Help - Replies (4)

hi,

im stuck at the mentioned error. guess its easily fixable, but i cant get my head around it.

[python]
#!/usr/bin/env python

'''
populat..... More

Print this item

  OPC AE
Posted by: RonnyWalker - Sep-17-2018, 08:12 AM - Forum: General Coding Help - Replies (3)

Hey y'all,

Does any of you happen to know how to connect to an OPC Alarm & Event server?
I can find enough examples on how to connect to an OPC UA..... More

Print this item

  module inspect error
Posted by: jupiter - Sep-17-2018, 08:03 AM - Forum: General Coding Help - Replies (1)

Hi,

I am running python on Ubuntu 18, I have following errors when I run import inspect, appreciate any tips to fix the problem. thank you

Pytho..... More

Print this item

  Homework help
Posted by: abdullahali - Sep-17-2018, 07:39 AM - Forum: Homework - Replies (4)

How can I add a $ sign to this
total_value = int ( Input (“total value of booty in dollars: ”))

Print this item

  Can someone please explain this code for me and what it does?
Posted by: zoomzeline - Sep-17-2018, 06:37 AM - Forum: General Coding Help - Replies (5)

[python]def my_sqrt(n):
approx = n/2
closer = (approx + n/approx)/2
while closer != approx:
approx = closer
closer = ..... More

Print this item

  HOMEWORK HELP
Posted by: abdullahali - Sep-17-2018, 06:17 AM - Forum: Homework - Replies (1)

Hey,

i am new to python, and trying to do this assignment

Write a program for Tractor Jack that will ask the user to input the total value of b..... More

Print this item

  Cannot serve file with send_from_directory
Posted by: nikos - Sep-17-2018, 06:13 AM - Forum: Web Scraping & Web Development - Replies (2)

[python]
# Prepare selected file for download...
filepath = '/home/nikos/wsgi/static/files/'
send_from_directory( filepath, filename, as_attachment..... More

Print this item

  Python Looping Gurus, question for you,...
Posted by: pcsailor - Sep-17-2018, 06:03 AM - Forum: General Coding Help - Replies (5)

Hello,
I have a looping question for all you Python gurus, because, while I understand the theoretical of iteration, I don't have the creation of loo..... More

Print this item

  [PyQt4] Is it right python coding scheme between TCP Server Thread and GUI class ?
Posted by: KimTom - Sep-17-2018, 04:00 AM - Forum: GUI - Replies (3)

Hi, I want to make GUI program that is a TCP image server.
I make a GUI frame using a QT desinger .

It works fine though, I am not used to program..... More

Print this item

  Brand new to programming
Posted by: joelarrabee - Sep-17-2018, 12:57 AM - Forum: General Coding Help - Replies (5)

I am a newbie and have a question. I am following a guide and typed a few line and ran with Python 3.7 on a Mac. When I run it some of the output pr..... More

Print this item

  module import error
Posted by: bobsmith76 - Sep-16-2018, 11:11 PM - Forum: General Coding Help - Replies (4)

When I'm in the directory 'sub_pckg2' and run python mod3.py in the terminal, I get a modulenotfounderror but this error does not occur when I run the..... More

Print this item

  type hint additional message
Posted by: bluefrog - Sep-16-2018, 09:38 PM - Forum: Homework - Replies (5)

I'm attempting to type hint on a temperature conversion function.
The function has a deliberate mistake in that it returns a Number instead of a dict..... More

Print this item

  windows install py.exe
Posted by: fulkgl - Sep-16-2018, 08:31 PM - Forum: News and Discussions - Replies (1)

I just installed Python 3.7.0 on a Windows machine. Why does the default install put py.exe, pyw.exe, and pyshellext.amd64.dll in the \\Windows direct..... More

Print this item

  Gtk3, grab output of python into dialogue?
Posted by: TimeMen - Sep-16-2018, 08:07 PM - Forum: Networking - No Replies

Hey there,
not sure if i post at the right place.

I use google_images_download (available via pip) to get images from Google.
I wanna put the output ..... More

Print this item

  Trying to install Scrapy but ...
Posted by: ubotbuddy - Sep-16-2018, 03:20 PM - Forum: Web Scraping & Web Development - Replies (10)

I'm trying to import Scrapy but I am seeing an issue.

My os is Windows 10 Enterprise.

Here is the error
https://www.screencast.com/t/g3aJgIanN..... More

Print this item

  Help on adding two lists recursively
Posted by: Metalman488 - Sep-16-2018, 03:17 PM - Forum: General Coding Help - Replies (3)

So I have two lists that are each a large integer that has been split up into nodes. (Example: 123456 => [123,456]) and I need to add two lists like t..... More

Print this item

  Checking the elements of a matrix with an elements of a list
Posted by: juniorcoder - Sep-16-2018, 02:44 PM - Forum: Data Science - Replies (11)

Hello folks,
I need a small help , it is very easy question but since I am beginner I stucked a bit.
I have a matrix like that :
C=[[1 2 3 4 ]
..... More

Print this item

  Regex Subdomain Validation & Input website manual
Posted by: rtzki - Sep-16-2018, 02:13 PM - Forum: General Coding Help - Replies (1)

Hello,
I have some code like this

[python]

import re, urllib

GRUBER_URLINTEXT_PAT = re.compile("(https?://)([^:^/]*)(:\\d*)?(.*)?")

for l..... More

Print this item

  Need to understand the way enumerate() function works
Posted by: abhishekambastha - Sep-16-2018, 01:59 PM - Forum: General Coding Help - Replies (2)

Hello Friends, I am a novice and trying to understand how the various python functions work. Please help me understand how enumerate() function works...... More

Print this item

  Error when inserting CSV file
Posted by: vndywarhol - Sep-16-2018, 10:09 AM - Forum: Data Science - Replies (1)

I have two SQL files that work correctly and create two tables with one foreign key.

[python]
CREATE TABLE IF NOT EXISTS department (
departm..... More

Print this item

  call a variable from one function to another ...
Posted by: evilcode1 - Sep-16-2018, 09:22 AM - Forum: General Coding Help - Replies (4)

hello all ...
i need to call this variable ( filename )from function qassam() inside another fileex() ..
this is my code :

[python]
import os..... More

Print this item

  Replacing letters on a string via location
Posted by: Owenix - Sep-16-2018, 07:54 AM - Forum: General Coding Help - Replies (2)

Hey guys,

I was wondering if there is a way to replace a letter on a string via location, and if i can do it if there are multiple locations.
I'm ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python compiler 5 hours ago NeoQuant NeoQuant General Codin...
  Trading Risk management s... 5 hours ago NeoQuant NeoQuant Code sharing
  Standard template Data En... 7 hours ago Hosthubac Hosthubac Code Review
  No new line from print in... Yesterday, 12:37 Lou snippsat General Codin...
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
Most views
  The best Prog... 579495
  Tutorial Requ... 512829
  Web Scraping ... 442365
  Newbie with P... 386395
  New Users Int... 381716
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+ 12113
buran 8196
snippsat 7393
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
NeoQuant Yesterday
Hosthubac Yesterday
ifdainstitute7 Yesterday
MOHAMMAD_mk Yesterday
virvainfotech Yesterday

User Panel Messages

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