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,972
» Latest member: Oscar0057
» Forum threads: 38,731
» Forum posts: 175,557

Full Statistics

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

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 6
» Views: 690
Looking for constructive ...
Forum: News and Discussions
Last Post: PhamMaria
1 hour ago
» Replies: 1
» Views: 859
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
2 hours ago
» Replies: 0
» Views: 22
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
5 hours ago
» Replies: 8
» Views: 427
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,811
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 676
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,210
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,780
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,176
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,141

 
  Call functions recursively in tree structure using python
Posted by: dubru - Feb-15-2019, 06:03 PM - Forum: General Coding Help - Replies (1)

I am new to python, I need to call functions recursively in tree structure.

I am calling the python function in in for loop by passing A, this will..... More

Print this item

  Adding New TAB to NoteBook Widget by Clicking
Posted by: Vicolas - Feb-15-2019, 06:03 PM - Forum: GUI - No Replies

[python]
from tkinter import *
from tkinter import ttk

class Notebook:
def __init__(self):
self.root = Tk()
self.root.titl..... More

Print this item

  Executing python script from SQL Server agent job getting error
Posted by: msavoy - Feb-15-2019, 05:01 PM - Forum: General Coding Help - Replies (1)

I am new to python. I am using Python 3 and I am trying to execute a PYTHON script that is only combining 2 csv files via a .bat file in SQL Server 20..... More

Print this item

  How convert multidimensional array to two dimensional array
Posted by: tkkhan44 - Feb-15-2019, 04:35 PM - Forum: Data Science - Replies (1)

Here, my code feats value form text file; and create matrices as multidimensional array, but the problem is the code create more then two dimensional ..... More

Print this item

  Django Two blocks of dynamic content on one page
Posted by: iFunKtion - Feb-15-2019, 04:13 PM - Forum: Web Scraping & Web Development - Replies (5)

Can anyone explain how this is done, I can get one block of dynamic content but can't get a second block to show. Whilst I have two views, I was of th..... More

Print this item

  Python for maths help
Posted by: flo5564 - Feb-15-2019, 03:25 PM - Forum: General Coding Help - Replies (1)

Hi everyone,
Very new to python and just need some help with this assignment question.
I am using Jupyter notebook. The question is as follows:

" The..... More

Print this item

  Using pickle.dump
Posted by: Friend - Feb-15-2019, 02:21 PM - Forum: General Coding Help - Replies (1)

Hi all,

I am new to Python and i am learning it with a book trying all the exemple there.
Now i use the first time the module pickle, and tehre w..... More

Print this item

  Error when decoding JSON ( Expecting ',' delimiter:)
Posted by: tortoise - Feb-15-2019, 01:46 PM - Forum: Web Scraping & Web Development - Replies (7)

Hello!

I use Python 3.6.3 on the wildfly server.

I have two different REST services. When I call one of them (getMC) on the SoapUI, there occurs an ..... More

Print this item

  Key error when using adodbapi, azure and pandas
Posted by: mazamus - Feb-15-2019, 01:29 PM - Forum: Data Science - Replies (2)

Hi!

I'm using Anaconda environment (Spyder) for my Python development and until recently have been using adodbapi to connect to an Azure SQL server..... More

Print this item

  Asking for help in solving a single variable nonlinear equation using Python !
Posted by: NDP - Feb-15-2019, 12:03 PM - Forum: General Coding Help - No Replies

Hello guys,

I'm new to Python and I'm looking for some help in solving equations using python. In the equation shown below,

