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,930
» Latest member: estherfords
» Forum threads: 38,722
» Forum posts: 175,498

Full Statistics

Online Users
There are currently 38 online users.
» 1 Member(s) | 30 Guest(s)
Apple, Bing, AOL, Google, AOL, Mojeek, estherfords

Latest Threads
My solana recovery experi...
Forum: GUI
Last Post: estherfords
4 minutes ago
» Replies: 0
» Views: 1
variable changing types f...
Forum: General Coding Help
Last Post: Azdaghost
1 hour ago
» Replies: 0
» Views: 13
looking for help
Forum: Bar
Last Post: Azdaghost
1 hour ago
» Replies: 0
» Views: 12
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
2 hours ago
» Replies: 7
» Views: 2,563
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
4 hours ago
» Replies: 7
» Views: 2,062
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:27 PM
» Replies: 6
» Views: 845
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:32 PM
» Replies: 2
» Views: 539
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Yesterday, 11:25 AM
» Replies: 7
» Views: 1,835
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Yesterday, 11:16 AM
» Replies: 4
» Views: 15,778
New to the field
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 08:15 AM
» Replies: 1
» Views: 433

 
  Value_Counts Question
Posted by: smw10c - Mar-28-2017, 02:40 PM - Forum: General Coding Help - Replies (3)

I hope you are all having a good day. I have a question in regards to the value_counts method. Why does the following code not work:


sal[sal['Job..... More

Print this item

  Why the coding frameworks you know aren't really important
Posted by: Ofnuts - Mar-28-2017, 12:01 PM - Forum: Bar - Replies (8)

https://hackernoon.com/how-it-feels-to-l...a717dd577f

Warning for Python lovers: "in cauda venenum" :)

Print this item

  Bug with the embedded forum chat?
Posted by: buran - Mar-28-2017, 11:22 AM - Forum: Board - Replies (6)

It looks like there is problem with the embedded forum chat (not that I have used it so far). Before there was text field to post your message, now I ..... More

Print this item

  [Variable as a String]>EscaSpecial characters printed
Posted by: CSA75 - Mar-28-2017, 09:21 AM - Forum: General Coding Help - Replies (4)

Hello

I'm facing a strange situation..after setting a variable as a string, I try to print that variable and get the string with a caracter replace..... More

Print this item

  [WinReg]>Issue when reading a registry key
Posted by: CSA75 - Mar-28-2017, 06:19 AM - Forum: General Coding Help - Replies (4)

Hello All,

I'm trying without success to read the key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\IEXPLORE.EXE\DefaultIcon
..... More

Print this item

  Need advice for learning python
Posted by: Nurram - Mar-28-2017, 03:11 AM - Forum: General Coding Help - Replies (1)

Hello world!
I am newbie in python, can you give me an advice on the best way to learn python in addition to reading books

*sorry for my bad langu..... More

Print this item

  Taking user input and storing that to a variable then storing that variable to a list
Posted by: jowalk - Mar-27-2017, 09:46 PM - Forum: General Coding Help - Replies (12)

Hey Guys,

I'm new to Python programming and am having trouble finding some information on some coding I am trying to write for fun. I have some exp..... More

Print this item

  How to canvas.move images (png)
Posted by: Rainblade - Mar-27-2017, 09:02 PM - Forum: GUI - Replies (2)

Im trying to get my sprte imported from a folder moving, I tried using 

[python]
 def move_Knight(self, event):
        if event.keysym == "Up":..... More

Print this item

  Class matrix novice question
Posted by: John_paul - Mar-27-2017, 08:18 PM - Forum: Homework - Replies (3)

Hello,


Part of my homework:

The attribute self.ground is the matrix who represents the ground of the game, it is a list of lists of integers, ..... More

Print this item

  Natural Logarithm in Python
Posted by: yg89 - Mar-27-2017, 08:15 PM - Forum: Homework - Replies (8)

OHello all,

I'm relatively new at Python; I need to input an equation, but I need help with expressing the Natural Logarithm in Python (ln):

The..... More

Print this item

  django sample project
Posted by: shahpy - Mar-27-2017, 07:59 PM - Forum: Web Scraping & Web Development - Replies (3)

hello

    i have question:
        where can i find a few django sample projects?
        i have seen a few tutorials and courses but i don't no..... More

Print this item

  Help with gyro code
Posted by: tmccoy33 - Mar-27-2017, 06:43 PM - Forum: General Coding Help - Replies (1)

Hello everyone. I am new to coding and I am working on a personal project at home. I have built an led matrix and I am using a Raspberry pi 3 with an ..... More

Print this item

  reading data from a file
Posted by: iFunKtion - Mar-27-2017, 04:20 PM - Forum: General Coding Help - Replies (3)

Hi,

I have this function, but I can't get it to work:
[python]
class DataTest( object ):
    def testReadData( self ):
        path = '/home/p..... More

Print this item

  Nginx Setup Django Postgresql Eclipse
Posted by: Adelton - Mar-27-2017, 01:34 PM - Forum: General Coding Help - Replies (3)

Hi There,

I am new to python and I have been having difficulties setting up a development environment .I want to setup a Django Project in eclipse ..... More

Print this item

  I don't understand this result
Posted by: Ponomarenko Pavlo - Mar-27-2017, 12:03 PM - Forum: General Coding Help - Replies (5)

>>> a = [1, 2, 4, 5]
>>> def az():
            x * 2

>>> q = map(az, [2, 3, 4])
>>> list(q)
[None, None, None]

Print this item

  ibm_db error even though package is installed
Posted by: runnerpaul - Mar-27-2017, 11:09 AM - Forum: General Coding Help - Replies (6)

Hi,

I've installed ibm_db to project interpreter but when I run my script I get the following error:

[error]/Library/Frameworks/Python.framework..... More

Print this item

  Installing cartopy on Windows 10
Posted by: varung1985 - Mar-27-2017, 10:50 AM - Forum: General Coding Help - Replies (1)

I was able to install using:

conda install -c conda-forge cartopy=0.15.1

Print this item

  Traditional OpenGL vs GLSL?
Posted by: hsunteik - Mar-27-2017, 08:58 AM - Forum: General Coding Help - Replies (2)

1)which should be used(recommended)?
2)why?
3)If glsl really does gives you more control on graphic rendering,why is the tradisional opengl still us..... More

