Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,701
» Latest member: PhantomMouse
» Forum threads: 37,421
» Forum posts: 170,047

Full Statistics

Online Users
There are currently 373 online users.
» 0 Member(s) | 366 Guest(s)
Facebook, Yandex, Bing, Baidu, Apple, Google

Latest Threads
Equivalent Python code fr...
Forum: General Coding Help
Last Post: DeaD_EyE
1 hour ago
» Replies: 4
» Views: 875
questions about storage
Forum: Game Development
Last Post: PhantomMouse
2 hours ago
» Replies: 0
» Views: 25
i need help pls
Forum: Game Development
Last Post: Fobertsmene
2 hours ago
» Replies: 3
» Views: 1,717
Do regular expressions st...
Forum: General Coding Help
Last Post: bobmon
5 hours ago
» Replies: 2
» Views: 78
Filer and sort files by m...
Forum: General Coding Help
Last Post: tester_V
5 hours ago
» Replies: 6
» Views: 144
Connecting to Remote Serv...
Forum: General Coding Help
Last Post: ChaitanyaSharma
9 hours ago
» Replies: 0
» Views: 73
two functions working in...
Forum: General Coding Help
Last Post: zapad
9 hours ago
» Replies: 2
» Views: 142
Button to +1 in text box ...
Forum: Code Review
Last Post: lillydalson
Today, 10:30 AM
» Replies: 2
» Views: 126
Excel isnt working proper...
Forum: General Coding Help
Last Post: lillydalson
Today, 10:27 AM
» Replies: 3
» Views: 180
looking for a Coding Part...
Forum: Bar
Last Post: sahorier
Yesterday, 08:28 AM
» Replies: 0
» Views: 127

 
  pylint & #!
Posted by: pileofrogs - May-22-2019, 04:09 PM - Forum: General Coding Help - Replies (1)

Hi all. I've got code that looks like:

#! /usr/bin/python3
'''
A script that does stuff
'''
from lib.utils import thingy
..... More

Print this item

  Forms' expansion
Posted by: Gupi - May-22-2019, 04:01 PM - Forum: GUI - Replies (5)

Hello everyone,
I'm new in Python (especially tkinter) and I need an advice.

I'd like to make 2 forms in a window, like it's shown on the image.
..... More

Print this item

  my function is stuck on loop - even when it not supposed to be
Posted by: korenron - May-22-2019, 02:26 PM - Forum: General Coding Help - Replies (2)

hello ,
can someone explain why my code is stuck on loop?
even if I don't press the button it run the button_callback function (like I press the bu..... More

Print this item

  Simple Calculator Help
Posted by: destr0yer667 - May-22-2019, 01:50 PM - Forum: General Coding Help - Replies (1)

I just started learning python 3 this week and I'm trying to a code a simple calculator. I'm a straight beginner and have a good passion to learn pyth..... More

Print this item

  trouble with os.listdir on a network drive
Posted by: lconner - May-22-2019, 12:58 PM - Forum: General Coding Help - Replies (10)

everyone,

I am trying to get a list of directories and files on a network drive.
My code is:

[python]print 'running...'

# imports
import o..... More

Print this item

  Unable to get the data
Posted by: pythonFresher - May-22-2019, 12:20 PM - Forum: General Coding Help - Replies (5)

Hi All,

I am trying to get one of the value named as "TotalNumberOfProducts" from one of the API.The API is below
http://xx:8080/maintenance/job?jo..... More

Print this item

  utc to central european time
Posted by: mcgrim - May-22-2019, 11:18 AM - Forum: Homework - Replies (4)

I am working on the same homework but different task, so I wasn't sure if I had to start a new thread or not.
I think I am running into a logical err..... More

Print this item

  Einsum- ValueError
Posted by: pawlo392 - May-22-2019, 10:21 AM - Forum: Homework - Replies (3)

I don't know why I getting error:
[error]
ValueError: operand has more dimensions than subscripts given in einstein sum, but no '...' ellipsis prov..... More

Print this item

  Raspberry pi simpel coding
Posted by: mike3001 - May-22-2019, 10:18 AM - Forum: General Coding Help - Replies (2)

Hallo phyton programmers :).

i have some hard time getting this to working right.
i have this Stopwatch witch is working well, but i would like to..... More

Print this item

  datetime
Posted by: mcgrim - May-22-2019, 09:28 AM - Forum: Homework - Replies (4)