[python](1+(ICF/ECF)..... More

Print this item

  TKK, tree.pack and get size from os
Posted by: diegoctn - Feb-15-2019, 10:45 AM - Forum: GUI - Replies (2)

Hello everyone, could you please give me some suggestion on how I can pass the values from os to tkinter in the case below?

[python]
from tkinter ..... More

Print this item

  Addition of 2 classes
Posted by: Naito - Feb-15-2019, 09:53 AM - Forum: General Coding Help - Replies (1)

hello
i want too add class A with class B but this problem occurs
(i want to experiment with the code so that's why i made 2 classes)
[error]TypeError..... More

Print this item

  Writing to right spot in CSV and I'm a noob
Posted by: faizon - Feb-15-2019, 08:51 AM - Forum: Web Scraping & Web Development - Replies (2)

DISCLAIMER: I'm new to python and programming in general(only been coding for a couple days.go.easy.on.me)


I'm trying to write a code that..... More

Print this item

  Python Thread stops execution
Posted by: neethuvp - Feb-15-2019, 07:24 AM - Forum: General Coding Help - Replies (1)

i'm running a python program with threads and one thread stops its execution after some time with this error..


[b]Exception in thread Thread-4:
..... More

Print this item

  run python in commands easier
Posted by: Skaperen - Feb-15-2019, 06:46 AM - Forum: Code sharing - No Replies

this is the code designed for a unix/linux interactive shell. i have no way to try it on windows. so i have no way to know if it could..... More

Print this item

  Configure a logging.config
Posted by: ytigiev - Feb-15-2019, 06:06 AM - Forum: General Coding Help - No Replies

Hello,

Please, help me update the config file below. I want to set different format for each logging level and set filltering for all handlers. ..... More

Print this item

  Hanging in View method
Posted by: learn_python - Feb-15-2019, 04:57 AM - Forum: General Coding Help - No Replies

Hello,

I've been recently learning python through a course. Everything works smoothly except when I use view method. Anybody having this problem as..... More

Print this item

  Trying to set an instance variable to current value of a class variable
Posted by: ScottDiesing - Feb-15-2019, 04:23 AM - Forum: General Coding Help - Replies (3)

I thought this code would produce the following:

nic_id 1 has 5 ports
nic_id 2 has 2 ports

but instead it produces:

nic_id 3 has 5 ports
ni..... More

Print this item

  Window resizing help
Posted by: FesterJester - Feb-15-2019, 03:52 AM - Forum: GUI - Replies (2)

I am in the process of writing a Python 3 QT5 app.
I have about 80% of the layout created.
Originally, I planned to design and use it on a 3.5 inch to..... More

Print this item

  Accessing Files In A Folder
Posted by: asilverg - Feb-14-2019, 09:08 PM - Forum: General Coding Help - Replies (1)

So I'm working on a program that refers to a lot of data. I store each archive in a separate python file. Each file has a single function: giveArchive..... More

Print this item

  Lock Text Widget height
Posted by: Oxylium - Feb-14-2019, 07:42 PM - Forum: GUI - Replies (3)

Hello everybody,

I've searched for hours and I can't manage to find something, I hope that one of you may help me...

What I'm trying to do is to..... More

Print this item

  Trouble with decimal precision
Posted by: Cassie - Feb-14-2019, 06:24 PM - Forum: General Coding Help - Replies (4)

Hi everyone, I have a problem with precision in decimal, I want got 10 numbers after coma, but with context 10 I got 15, why? Thanks.
with localcont..... More

Print this item

  SQL select join operation in python(Select.. join)
Posted by: pradeepkumarbe - Feb-14-2019, 05:25 PM - Forum: General Coding Help - Replies (1)

I have data set called Account_universe
ACC_ID ZIP_CODE
001AAD 638400
002ADF 638402
003AAS 638902
004AGF 123480
005AQA 987650

Next data set A..... More

Print this item

  Help with Classes
Posted by: Lonewolf - Feb-14-2019, 05:13 PM - Forum: Homework - Replies (30)

Hello!i am 16 years old and my teacher at school decided to teach us Python.At the beginning Python was easy until the moment classes and inheritance ..... More

Print this item

  Unable to locate element no such element
Posted by: gahhon - Feb-14-2019, 04:46 PM - Forum: General Coding Help - Replies (6)

[python]
<td>
<div class="input-icon">
<i class="fa fa-user"></i>
<script type="text/javascript">
if (getQueryStringP..... More

Print this item

  Noob Question: Sample Data
Posted by: csn113 - Feb-14-2019, 04:42 PM - Forum: General Coding Help - Replies (1)

Is there a simple way to run a sample of all fields in a research environment? I want to see which fields I can play with through quantopian (i.e qua..... More

Print this item

  use python output in other software
Posted by: sampy - Feb-14-2019, 04:35 PM - Forum: General Coding Help - No Replies

Hello friends,

I am new to python. I have coded the endless loop which gives me a string every 2 seconds. Now, I have to use the strings coming eve..... More

Print this item

  Do packages really require "__init__.py" ?
Posted by: denis_beurive - Feb-14-2019, 04:19 PM - Forum: General Coding Help - Replies (4)

Hello,

In the official documentation for Python 3 it is written that :

[quote]
The [..... More

Print this item

  User input - list
Posted by: Ondra - Feb-14-2019, 03:40 PM - Forum: General Coding Help - Replies (3)

Guys, please, is there any way how to replace this bz user input? [10,20,10]
If I change the firts row to zakodovat2 = ['Insert list of numbers'] and..... More

Print this item

  help with understanding a program prompt
Posted by: drasil - Feb-14-2019, 03:25 PM - Forum: General Coding Help - Replies (5)

Prompt for a 3 digit number where the first and last digits differ by at least 2 and store the entered number in a variable named number. Note: For ou..... More

Print this item

  Installation with path variable
Posted by: Ph_C - Feb-14-2019, 02:54 PM - Forum: News and Discussions - Replies (1)

Hi,
I want to install tw versions of python on my PC and to be able to select which I want

That's why when I install python 2.7.15 I specifiy a ..... More

Print this item

  Help for beginner :)
Posted by: Ondra - Feb-14-2019, 02:23 PM - Forum: General Coding Help - Replies (1)

Hey guys,
I am very beginner and trying to code numbers to characters and reverse.
I always get an error on line 23. I have no idea how to solve thi..... More

Print this item

  Assistance with Python Network script
Posted by: cscecela - Feb-14-2019, 01:56 PM - Forum: Networking - Replies (2)

Hello all! I need to push out a new configuration to about 2000+ Cisco IOS devices and about 1000+ Fortinet firewall appliances. I found a nice script..... More

Print this item

  Issue with bottle-pymysql
Posted by: nikos - Feb-14-2019, 01:55 PM - Forum: Web Scraping & Web Development - Replies (13)

[python]
plugin = bottle_pymysql.Plugin( dbuser='nikos', dbpass='******', dbname='counters', charset = 'utf8', keyword='pymydb' )
app.install(plugin..... More

Print this item

  lambda functions
Posted by: Gigux - Feb-14-2019, 01:26 PM - Forum: Data Science - Replies (3)

Dear all,
I have a pandas dataframe and I created an extra column containing the string length of a record with

[python]
essay_cols=["record0", "..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 1 hour ago llarkin6 noisefloor General Codin...
  Looking for constructive ... 1 hour ago decuser PhamMaria News and Disc...
  Integer Factorization Too... 2 hours ago fosuwxb fosuwxb Code sharing
  Comparing 2 100GB Drives/... 5 hours ago tester_V snippsat General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
Most views
  The best Prog... 577300
  Tutorial Requ... 500509
  Web Scraping ... 440971
  Newbie with P... 385004
  New Users Int... 369439
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 8176
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Oscar0057 Today
Cromulent Today
PhamMaria Today
Zephlonix Today
samuelshlzeo7159 Today

User Panel Messages

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