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,306
» Latest member: jacklylee
» Forum threads: 38,799
» Forum posts: 175,902

Full Statistics

Online Users
There are currently 53 online users.
» 1 Member(s) | 42 Guest(s)
Applebot, Bing, AOL, Facebook, Google, Google Image, novaCharger99

Latest Threads
Car dashboard with TKinte...
Forum: GUI
Last Post: jacklylee
9 minutes ago
» Replies: 2
» Views: 9,805
Electric Car battery size...
Forum: General Coding Help
Last Post: novaCharger99
46 minutes ago
» Replies: 3
» Views: 3,005
Python is not working on ...
Forum: General Coding Help
Last Post: lary_p
1 hour ago
» Replies: 0
» Views: 12
Earnestinome
Forum: General Coding Help
Last Post: Dichaelmag
3 hours ago
» Replies: 0
» Views: 18
What role does IoT play i...
Forum: General Coding Help
Last Post: ShaneCorn
3 hours ago
» Replies: 0
» Views: 15
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ShaneCorn
3 hours ago
» Replies: 7
» Views: 7,782
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
11 hours ago
» Replies: 7
» Views: 613
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 09:58 PM
» Replies: 3
» Views: 109
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 03:53 PM
» Replies: 1
» Views: 85
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Yesterday, 08:47 AM
» Replies: 3
» Views: 156

 
  run python script on startup?
Posted by: korenron - May-06-2019, 01:19 PM - Forum: General Coding Help - Replies (1)

Hello ,
I have create a python code that wait for a press of a button then send a UDP
the code is running without any problem when I run it from t..... More

Print this item

  first time pyton user - help with json
Posted by: korenron - May-06-2019, 10:39 AM - Forum: General Coding Help - Replies (4)