I have a document with dates and times inside.
I have converted them into datetime objects, but now
I am having trouble in putting the date and time..... More

Print this item

  Most optimized way to merge figures from multiple PDFs into one PDF page?
Posted by: dmm809 - May-22-2019, 08:59 AM - Forum: General Coding Help - Replies (1)

Hi everyone!

The thread can be found from here:
..... More

Print this item

  Error trying to Calling web service
Posted by: stahorse - May-22-2019, 08:33 AM - Forum: General Coding Help - Replies (2)

Hi,

I'm getting this error below trying to call Web Service, can some help me as to what does it mean?

I took the working code and now trying to..... More

Print this item

  error running script in python3.7.2 interpreter
Posted by: srm - May-22-2019, 07:36 AM - Forum: General Coding Help - Replies (4)

hi there ,
I am trying to run one of my script file i.e firstfile.py on my windows 2008 r2 machine
where in I have installed python3.7.2.
While ins..... More

Print this item

  Stuck on Chapter 19 Python Crash Course with error
Posted by: outomyelement - May-22-2019, 04:39 AM - Forum: Web Scraping & Web Development - No Replies

Hello, I'm getting the following error when trying to runserver to work through chapter 19 - user accounts. I have used the ..... More

Print this item

  Pexpect baby steps
Posted by: slouw - May-22-2019, 03:49 AM - Forum: General Coding Help - Replies (9)

I did say baby steps.
I know I am logging in ok as I can do a show users on the target box and confirm that.
I want to see the output of my command ..... More

Print this item

  General reference for Python
Posted by: FLAJA - May-22-2019, 03:43 AM - Forum: General Coding Help - Replies (1)

Can anyone recommend a general purpose reference for Python. My local public library has only a few books for Python, but Amazon has so many that I ..... More

Print this item

  Floor Division cf. math.floor()
Posted by: Devarishi - May-22-2019, 03:25 AM - Forum: General Coding Help - Replies (3)

Hi,

A bit of confusion here:

>>> 1 / 0.2
5.0
That is perfect, but this floor division thing looks confusing:

[python]>>> 1 // 0...... More

Print this item

  iterating a list of ranges
Posted by: Skaperen - May-22-2019, 01:39 AM - Forum: General Coding Help - Replies (1)

i have multiple ranges i wish to iterate over. but the obvious solution (2 nested levels of iteration) is not available because the iteration code, w..... More

Print this item

  Whitespace syntax error
Posted by: klp21 - May-22-2019, 01:20 AM - Forum: General Coding Help - Replies (1)

