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,309
» Latest member: adityaN
» Forum threads: 38,801
» Forum posts: 175,920

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Google, AOL, Mojeek, Google Image

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: Pedroski55
58 minutes ago
» Replies: 9
» Views: 238
Python compiler
Forum: General Coding Help
Last Post: NeoQuant
6 hours ago
» Replies: 0
» Views: 28
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
7 hours ago
» Replies: 5
» Views: 63
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
9 hours ago
» Replies: 0
» Views: 32
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,109
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: 155

 
  for what is this used for? APP_NAME, APPDIRS, LOGFILE , VENDOR_CACHE
Posted by: vladic4t - Sep-10-2018, 03:51 PM - Forum: General Coding Help - No Replies

I'm learning through one's code and I can not find a specific answer to my question(s). (I have an intermediate python's level)

Code: https://githu..... More

Print this item

  Vintage analysis balance forecast HELP!
Posted by: Phoenixmaniac - Sep-10-2018, 03:45 PM - Forum: General Coding Help - No Replies

Attached data has balance at the end of each month for different Vintages in the portfolio. I need to forecast the balance for each Vintage at the end..... More

Print this item

  if and for statements on the same line
Posted by: juniorcoder - Sep-10-2018, 02:00 PM - Forum: General Coding Help - Replies (4)

Hello friends,
I have a very easy question but since I am a beginner I could not solve it.
I have a list like
a=[1 2 3 -4]
what I wanted to do
..... More

Print this item

  Return result from multiple iteration condition
Posted by: vestkok - Sep-10-2018, 01:45 PM - Forum: Homework - Replies (3)

Hi people, the codes print out the desire output but I couldn't return the value to the function. Eg. integer = 90, next prime number is 97 but the re..... More

Print this item

  Python script hangs after entering username to remote login using telnetlib
Posted by: auto - Sep-10-2018, 01:10 PM - Forum: Networking - No Replies

I am trying to login to my network power control switch and run commands in it using python telnetlib script, after running the script it displays "en..... More

Print this item

  Basic Snake game (using OOP)
Posted by: PyAlex - Sep-10-2018, 12:24 PM - Forum: Game Development - Replies (1)

[python]import pygame
import random

pygame.init()
w = 500
h = 500
screen_size = [w, h]
screen = pygame.display.set_mode(screen_size)
clock = ..... More

Print this item

  Storing Minimum List of values from a recursive function
Posted by: sigsegv22 - Sep-10-2018, 12:18 PM - Forum: Homework - Replies (1)

Hello,

I need to implement a function that accepts an input of a list and return the sorted version of this list after generating all possible perm..... More

Print this item

  New .txt file Generation in Python
Posted by: Nirmal - Sep-10-2018, 12:08 PM - Forum: General Coding Help - Replies (1)

I want to create a new .txt file every time i run the python script. Any idea how to do that . My current code :

[python]def write_up_commands(up_i..... More

Print this item

  "Unhashable type: list"
Posted by: prasadhegde - Sep-10-2018, 12:08 PM - Forum: General Coding Help - Replies (8)

Method_A expects parameters in the below standard. The final argument, arg3, accepts one or more values
Method_A(arg1 , arg2, arg3)

I have a list ..... More

Print this item

  python rrdtool graph creation issue
Posted by: anna - Sep-10-2018, 11:10 AM - Forum: General Coding Help - No Replies

Hi All,

trying with below sample code, however i am getting error while running display graph script.

Graph Creation
[python]import sys
import..... More

Print this item

  Saving html page and reloading into selenium while developing all xpaths
Posted by: Larz60+ - Sep-10-2018, 10:26 AM - Forum: Web Scraping & Web Development - Replies (4)

I wanted to save the homepage that I was scraping so that I wouldn't have to fetch it every time I was making changes during development.
first I tri..... More

Print this item

  function type?
Posted by: microphone_head - Sep-10-2018, 10:06 AM - Forum: General Coding Help - Replies (3)

I'm trying to work out how to test for an object being a function. Can you help? Huh

[python]def my_func():
print("Running my function...... More

Print this item

  SpinCtrl. Pop-up warning
Posted by: ioprst - Sep-10-2018, 07:40 AM - Forum: GUI - Replies (3)

There is an object wx.SpinCtrl:
[python]
self.m_spinCtrl_width = wx.SpinCtrl(self.panel, -1, self.width, style=wx.SP_ARROW_KEYS | wx.TE_PROCESS_ENTE..... More

Print this item

  Smoke detector + send email
Posted by: Brandon99 - Sep-10-2018, 06:04 AM - Forum: General Coding Help - Replies (4)

At my work I am trying to make a smoke detector with a raspberry pi that will send a email to whom ever I nominate if there is a fire. I already have ..... More

Print this item

  log live stream audio to MP3 files
Posted by: SBGraves237 - Sep-10-2018, 03:01 AM - Forum: Bar - No Replies

How can I log live stream audio to a series of MP3 files, e.g., one file per hour, 24/7?

I'm a volunteer with a noncommercial radio station run pr..... More

Print this item

  OpenPyxl Cell.value Alignment
Posted by: pcsailor - Sep-10-2018, 01:09 AM - Forum: General Coding Help - No Replies

Hi,
I am using OpenPyXl and need to align different cells with different alignment values (center, right, bottom, etc.). My code seems to be ignoring..... More

Print this item

  How to declare a dynamic class 'header'
Posted by: Alfalfa - Sep-09-2018, 11:44 PM - Forum: General Coding Help - Replies (3)

I need to use a macro from the Qt framework in a class header (before __init__). In the example below, I would like to replace "obhub" by a variable, ..... More

Print this item

  New to python, finshed code could be better
Posted by: Lyghtning - Sep-09-2018, 09:33 PM - Forum: General Coding Help - Replies (1)

You don't learn if you don't accept criticism. So i own Tesla Solar, and Tesla Power walls, i have the API's to pull data from the power walls direct...... More

Print this item

  Function not returning expected value
Posted by: Euqinu - Sep-09-2018, 09:25 PM - Forum: General Coding Help - Replies (4)

I have just started learning Python and I'm writing a simple text adventure game... I thought it would be a good idea to write a function that you cou..... More

Print this item

  Class/Method Confusion
Posted by: ramadan125 - Sep-09-2018, 09:09 PM - Forum: Homework - Replies (1)

I am required to write a method within a class which will refer to Employees as their job titles rather than as Employees.

##Homer order from <Emp..... More

Print this item

  How to start with this easy problem?
Posted by: Fran - Sep-09-2018, 08:20 PM - Forum: General Coding Help - Replies (8)

Hello, this is my first post on this forum.

I want to do an easy app that it can do this. (OS windows 10)

1. I open a simple windows and this ap..... More

Print this item

  permutations calculation with a while instruction
Posted by: kwak86 - Sep-09-2018, 08:01 PM - Forum: General Coding Help - Replies (2)

Hi,

I wrote this code

x=input('donnez un nombre')
y=int(x)
d=y
while d>=1:
	y=y*(y-1)
	d=d-1
print(y)
but for 4 in..... More

Print this item

  Menu bar not showing in gui window
Posted by: mlh - Sep-09-2018, 07:09 PM - Forum: GUI - Replies (2)

Hello all,

I am needing to learn tkinter to complete a a gui project. I would like to be able to separate the components that I need to code into t..... More

Print this item

  Cant run command python in PyCharm, but it works in cmd
Posted by: LevG0r - Sep-09-2018, 05:58 PM - Forum: General Coding Help - Replies (1)

Well, I don't know what to do 'cause in cmd command "python" works as it must, but in PyCharm terminal it shows error. I also tried "python3", but not..... More

Print this item

  question about list comprehension
Posted by: adriaanNL - Sep-09-2018, 03:41 PM - Forum: Homework - Replies (1)

I am practicing for the python PCAP exam and i don't understand this excercise:

How many empty lines will the following snippet send to the console..... More

Print this item

  Adding and Removing coins to match Coin Bag Total infinite times
Posted by: Strayfe - Sep-09-2018, 03:06 PM - Forum: Homework - Replies (8)

So I'm trying to make this program where if a user inputs their name, type of coin and weight of coin bag (which you put the coins in which is only LI..... More

Print this item

  Python win32com add image in HTML body of email
Posted by: Joe_Dananza - Sep-09-2018, 02:48 PM - Forum: General Coding Help - No Replies

At the moment i am building an automatic email send system through Outlook in Python 3.x.

One of the requirements is to add a signature with an ima..... More

Print this item

  Help extracting comment data from multiple zip files
Posted by: SoulsKeeper - Sep-09-2018, 10:26 AM - Forum: General Coding Help - Replies (10)

I need to extract the comment Data which you can usually see on the side after opening a Zip or a Rar file, I want to extract it into a list on a .txt..... More

Print this item

  flux management
Posted by: chris_thibault - Sep-09-2018, 08:46 AM - Forum: General Coding Help - Replies (3)

Hi everyone,

I would like to fill surface A and surface B (A = Entrepot(15)
B = Entrepot(100) 15 and 100 are available surfaces) with some squares..... More

Print this item

  run scapy from python script ..
Posted by: evilcode1 - Sep-09-2018, 08:32 AM - Forum: General Coding Help - Replies (13)

hello all ...

im try to learn scapy ... i need to run this commands from python how i can do it : ?

[quote]ARP Ping

The fastest way to disco..... More

Print this item

  Error while Logging on to outlook email account using Python inside VDI
Posted by: Shilton - Sep-09-2018, 06:53 AM - Forum: General Coding Help - No Replies

While I'm trying to logon my outlook e-mail account using python inside a VDI , I'm gettin the SOCKET error

[python]import imaplib, email, os
user..... More

Print this item

  how hard is it to emulate print()
Posted by: Skaperen - Sep-09-2018, 06:36 AM - Forum: General Coding Help - Replies (2)

how hard is it to emulate the print() function? i have a thing which i want code to be made like it is printing. but the thing gets the lines that b..... More

Print this item

  Requests login failure
Posted by: test - Sep-09-2018, 06:34 AM - Forum: Web Scraping & Web Development - Replies (10)

Hello, i'm trying to learn to use the requests module. I have written the following code, but it doesnt login to my account and returns an error.

[py..... More

Print this item

  How do you specify which web browser opens?
Posted by: alec - Sep-09-2018, 04:43 AM - Forum: General Coding Help - No Replies

I've skirmished around the net for an answer but their are none that a novice like me can understand. I really need help, I would be eternally gratefu..... More

Print this item

  simple code: change to home directory
Posted by: Skaperen - Sep-09-2018, 03:37 AM - Forum: General Coding Help - Replies (5)

in a script/app that expects to access many (read or write) files in the home directory, what is the simplest code to switch the current directory to ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 58 minutes ago Lou Pedroski55 General Codin...
  Python compiler 6 hours ago NeoQuant NeoQuant General Codin...
  Trading Risk management s... 7 hours ago NeoQuant NeoQuant Code sharing
  Standard template Data En... 9 hours ago Hosthubac Hosthubac Code Review
  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... 579497
  Tutorial Requ... 512840
  Web Scraping ... 442365
  Newbie with P... 386395
  New Users Int... 381718
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
adityaN Today
NeoQuant Yesterday
Hosthubac Yesterday
ifdainstitute7 Yesterday
MOHAMMAD_mk Yesterday

User Panel Messages

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