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,937
» Latest member: atylerfraces2254
» Forum threads: 38,721
» Forum posts: 175,507

Full Statistics

Online Users
There are currently 78 online users.
» 1 Member(s) | 69 Guest(s)
Bing, Google, DuckDuckGo, AOL, Applebot, AOL, Facebook, Larz60+

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,167
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 637
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,548
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 975
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,477
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,314
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,518
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,478
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,626
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,191

 
  Study Questions
Posted by: captainflint - Jan-31-2018, 03:09 PM - Forum: Homework - Replies (8)

Define a function unique_elem takes two strings str_1 and str_2 as inputs and prints
only the elements that occur in str_1 and not in str_2. Note: Yo..... More

Print this item

  Error message when running autostarted code
Posted by: Python4Mike - Jan-31-2018, 02:57 PM - Forum: General Coding Help - Replies (4)

I have created a python3 script for use on Raspberry pi 3 (approx. 300 lines of code), this program runs perfectly under the included Terminal utility..... More

Print this item

  Reportlab: PDF Processing with Python - Mike Driscoll's new project on Kickstarter
Posted by: buran - Jan-31-2018, 09:12 AM - Forum: News and Discussions - No Replies

Mike Driscoll, the well known author of several books:

  • Python 101
  • Python 201: Intermediate Python
  • wxPython Cookbook (a.k.a wxPytho..... More

Print this item

  Printing Dictionaries
Posted by: Bladesodoom1895 - Jan-31-2018, 07:59 AM - Forum: General Coding Help - Replies (1)

Is this code doing what it is supposed to do?

[python]
alien_0 = {}

alien_0['color'] = 'green'
alien_0['points'] = 5

print(alien_0)
[/pyth..... More

Print this item

  argument parser: to execute single function, and subsequent functions also
Posted by: raghu - Jan-31-2018, 07:12 AM - Forum: General Coding Help - Replies (10)

Do we have any options in argument parser or any other way for continuing the execution from that respective position till the end of the code, on pro..... More

Print this item

  2D list creation
Posted by: garikhgh0 - Jan-31-2018, 06:57 AM - Forum: General Coding Help - Replies (2)

Hello. How can be created a 2D list in a loop starting from 1 to 9:
[[1,2,3],
[4,5,6],
[7,8,9]]
Thanks beforehand.

Print this item

  Name Error
Posted by: atik666 - Jan-31-2018, 06:52 AM - Forum: Homework - Replies (1)

I am getting Name Error every time I am trying to execute a program.
My code and everything is right though.
Name Error: Name 'b' is not defined

..... More

Print this item

  looking for email provider
Posted by: Skaperen - Jan-31-2018, 05:55 AM - Forum: Bar - Replies (2)

i am looking for an email provider that can service a "whole domain" by delivering all email to any user name at my domain to a single mailbox that ca..... More

Print this item

  Python I/O threading
Posted by: whrhkdrh - Jan-31-2018, 02:22 AM - Forum: Data Science - No Replies

Good morning. I am a starter. I hope your understanding becuz my English is not good.

I made simple code with Python. It reads the values ​​[A, B, C,..... More

Print this item

  Why can't I check my PMs?
Posted by: KnellerWasHere - Jan-31-2018, 12:10 AM - Forum: Board - Replies (4)

When I go to check my PMs, I get this error:

You do not have permission to access this page. This could be because of one of the following reasons:..... More

Print this item

  UnicodeEncodeError: (think I have a setup issue)
Posted by: grbibb - Jan-31-2018, 12:09 AM - Forum: General Coding Help - No Replies

Error I'm getting in cmd window is below this line. I'm calling the script using the cmd in Windows 8.1
[error]
Traceback (most recent call l..... More

Print this item

  Scroll at cursor position
Posted by: lollo - Jan-30-2018, 10:55 PM - Forum: GUI - Replies (4)

Hi guys,

I'm new on this forum.
I registered for despair :(

I have a (maybe little) problem with the Text widget.
When I paste some text from ..... More

Print this item

  Recursive Call Going Elsewhere?
Posted by: Oliver - Jan-30-2018, 09:51 PM - Forum: General Coding Help - Replies (6)

I have some python code outside of a function that walks a directory tree. When the code detects a zip file (which could be nested), it calls a method..... More

Print this item

  Nested dictionaries question
Posted by: fad3r - Jan-30-2018, 09:22 PM - Forum: Homework - Replies (9)

Hi everyone,
I am a bit confused on this concept.

I understand it is a dictionary of dictionaries but here is where I am confused: A dictionary c..... More

Print this item

  Unable to get a wiindow, abort
Posted by: antonmichel - Jan-30-2018, 07:34 PM - Forum: GUI - Replies (2)

Hey Guys,
When I run my simple kivy application i have this error, I have tried many ways to fix it but it didn't work, anyone can help?

Thank you..... More

Print this item

  Creating portal for xwindows application
Posted by: abby007 - Jan-30-2018, 07:00 PM - Forum: Web Scraping & Web Development - No Replies

Hello Python Gurus,

I have a need wherein I want to be able to export an existing application that has a GUI as a web-portal.

Example - in a XW..... More

Print this item

  Cannot run scikit-image in Python 3.6
Posted by: newmanf - Jan-30-2018, 06:53 PM - Forum: Data Science - Replies (6)

I am trying to run a small piece of code in Python 3.6 from scikit-image. I've loaded scikit-image and the pieces seem to be there. Here is the code:..... More

Print this item

  python telnetlib prompt matching issue
Posted by: anna - Jan-30-2018, 05:34 PM - Forum: Networking - No Replies

[python]import unidecode
import telnetlib
import time
import re
from time import sleep
user = 'user'
password = '1234'
with open('eci.txt','r')..... More

Print this item

  New to coding, and could use some help
Posted by: SomeoneSomewhere - Jan-30-2018, 05:32 PM - Forum: General Coding Help - Replies (5)

So, I am very new to coding, a while back I bought a Python coding bundle off of Humble Bundle, and have just recently actually gotten to try and actu..... More

Print this item

  Writing commands to serial
Posted by: python_beginner - Jan-30-2018, 02:41 PM - Forum: General Coding Help - Replies (8)

Hello,

I use this code to send command to an Arduino using this code from here:https://tungweilin.wordpress.com/2015/01/04/python-serial-port-commu..... More

Print this item

  datetime.date() - TypeError: an integer is required (got type str)
Posted by: bisoftware - Jan-30-2018, 02:17 PM - Forum: General Coding Help - Replies (7)

If I just want to print out the last day of every month from 2014 through 2017 I can do that no problem with the following code:

[python]
import a..... More

Print this item

  Missing title bar
Posted by: tony1812 - Jan-30-2018, 01:03 PM - Forum: GUI - No Replies

Hello, I have proterface the 3d Printing software installed on my pi3. I put the script put in /profile so it starts as soon as the pi boots up. It st..... More

Print this item

  Timer Implementation with gtk-GUI
Posted by: Ser - Jan-30-2018, 12:17 PM - Forum: GUI - Replies (1)

Hi,
I am new to Python, I was active in tcl/tk for many years. I am trying to implement a simple GUI in combination with an asynchronic process runni..... More

Print this item

  Python : I still don't get it
Posted by: ZipSnipe - Jan-30-2018, 11:26 AM - Forum: General Coding Help - Replies (3)

I have been at it now for about 5 weeks, I like Python it does seems like its easy to learn and maybe because I have a project(wav looper/sampler)and ..... More

Print this item

  multiple coordinate systems, with real time plotting
Posted by: Wenzel3200 - Jan-30-2018, 11:19 AM - Forum: GUI - No Replies

Hi guys,

I have been trying to plot data in real time from a DHT11 sensor (temperature and humidity) connected with a arduino Uno. I managed to get..... More

Print this item

  what does "yield '\n'" do?
Posted by: 2sky - Jan-30-2018, 09:05 AM - Forum: General Coding Help - Replies (2)

I have seen this sample code from one python book:

[python]
def lines(file):
for line in file: yield line
yield '\n'

def blocks(f..... More

Print this item

  PyDev package install/download at runtime
Posted by: user2103 - Jan-30-2018, 08:39 AM - Forum: General Coding Help - No Replies

Hi,

Suppose I have created a PyDev package. How can I dynamically install/download this package to another PyDev project at runtime?
Based on som..... More

Print this item

  Programming Problem
Posted by: ShakenBake - Jan-30-2018, 08:02 AM - Forum: Homework - Replies (8)

So I'm kinda stuck on this one program I am trying to write and idk what is wrong. The question says to write a program to guess the computer's random..... More

Print this item

  has anyone here created their own custom codec?
Posted by: Skaperen - Jan-30-2018, 06:48 AM - Forum: News and Discussions - No Replies

has anyone here created their own custom codec?

Print this item

  Instantiating class from the string variable
Posted by: voltron - Jan-30-2018, 06:46 AM - Forum: General Coding Help - Replies (4)

Is it possible to import and instantiate class from the string variable, containing full class code? I only can think about saving code into temp file..... More

Print this item

  Import class dynamically
Posted by: voltron - Jan-30-2018, 06:42 AM - Forum: General Coding Help - Replies (4)

I have two base classes FirstBaseClass and SecondBaseClass and lot of theirs subclasses. Each subclass defined in the separate file, loc..... More

Print this item

  Latitude&Longitude Calculations
Posted by: gdimit - Jan-30-2018, 04:09 AM - Forum: General Coding Help - Replies (3)

Hi guys.

I would like your help regarding calculations using latitude and longitude. In particular, given:

(i)four sets of latitude and longitu..... More

Print this item

  About generating N integer numbers without repetition
Posted by: Otbredbaron - Jan-30-2018, 01:12 AM - Forum: General Coding Help - Replies (3)

Hello everybody,

I wrote this small piece of code to generate N numbers without repetition.
The algorithm should be fine but since I'm learning Py..... More

Print this item

  Pexpect help needed
Posted by: jash - Jan-30-2018, 12:10 AM - Forum: General Coding Help - Replies (2)

I'm new to Python programming and I'm trying to ssh using the pexpect code but it fails when I enter the password. Can someone please look into it. Al..... More

Print this item

  TabError:
Posted by: grbibb - Jan-29-2018, 11:56 PM - Forum: General Coding Help - Replies (2)

I'm getting an error relate to the line print('outcomeGroupList:',outcomeGroupList)

The error says TabError: inconsistent use of tabs and spaces i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [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...
Most views
  The best Prog... 576431
  Tutorial Requ... 498255
  Web Scraping ... 440340
  Newbie with P... 384217
  New Users Int... 367264
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+ 12087
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19
Hershien 09-19

User Panel Messages

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