I am currently using Geany 1.35 with Python 3.7.3. My book is telling me to type:
>>> print("Python")
I get SyntaxError: invalid syntax
(Program..... More

Print this item

  output to file or ...
Posted by: Skaperen - May-22-2019, 01:10 AM - Forum: News and Discussions - Replies (1)

i have noticed that many calls in Python support both an open file object as well as a file descriptor, where the argument type i part of the effect. ..... More

Print this item

  Python Script to Produce Difference Between Files and Resolve DNS Query for the Outpu
Posted by: sultan - May-22-2019, 01:06 AM - Forum: General Coding Help - Replies (2)

I wanted to write a python script that gives me the difference between two txt files that contain list of domains.

Below is my script that I was able..... More

Print this item

  PEP 594 -- Removing dead batteries from the standard library
Posted by: ichabod801 - May-22-2019, 01:05 AM - Forum: News and Discussions - Replies (3)

There's a draft PEP up for removing a whole slew of older packages from the standard library. Slowly, of course. Probably not until 2022, and there wi..... More

Print this item

  Axis lim and Plotting a graph in Tkinter
Posted by: KEDivergente - May-21-2019, 08:10 PM - Forum: GUI - No Replies

Hi everybody! I'm designing a test bank than shows me 3 temperatures of a vacuum pump, the current of the motor than impulse that pump, the rpm of the..... More

Print this item

  Python not reading cell in excel file
Posted by: wendysling - May-21-2019, 07:59 PM - Forum: General Coding Help - Replies (1)

Hi,

I am using Jupyter notebook. I created a script to open a few excel files and paste a summary dataframe in a new excel file.

All was worki..... More

Print this item

  Sum product multiple Dataframes based on column headers.
Posted by: Lastwizzle - May-21-2019, 04:05 PM - Forum: Data Science - No Replies

I have a data frame with inputs where each group represents multiple inputs values that correspond to that groups respective premium ( script for test..... More

Print this item

  making dependant comboBoxes
Posted by: Hitsugaya - May-21-2019, 03:48 PM - Forum: GUI - Replies (3)

Hello,i want to make a dependant combo boxes,where i basically choose 1 option from combobox1 and that option has its own set of options in combobox2...... More

Print this item

  RE: status bar to return to the centre after 1 minute of clicking a button ?
Posted by: chano - May-21-2019, 03:39 PM - Forum: GUI - Replies (6)

Hello,can you tell me how the statuss bar after i move with button to return it alone after 1 minute in centre.Thank you
[python]
import tkinter as..... More

Print this item

  Need help parallelizing while loop
Posted by: Smurfi - May-21-2019, 01:43 PM - Forum: General Coding Help - No Replies

Hi everyone,

I need some help parallelizing the following:

[python]
population = []

generations = 100000
generation = 1

while generatio..... More

Print this item

  Pexpect module first step
Posted by: slouw - May-21-2019, 11:58 AM - Forum: General Coding Help - Replies (1)

I am reading up/watching videos and am taking my first baby steps with pexpect.
I expected (wrongly) that the sequence below would work.
That is I w..... More

Print this item

  Suggestions for a machine learning model for invoice processing multiple languages?
Posted by: animeshsarraf - May-21-2019, 11:48 AM - Forum: News and Discussions - Replies (1)

Hi,

I need to do invoice processing in multiple languages such as english,thai,korean,japanese etc and extract certain key fields.
How should I cr..... More

Print this item

  How to specify the destination folder
Posted by: SriMekala - May-21-2019, 11:01 AM - Forum: General Coding Help - Replies (1)

Hi,
I read some comma separated data from the web, and want to write into a csv file.

I open a new CSV file write data (df) in it, but I could not be..... More

Print this item

  Please explain how to alter text with python code?
Posted by: navneet - May-21-2019, 09:58 AM - Forum: Homework - Replies (4)

# Complete the following remove_dollar function
# so that it removes any dollar signs and spaces
# and then returns the string as a number (float)...... More

Print this item

  Plot a function
Posted by: dxfrelince - May-21-2019, 09:38 AM - Forum: Homework - Replies (3)

I want to plot a function in a interval. I'm trying to do it - but I'm stuck. someone who can help?

The answer I get on the y axis also looks stran..... More

Print this item

  Python requests module doesn not return status_code
Posted by: palo173 - May-21-2019, 07:11 AM - Forum: General Coding Help - Replies (5)

I try to create definiton, which returns some data when status_code is 200, but when status_code is 404 then returns status_code. If there are others ..... More

Print this item

  collect show cdp neighbor output
Posted by: carstenlp - May-21-2019, 07:00 AM - Forum: Networking - Replies (4)

Hi

I hit a dead end here with my code. Not sure how i should proceed from this.

Description of my project:
I want to get a topology of my netw..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Equivalent Python code fr... 1 hour ago Mishal0488 DeaD_EyE General Codin...
  questions about storage 2 hours ago PhantomMouse PhantomMouse Game Developm...
  [PyGame] i need help pls 2 hours ago augusto_A Fobertsmene Game Developm...
  Do regular expressions st... 5 hours ago bobmon bobmon General Codin...
  Filer and sort files by m... 5 hours ago tester_V tester_V General Codin...
  Connecting to Remote Serv... 9 hours ago ChaitanyaSharma ChaitanyaSharma General Codin...
  two functions working in... 9 hours ago zapad zapad General Codin...
  Button to +1 in text box ... Today, 10:30 martyloo lillydalson Code Review
  Excel isnt working proper... Today, 10:27 IchNar lillydalson General Codin...
  looking for a Coding Part... Yesterday, 08:28 sahorier sahorier Bar
  Strange behavior list of ... Yesterday, 07:16 mmhmjanssen Gribouillis General Codin...
Most views
  The best Prog... 426061
  Web Scraping ... 314666
  Tutorial Requ... 303576
  Newbie with P... 258535
  Thread remain... 242295
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11875
buran 8090
snippsat 7094
deanhystad 6232
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
PhantomMouse Today
bobmon Today
ChaitanyaSharma Today
FreeCricketId Today
AlexKjaj Today

User Panel Messages

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