Hello ,
I want to read a json file and get 2 objects form the file (username and IP )
the config.json is :
[output]{
"IP":"172.16.3.1",
"usernam..... More

Print this item

  Nested formatting?
Posted by: johneven - May-06-2019, 10:29 AM - Forum: Homework - Replies (1)

Sorry for another thread, but this is my favorite place to get help.
The problem is below.

Provided is a list of data about a store’s inventory wh..... More

Print this item

  [split] Using this Python version of text2pdf
Posted by: jonsnow1221 - May-06-2019, 09:27 AM - Forum: General Coding Help - Replies (1)

The thing is that I have also faced the issue on the pdf file as I have also converted the text file to pdf file. The main issue was printing the file..... More

Print this item

  exception handling
Posted by: KyawMyo - May-06-2019, 07:50 AM - Forum: General Coding Help - Replies (3)

[python]
try:
power = float(input ("Please entre Power in kW: "))
voltage = float (input ("Please entre Voltage: "))
phase = int(input..... More

Print this item

  Convert 'object' to 'string'
Posted by: AdWill97 - May-06-2019, 07:28 AM - Forum: Data Science - Replies (1)

I am using a pandas dataframe and creating plots and one of the columns is dtype: object.
I would like to convert these values into strings, how woul..... More

Print this item

  NumPy and List
Posted by: karansingh - May-06-2019, 07:25 AM - Forum: News and Discussions - Replies (4)

Is NumPy is better than Python list?

Print this item

  for loops and if
Posted by: johneven - May-06-2019, 04:47 AM - Forum: Homework - Replies (5)

I feel like my code is correct, but keep getting wrong output for this homework question.

The problem is:
[b]Below are a set of scores that students ..... More

Print this item

  How to read router prompt and use it?
Posted by: simbha - May-06-2019, 03:08 AM - Forum: Networking - Replies (1)

When i login to a router, i get a following prompt.

R3-NYC
login: tac
Password:
[Router]R3-NYC#
[Router]R3-NYC#show clock
Wed May 22 04:46:18..... More

Print this item

  Off topic SQL question
Posted by: Larz60+ - May-06-2019, 02:16 AM - Forum: Bar - Replies (3)

This is a Query I am trying to get right with sqlite3 before I code it into my python program. My SQL is extremely rusty, so It's not obvious to me wh..... More

Print this item

  Manipulating __init__ method
Posted by: schniefen - May-06-2019, 01:03 AM - Forum: Homework - Replies (5)

Consider the class Interval below:

[python]
class Interval:
def __init__(self,a,b):
self.left=a
self.right=b
def __rep..... More

Print this item

  Error Message: TypeError: unhashable type: 'set'
Posted by: twinpiques - May-06-2019, 12:47 AM - Forum: Data Science - Replies (4)

Hello. I am attempting to compare two columns sar_details_sent_norm_trigrams_ and
caap_details_sent_norm_trigrams_ in a Pandas data f..... More

Print this item

  Need help and suggestions
Posted by: jsoberano - May-06-2019, 12:17 AM - Forum: Homework - Replies (3)

I need your suggestions and modification for this simple game. Please help.
[python]from random import randint
guesses = 0
print("Hello. Let's pla..... More

Print this item

  lxml load imports and includes
Posted by: rlario - May-06-2019, 12:04 AM - Forum: Web Scraping & Web Development - No Replies

Is it possible to have lxml load all the imports and includes (and their imports and includes) if the xsd are available during parsing? if so, how do ..... More

Print this item

  testing for Decimal w/o importing decimal every time
Posted by: Skaperen - May-05-2019, 11:17 PM - Forum: General Coding Help - Replies (7)

a function i wrote really should be acting a bit differently when the value it is given is type decimal.Decimal. but almost all calls will be another..... More

Print this item

  Running into errors when installing pip and pip3 on python 2.7 and python 3.6
Posted by: tej7gandhi - May-05-2019, 09:54 PM - Forum: General Coding Help - Replies (1)

I have tried installing and running pip but I run into error messages,when I utilize pip --version or pip3 --version.
I am also not able to install p..... More

Print this item

  Filter out all words that begin with P, B, or T.
Posted by: johneven - May-05-2019, 09:53 PM - Forum: Homework - Replies (3)

Need help with the following:

Filter out all words that begin with P, B, or T.

[python]
colors = ["Red", "Orange", "Yellow", "Green", "B..... More

Print this item

  Image does not show in treeview.
Posted by: KevinBrown - May-05-2019, 08:22 PM - Forum: GUI - Replies (3)

I'm trying to put images into treeviews.

Why does the image file Part.png not show up in this treeview.

I've loaded the same image ( Part.png) ..... More

Print this item

  Is there a way to automate changing the lines in a .txt like this?
Posted by: ejected - May-05-2019, 05:30 PM - Forum: General Coding Help - Replies (3)

I have a bunch of .txt files that I need to do the same thing to each. Is there a way to automate this in python? If so how? If not in python is there..... More

Print this item

  moving python project to aws ec2
Posted by: gemstoneartist - May-05-2019, 04:35 PM - Forum: Web Scraping & Web Development - Replies (2)

I've got a python project that runs from a cron job.
It runs fine on the local machine, and I need it to run on an AWS EC2.
I copy it to the EC2 and..... More

Print this item

  print python json dump onto multiple lines
Posted by: lhailey - May-05-2019, 02:52 PM - Forum: General Coding Help - Replies (2)

I am trying to print the payload variable onto multiple lines. It currently prints on one line.
I am using the indent statement but it still prints o..... More

Print this item

  circle node with horizontal line in python graphviz
Posted by: mandana - May-05-2019, 10:39 AM - Forum: General Coding Help - No Replies

I'm needing to create a graph have a label with line separation horizontal from nodes. The label of nodes import from 2 columns of an Excel-File. This..... More

Print this item

  Split List and Sublist from Pyodbc
Posted by: parthi1705 - May-05-2019, 10:22 AM - Forum: General Coding Help - Replies (1)

My pyodbc returns cursor result as below
[python]
>>> result
[(Decimal('28000.0000'), 2010, 272), (Decimal('308000.0000'), 2011, 272), (Decimal('58..... More

Print this item

  List Indices Error
Posted by: jaycuff13 - May-05-2019, 10:07 AM - Forum: General Coding Help - Replies (1)

Hello,

I am currently working on a dummy project and I keep receiving on error message "List Indices Error" when I try to run the code:

[python]
p..... More

Print this item

  How to unpack tuples in if statements
Posted by: saurkkum - May-05-2019, 09:15 AM - Forum: General Coding Help - Replies (1)

I am trying to write a function that accepts a list of dictionary (data) and a tuple (fields). Function groups the data based on elements in fields tu..... More

Print this item

  change array column values without loop
Posted by: khalidreemy - May-05-2019, 07:31 AM - Forum: General Coding Help - Replies (2)

Hello

I need to update a column values of an array without using a loop.

Is there any way to update with criteria.


1 0.168425
2 0
3 0..... More

Print this item

  install stable version now
Posted by: zowhair - May-05-2019, 04:19 AM - Forum: News and Discussions - Replies (1)

I am using Ubuntu, how can I install python 3.7 which is stable version and replace it with python 3.6?

Print this item

  Relations between python 2.7 3 3.7, scipy, pip?
Posted by: larkypython - May-05-2019, 03:58 AM - Forum: General Coding Help - Replies (2)

Basically, I don't understand is scipy, numpy an extension on all python or a particular version of python? cause I installed python 2.7, 3.6 together..... More

Print this item

  Unable to create checkbox and select at run time
Posted by: tej7gandhi - May-05-2019, 03:08 AM - Forum: GUI - Replies (5)

Hello All,

I am facing some challenge with my user interface:

[python]def PopUp():
pop = Tk()
count =output1.split()

..... More

Print this item

  Issue Creating New Link Using Text
Posted by: oca619 - May-05-2019, 01:10 AM - Forum: Homework - Replies (1)

Hello, needing some help on an assignment creating a basic web form. I've gone through all the steps where I ask the user three questions. They ent..... More

Print this item

  Default python version on Windows (3.6.x vs 3.6.y)
Posted by: gramakri - May-04-2019, 09:54 PM - Forum: News and Discussions - Replies (1)

I have two python versions on my PC - 3.6.1 and 3.6.8

I need to use 3.6.1 as the default version due to an automation framework being heavily depe..... More

Print this item

  Super with Sublime Text - TypeError: super() takes at least 1 argument (0 given)
Posted by: Shafla - May-04-2019, 07:40 PM - Forum: General Coding Help - Replies (6)

Hi
I am trying to use the super function. I am getting the following message;

[error]File "/Users/shaneshomefolder/Documents/Lists/numercial list..... More

Print this item

  Coding on Spyder problem
Posted by: Frank1905 - May-04-2019, 06:27 PM - Forum: News and Discussions - No Replies

Hi,
I've just started studying Python and my professor suggested me to use Spyder as IDE.
I found 2 existing versions of Spyder: Spyder and Spyder3.
W..... More

Print this item

  Keras Target Problem
Posted by: inco - May-04-2019, 04:39 PM - Forum: Data Science - Replies (1)

The train data: 897 ndarrays (5,1980 - float64) between 0-1. The labels are binary, 0 or 1.
[python]
trainX.shape
Out[4]: (897, 5, 1980)
trainY.shape
..... More

Print this item

  Guidance in Creating random output for a variable.
Posted by: Livne_ye - May-04-2019, 12:49 PM - Forum: General Coding Help - Replies (1)

Hi - This thread is not for problem solving but for giving tools into creating a code for a certain idea (tried to find a solution in certain threads ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Car dashboard w... 9 minutes ago TMJJ jacklylee GUI
  Electric Car battery size... 46 minutes ago ridgerunnersjw novaCharger99 General Codin...
  Python is not working on ... 1 hour ago lary_p lary_p General Codin...
  Earnestinome 3 hours ago Dichaelmag Dichaelmag General Codin...
  What role does IoT play i... 3 hours ago ShaneCorn ShaneCorn General Codin...
  Can I develop a live vide... 3 hours ago mtrkhan ShaneCorn Web Scraping ...
  Help with Serial.write in... 11 hours ago racingsubby racingsubby General Codin...
  silent deployment Python ... Yesterday, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP Yesterday, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... Yesterday, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python Yesterday, 04:40 dutch ichsanputr News and Disc...
Most views
  The best Prog... 579390
  Tutorial Requ... 512448
  Web Scraping ... 442300
  Newbie with P... 386353
  New Users Int... 380431
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+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
jacklylee Today
novaCharger99 Today
cruisesfares Today
Dichaelmag Today
ShaneCorn Today

User Panel Messages

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