Print this item

  Practice Python
Posted by: gygy8 - Mar-27-2017, 08:42 AM - Forum: Tutorial Requests and Submissions - Replies (9)

What do you think about that (Practice Python)?


https://www.youtube.com/watch?v=zjPKd4quJj4&t=9s

https://www.youtube.com/watch?v=YQi3CFsr-XU

ht..... More

Print this item

  namespaces in comprehension in exec()
Posted by: Skaperen - Mar-27-2017, 07:08 AM - Forum: General Coding Help - Replies (4)

first, here is the (nearly) minimalized code by itself:

[python]s="foo = 1\nfor n in range(10):\n    x = [n**m for m in range(9)]\nbar = 0"
g={}
..... More

Print this item

  Need help for beginning coding
Posted by: sylas - Mar-27-2017, 06:49 AM - Forum: General Coding Help - Replies (13)

Hi all ! I just begin. Please:1. what compiler shall I use ? I use O.S. ubuntu Linux 16.04 2. Pthon language is included in Code::Blocks ?? 3. Give me..... More

Print this item

  Python object that returns tuples?
Posted by: alfredocabrera - Mar-27-2017, 06:05 AM - Forum: General Coding Help - Replies (1)

I need to read a file and return it's data in a object. I have a Table class with a read() method :
[python]class Table:
   def __init__(self,name='..... More

Print this item

  California Public Salary Files
Posted by: Larz60+ - Mar-26-2017, 08:57 PM - Forum: Web Scraping & Web Development - Replies (3)

California posts files containing salary and compensation of many (all?) public positions
on one of their websites. These files are all of the same ...... More


Attached Files

Thumbnail(s)
   
Print this item

  windows grep messed up
Posted by: Larz60+ - Mar-26-2017, 08:09 PM - Forum: General Coding Help - Replies (4)

I have long used windows (GNU) grep without incident ... until about 6 months ago
now when I use a command like:
[code]
grep -ri --include='*.py' '..... More

Print this item

  More Errors. Less Solutions.
Posted by: SyntaxError123 - Mar-26-2017, 06:05 PM - Forum: Homework - Replies (7)

I am now getting a new errors and or my code it not working rather!
[python]
animalType = input("What sort of animal do have, DOG or CAT? \n>")
ani..... More

Print this item

  Script for automated task help
Posted by: darkitecture - Mar-26-2017, 05:35 PM - Forum: General Coding Help - Replies (2)

Hi all 

first I would like to say thank you to metulburr for putting together all those learning resources in one place, your awesome. 

I plan o..... More

Print this item

  Python Help
Posted by: Sam - Mar-26-2017, 05:28 PM - Forum: Homework - Replies (5)

I am having troubles writing a textfile in PyScripter. the code I am trying is:


[python]filename = ("C:/RemoteSensing.txt")
f = open(filename, '..... More

Print this item

  Need help debugging
Posted by: SyntaxError123 - Mar-26-2017, 04:35 PM - Forum: Homework - Replies (3)

My class has been set a task to calculate the ages of cats and dogs.
Here are the requirements -
The Maths
Cats Equivalent Age
The f..... More

Print this item

  C++ to Python conversion
Posted by: Jellyboo - Mar-26-2017, 11:39 AM - Forum: General Coding Help - Replies (13)

Hello,

I wrote a programme a while back in C++ whilst at college, i am now trying to re-create it in python.

The project was a musical door bel..... More

Print this item

  Need your small help
Posted by: desul - Mar-26-2017, 11:38 AM - Forum: Homework - Replies (2)

HIII,

I want to count a number of words that contains string a. for e.g. 

a = Sophia
[sophia, Sophia beautiful, smile of Sophia,  Sophia's car ..... More

Print this item

  NameError: name 'App' is not defined
Posted by: nengkya - Mar-26-2017, 10:19 AM - Forum: GUI - Replies (4)

import kivy

class MyApp(App):
   def build(self):
       return Label(text='Hello world')
[modd=Larz60+]Added code tags and..... More

Print this item

  Choosing a random variable from 2 lists
Posted by: Liquid_Ocelot - Mar-26-2017, 01:54 AM - Forum: Homework - Replies (5)

Hey guys so I need to write a program that prints random cards from a list and prints it in a hand of 5 cards 

card 1
card 2
card 3
card 4
card..... More

Print this item

  Update value in Entry widget
Posted by: dannyH - Mar-25-2017, 11:18 PM - Forum: GUI - Replies (7)

I'm very new to tkinter. How do I get a value to display every time it changes? The code below only shows the last entry in the Entry widget, but prin..... More

Print this item

  Why isnt this word length selector working
Posted by: Ivan - Mar-25-2017, 09:44 PM - Forum: General Coding Help - Replies (6)

This is the hole program, its a basic hangman game however im just trying to extend it so it has some other functions like choosing your word length. ..... More

Print this item

  Python minesweeper game gtk3 get label value after click
Posted by: lukassz - Mar-25-2017, 08:14 PM - Forum: GUI - No Replies

I write simple minesweeper game in Python 2.7 with Gtk3. I have a problem with show value of label after click using [python]set_sensitive(False)[/pyt..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [PyGUI] My solana recover... 4 minutes ago estherfords estherfords GUI
  variable changing types f... 1 hour ago Azdaghost Azdaghost General Codin...
  looking for help 1 hour ago Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 2 hours ago Bona2000 Bona2000 General Codin...
  403 Error 4 hours ago CaptainNewb CaptainNewb Web Scraping ...
  Select Python comment (#)... Yesterday, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... Yesterday, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame Yesterday, 11:25 JMcM JMcM Game Developm...
  Python Installation issue Yesterday, 11:16 RFHill Dev News and Disc...
  New to the field Yesterday, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Yesterday, 02:34 RonR deanhystad GUI
Most views
  The best Prog... 575678
  Tutorial Requ... 496824
  Web Scraping ... 439720
  Newbie with P... 383372
  New Users Int... 364762
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 8174
snippsat 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
estherfords Today
KennedyRichadGuerra Today
Williefaree Today
faithsally Today
compuman145 Today

User Panel Messages

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